/* ============================================================
   TaxSav.AI — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0B1F3A;
  --blue:   #1A3F6F;
  --accent: #2A7FE0;
  --gold:   #E8A020;
  --green:  #22B57A;
  --light:  #F4F7FB;
  --white:  #FFFFFF;
  --text:   #1C2B3A;
  --muted:  #6B7A8D;
  --border: #DDE3EC;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(11,31,58,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── UTILITY ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-accent { color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 0.975rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .18s, opacity .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold  { background: var(--gold);   color: var(--navy); }
.btn-gold:hover  { background: #f0b030; box-shadow: 0 6px 20px rgba(232,160,32,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.45); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #2070cc; box-shadow: 0 6px 20px rgba(42,127,224,0.35); }
.btn-navy  { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #0d2545; }
.btn-plan-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-plan-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── SECTION LABELS ── */
.label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-size: 2.15rem; font-weight: 800;
  color: var(--navy); line-height: 1.22;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 540px; margin-bottom: 48px;
}
.section-header { text-align: center; }
.section-header .section-sub { margin: 0 auto 48px; }

section { padding: 90px 0; }

/* ────────────────────────────────────────────
   NAV
   ──────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  height: 72px;
  display: flex; align-items: center;
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.45rem; font-weight: 800;
  color: var(--white); text-decoration: none;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; background: var(--gold);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.78); font-size: 0.9rem; font-weight: 500;
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 9px 22px;
  border-radius: 6px; font-weight: 700 !important;
}
.nav-cta:hover { background: #f0b030 !important; }

/* Mobile hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

/* ────────────────────────────────────────────
   SECURE STRIP
   ──────────────────────────────────────────── */
.secure-strip {
  background: #e8f5ee;
  border-bottom: 1px solid #b8e0c8;
  padding: 10px 40px;
  text-align: center;
  font-size: 0.8rem; font-weight: 600; color: #267a50;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; flex-wrap: wrap;
}
.secure-strip span { opacity: 0.5; margin: 0 4px; }

/* ────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #15305A 55%, #1A3F6F 100%);
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -100px; right: -60px;
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(42,127,224,0.14) 0%, transparent 68%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: 15%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(232,160,32,0.09) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(42,127,224,0.15); border: 1px solid rgba(42,127,224,0.38);
  color: #7EC8FF; font-size: 0.78rem; font-weight: 600; letter-spacing: .05em;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}
.hero h1 {
  font-size: 3.2rem; font-weight: 800;
  color: var(--white); line-height: 1.16;
  margin-bottom: 20px; max-width: 620px;
}
.hero h1 .gold { color: var(--gold); }
.hero-sub {
  font-size: 1.13rem; color: rgba(255,255,255,0.78);
  max-width: 500px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.62); margin-top: 3px; }

/* ────────────────────────────────────────────
   TRUST BAR
   ──────────────────────────────────────────── */
.trust-bar {
  background: var(--light);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 40px;
}
.trust-bar .container {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
}
.trust-item .icon { color: var(--green); font-size: 1rem; }

/* ────────────────────────────────────────────
   HOW IT WORKS
   ──────────────────────────────────────────── */
.how { background: var(--light); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 48px;
}
.step-card {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 24px; border: 1px solid var(--border);
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 0.95rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-card p  { font-size: 0.87rem; color: var(--muted); line-height: 1.6; }
.step-arrow {
  position: absolute; top: 49px; right: -14px; z-index: 5;
  font-size: 1.3rem; color: var(--border);
}

/* ────────────────────────────────────────────
   SERVICES
   ──────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.service-card {
  border: 1.5px solid var(--border); border-radius: 16px;
  padding: 32px 28px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(42,127,224,0.11);
  transform: translateY(-4px);
}
.service-card.featured {
  background: linear-gradient(140deg, var(--navy), var(--blue));
  border-color: transparent;
}
.service-card.featured .sc-title { color: var(--white); }
.service-card.featured .sc-desc  { color: rgba(255,255,255,0.72); }
.service-card.featured .sc-badge { background: rgba(232,160,32,0.18); color: var(--gold); }
.service-card.featured .sc-link  { color: var(--gold); }
.service-icon {
  width: 50px; height: 50px; border-radius: 10px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.service-card.featured .service-icon { background: rgba(255,255,255,0.1); }
.sc-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  background: rgba(42,127,224,0.1); color: var(--accent);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
}
.sc-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 9px; }
.sc-desc  { font-size: 0.875rem; color: var(--muted); margin-bottom: 16px; line-height: 1.65; }
.sc-link  {
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  text-decoration: none; display: inline-flex; align-items: center; gap: 3px;
}
.sc-link:hover { text-decoration: underline; }

/* ────────────────────────────────────────────
   WHY US
   ──────────────────────────────────────────── */
.whyus { background: var(--navy); }
.whyus .label { color: var(--gold); }
.whyus .section-title { color: var(--white); }
.whyus .section-sub { color: rgba(255,255,255,0.62); }
.whyus-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: background .2s;
}
.why-card:hover { background: rgba(255,255,255,0.09); }
.why-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 9px; background: rgba(42,127,224,0.18);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.why-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.why-card p  { font-size: 0.83rem; color: rgba(255,255,255,0.62); line-height: 1.6; }

