/* ── NAVBAR SCROLL STATE ──────────────────────────────── */
.navbar.scrolled {
  background: rgba(10,10,15,0.95) !important;
  border-bottom-color: rgba(255,255,255,0.1);
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 7px 14px; border-radius: 8px;
  color: var(--text-muted); font-size: 0.85rem; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.status-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.78rem; color: var(--text-muted);
}

/* ── HERO EXTRAS ─────────────────────────────────────── */
.noise-overlay {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.4;
}
.hero { padding-bottom: 60px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 99px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--purple-light); margin-bottom: 32px;
  animation: fadeInDown 0.6s ease;
}
.hero-title-sub {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700; color: var(--text-muted);
  letter-spacing: -0.02em; display: block;
}
.hero-description {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.75; max-width: 560px;
  margin-bottom: 36px;
  animation: fadeInDown 0.7s 0.15s ease both;
}

/* Search box (home version) */
.search-container { width: 100%; max-width: 620px; animation: fadeInDown 0.7s 0.25s ease both; }
.search-box-home {
  display: flex; gap: 10px; margin-bottom: 14px;
}
.search-input-wrap { flex: 1; position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 16px; color: var(--text-muted); pointer-events: none; }
.search-input-wrap input {
  width: 100%; padding: 15px 50px 15px 50px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text); font-size: 0.95rem; font-family: inherit;
  outline: none; transition: all 0.25s; backdrop-filter: blur(10px);
}
.search-input-wrap input:focus {
  border-color: var(--purple);
  background: rgba(139,92,246,0.08);
  box-shadow: 0 0 0 4px rgba(139,92,246,0.12);
}
.btn-search {
  display: flex; align-items: center; gap: 8px; padding: 15px 26px;
  background: var(--grad); border: none; border-radius: var(--radius);
  color: white; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: all 0.2s; box-shadow: 0 4px 24px rgba(139,92,246,0.35);
}
.btn-search:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(139,92,246,0.5); }
.btn-search:active { transform: translateY(0); }
.btn-search:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.search-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-hint { font-size: 0.78rem; color: var(--text-muted); }
.search-example {
  padding: 4px 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 99px; color: var(--text-muted);
  font-size: 0.78rem; cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.search-example:hover { background: var(--surface-hover); color: var(--text); border-color: var(--purple); }

/* Trust row */
.trust-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-top: 20px;
  animation: fadeInDown 0.7s 0.35s ease both;
}
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.trust-item svg { color: var(--green); }
.trust-sep { color: rgba(255,255,255,0.15); font-size: 1rem; }

