/* Vansera AI — Premium Agency Landing Page Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #050507;
  --bg-card: rgba(14,14,18,0.7);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text: #f1f1f4;
  --text-dim: #8b8b9e;
  --accent: #6366f1;
  --accent-soft: #818cf8;
  --accent-glow: rgba(99,102,241,0.15);
  --green: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --radius: 16px;
  --font: 'Inter', -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Ambient Glows ===== */
.glow-tl, .glow-br { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; }
.glow-tl { top: -20%; left: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 65%); }
.glow-br { bottom: -20%; right: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(168,85,247,0.04) 0%, transparent 65%); }

/* ===== Utility ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 120px 0; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.section-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.section-heading { font-family: var(--font-display); font-size: clamp(32px,5vw,48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px; }
.section-sub { color: var(--text-dim); font-size: 17px; max-width: 560px; line-height: 1.7; }
.gradient-text { background: linear-gradient(135deg, #a855f7, #6366f1, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: 68px; z-index: 200;
  background: rgba(5,5,7,0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; padding: 0 5%;
}
.nav-brand { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-brand .ai-chip { font-size: 10px; padding: 2px 7px; background: rgba(99,102,241,0.2); border: 1px solid rgba(99,102,241,0.35); border-radius: 4px; color: var(--accent-soft); font-family: var(--font); font-weight: 600; letter-spacing: 0.08em; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: var(--accent); border: none; color: #fff; padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.nav-cta:hover { background: #4f46e5; transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }

/* ===== Hero ===== */
.hero { padding: 140px 0 100px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; min-height: 100vh; }
.hero-content { display: flex; flex-direction: column; gap: 24px; }
.hero-badge { align-self: flex-start; padding: 6px 14px; background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2); border-radius: 20px; color: var(--accent-soft); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; display: flex; align-items: center; gap: 8px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 8px var(--accent-soft); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-family: var(--font-display); font-size: clamp(42px,5.5vw,64px); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.hero-desc { font-size: 18px; color: var(--text-dim); line-height: 1.7; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 8px; }
.btn-hero { padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.25s; border: none; }
.btn-hero.primary { background: var(--accent); color: #fff; box-shadow: 0 4px 20px var(--accent-glow); }
.btn-hero.primary:hover { background: #4f46e5; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,0.25); }
.btn-hero.ghost { background: transparent; color: var(--text); border: 1px solid var(--border-hover); }
.btn-hero.ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.2); }
.hero-stats { display: flex; gap: 40px; margin-top: 16px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.hero-stat span { font-size: 13px; color: var(--text-dim); margin-top: 2px; }

/* Agent Widget (hero right) */
.agent-widget {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 32px;
  backdrop-filter: blur(20px); box-shadow: 0 24px 64px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  display: flex; flex-direction: column; align-items: center;
}
.widget-label { font-size: 12px; font-weight: 600; color: var(--text-dim); margin-bottom: 24px; display: flex; align-items: center; gap: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.widget-label .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse-dot 2s infinite; }

/* Orb */
.orb-wrapper { position: relative; width: 220px; height: 220px; cursor: pointer; transition: transform 0.3s; margin-bottom: 32px; }
.orb-wrapper:hover { transform: scale(1.04); }
.orb-wrapper:active { transform: scale(0.96); }
.orb { width: 100%; height: 100%; border-radius: 50%; position: relative; overflow: hidden; background: #0a0a12; box-shadow: 0 0 60px rgba(99,102,241,0.1), inset 0 0 40px rgba(0,0,0,0.6); }
.orb::before { content: ''; position: absolute; inset: -50%; background: conic-gradient(from 0deg,#1e1b4b,#0f172a,#1e293b,#312e81,#1e1b4b,#0f172a,#1e293b,#312e81,#1e1b4b); animation: orbSpin 8s linear infinite; }
.orb::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: radial-gradient(ellipse at 35% 30%, rgba(165,180,252,0.12) 0%, rgba(99,102,241,0.04) 40%, transparent 70%); z-index: 2; }
.orb-sheen { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(ellipse at 28% 22%, rgba(255,255,255,0.09) 0%, transparent 50%); z-index: 3; pointer-events: none; }
.orb-inner-ring { position: absolute; inset: 15%; border-radius: 50%; border: 1px solid rgba(255,255,255,0.04); z-index: 4; pointer-events: none; }
@keyframes orbSpin { to { transform: rotate(360deg); } }

.orb-wrapper.idle .orb::before { animation-duration: 12s; }
.orb-wrapper.listening .orb { box-shadow: 0 0 60px rgba(239,68,68,0.2); }
.orb-wrapper.listening .orb::before { background: conic-gradient(from 0deg,#450a0a,#1f2937,#7f1d1d,#450a0a); animation-duration: 3s; }
.orb-wrapper.thinking .orb::before { background: conic-gradient(from 0deg,#1e1b4b,#312e81,#1e1b4b); animation-duration: 2s; }
.orb-wrapper.speaking .orb { box-shadow: 0 0 60px rgba(34,197,94,0.15); }
.orb-wrapper.speaking .orb::before { background: conic-gradient(from 0deg,#052e16,#14532d,#052e16); animation-duration: 4s; }

.call-btn {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); z-index: 10;
  width: 50px; height: 50px; border-radius: 50%; border: none; background: #fff; color: #070709;
  cursor: pointer; display: grid; place-items: center; transition: all 0.2s; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.call-btn:hover { transform: translateX(-50%) scale(1.1); }
.call-btn.active { background: var(--rose); color: #fff; }

/* Transcript box */
.transcript-box {
  width: 100%; height: 150px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px; padding: 12px 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; font-size: 13px;
}
.transcript-box::-webkit-scrollbar { width: 3px; }
.transcript-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.chat-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #6b7280; font-size: 12px; text-align: center; }
.chat-empty svg { opacity: 0.3; }
.msg { display: flex; flex-direction: column; gap: 2px; animation: msgFade 0.2s ease-out; }
@keyframes msgFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; } }
.msg-who { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.msg-who.user { color: #34d399; }
.msg-who.agent { color: var(--accent-soft); }
.msg-text { color: #d1d5db; line-height: 1.5; }

.widget-footer { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 11px; color: var(--text-dim); padding: 0 4px; }
.status-indicator { display: flex; align-items: center; gap: 6px; }
.sdot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.sdot.err { background: var(--rose); }

/* ===== Trusted Logos Row ===== */
.logos-section { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.logo-item { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.15); letter-spacing: -0.02em; transition: color 0.3s; user-select: none; }
.logo-item:hover { color: rgba(255,255,255,0.3); }

/* ===== Features Grid ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), transparent); opacity: 0; transition: opacity 0.3s; }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-glow); display: grid; place-items: center; margin-bottom: 20px; color: var(--accent-soft); }
.feature-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ===== How It Works ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; counter-reset: step; }
.step-card { text-align: center; position: relative; counter-increment: step; }
.step-num { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: rgba(99,102,241,0.15); margin-bottom: 16px; }
.step-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.step-connector { position: absolute; top: 30px; right: -16px; width: 32px; height: 1px; background: linear-gradient(90deg, rgba(99,102,241,0.3), transparent); }

/* ===== Industries ===== */
.industries-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.industry-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center;
  transition: all 0.3s; cursor: default;
}
.industry-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.industry-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.industry-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.industry-card p { font-size: 12px; color: var(--text-dim); }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; max-width: 960px; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 40px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.price-card.featured { border-color: rgba(99,102,241,0.35); box-shadow: 0 12px 40px rgba(99,102,241,0.08); }
.price-card.featured::after { content: 'RECOMMENDED'; position: absolute; top: 16px; right: 16px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 10px; letter-spacing: 0.06em; }
.price-type { font-size: 12px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.price-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 4px 0 16px; }
.price-amount { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: #fff; }
.price-amount span { font-size: 16px; font-weight: 400; color: var(--text-dim); }
.price-features { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: #d1d5db; }
.price-features li { display: flex; align-items: center; gap: 10px; }
.price-features li svg { flex-shrink: 0; }
.check { color: var(--green); }
.cross { color: var(--rose); }

/* ===== Voice Showcase / Soundroom ===== */
.voices-section { padding: 100px 0; background: linear-gradient(180deg, rgba(14,14,18,0.2) 0%, rgba(14,14,18,0.6) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.voices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.voice-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px; transition: all 0.3s; position: relative; overflow: hidden;
}
.voice-card:hover { border-color: var(--accent-soft); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.voice-card.playing { border-color: var(--green); background: rgba(16,185,129,0.04); box-shadow: 0 0 30px rgba(16,185,129,0.15); }
.voice-header { display: flex; align-items: center; justify-content: space-between; }
.voice-avatar-wrap { display: flex; align-items: center; gap: 12px; }
.voice-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-glow); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--accent-soft); font-size: 15px; border: 1px solid rgba(99,102,241,0.2); }
.voice-card.playing .voice-avatar { background: rgba(16,185,129,0.15); color: var(--green); border-color: rgba(16,185,129,0.3); }
.voice-info { display: flex; flex-direction: column; }
.voice-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff; }
.voice-gender { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-top: 2px; }
.voice-lang-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.v-tag { font-size: 10px; padding: 2px 8px; background: rgba(255,255,255,0.04); border-radius: 12px; color: #d1d5db; font-weight: 500; }
.voice-play-btn {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #000; border: none; cursor: pointer;
  display: grid; place-items: center; transition: all 0.2s; flex-shrink: 0;
}
.voice-card:hover .voice-play-btn { transform: scale(1.1); background: var(--accent); color: #fff; }
.voice-card.playing .voice-play-btn { background: var(--green); color: #fff; animation: pulse-play 1.5s infinite; }
@keyframes pulse-play { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); } 50% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.testimonial-card blockquote { font-size: 14px; color: #d1d5db; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-glow); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--accent-soft); }
.testimonial-info strong { font-size: 14px; display: block; }
.testimonial-info span { font-size: 12px; color: var(--text-dim); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--border-hover); }
.faq-q { padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; background: transparent; border: none; color: var(--text); width: 100%; text-align: left; font-family: var(--font); }
.faq-q::after { content: '+'; font-size: 20px; color: var(--text-dim); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* ===== CTA Banner ===== */
.cta-section { text-align: center; padding: 100px 0; }
.cta-box {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(168,85,247,0.06));
  border: 1px solid rgba(99,102,241,0.2); border-radius: 24px; padding: 64px 40px; max-width: 800px; margin: 0 auto;
}
.cta-box h2 { font-family: var(--font-display); font-size: clamp(28px,4vw,40px); font-weight: 700; margin-bottom: 16px; }
.cta-box p { color: var(--text-dim); font-size: 16px; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col a { display: block; color: #9ca3af; font-size: 13px; text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 110px; min-height: auto; }
  .features-grid, .testimonials-grid, .voices-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid, .industries-grid { grid-template-columns: 1fr 1fr; }
  .step-connector { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .features-grid, .testimonials-grid, .steps-grid, .industries-grid, .voices-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .nav-links { display: none; }
  .orb-wrapper { width: 180px; height: 180px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
