/* ═══════════════════════════════════════════
   CLARIX — HOME PAGE CSS (V2 CINEMATIC)
═══════════════════════════════════════════ */

/* ─── INTRO BLAST ────────────────────────────── */
.intro-active .hero-badge      { animation: fadeUp 0.6s var(--ease) both 0.4s; }
.intro-active .hero-title      { animation: clarixBlast 0.9s cubic-bezier(0.16,1,0.3,1) both 0.8s; }
.intro-active .hero-sub        { animation: fadeUp 0.7s var(--ease) both 1.4s; }
.intro-active .hero-input-wrap { animation: fadeUp 0.7s var(--ease) both 1.7s; }
.intro-active .hero-ctas       { animation: fadeUp 0.7s var(--ease) both 2.0s; }
.intro-active .hero-stats      { animation: fadeUp 0.7s var(--ease) both 2.3s; }
.intro-active .float-card      { animation: floatIn 0.8s var(--ease) both 2.6s; }

@keyframes clarixBlast {
  0%   { opacity:0; transform:scale(1.15) translateY(20px); filter:blur(24px); letter-spacing:0.24em; }
  100% { opacity:1; transform:scale(1) translateY(0); filter:blur(0); letter-spacing:-0.04em; }
}
@keyframes floatIn {
  from { opacity:0; transform:translateX(-20px); }
  to   { opacity:1; transform:translateX(0); }
}

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 100px 24px 80px;
}
#neural-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow-1, .hero-glow-2 {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none; z-index: 0;
  animation: orbFloat 16s ease-in-out infinite;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,112,67,0.14) 0%, transparent 70%);
  top: -200px; left: -200px;
}
.hero-glow-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(255,152,0,0.10) 0%, transparent 70%);
  bottom: -100px; right: -150px; animation-delay: -8s;
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 780px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; opacity: 0; }
.badge-flag { font-size: 14px; }