/* Hero Stats */
.hero-stats {
  display: flex; gap: 16px; margin-top: 60px; flex-wrap: wrap; justify-content: center;
  animation: fadeInUp 0.8s 0.5s ease both;
}
.stat-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; backdrop-filter: blur(12px);
  min-width: 120px;
}
.stat-card .stat-number {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-card .stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ── SHARED SECTION STYLES ───────────────────────────── */
.section { padding: 100px 0; position: relative; }
.section-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block; padding: 5px 14px;
  background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.25);
  border-radius: 99px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-light);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px;
}
.section-desc { font-size: 1rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ── FEATURES SECTION ────────────────────────────────── */
.features-section { background: var(--bg2); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card-big {
  position: relative; padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; transition: all 0.3s; overflow: hidden;
}
.feature-card-big::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  opacity: 0; transition: opacity 0.3s;
}
.feature-card-big:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.feature-card-big:hover::before { opacity: 1; }
.fcb-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.fcb-icon.purple { background: rgba(139,92,246,0.15); color: var(--purple-light); }
.fcb-icon.pink { background: rgba(236,72,153,0.15); color: #f472b6; }
.fcb-icon.blue { background: rgba(59,130,246,0.15); color: #60a5fa; }
.fcb-icon.green { background: rgba(16,185,129,0.15); color: #34d399; }
.feature-card-big h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card-big > p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: rgba(240,240,255,0.8); }
.check { color: var(--green); font-weight: 700; font-size: 0.9rem; }
.fc-tag {
  position: absolute; top: 20px; right: 20px;
  padding: 3px 10px; border-radius: 99px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--grad); color: white;
}

/* ── HOW IT WORKS ────────────────────────────────────── */
.how-section { background: var(--bg); }
.steps-grid {
  display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.step-card {
  flex: 1; min-width: 220px; max-width: 280px;
  padding: 32px 24px; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; transition: all 0.3s; position: relative;
}
.step-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.step-number {
  position: absolute; top: 16px; right: 20px;
  font-size: 2.5rem; font-weight: 900; letter-spacing: -0.05em;
  opacity: 0.06; color: white; pointer-events: none;
}
.step-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.step-icon.purple { background: rgba(139,92,246,0.15); color: var(--purple-light); }
.step-icon.pink { background: rgba(236,72,153,0.15); color: #f472b6; }
.step-icon.blue { background: rgba(59,130,246,0.15); color: #60a5fa; }
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }
.step-arrow {
  font-size: 2rem; color: var(--border); flex-shrink: 0;
  display: none;
}
@media (min-width: 768px) { .step-arrow { display: block; } }

/* ── WHY INSTAVIEW ───────────────────────────────────── */
.why-section { background: var(--bg2); overflow: hidden; }
.why-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.why-text .section-header { text-align: left; margin-bottom: 32px; }
.why-text .section-title { text-align: left; }
.why-text .section-desc { text-align: left; margin: 0 0 32px; }
.why-points { display: flex; flex-direction: column; gap: 22px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }
.wp-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.why-point h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.why-point p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; }

/* Phone Mockup */
.why-visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup {
  width: 280px; height: 520px;
  background: #0f0f1a;
  border-radius: 36px;
  border: 2px solid rgba(139,92,246,0.3);
  padding: 24px 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05), inset 0 0 40px rgba(139,92,246,0.05);
  position: relative; overflow: hidden;
  animation: float-phone 6s ease-in-out infinite;
}
@keyframes float-phone {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
.phone-screen { height: 100%; display: flex; flex-direction: column; gap: 14px; }
.pm-header { display: flex; align-items: center; gap: 10px; }
.pm-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); flex-shrink: 0;
}
.pm-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.pm-line { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.1); }
.pm-line.w60 { width: 60%; }
.pm-line.w40 { width: 40%; }
.pm-stories { display: flex; gap: 8px; }
.pm-story {
  flex: 1; height: 80px; border-radius: 12px;
  border: 2px solid transparent;
  animation: story-pulse 3s ease-in-out infinite;
}
.pm-story.s1 { background: linear-gradient(135deg, #8b5cf6, #ec4899); animation-delay: 0s; }
.pm-story.s2 { background: linear-gradient(135deg, #3b82f6, #8b5cf6); animation-delay: 0.5s; }
.pm-story.s3 { background: linear-gradient(135deg, #ec4899, #f97316); animation-delay: 1s; }
@keyframes story-pulse { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.pm-post { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,0.08); }
.pm-badge {
  position: absolute; bottom: 20px; right: 16px;
  display: flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 99px;
  background: rgba(16,185,129,0.2); border: 1px solid rgba(16,185,129,0.4);
  font-size: 0.7rem; font-weight: 600; color: #34d399;
}

/* ── TESTIMONIALS ────────────────────────────────────── */
.testimonials-section { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card {
  padding: 28px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; transition: all 0.3s;
}
.testimonial-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.t-stars { font-size: 1rem; color: #f59e0b; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p {
  font-size: 0.9rem; color: rgba(240,240,255,0.8); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: white; flex-shrink: 0;
}
.t-av1 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.t-av2 { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.t-av3 { background: linear-gradient(135deg, #10b981, #3b82f6); }
.t-name { display: block; font-size: 0.88rem; font-weight: 700; }
.t-role { font-size: 0.75rem; color: var(--text-muted); }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-section { background: var(--bg2); }
.faq-grid { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; transition: border-color 0.2s;
}
.faq-item:has(.faq-question[aria-expanded="true"]) { border-color: rgba(139,92,246,0.4); }
.faq-question {
  width: 100%; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: var(--text); font-size: 0.92rem; font-weight: 600;
  cursor: pointer; font-family: inherit; text-align: left; gap: 12px;
}
.faq-question:hover { background: var(--surface-hover); }
.faq-icon {
  font-size: 1.4rem; color: var(--purple-light); flex-shrink: 0;
  transition: transform 0.2s; width: 24px; text-align: center; line-height: 1;
}
.faq-answer { padding: 0 22px 18px; }
.faq-answer p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.75; }

/* ── CTA SECTION ─────────────────────────────────────── */
.cta-section { background: var(--bg); }
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(236,72,153,0.15));
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 28px; padding: 72px 40px; text-align: center;
}
.cta-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.cta-orb1 { width: 300px; height: 300px; background: rgba(139,92,246,0.25); top: -80px; left: -60px; }
.cta-orb2 { width: 250px; height: 250px; background: rgba(236,72,153,0.2); bottom: -60px; right: -40px; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-desc { font-size: 1rem; color: var(--text-muted); max-width: 480px; margin: 0 auto 32px; line-height: 1.7; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; background: var(--grad);
  border: none; border-radius: 14px; color: white;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: all 0.2s;
  box-shadow: 0 4px 30px rgba(139,92,246,0.4);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(139,92,246,0.55); }

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: #07070f; border-top: 1px solid var(--border); padding-top: 60px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.footer-logo { margin-bottom: 14px; display: inline-flex; }
.footer-tagline { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; max-width: 340px; }
.footer-rating { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); }
.stars { color: #f59e0b; letter-spacing: 2px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 0.84rem; color: rgba(240,240,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 24px;
  text-align: center; font-size: 0.78rem; color: rgba(240,240,255,0.3);
  max-width: 1100px; margin: 0 auto;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .nav-links { display: none; }
  .search-box-home { flex-direction: column; }
  .hero-stats { gap: 10px; }
  .stat-card { padding: 14px 20px; min-width: 100px; }
  .cta-card { padding: 48px 24px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; align-items: stretch; }
  .step-card { max-width: 100%; }
}
