/* ========================================
   HUMANITY TAX – Landing Page Styles
   ======================================== */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #0F172A; background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === CSS Variables === */
:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #EFF6FF;
  --green: #059669;
  --green-light: #ECFDF5;
  --purple: #7C3AED;
  --orange: #D97706;
  --teal: #0D9488;
  --red: #DC2626;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-900: #0F172A;
  --gradient: linear-gradient(135deg, #2563EB 0%, #059669 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(37,99,235,.15);
  --radius: 16px;
  --radius-sm: 10px;
}

/* === Utility Classes === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-header p { color: var(--gray-600); font-size: 1.1rem; }
.section-badge { display: inline-block; background: var(--blue-light); color: var(--blue); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 99px; margin-bottom: 16px; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-radius: 12px; cursor: pointer; transition: all .2s ease; border: none; font-size: 1rem; }
.btn-primary { background: var(--blue); color: #fff; padding: 12px 24px; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,.35); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); padding: 10px 24px; }
.btn-outline:hover { background: var(--blue-light); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 14px; }
.btn-sm { padding: 8px 18px; font-size: .9rem; }

/* === NAVBAR === */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: all .3s ease; }
.navbar.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; display: block; mix-blend-mode: multiply; }
.logo-img--footer { height: 36px; mix-blend-mode: screen; }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a { color: var(--gray-600); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { margin-left: 16px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-900); border-radius: 2px; transition: all .3s; }
.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--gray-200); padding: 16px 24px 24px; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu a { color: var(--gray-600); font-weight: 500; display: block; padding: 8px 0; }
.mobile-menu .btn { text-align: center; justify-content: center; margin-top: 8px; }

