/* ════════════════════════════════════════
   HOMEPAGE-SPECIFIC STYLES
   Complete visual overhaul
   ════════════════════════════════════════ */

/* ── HERO V2 ── */
.hero-v2 {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 2rem 0; position: relative; overflow: hidden;
  background: #030712;
}
.hero-v2-bg { position: absolute; inset: 0; }
.hero-v2-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6;
}
.blob-1 {
  width: 600px; height: 600px; top: -15%; right: -10%;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  animation: blobFloat 12s ease-in-out infinite;
}
.blob-2 {
  width: 500px; height: 500px; bottom: -10%; left: -5%;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  animation: blobFloat 15s ease-in-out infinite reverse;
}
.blob-3 {
  width: 350px; height: 350px; top: 40%; left: 30%;
  background: radial-gradient(circle, #ec4899, transparent 70%);
  animation: blobFloat 18s ease-in-out infinite 3s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-v2-inner {
  max-width: 1300px; margin: 0 auto; width: 100%; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

/* Hero text */
.hero-v2-text { color: white; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3);
  padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 1.5rem; color: #a5b4fc;
}
.hero-v2-text h1 {
  font-size: 3.8rem; font-weight: 900; line-height: 1.15; margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.typed-wrapper { display: inline-block; }
.typed-text {
  background: linear-gradient(135deg, #fbbf24, #f97316, #ef4444);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.typed-cursor {
  display: inline-block; color: #fbbf24; font-weight: 200;
  animation: blink 0.8s infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.hero-gradient-text {
  background: linear-gradient(135deg, #22d3ee, #a78bfa, #f472b6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-v2-desc {
  font-size: 1.15rem; color: rgba(255,255,255,0.7); line-height: 1.8;
  margin-bottom: 2rem; max-width: 500px;
}
.hero-v2-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* Glow button */
.btn-glow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white; padding: 1rem 2.2rem; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; border: none; cursor: pointer;
  position: relative; overflow: hidden; transition: all 0.3s;
  box-shadow: 0 0 30px rgba(99,102,241,0.4), 0 8px 25px rgba(99,102,241,0.3);
}
.btn-glow::before {
  content: ''; position: absolute; inset: -2px; border-radius: 50px;
  background: conic-gradient(from 0deg, #6366f1, #06b6d4, #10b981, #f59e0b, #ec4899, #6366f1);
  z-index: -1; animation: borderSpin 3s linear infinite;
  opacity: 0; transition: opacity 0.3s;
}
.btn-glow:hover::before { opacity: 1; }
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(99,102,241,0.5), 0 12px 35px rgba(99,102,241,0.4); }
@keyframes borderSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Glass button */
.btn-glass {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2); color: white;
  padding: 1rem 2.2rem; border-radius: 50px; font-weight: 700;
  font-size: 0.95rem; transition: all 0.3s; cursor: pointer;
}
.btn-glass:hover {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Trust chips */
.hero-trust-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem; border-radius: 50px; font-size: 0.78rem; font-weight: 600;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}
.trust-chip i { color: #fbbf24; font-size: 0.7rem; }

/* Hero visual — floating cards + phone mockup */
.hero-v2-visual { position: relative; height: 500px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 0.8rem;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 16px;
  padding: 0.9rem 1.2rem; color: white; z-index: 3;
  animation: cardFloat 6s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.float-card .fc-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.1rem; color: white;
}
.float-card .fc-info strong { display: block; font-size: 0.88rem; }
.float-card .fc-info span { font-size: 0.75rem; opacity: 0.7; }
.fc-1 { top: 5%; left: 10%; animation-delay: 0s; }
.fc-2 { top: 40%; right: 5%; animation-delay: 2s; }
.fc-3 { bottom: 15%; left: 5%; animation-delay: 4s; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Phone mockup */
.hero-phone-mockup {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 260px; height: 440px; background: #1a1a2e; border-radius: 32px;
  padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(255,255,255,0.1);
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; background: #0f172a; border-radius: 22px;
  overflow: hidden; display: flex; flex-direction: column;
}
.phone-header {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 1rem; background: rgba(99,102,241,0.2); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.phone-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}
.phone-title { color: white; font-weight: 700; font-size: 0.85rem; }
.phone-chat { padding: 0.8rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; justify-content: flex-end; }
.chat-msg {
  max-width: 80%; padding: 0.6rem 0.9rem; border-radius: 14px; font-size: 0.72rem; line-height: 1.5;
}
.chat-msg.sent {
  align-self: flex-end; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white;
  border-bottom-right-radius: 4px;
}
.chat-msg.received {
  align-self: flex-start; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  border-bottom-left-radius: 4px;
}

/* Hero countdown */
.hero-v2-countdown {
  position: relative; z-index: 2; margin-top: 3rem; padding-bottom: 2rem;
}
.countdown-inner {
  max-width: 600px; margin: 0 auto; display: flex; align-items: center; gap: 2rem;
  background: rgba(255,255,255,0.05); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
  padding: 1rem 2rem;
}
.countdown-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); font-weight: 600; white-space: nowrap; }
.countdown-label i { color: #fbbf24; margin-right: 0.4rem; }
.countdown-digits { display: flex; align-items: center; gap: 0.5rem; }
.cd-block { text-align: center; }
.cd-block span {
  display: block; font-size: 1.8rem; font-weight: 900; font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #22d3ee, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cd-block small { font-size: 0.6rem; text-transform: uppercase; color: rgba(255,255,255,0.5); letter-spacing: 1.5px; }
.cd-sep { color: rgba(255,255,255,0.3); font-size: 1.5rem; font-weight: 300; }

@media (max-width: 992px) {
  .hero-v2-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-v2-text h1 { font-size: 2.8rem; }
  .hero-v2-desc { margin: 0 auto 2rem; }
  .hero-v2-actions { justify-content: center; }
  .hero-trust-row { justify-content: center; }
  .hero-v2-visual { display: none; }
  .countdown-inner { flex-direction: column; gap: 1rem; }
}

/* ── ACTIVITY TICKER ── */
.activity-ticker {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  padding: 0.8rem 0; overflow: hidden; border-top: 1px solid rgba(99,102,241,0.2);
}
.ticker-track {
  display: flex; gap: 3rem; animation: tickerScroll 30s linear infinite;
  white-space: nowrap; width: max-content;
}
.ticker-item {
  color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.ticker-item i { color: #34d399; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── STATS RINGS ── */
.stats-section {
  padding: 5rem 2rem; background: white;
}
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.stat-ring-card { text-align: center; padding: 2rem 1rem; }
.ring-visual { position: relative; width: 120px; height: 120px; margin: 0 auto 1rem; }
.ring-visual svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #e2e8f0; stroke-width: 8; }
.ring-fill {
  fill: none; stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: calc(327 - (327 * var(--percent)) / 100);
  transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}
.ring-1 { stroke: url(#grad-ring-1); stroke: #6366f1; }
.ring-2 { stroke: #10b981; }
.ring-3 { stroke: #f59e0b; }
.ring-4 { stroke: #06b6d4; }
.ring-number {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 1.6rem; font-weight: 900; color: #0f172a; font-family: 'Poppins', sans-serif;
}
.stat-ring-card h4 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.3rem; }
.stat-ring-card p { font-size: 0.82rem; color: #64748b; }
@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* ── BENTO GRID ── */
.bento-section { background: #f8fafc; }
.gradient-underline {
  position: relative; display: inline-block;
}
.gradient-underline::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 8px;
  background: linear-gradient(90deg, rgba(99,102,241,0.3), rgba(6,182,212,0.2));
  border-radius: 4px; z-index: -1;
}
.bento-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  grid-template-rows: auto auto;
}
.bento-card {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 220px;
  display: flex; align-items: flex-end; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer; text-decoration: none;
}
.bento-card:hover { transform: translateY(-8px) scale(1.02); }
.bento-bg {
  position: absolute; inset: 0; transition: transform 0.6s;
}
.bento-card:hover .bento-bg { transform: scale(1.05); }
.bento-content {
  position: relative; z-index: 1; padding: 2rem; color: white; width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.bento-icon { font-size: 2rem; margin-bottom: 0.8rem; opacity: 0.9; }
.bento-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.4rem; }
.bento-card p { font-size: 0.85rem; opacity: 0.85; line-height: 1.6; margin-bottom: 0.6rem; }
.bento-price {
  display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
  padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}
.bento-arrow {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 40px; height: 40px;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem; transition: all 0.3s;
  opacity: 0; transform: translateX(-10px);
}
.bento-card:hover .bento-arrow { opacity: 1; transform: translateX(0); }
.bento-large { grid-row: span 2; min-height: 460px; }
.bento-wide { grid-column: span 2; }
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-wide { grid-row: auto; grid-column: auto; min-height: 220px; }
}

/* ── TAX CALCULATOR V2 ── */
.calc-section { background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%); padding-bottom: 4rem; }
.calc-hero-header { text-align: center; margin-bottom: 2.5rem; }
.calc-hero-header .section-tag { margin-bottom: 1rem; }
.calc-wrapper-v2 {
  display: grid; grid-template-columns: 420px 1fr; gap: 2rem; align-items: start;
  border-radius: 28px; padding: 2.5rem; border: 1px solid #e2e8f0; max-width: 1100px; margin: 0 auto;
}
.calc-title { font-size: 2.4rem; font-weight: 900; color: #0f172a; line-height: 1.2; margin-bottom: 0.8rem; }
.calc-desc { color: #64748b; margin-bottom: 0; line-height: 1.7; max-width: 650px; margin-left: auto; margin-right: auto; }

.calc-input-panel, .calc-result-panel {
  background: white; border-radius: 20px; padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06); border: 1px solid rgba(99,102,241,0.08);
}
.calc-panel-header {
  font-size: 0.85rem; font-weight: 700; color: #6366f1; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem;
}
.calc-field-v2 { margin-bottom: 1rem; }
.calc-field-v2 label {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 700; color: #334155; margin-bottom: 0.4rem;
}
.calc-field-v2 label i { color: #6366f1; font-size: 0.8rem; }
.info-popup { display: none !important; }
.field-hint { font-weight: 400; color: #94a3b8; font-size: 0.75rem; }
.field-max { font-size: 0.72rem; color: #94a3b8; margin-top: 0.25rem; }
.calc-field-v2 input, .calc-field-v2 select {
  width: 100%; padding: 0.7rem 1rem; border: 2px solid #e2e8f0; border-radius: 10px;
  font-size: 0.92rem; transition: all 0.25s; background: #f8fafc; font-family: inherit;
}
.calc-field-v2 input:focus, .calc-field-v2 select:focus {
  border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,0.1); outline: none; background: white;
}
.calc-slider {
  width: 100%; margin-top: 0.4rem; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 3px; background: linear-gradient(90deg, #6366f1, #06b6d4);
  outline: none; cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: white; border: 3px solid #6366f1; box-shadow: 0 2px 8px rgba(99,102,241,0.3); cursor: pointer;
}
.slider-labels { display: flex; justify-content: space-between; font-size: 0.7rem; color: #94a3b8; margin-top: 0.2rem; }
.calc-divider {
  text-align: center; margin: 1.2rem 0; position: relative; color: #94a3b8; font-size: 0.78rem; font-weight: 600;
}
.calc-divider::before, .calc-divider::after {
  content: ''; position: absolute; top: 50%; width: 30%; height: 1px; background: #e2e8f0;
}
.calc-divider::before { left: 0; }
.calc-divider::after { right: 0; }
.calc-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.calc-field-v2.compact { margin-bottom: 0; }
.calc-field-v2.compact input { padding: 0.6rem 0.8rem; font-size: 0.88rem; }
.calc-btn-v2 {
  width: 100%; justify-content: center; margin-top: 1.2rem; font-size: 1rem; padding: 1rem;
  gap: 0.6rem; display: flex; align-items: center;
}

/* Regime comparison */
.regime-compare { display: flex; align-items: stretch; gap: 0.8rem; margin-bottom: 1.2rem; }
.regime-card {
  flex: 1; padding: 1.2rem; border-radius: 14px; text-align: center; position: relative;
  border: 2px solid #e2e8f0; transition: all 0.4s;
}
.regime-card.winner-highlight { border-color: #10b981; box-shadow: 0 0 20px rgba(16,185,129,0.15); }
.regime-badge {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 0.25rem 0.8rem; border-radius: 20px; display: inline-block; margin-bottom: 0.6rem;
}
.regime-old .regime-badge { background: #fef3c7; color: #d97706; }
.regime-new .regime-badge { background: #dbeafe; color: #2563eb; }
.regime-tax-label { font-size: 0.75rem; color: #94a3b8; margin-bottom: 0.3rem; }
.regime-tax-amount { font-size: 1.6rem; font-weight: 900; color: #0f172a; font-family: 'Poppins', sans-serif; }
.regime-effective { font-size: 0.78rem; color: #64748b; margin-top: 0.3rem; }
.regime-vs {
  display: flex; align-items: center; font-size: 0.8rem; font-weight: 800; color: #94a3b8;
}
.regime-vs span {
  background: #f1f5f9; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Winner banner */
.regime-winner {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  border-radius: 12px; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(6,182,212,0.08));
  border: 1px solid rgba(16,185,129,0.2);
}
.regime-winner i { font-size: 1.5rem; color: #f59e0b; }
.regime-winner strong { color: #10b981; font-size: 1rem; }
.winner-amount { font-size: 0.85rem; color: #64748b; }
.winner-amount span { font-weight: 800; color: #10b981; }

/* Tax visual bars */
.tax-visual { margin-bottom: 1.2rem; }
.tax-bar-label { font-size: 0.78rem; font-weight: 700; color: #334155; margin-bottom: 0.6rem; }
.tax-bars { display: flex; flex-direction: column; gap: 0.6rem; }
.tax-bar-row { display: flex; align-items: center; gap: 0.6rem; }
.bar-label { font-size: 0.78rem; font-weight: 600; color: #64748b; width: 30px; }
.bar-track { flex: 1; height: 28px; background: #f1f5f9; border-radius: 8px; overflow: hidden; position: relative; }
.bar-fill {
  height: 100%; border-radius: 8px; transition: width 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 8px;
  font-size: 0.72rem; font-weight: 700; color: white; min-width: 0;
}
.bar-old { background: linear-gradient(90deg, #f59e0b, #f97316); }
.bar-new { background: linear-gradient(90deg, #6366f1, #06b6d4); }
.bar-value { font-size: 0.8rem; font-weight: 700; color: #334155; min-width: 80px; text-align: right; }

/* Detail breakdown */
.calc-detail-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.detail-col { background: #f8fafc; border-radius: 12px; padding: 1rem; }
.detail-col h4 { font-size: 0.8rem; font-weight: 700; color: #334155; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; }
.calc-detail-breakdown .cb-row { padding: 0.4rem 0; font-size: 0.82rem; }
.calc-detail-breakdown .cb-row.dim { color: #cbd5e1; }
.fw700 { font-weight: 700 !important; }

/* Savings tip */
.savings-tip {
  display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(245,158,11,0.06));
  border-radius: 12px; margin-bottom: 1.2rem; border-left: 4px solid #f59e0b;
}
.savings-tip i { color: #f59e0b; font-size: 1.2rem; margin-top: 0.1rem; }
.savings-tip p { font-size: 0.88rem; color: #475569; line-height: 1.6; margin: 0; }

/* Info (i) button & popup — overlay modal style */
.info-btn {
  background: none; border: none; cursor: pointer; color: var(--primary); font-size: 0.85rem;
  margin-left: 0.3rem; padding: 0; vertical-align: middle; transition: color 0.2s;
}
.info-btn:hover { color: var(--primary-dark); }
.info-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,23,42,0.5); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.info-overlay.visible { display: flex; }
.info-modal {
  background: white; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  width: 100%; max-width: 560px; max-height: 80vh; overflow-y: auto;
  padding: 1.8rem 2rem; animation: infoFadeIn 0.25s ease; position: relative;
  font-size: 0.88rem; color: var(--gray-700); line-height: 1.7;
}
.info-modal-close {
  position: absolute; top: 0.8rem; right: 0.8rem; background: var(--gray-100); border: none;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  color: var(--gray-500); display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.info-modal-close:hover { background: var(--gray-200); color: var(--navy); }
@keyframes infoFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.info-modal-header { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; padding-right: 2rem; }
.info-modal-header i { color: var(--primary); }
.info-modal ul { margin: 0.5rem 0 0.8rem 1.2rem; padding: 0; }
.info-modal li { margin-bottom: 0.35rem; }
.info-modal .info-tip {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border: 1px solid #bbf7d0; border-radius: 8px;
  padding: 0.7rem 0.9rem; margin-top: 0.8rem; font-size: 0.84rem; color: #166534;
}
.info-modal .info-tip i { color: #22c55e; margin-right: 0.3rem; }
.info-modal .info-table { width: 100%; border-collapse: collapse; margin: 0.6rem 0; font-size: 0.84rem; }
.info-modal .info-table th { background: var(--primary); color: white; padding: 0.5rem 0.7rem; text-align: left; font-weight: 600; }
.info-modal .info-table td { padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--gray-100); }

/* Share link bar */
.calc-share-link-bar {
  display: flex; gap: 0.5rem; margin-top: 0.6rem;
}
.calc-share-link-bar input {
  flex: 1; padding: 0.6rem 0.8rem; border: 2px solid var(--gray-200); border-radius: 8px;
  font-size: 0.78rem; color: var(--gray-600); background: var(--gray-50); font-family: monospace;
}
.calc-share-link-bar input:focus { border-color: var(--primary); outline: none; }
.calc-copy-link-btn {
  padding: 0.6rem 1rem; border-radius: 8px; border: 2px solid var(--primary);
  background: var(--primary); color: white; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: all 0.2s; display: flex; align-items: center; gap: 0.3rem;
}
.calc-copy-link-btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.calc-copy-link-btn.copied { background: #10b981; border-color: #10b981; }

/* Smart Tips — full width below calculator grid */
.smart-tips-section { grid-column: 1 / -1; margin-top: 0.5rem; }
.smart-tips-header { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.smart-tips-header i { color: #f59e0b; }
.smart-tips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.smart-tip-card {
  background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 10px; padding: 1rem;
  transition: all 0.25s; cursor: default;
}
.smart-tip-card:hover { border-color: var(--primary-light); background: #f0f0ff; transform: translateY(-2px); }
.smart-tip-card .tip-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(99,102,241,0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 0.9rem; margin-bottom: 0.5rem; }
.smart-tip-card h5 { font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.smart-tip-card p { font-size: 0.8rem; color: var(--gray-600); line-height: 1.55; margin: 0; }

/* Expert CTA Banner — full width */
.expert-cta-banner {
  grid-column: 1 / -1; margin-top: 0.5rem; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e1b4b); color: white; padding: 2rem 2.5rem;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.expert-cta-left { }
.expert-cta-stats { display: flex; gap: 2rem; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.expert-stat { text-align: center; }
.expert-stat-number { font-size: 1.5rem; font-weight: 900; background: linear-gradient(135deg, #818cf8, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.expert-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 0.15rem; }
.expert-cta-content { margin-bottom: 1rem; }
.expert-cta-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(34,197,94,0.15); color: #4ade80; padding: 0.35rem 0.9rem; border-radius: 20px; font-size: 0.78rem; font-weight: 600; margin-bottom: 0.7rem; }
.expert-cta-content h4 { font-size: 1.15rem; font-weight: 800; line-height: 1.35; margin-bottom: 0.6rem; }
.expert-cta-content p { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.75); margin: 0 0 0.8rem; }
.expert-cta-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.6rem; margin-bottom: 0.8rem; }
.expert-cta-features span { font-size: 0.8rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 0.3rem; }
.expert-cta-features span i { color: #4ade80; font-size: 0.72rem; }
.expert-cta-urgency { background: rgba(245,158,11,0.15); color: #fbbf24; padding: 0.5rem 0.8rem; border-radius: 8px; font-size: 0.8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }
.expert-cta-right { display: flex; flex-direction: column; gap: 0.7rem; min-width: 240px; }
.expert-cta-right .calc-cta-v2 { font-size: 0.9rem; white-space: nowrap; }
.expert-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 50px; background: #25D366; color: white;
  font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: all 0.3s;
}
.expert-wa-btn:hover { background: #1da851; transform: translateY(-1px); }
.expert-cta-trust { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.3rem; }
.expert-cta-trust span { font-size: 0.74rem; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 0.3rem; }
.expert-cta-trust span i { color: #fbbf24; font-size: 0.65rem; }
.expert-cta-trust span:last-child i { color: rgba(255,255,255,0.4); }

/* Calc bottom actions — full width */
.calc-full-width { grid-column: 1 / -1; }
.calc-bottom-actions { display: flex; gap: 0.8rem; margin-top: 0.5rem; align-items: center; justify-content: center; }
.calc-cta-v2 { justify-content: center; font-size: 0.92rem; padding: 1rem 1.5rem; }
.calc-share-btn {
  padding: 0.75rem 1.5rem; border-radius: 50px; border: 2px solid #25D366;
  background: white; color: #25D366; font-size: 0.88rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem; transition: all 0.3s;
}
.calc-share-btn:hover { background: #25D366; color: white; border-color: #25D366; }
.calc-share-btn:active { transform: scale(0.97); }

@media(max-width:900px) {
  .smart-tips-grid { grid-template-columns: 1fr 1fr; }
  .expert-cta-banner { grid-template-columns: 1fr; padding: 1.5rem; }
  .expert-cta-right { flex-direction: row; flex-wrap: wrap; }
  .expert-cta-stats { gap: 1.2rem; }
}
@media(max-width:600px) {
  .calc-wrapper-v2 { padding: 1rem; gap: 1rem; border-radius: 16px; }
  .calc-input-panel, .calc-result-panel { padding: 1.2rem; border-radius: 14px; }
  .calc-hero-header { margin-bottom: 1.5rem; }
  .calc-title { font-size: 1.5rem; }
  .calc-desc { font-size: 0.88rem; }
  .calc-panel-header { font-size: 0.78rem; margin-bottom: 1rem; }
  .calc-field-v2 label { font-size: 0.78rem; flex-wrap: wrap; }
  .calc-field-v2 input, .calc-field-v2 select { padding: 0.6rem 0.8rem; font-size: 0.85rem; }
  .calc-fields-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .calc-field-v2.compact input { padding: 0.55rem 0.7rem; font-size: 0.82rem; }
  .field-hint { display: block; margin-top: 0.1rem; }
  .regime-compare { flex-direction: column; gap: 0.5rem; }
  .regime-vs { justify-content: center; }
  .regime-tax-amount { font-size: 1.3rem; }
  .calc-detail-breakdown { grid-template-columns: 1fr; gap: 0.8rem; }
  .detail-col { padding: 0.8rem; }
  .calc-detail-breakdown .cb-row { font-size: 0.78rem; padding: 0.3rem 0; }
  .savings-tip { padding: 0.8rem; }
  .savings-tip p { font-size: 0.82rem; }
  .smart-tips-grid { grid-template-columns: 1fr; }
  .smart-tips-section, .expert-cta-banner, .calc-full-width { grid-column: auto; }
  .expert-cta-banner { padding: 1.2rem; }
  .expert-cta-stats { flex-direction: row; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
  .expert-stat-number { font-size: 1.1rem; }
  .expert-stat-label { font-size: 0.68rem; }
  .expert-cta-content h4 { font-size: 0.95rem; }
  .expert-cta-content p { font-size: 0.8rem; }
  .expert-cta-features { grid-template-columns: 1fr; gap: 0.25rem; }
  .expert-cta-features span { font-size: 0.75rem; }
  .expert-cta-right { flex-direction: column; min-width: auto; }
  .expert-wa-btn { font-size: 0.82rem; padding: 0.75rem 1.2rem; }
  .expert-cta-trust { flex-direction: column; align-items: center; gap: 0.3rem; }
  .calc-bottom-actions { flex-direction: column; }
  .calc-share-btn { width: 100%; font-size: 0.82rem; padding: 0.7rem 1rem; }
  .calc-share-link-bar { flex-direction: column; }
  .calc-share-link-bar input { font-size: 0.72rem; }
  .calc-disclaimer { font-size: 0.75rem; padding: 0.8rem 1rem; }
  .info-modal { padding: 1.2rem 1rem; max-width: 95vw; font-size: 0.82rem; }
  .info-modal-header { font-size: 0.92rem; }
  .tax-bar-row { gap: 0.3rem; }
  .bar-label { width: 26px; font-size: 0.72rem; }
  .bar-value { min-width: 60px; font-size: 0.72rem; }
  .bar-track { height: 22px; }
}

/* Legacy calc styles kept for cb-row reuse */
.calc-result-amount-legacy {
  font-size: 3.5rem; font-weight: 900; font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.3rem;
}
.calc-result-sub { color: #64748b; font-size: 0.88rem; margin-bottom: 2rem; }
.calc-breakdown { text-align: left; margin-bottom: 2rem; }
.cb-row {
  display: flex; justify-content: space-between; padding: 0.7rem 0;
  border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; color: #475569;
}
.cb-row.highlight { border-bottom: none; font-weight: 800; color: #10b981; font-size: 1.05rem; padding-top: 1rem; border-top: 2px solid #10b981; }
.calc-cta { width: 100%; justify-content: center; font-size: 0.88rem; padding: 0.85rem 1.5rem; }
@media (max-width: 900px) {
  .calc-wrapper-v2 { grid-template-columns: 1fr; padding: 1.5rem; }
  .regime-compare { flex-direction: column; }
  .regime-vs { justify-content: center; }
  .calc-fields-grid { grid-template-columns: 1fr 1fr; }
  .calc-detail-breakdown { grid-template-columns: 1fr 1fr; }
  .smart-tips-section, .expert-cta-banner, .calc-full-width { grid-column: auto; }
}

/* ── HOW IT WORKS V2 ── */
.hiw-section { background: #f8fafc; overflow: hidden; }
.hiw-steps { max-width: 900px; margin: 3rem auto 0; position: relative; padding-left: 3rem; }
.hiw-steps::before {
  content: ''; position: absolute; left: 38px; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #6366f1, #06b6d4, #10b981, #f59e0b);
  border-radius: 2px;
}
.hiw-step {
  display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem;
  position: relative; padding: 1.8rem 2rem; background: white;
  border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #f1f5f9; transition: all 0.35s;
}
.hiw-step:hover { transform: translateX(8px); box-shadow: 0 10px 40px rgba(99,102,241,0.1); }
.hiw-num {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white; font-weight: 900; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
}
.hiw-body { flex: 1; }
.hiw-body h4 { font-size: 1.1rem; font-weight: 800; color: #0f172a; margin-bottom: 0.3rem; }
.hiw-body p { font-size: 0.88rem; color: #64748b; line-height: 1.65; }
.hiw-visual {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #6366f1;
}

/* ── TESTIMONIAL SECTION ── */
.testimonial-section { background: white; }

/* ── PARTNERS ── */
.partners-section { background: #f8fafc; padding: 4rem 2rem; }

/* ── FINAL CTA ── */
.final-cta-section { padding: 4rem 2rem; background: white; }
.final-cta {
  max-width: 1100px; margin: 0 auto; border-radius: 28px;
  overflow: hidden; position: relative; padding: 5rem 3rem; text-align: center;
}
.final-cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #4f46e5, #0891b2);
  background-size: 400% 400%; animation: heroGrad 12s ease infinite;
}
@keyframes heroGrad {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.final-cta-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.2), transparent 70%);
}
.final-cta-content { position: relative; z-index: 1; color: white; }
.final-cta-content h2 { font-size: 2.8rem; font-weight: 900; margin-bottom: 0.8rem; }
.final-cta-content p { font-size: 1.15rem; opacity: 0.85; margin-bottom: 2.5rem; }
.final-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