/* ────────────────────────────────────────────
   TESTIMONIALS
   ──────────────────────────────────────────── */
.testimonials { background: var(--light); }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 48px;
}
.testi-card {
  background: var(--white); border-radius: var(--radius);
  padding: 30px; border: 1px solid var(--border);
  transition: box-shadow .2s;
}
.testi-card:hover { box-shadow: var(--shadow); }
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text {
  font-size: 0.92rem; color: var(--text); line-height: 1.72;
  font-style: italic; margin-bottom: 20px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; flex-shrink: 0;
}
.author-name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.author-role { font-size: 0.76rem; color: var(--muted); }

/* ────────────────────────────────────────────
   PRICING
   ──────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 960px; margin: 48px auto 0;
}
.price-card {
  border: 1.5px solid var(--border); border-radius: 18px;
  padding: 36px 28px; text-align: center; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(42,127,224,0.1);
}
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: .06em;
  padding: 4px 16px; border-radius: 20px; text-transform: uppercase;
}
.price-name   { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.price-amount { font-size: 2.7rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-amount sup { font-size: 1.1rem; vertical-align: super; font-weight: 600; }
.price-period { font-size: 0.8rem; color: var(--muted); margin: 8px 0 24px; }
.price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.86rem; color: var(--text);
  padding: 7px 0; border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }
.chk { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.btn-block {
  display: block; width: 100%; padding: 13px;
  border-radius: 8px; font-size: 0.93rem; font-weight: 700;
  text-align: center; text-decoration: none; cursor: pointer;
  border: none; transition: transform .15s, opacity .2s;
}
.btn-block:hover { transform: translateY(-2px); opacity: 0.9; }

/* ────────────────────────────────────────────
   CTA BAND
   ──────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #132d52, var(--navy));
  padding: 80px 0; text-align: center;
}
.cta-band h2  { font-size: 2.3rem; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-band p   { font-size: 1.05rem; color: rgba(255,255,255,0.72); margin-bottom: 34px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 64px 0 28px;
  color: rgba(255,255,255,0.62);
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 52px;
}
.footer-logo {
  font-size: 1.4rem; font-weight: 800; color: var(--white);
  text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 14px;
}
.footer-logo .logo-icon {
  width: 32px; height: 32px; background: var(--gold);
  border-radius: 7px; display: flex; align-items: center;
  justify-content: center; font-size: 1rem;
}
.footer-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.86rem; line-height: 1.72; max-width: 250px; margin-bottom: 14px; }
.footer-contact { font-size: 0.86rem; line-height: 1.9; }
.footer-col h4 {
  color: var(--white); font-size: 0.875rem; font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.58);
  font-size: 0.84rem; text-decoration: none;
  margin-bottom: 10px; transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.55); text-decoration: none;
  margin-left: 20px; font-size: 0.8rem; transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ────────────────────────────────────────────
   INNER PAGE HERO (About / Contact)
   ──────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 72px 0 60px; text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.page-hero p  { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 480px; margin: 0 auto; }

/* ────────────────────────────────────────────
   CONTACT FORM
   ──────────────────────────────────────────── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start;
}
.contact-info h2 { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.contact-info p  { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 20px;
}
.contact-detail .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-detail h4 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.contact-detail p  { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-card { background: var(--light); border-radius: 16px; padding: 36px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.83rem; font-weight: 600;
  color: var(--navy); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 0.9rem; font-family: 'Inter', sans-serif;
  background: var(--white); color: var(--text);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ────────────────────────────────────────────
   ABOUT PAGE
   ──────────────────────────────────────────── */
.about-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-img {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(140deg, var(--blue), var(--accent));
  height: 380px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.value-card {
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
  text-align: center; transition: transform .2s, box-shadow .2s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-card p  { font-size: 0.86rem; color: var(--muted); }

/* ────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .steps         { grid-template-columns: repeat(2, 1fr); }
  .step-arrow    { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .whyus-inner   { grid-template-columns: 1fr; gap: 40px; }
  .about-intro   { grid-template-columns: 1fr; }
  .about-img     { height: 260px; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.7rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 20px 30px 24px; gap: 18px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .container { padding: 0 24px; }
  section { padding: 60px 0; }
  .cta-band h2 { font-size: 1.7rem; }
}