/* === HERO === */
.hero { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(160deg, #EFF6FF 0%, #ECFDF5 60%, #fff 100%); padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; }
.shape-1 { width: 600px; height: 600px; background: #BFDBFE; top: -200px; right: -100px; }
.shape-2 { width: 400px; height: 400px; background: #A7F3D0; bottom: -100px; left: -100px; }
.shape-3 { width: 300px; height: 300px; background: #DDD6FE; top: 50%; left: 40%; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.badge { display: inline-block; background: rgba(37,99,235,.1); color: var(--blue); font-size: .85rem; font-weight: 600; padding: 8px 16px; border-radius: 99px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-sub { color: var(--gray-600); font-size: 1.15rem; max-width: 480px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.4rem; font-weight: 800; color: var(--gray-900); }
.stat span { font-size: .8rem; color: var(--gray-400); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--gray-200); }

/* === PHONE MOCKUP === */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-mockup { position: relative; }
.phone-frame { width: 260px; background: #0F172A; border-radius: 40px; padding: 14px; box-shadow: 0 40px 100px rgba(15,23,42,.4), 0 0 0 1px rgba(255,255,255,.1); position: relative; }
.phone-screen { border-radius: 28px; overflow: hidden; }
.app-screen-img { width: 100%; display: block; border-radius: 28px; }
.phone-glow { position: absolute; inset: -20px; background: radial-gradient(circle, rgba(37,99,235,.2) 0%, transparent 70%); pointer-events: none; z-index: -1; }
.floating-card { position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px; font-size: .8rem; line-height: 1.3; white-space: nowrap; }
.fc-icon { font-size: 1.4rem; }
.card-1 { top: 80px; right: -80px; animation: float 3s ease-in-out infinite; }
.card-2 { bottom: 100px; left: -90px; animation: float 3s ease-in-out infinite .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

/* === TRUST BAR === */
.trust-bar { padding: 40px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.trust-bar .container { display: flex; align-items: center; gap: 40px; }
.trust-label { font-size: .8rem; font-weight: 500; color: var(--gray-400); white-space: nowrap; }
.trust-logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.trust-logo { font-size: .9rem; font-weight: 700; color: var(--gray-400); letter-spacing: .02em; }

/* === FEATURES === */
.features { background: var(--gray-50); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--gray-200); transition: all .3s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon.blue { background: var(--blue-light); }
.feature-icon.green { background: var(--green-light); }
.feature-icon.purple { background: #F5F3FF; }
.feature-icon.orange { background: #FFFBEB; }
.feature-icon.teal { background: #F0FDFA; }
.feature-icon.red { background: #FEF2F2; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--gray-600); font-size: .9rem; line-height: 1.6; }

/* === HOW IT WORKS === */
.how-it-works { background: #fff; }
.steps-wrapper { display: flex; flex-direction: column; gap: 80px; }
.step { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 40px; align-items: center; }
.step-reverse { grid-template-columns: 80px 1fr 1fr; }
.step-reverse .step-content { order: 2; }
.step-reverse .step-visual { order: 1; }
.step-number { font-size: 3.5rem; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.step-content h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.step-content p { color: var(--gray-600); margin-bottom: 20px; line-height: 1.7; }
.step-points { display: flex; flex-direction: column; gap: 8px; }
.step-points li { color: var(--gray-600); font-size: .9rem; }
.step-card { background: var(--gray-50); border-radius: var(--radius); padding: 24px; border: 1px solid var(--gray-200); }
.step-card-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gray-200); }
.step-card-row:last-of-type { border-bottom: none; }
.sc-label { font-size: .8rem; color: var(--gray-400); font-weight: 500; }
.sc-value { font-size: .85rem; font-weight: 600; color: var(--gray-900); }
.step-card-btn { margin-top: 16px; background: var(--blue); color: #fff; border-radius: 10px; padding: 10px 16px; text-align: center; font-size: .85rem; font-weight: 600; cursor: pointer; }
.regime-compare { display: flex; align-items: center; gap: 12px; }
.regime { flex: 1; text-align: center; padding: 16px; background: #fff; border-radius: 12px; border: 2px solid var(--gray-200); }
.regime.best { border-color: var(--green); background: var(--green-light); }
.regime-label { font-size: .7rem; font-weight: 600; color: var(--gray-400); margin-bottom: 6px; }
.regime.best .regime-label { color: var(--green); }
.regime-tax { font-size: 1.2rem; font-weight: 800; color: var(--gray-900); }
.regime-note { font-size: .7rem; color: var(--gray-600); margin-top: 4px; }
.regime.best .regime-note { color: var(--green); font-weight: 600; }
.regime-vs { font-weight: 700; color: var(--gray-400); font-size: .85rem; }
.success-card { text-align: center; }
.success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.success-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.success-sub { font-size: .75rem; color: var(--gray-400); margin-bottom: 16px; }
.refund-status { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 10px; padding: 10px 14px; border: 1px solid var(--gray-200); font-size: .8rem; font-weight: 500; }
.refund-badge { background: #FEF3C7; color: #D97706; padding: 3px 10px; border-radius: 99px; font-size: .7rem; font-weight: 600; }

/* === TESTIMONIALS === */
.testimonials { background: var(--gray-50); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--gray-200); transition: all .3s ease; }
.testimonial-card.featured { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { color: var(--gray-600); font-size: .95rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.reviewer strong { display: block; font-size: .9rem; color: var(--gray-900); }
.reviewer span { font-size: .8rem; color: var(--gray-400); }

/* === PRICING === */
.pricing { background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card { border-radius: var(--radius); padding: 36px; border: 2px solid var(--gray-200); position: relative; transition: all .3s; }
.pricing-card.popular { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: scale(1.04); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; padding: 4px 16px; border-radius: 99px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.plan-name { font-size: .85rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.plan-price { font-size: 2.5rem; font-weight: 900; color: var(--gray-900); margin-bottom: 8px; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--gray-400); }
.plan-desc { color: var(--gray-600); font-size: .9rem; margin-bottom: 24px; line-height: 1.5; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.plan-features li { font-size: .875rem; color: var(--gray-600); }
.plan-features li.muted { color: var(--gray-400); }
.pricing-card .btn { width: 100%; justify-content: center; }

/* === DOWNLOAD CTA === */
.download-cta { background: linear-gradient(135deg, #1E3A8A 0%, #065F46 100%); color: #fff; padding: 96px 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.cta-content h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 16px; }
.cta-content p { opacity: .85; font-size: 1.05rem; max-width: 480px; margin-bottom: 36px; }
.store-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.store-btn { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 12px 24px; border-radius: 14px; transition: all .2s; backdrop-filter: blur(8px); }
.store-btn:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.store-btn div { display: flex; flex-direction: column; }
.store-btn small { font-size: .7rem; opacity: .8; }
.store-btn strong { font-size: .95rem; }
.qr-hint { font-size: .85rem; opacity: .7; }
.qr-placeholder { background: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr-grid { width: 120px; height: 120px; background: repeating-conic-gradient(#e2e8f0 0% 25%, #0f172a 0% 50%) 0 0 / 12px 12px; border-radius: 4px; }
.qr-placeholder p { font-size: .8rem; color: var(--gray-600); font-weight: 500; }

/* === FOOTER === */
.footer { background: var(--gray-900); color: #fff; padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 2fr; gap: 64px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .9rem; line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.social-links { display: flex; gap: 16px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .85rem; transition: all .2s; }
.social-links a:hover { background: var(--blue); color: #fff; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; padding: 24px; }
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .8rem; line-height: 1.8; }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: underline; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }

/* === ANIMATIONS === */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"] { transform: translateX(24px); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.popular { transform: scale(1); }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: block; }
  .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; }
  .step-visual { display: none; }
  .steps-wrapper { gap: 48px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .trust-bar .container { flex-direction: column; gap: 16px; }
  .trust-logos { gap: 24px; justify-content: center; }
  .section { padding: 64px 0; }
}

/* === LEGAL PAGES (Privacy Policy & Terms) === */
.legal-page { background: var(--gray-50); min-height: 100vh; }
.legal-hero { background: linear-gradient(135deg, #1E3A8A 0%, #065F46 100%); color: #fff; padding: 120px 0 64px; text-align: center; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.legal-hero p { opacity: .75; font-size: 1rem; }
.legal-hero .last-updated { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 6px 18px; font-size: .8rem; margin-top: 16px; backdrop-filter: blur(8px); }

.legal-body { display: grid; grid-template-columns: 260px 1fr; gap: 48px; max-width: 1100px; margin: 0 auto; padding: 64px 24px 96px; align-items: start; }
.legal-toc { position: sticky; top: 90px; background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 24px; }
.legal-toc h3 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-400); margin-bottom: 16px; }
.legal-toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 6px; }
.legal-toc ol li { counter-increment: toc; }
.legal-toc ol li a { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--gray-600); padding: 6px 8px; border-radius: 8px; transition: all .2s; }
.legal-toc ol li a::before { content: counter(toc); display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: var(--gray-100); border-radius: 50%; font-size: .7rem; font-weight: 700; color: var(--gray-400); flex-shrink: 0; }
.legal-toc ol li a:hover { background: var(--blue-light); color: var(--blue); }
.legal-toc ol li a:hover::before { background: var(--blue); color: #fff; }

.legal-content { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 48px; }
.legal-content section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--gray-200); scroll-margin-top: 90px; }
.legal-content section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.legal-section-number { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--blue-light); color: var(--blue); border-radius: 8px; font-size: .85rem; font-weight: 800; margin-bottom: 12px; }
.legal-content h2 { font-size: 1.35rem; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; }
.legal-content p { color: var(--gray-600); font-size: .95rem; line-height: 1.8; margin-bottom: 14px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul, .legal-content ol { color: var(--gray-600); font-size: .95rem; line-height: 1.8; padding-left: 20px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content strong { color: var(--gray-900); font-weight: 600; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-content a:hover { color: var(--blue-dark); }
.legal-highlight { background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 0 8px 8px 0; padding: 16px 20px; margin-bottom: 16px; color: var(--gray-700); font-size: .9rem; line-height: 1.7; }
.legal-highlight.green { background: var(--green-light); border-color: var(--green); }
.legal-contact-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 24px; }
.legal-contact-box p { margin-bottom: 6px; }

.legal-footer-note { text-align: center; padding: 32px 24px; background: var(--gray-100); border-top: 1px solid var(--gray-200); }
.legal-footer-note p { color: var(--gray-600); font-size: .85rem; line-height: 1.7; }
.legal-footer-note a { color: var(--blue); text-decoration: underline; }

@media (max-width: 900px) {
  .legal-body { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-content { padding: 32px 24px; }
}

