/* ============================================
   ReviewFlow — Premium Styles
   ============================================ */

:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --text: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --off-white: #f8fafc;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--secondary);
  transition: 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 69px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--off-white);
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #faf5ff 0%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  gap: 32px;
}

.trust-item {
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-image {
  position: relative;
}

.hero-image > img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary);
}

.floating-card span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.card-icon {
  font-size: 1.5rem;
}

.card-1 {
  top: 15%;
  right: -20px;
}

.card-2 {
  bottom: 15%;
  left: -20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  animation-delay: 1.5s;
}

.card-2 .stars {
  color: var(--accent);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   Social Proof
   ============================================ */

.social-proof {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.social-proof p {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.industries {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.industries span {
  font-weight: 500;
  color: var(--text-light);
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 80px 0;
}

.section-purple {
  background: var(--gradient);
  color: var(--white);
}

.section-gray {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-tag.light {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-purple .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.section-purple .section-header p {
  color: rgba(255,255,255,0.8);
}

/* ============================================
   Steps
   ============================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.step-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.step-card .step-num {
  position: absolute;
  top: 160px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 32px 20px 10px;
  color: var(--secondary);
}

.step-card p {
  padding: 0 20px 24px;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================
   Results Preview
   ============================================ */

.results-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.results-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.results-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.result-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}

.result-stat h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}

.result-stat p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

.results-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonial-featured {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--off-white);
  border-radius: 20px;
  padding: 48px;
}

.testimonial-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-content .stars {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.testimonial-content blockquote {
  font-size: 1.25rem;
  color: var(--secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author strong {
  display: block;
  color: var(--secondary);
  font-weight: 700;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================
   CTA
   ============================================ */

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 100%);
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.cta-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.cta-note {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #94a3b8;
}

.footer-links a {
  display: block;
  color: #e2e8f0;
  text-decoration: none;
  padding: 8px 0;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid #334155;
  margin-top: 48px;
  padding: 24px 0;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* ============================================
   Page Headers
   ============================================ */

.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, #faf5ff 0%, var(--white) 100%);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Cards Grid
   ============================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.1);
}

.card-icon-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================
   Pricing
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
}

.price-card:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
  transform: scale(1.03);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

.price-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.price-card .desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.price-card ul {
  list-style: none;
  margin: 24px 0;
}

.price-card li {
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-card li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

.price-card .btn {
  width: 100%;
}

/* ============================================
   Testimonials Grid
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 16px;
}

.testimonial-card p {
  color: var(--text);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-info img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info strong {
  display: block;
  color: var(--secondary);
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================
   Contact Form
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border-radius: 12px;
  margin-bottom: 16px;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-method strong {
  display: block;
  color: var(--secondary);
}

.contact-method span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  
  .hero-grid,
  .results-preview,
  .cta-container,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-image { display: none; }
  
  .steps-grid,
  .cards-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-featured {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .results-image { order: -1; }
  .cta-image { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  
  .hero { padding: 120px 0 60px; }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .result-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    margin-bottom: 20px;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
}

/* Stars */
.stars {
  color: var(--accent);
  letter-spacing: 2px;
}