.hero-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(72px, 15vw, 155px);
  color: #fff; margin: 20px 0 24px;
  letter-spacing: -0.04em; line-height: 0.9; opacity: 0;
}
.hero-title-text {
  background: linear-gradient(135deg,#fff 0%,rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(16px, 2.5vw, 20px); color: rgba(255,255,255,0.55); margin-bottom: 40px; line-height: 1.65; opacity: 0; }

.hero-input-wrap {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-full); padding: 6px 6px 6px 20px;
  max-width: 620px; margin: 0 auto 32px;
  transition: all var(--t-mid); box-shadow: 0 12px 50px rgba(0,0,0,0.35); opacity: 0;
}
.hero-input-wrap:focus-within { border-color: rgba(255,112,67,0.5); box-shadow: 0 12px 50px rgba(255,112,67,0.15); }
.hero-input-mic { font-size: 18px; cursor: pointer; margin-right: 10px; opacity: 0.5; transition: opacity 0.2s; flex-shrink: 0; }
.hero-input-mic:hover { opacity: 1; }
.hero-input { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: 15px; font-family: var(--font-body); }
.hero-input::placeholder { color: rgba(255,255,255,0.25); }
.hero-input-btn {
  background: var(--accent); color: #fff; border: none;
  padding: 11px 24px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; white-space: nowrap; flex-shrink: 0; font-family: var(--font-body);
}
.hero-input-btn:hover { background: var(--accent-hover); transform: scale(1.02); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; opacity: 0; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; opacity: 0; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-head); font-size: 26px; font-weight: 900; color: #fff; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 3px; }
.stat-div { width: 1px; height: 32px; background: rgba(255,255,255,0.08); }

/* Float cards */
.float-card { display: none; position: absolute; z-index: 3; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-md); padding: 16px 20px; max-width: 220px; backdrop-filter: blur(12px); opacity: 0; }
@media (min-width: 1100px) {
  .float-card { display: block; }
  .float-card-l { left: 4%; top: 30%; animation: floatBob 9s ease-in-out infinite; }
  .float-card-r { right: 4%; top: 40%; animation: floatBob 11s ease-in-out infinite reverse; }
}
@keyframes floatBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
.float-card-tag { font-size: 10px; color: var(--accent); font-weight: 700; margin-bottom: 8px; letter-spacing: 0.05em; }
.float-card-text { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; margin-bottom: 8px; }
.float-card-score { font-size: 11px; color: #4ade80; font-weight: 600; }

/* Dual Tickers: Left + Right */
.hero-ticker-left,
.hero-ticker-right {
  position: absolute; top: 110px; bottom: 80px;
  width: 220px; overflow: hidden; z-index: 3; display: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}
@media (min-width: 1280px) { .hero-ticker-left, .hero-ticker-right { display: block; } }
.hero-ticker-left  { left: 20px; }
.hero-ticker-right { right: 20px; }

.hero-ticker-track {
  display: flex; flex-direction: column; gap: 12px;
  animation: tickerScroll 32s linear infinite;
}
.hero-ticker-right .hero-ticker-track {
  animation-delay: -16s; /* offset right side so they don't sync */
}
@keyframes tickerScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.ticker-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px; padding: 14px 16px; cursor: default;
}
.ticker-tag {
  font-size: 10px; color: var(--accent); font-weight: 700;
  margin-bottom: 8px; letter-spacing: 0.05em;
}
.ticker-text {
  font-size: 11.5px; color: rgba(255,255,255,0.45); line-height: 1.55;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ticker-meta {
  font-size: 10px; color: rgba(255,112,67,0.6); font-weight: 600;
}

/* ─── SECTIONS ────────────────────────────────── */
.what-section { background: var(--bg-dark-1); }
.features-section { background: var(--bg-dark); }
.how-section { background: var(--bg-dark); }

.before-after { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
@media (max-width: 720px) { .before-after { grid-template-columns: 1fr; } }
.ba-card { border-radius: var(--r-xl); padding: 28px; min-height: 190px; display: flex; flex-direction: column; gap: 12px; }
.ba-before { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); }
.ba-after  { background: rgba(255,112,67,0.05); border: 1px solid rgba(255,112,67,0.2); box-shadow: var(--shadow-accent); }
.ba-label { font-size: 12px; font-weight: 700; color: #555; }
.ba-after .ba-label { color: var(--accent); }
.ba-badge-row { display: flex; }
.ba-badge { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.ba-badge.br { background: rgba(255,80,80,0.1); border:1px solid rgba(255,80,80,0.2); color:#f87171; }
.ba-badge.gr { background: rgba(74,222,128,0.1); border:1px solid rgba(74,222,128,0.2); color:#4ade80; }
.ba-text { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.7); flex: 1; }
.ba-result { font-size: 12px; color: #444; }
.ba-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 8px; flex-shrink: 0; }
.ba-arrow-line { width: 1px; height: 30px; background: rgba(255,112,67,0.2); }
.ba-arrow-icon { font-size: 20px; color: var(--accent); animation: pulsate 2s ease infinite; }
.ba-arrow-label { font-size: 10px; color: var(--accent); font-weight: 700; letter-spacing: 0.08em; }
@media (max-width: 720px) { .ba-arrow { flex-direction: row; padding: 8px 0; } .ba-arrow-line { width: 30px; height: 1px; } }

.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card { padding: 28px 24px; border-radius: var(--r-xl); transition: all var(--t-mid); }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(255,112,67,0.25); box-shadow: 0 12px 40px rgba(255,112,67,0.1); }
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 13px; color: #555; line-height: 1.7; }

/* ─── INDIA SECTION ───────────────────────────── */
.india-section { background: linear-gradient(135deg, var(--bg-dark-1), #050000); border-top: 1px solid rgba(255,112,67,0.08); border-bottom: 1px solid rgba(255,112,67,0.08); }
.india-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .india-inner { grid-template-columns: 1fr; } }
.india-lang-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.india-lang { padding: 6px 14px; border-radius: var(--r-full); background: rgba(255,112,67,0.07); border: 1px solid rgba(255,112,67,0.18); color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 500; }
.india-mockup { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.india-mockup-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #333; }
.india-mockup-input { font-size: 14px; color: #777; padding: 12px; background: rgba(255,255,255,0.03); border-radius: var(--r-md); border: 1px solid rgba(255,255,255,0.07); }
.india-mockup-arrow { font-size: 13px; color: var(--accent); font-weight: 700; text-align: center; }
.india-mockup-output { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.7; padding: 14px; background: rgba(255,112,67,0.05); border-radius: var(--r-md); border: 1px solid rgba(255,112,67,0.15); }
.india-mockup-score { font-size: 12px; color: #4ade80; font-weight: 700; text-align: right; }

/* ─── HOW IT WORKS ────────────────────────────── */
.steps-row { display: flex; align-items: flex-start; justify-content: center; }
@media (max-width: 768px) { .steps-row { flex-direction: column; align-items: center; gap: 20px; } }
.step-card { flex: 1; max-width: 280px; text-align: center; padding: 32px 24px; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r-xl); position: relative; transition: all var(--t-mid); }
.step-card:hover { border-color: rgba(255,112,67,0.25); transform: translateY(-4px); }
.step-num { font-family: var(--font-head); font-size: 52px; font-weight: 900; color: rgba(255,112,67,0.1); position: absolute; top: 14px; right: 18px; line-height: 1; }
.step-icon { font-size: 36px; margin-bottom: 14px; }
.step-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step-card p { font-size: 13px; color: #555; line-height: 1.65; }
.step-connector { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 10px; padding-top: 56px; color: rgba(255,112,67,0.4); font-size: 18px; flex-shrink: 0; }
.conn-line { width: 30px; height: 1px; background: rgba(255,112,67,0.2); }
@media (max-width: 768px) { .step-connector { padding-top: 0; transform: rotate(90deg); } }

/* ─── PLATFORMS ───────────────────────────────── */
.platforms-section { background: var(--bg-dark-1); padding: 40px 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04); }
.platforms-label { text-align: center; font-size: 12px; color: #444; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }

/* ─── PRICING ─────────────────────────────────── */
.pricing-section { background: var(--bg-dark-1); }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px)  { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card { padding: 32px 24px; border-radius: var(--r-xl); position: relative; display: flex; flex-direction: column; }
.pricing-popular { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 5px 18px; border-radius: var(--r-full); font-size: 11px; font-weight: 700; white-space: nowrap; }
.pricing-pro { border-color: rgba(255,112,67,0.3) !important; box-shadow: 0 0 50px rgba(255,112,67,0.1); }
.pricing-creator { border-color: rgba(255,152,0,0.2) !important; }
.pricing-agency  { border-color: rgba(100,100,255,0.15) !important; }
.pricing-tier { font-size: 13px; font-weight: 700; color: #555; margin-bottom: 12px; }
.pricing-tier.accent { color: var(--accent); }
.pricing-price { font-family: var(--font-head); font-size: 42px; font-weight: 900; color: #fff; line-height: 1; }
.pricing-cycle { font-size: 12px; color: #444; margin-bottom: 8px; }
.pricing-trial { font-size: 11px; color: var(--accent); font-weight: 600; margin-bottom: 20px; }
.pricing-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex: 1; }
.pricing-features li { font-size: 13px; }
.pricing-features li.yes { color: #bbb; }
.pricing-features li.no  { color: #333; }
.w-full { width: 100%; justify-content: center; }

/* ─── FINAL CTA ───────────────────────────────── */
.cta-final { background: radial-gradient(ellipse at center, rgba(255,112,67,0.08), transparent 70%), #000; border-top: 1px solid rgba(255,112,67,0.1); padding: 100px 24px; position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,112,67,0.12), transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); filter: blur(60px); pointer-events: none; }

/* ─── FOOTER ──────────────────────────────────── */
.footer { background: #030303; border-top: 1px solid rgba(255,255,255,0.04); padding: 48px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 500px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand-sub { font-size: 13px; color: #333; line-height: 1.6; margin-bottom: 12px; }
.footer-flag { font-size: 12px; color: #444; font-weight: 600; }
.footer-links-group { display: flex; flex-direction: column; gap: 10px; }
.footer-links-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #333; margin-bottom: 4px; }
.footer-links-group a { font-size: 13px; color: #333; text-decoration: none; transition: color 0.15s; }
.footer-links-group a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.04); font-size: 12px; color: #2a2a2a; flex-wrap: wrap; gap: 8px; }

/* ─── NAV LEFT (for hamburger on inner pages) ─── */
.nav-left { display: flex; align-items: center; gap: 12px; }

/* ─── EMAIL CAPTURE SECTION ──────────────────── */
.email-capture-section {
  background: linear-gradient(180deg, #000 0%, #050202 100%);
  padding: 80px 24px;
  border-top: 1px solid rgba(255,112,67,0.08);
  position: relative;
  overflow: hidden;
}

.email-capture-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,112,67,0.2);
  border-radius: 28px;
  padding: 52px 48px;
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 80px rgba(255,112,67,0.07), 0 24px 60px rgba(0,0,0,0.5);
  animation: fadeUp 0.6s var(--ease) both;
}
@media (max-width: 600px) { .email-capture-card { padding: 36px 24px; } }

.ec-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(circle, rgba(255,112,67,0.12), transparent 70%);
  pointer-events: none; filter: blur(40px);
}

.ec-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,112,67,0.08); border: 1px solid rgba(255,112,67,0.2);
  color: var(--accent); border-radius: var(--r-full);
  padding: 5px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 20px;
}

.ec-title {
  font-family: var(--font-head); font-size: clamp(26px, 4vw, 38px);
  font-weight: 900; color: #fff; margin-bottom: 12px; line-height: 1.15;
}

.ec-sub {
  font-size: 15px; color: rgba(255,255,255,0.45); max-width: 480px;
  margin: 0 auto 36px; line-height: 1.65;
}

.ec-form { width: 100%; }

.ec-row {
  display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap;
  margin-bottom: 14px;
}
@media (max-width: 620px) { .ec-row { flex-direction: column; } }

.ec-field { flex: 1; min-width: 0; }

.ec-input {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 13px 18px;
  color: #fff; font-size: 14px; font-family: var(--font-body);
  outline: none; transition: all 0.2s;
}
.ec-input::placeholder { color: rgba(255,255,255,0.25); }
.ec-input:focus {
  border-color: rgba(255,112,67,0.5);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(255,112,67,0.12);
}
.ec-input.error { border-color: rgba(239,68,68,0.5); }

.ec-btn {
  flex-shrink: 0; padding: 13px 28px; font-size: 14px;
  border-radius: 12px; position: relative; overflow: hidden;
  min-width: 140px;
}
.ec-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.ec-btn-loader {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.ec-btn-loader::after {
  content: '';
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ec-privacy { font-size: 12px; color: rgba(255,255,255,0.25); margin: 0; }

/* Success state */
.ec-success { padding: 12px 0; }
.ec-success-icon { font-size: 52px; margin-bottom: 16px; animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1) both; }
.ec-success-title {
  font-family: var(--font-head); font-size: 28px; font-weight: 800;
  color: #fff; margin-bottom: 8px;
}
.ec-success-sub { font-size: 14px; color: rgba(255,255,255,0.4); }
@keyframes popIn { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
