/* ============================================================
   pawnsoftware.in — Main Stylesheet
   Light Gold Theme — Gold + White + Deep Teal
   ============================================================ */

/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --gold:        #B8860B;
  --gold-lt:     #FEF7E6;
  --gold-md:     #F5C842;
  --gold-dk:     #8B6510;
  --gold-deep:   #5C420A;
  --gold-border: #E8CC7A;
  --teal:        #0E6B72;
  --teal-lt:     #E6F5F6;
  --teal-dk:     #095559;
  --teal-mid:    #1A8F98;
  --white:       #FFFFFF;
  --cream:       #FFFDF5;
  --cream2:      #FDF8EC;
  --sand:        #F5EDD4;
  --ink:         #1C1A14;
  --ink2:        #3A3624;
  --ink3:        #6B6348;
  --ink4:        #9A9178;
  --border:      #EDE4C8;
  --border2:     #DDD0A8;
  --green:       #1A6B3A;
  --green-lt:    #E8F5EE;
  --red:         #B83232;
  --red-lt:      #FDEAEA;
  --amber:       #B86A0A;
  --amber-lt:    #FEF3E2;
  --blue:        #1A5F8A;
  --blue-lt:     #E8F4FB;
  --shadow-sm:   0 1px 4px rgba(180,140,20,.08);
  --shadow-md:   0 4px 24px rgba(140,100,10,.10);
  --shadow-lg:   0 8px 48px rgba(140,100,10,.14);
  --shadow-gold: 0 6px 24px rgba(184,134,11,.25);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  /* --font-d:      'Playfair Display', Georgia, serif;
  --font-b:      'DM Sans', system-ui, sans-serif; */
  --font-d:      'Roboto', Georgia, serif;
  --font-b:      'Roboto', system-ui, sans-serif;
  --max-w:       1200px;
  --transition:  0.22s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-b); font-size: 16px; line-height: 1.7; color: var(--ink2); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dk); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal); }
ul { list-style: none; }

/* ── Utility ──────────────────────────────────────────────── */
.container    { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.sr-only      { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap; }
.text-center  { text-align: center; }
.text-gold    { color: var(--gold); }
.bg-cream     { background: var(--cream); }
.bg-cream2    { background: var(--cream2); }
.bg-white     { background: var(--white); }
.section      { padding: 72px 0; }
.section-sm   { padding: 48px 0; }
.section-lg   { padding: 96px 0; }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-d); color: var(--ink); line-height: 1.25; }
h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 600; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 500; }
h4 { font-size: 18px; font-weight: 500; }
p  { margin-bottom: 1rem; color: var(--ink3); }
p:last-child { margin-bottom: 0; }

.section-label { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dk); background: var(--gold-lt); border: 1px solid var(--gold-border); border-radius: 20px; padding: 4px 14px; margin-bottom: 14px; }
.section-title { font-family: var(--font-d); font-size: clamp(24px, 3vw, 38px); font-weight: 600; color: var(--ink); margin-bottom: 12px; line-height: 1.3; }
.section-sub   { font-size: 17px; color: var(--ink3); max-width: 620px; line-height: 1.7; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-b); font-size: 15px; font-weight: 500; padding: 13px 28px; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.btn-primary  { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dk); border-color: var(--gold-dk); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline  { background: transparent; color: var(--gold-dk); border-color: var(--gold-dk); }
.btn-outline:hover { background: var(--gold-lt); color: var(--gold-deep); border-color: var(--gold); }
.btn-white    { background: var(--white); color: var(--gold-deep); border-color: var(--white); }
.btn-white:hover { background: var(--gold-lt); color: var(--gold-deep); }
.btn-teal     { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-dk); border-color: var(--teal-dk); color: var(--white); transform: translateY(-2px); }
.btn-ghost    { background: transparent; color: var(--gold-dk); border-color: var(--gold-border); }
.btn-ghost:hover { background: var(--gold-lt); color: var(--gold-deep); }
.btn-sm { font-size: 13px; padding: 9px 20px; }
.btn-lg { font-size: 17px; padding: 16px 36px; }

/* ── Header ───────────────────────────────────────────────── */
#site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); border-bottom: 2px solid var(--gold-border); box-shadow: 0 2px 12px rgba(180,140,20,.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; background: var(--gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 16px; font-weight: 700; color: var(--white); }
.logo-text { font-family: var(--font-d); font-size: 20px; font-weight: 600; color: var(--ink); }
.logo-text span { color: var(--gold); }
.logo-tagline { font-size: 10px; color: var(--ink4); letter-spacing: 0.5px; margin-top: -2px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { font-size: 14px; color: var(--ink3); padding: 6px 12px; border-radius: var(--radius-sm); font-weight: 400; transition: all var(--transition); }
.site-nav a:hover, .site-nav a.active { color: var(--gold-dk); background: var(--gold-lt); }
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.5; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); min-width: 220px; padding: 8px 0; z-index: 100; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 9px 18px; font-size: 13px; color: var(--ink2); }
.dropdown-menu a:hover { background: var(--cream2); color: var(--gold-dk); }
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta .btn { font-size: 13px; padding: 8px 18px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--ink); font-size: 22px; }

/* ── Hero ─────────────────────────────────────────────────── */
#hero { background: linear-gradient(135deg, #FEF7DC 0%, #FFFDF5 45%, #FEF4CC 100%); position: relative; overflow: hidden; padding: 80px 0 72px; border-bottom: 2px solid var(--gold-border); }
#hero::before { content: ''; position: absolute; top: -20%; right: -8%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(184,134,11,.12) 0%, transparent 70%); pointer-events: none; }
#hero::after  { content: ''; position: absolute; bottom: -15%; left: -5%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(14,107,114,.07) 0%, transparent 70%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--teal); }
.hero-title { font-family: var(--font-d); font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 20px; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-desc { font-size: 17px; color: var(--ink3); line-height: 1.75; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink4); }

/* Hero stats card */
.hero-stats-card { background: var(--white); border: 1px solid var(--gold-border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.hero-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stat { padding: 18px; background: var(--cream2); border-radius: var(--radius-md); border: 1px solid var(--border); text-align: center; }
.stat-number { font-family: var(--font-d); font-size: 28px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.stat-label  { font-size: 12px; color: var(--ink3); line-height: 1.4; }

/* Gold ticker */
.gold-ticker { margin-top: 20px; padding: 14px 18px; background: var(--gold-lt); border: 1px solid var(--gold-border); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticker-label  { font-size: 11px; color: var(--ink4); text-transform: uppercase; letter-spacing: 0.5px; }
.ticker-rates  { display: flex; gap: 16px; }
.ticker-rate   { text-align: center; }
.ticker-purity { font-size: 10px; color: var(--ink4); }
.ticker-price  { font-family: var(--font-d); font-size: 16px; font-weight: 600; color: var(--gold-dk); }
.ticker-live   { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--teal); }
.ticker-dot    { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink4); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold-dk); }
.breadcrumb a:hover { color: var(--teal); }

/* ── Software Section ─────────────────────────────────────── */
.software-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.software-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition); position: relative; overflow: hidden; }
.software-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-md)); transform: scaleX(0); transition: transform var(--transition); }
.software-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gold-border); }
.software-card:hover::before { transform: scaleX(1); }
.software-icon { width: 52px; height: 52px; background: var(--gold-lt); border-radius: var(--radius-md); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 24px; }
.software-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.software-card p  { font-size: 14px; line-height: 1.6; color: var(--ink3); margin-bottom: 16px; }
.software-card .card-link { font-size: 14px; font-weight: 500; color: var(--teal); display: inline-flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--teal); padding-bottom: 2px; }
.software-card .card-link:hover { color: var(--teal-dk); border-color: var(--teal-dk); }

/* ── Calculators ──────────────────────────────────────────── */
.calc-section { background: var(--cream2); }
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.calc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; transition: all var(--transition); text-decoration: none; display: block; }
.calc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); border-color: var(--gold-border); }
.calc-emoji { font-size: 32px; margin-bottom: 12px; }
.calc-card h3 { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.calc-card p  { font-size: 12px; color: var(--ink4); margin-bottom: 14px; }
.calc-free-badge { display: inline-block; background: var(--green-lt); color: var(--green); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Dynamic tags ─────────────────────────────────────────── */
.dynamic-section { background: var(--cream); }
.dynamic-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.dynamic-tag { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; font-size: 13px; color: var(--ink3); text-decoration: none; transition: all var(--transition); }
.dynamic-tag:hover { background: var(--gold-lt); border-color: var(--gold-border); color: var(--gold-dk); }

/* ── Guides ───────────────────────────────────────────────── */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.guide-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; display: flex; align-items: flex-start; gap: 14px; text-decoration: none; transition: all var(--transition); }
.guide-card:hover { border-color: var(--gold-border); box-shadow: var(--shadow-md); background: var(--gold-lt); }
.guide-number { font-family: var(--font-d); font-size: 28px; font-weight: 700; color: var(--gold); opacity: 0.5; line-height: 1; flex-shrink: 0; min-width: 36px; }
.guide-card h4 { font-size: 15px; color: var(--ink); margin-bottom: 4px; line-height: 1.3; }
.guide-card span { font-size: 12px; color: var(--ink4); }

/* ── Knowledge Hub ────────────────────────────────────────── */
.knowledge-section { background: var(--cream2); }
.knowledge-tabs { display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.ktab { padding: 7px 18px; font-size: 13px; border-radius: 20px; border: 1px solid var(--border); background: var(--white); color: var(--ink3); cursor: pointer; font-family: var(--font-b); transition: all var(--transition); }
.ktab.active, .ktab:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.knowledge-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; display: flex; align-items: center; gap: 12px; text-decoration: none; transition: all var(--transition); }
.knowledge-card:hover { border-color: var(--teal); background: var(--teal-lt); transform: translateX(3px); }
.knowledge-icon { width: 38px; height: 38px; background: var(--gold-lt); border-radius: var(--radius-sm); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.knowledge-card h4   { font-size: 14px; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.knowledge-card span { font-size: 11px; color: var(--ink4); }

/* ── Compare ──────────────────────────────────────────────── */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.compare-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; text-decoration: none; transition: all var(--transition); display: block; }
.compare-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); background: var(--teal-lt); }
.vs-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--teal-lt); color: var(--teal); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; }
.compare-card h4 { font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.compare-card p  { font-size: 13px; color: var(--ink4); margin: 0; }

/* ── FinAcc CTA ───────────────────────────────────────────── */
.finacc-cta { background: linear-gradient(135deg, #7A4A08 0%, #B8860B 50%, #8B6510 100%); position: relative; overflow: hidden; }
.finacc-cta::before { content: ''; position: absolute; top: -30%; right: 0; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%); pointer-events: none; }
.finacc-cta .section-label { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #FFF5D6; }
.finacc-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; position: relative; z-index: 1; }
.finacc-title { font-family: var(--font-d); font-size: clamp(22px, 3vw, 36px); font-weight: 600; color: var(--white); margin-bottom: 12px; line-height: 1.3; }
.finacc-title em { font-style: normal; color: var(--gold-md); }
.finacc-sub  { font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.7; }
.finacc-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.finacc-feat { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.85); }
.feat-check  { color: var(--gold-md); font-size: 14px; }
.finacc-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; flex-shrink: 0; }
.finacc-actions .btn-primary { background: var(--white); color: var(--gold-deep); border-color: var(--white); }
.finacc-actions .btn-primary:hover { background: var(--gold-lt); color: var(--gold-deep); border-color: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,255,255,.25); }
.finacc-actions .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.finacc-actions .btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.7); }
.finacc-actions .finacc-note { font-size: 12px; color: rgba(255,255,255,.85); text-align: center; margin-top: 4px; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.testimonial-card::before { content: '"'; font-family: var(--font-d); font-size: 64px; color: var(--gold); opacity: 0.15; position: absolute; top: 12px; left: 20px; line-height: 1; }
.testimonial-text { font-size: 15px; color: var(--ink2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-lt); border: 2px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 16px; font-weight: 600; color: var(--gold-dk); flex-shrink: 0; }
.author-name { font-weight: 500; color: var(--ink); font-size: 14px; }
.author-biz  { font-size: 12px; color: var(--ink4); }

/* ── Trusted Strip ────────────────────────────────────────── */
.trusted-strip { background: var(--cream2); padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trusted-label { font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--ink4); text-align: center; margin-bottom: 20px; }
.trusted-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.trusted-logo  { font-family: var(--font-d); font-size: 16px; font-weight: 600; color: var(--ink3); opacity: 0.5; transition: opacity var(--transition); }
.trusted-logo:hover { opacity: 1; color: var(--gold-dk); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section { background: var(--cream2); }
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; cursor: pointer; font-weight: 500; font-size: 16px; color: var(--ink); gap: 16px; user-select: none; font-family: var(--font-b); }
.faq-question:hover { background: var(--gold-lt); }
.faq-icon { width: 24px; height: 24px; background: var(--gold-lt); border: 1px solid var(--gold-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--gold-dk); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 14px 22px 18px; font-size: 15px; color: var(--ink3); line-height: 1.7; border-top: 1px solid var(--border); }
.faq-item.open .faq-answer { display: block; }

/* ── Final CTA ────────────────────────────────────────────── */
.final-cta { background: linear-gradient(135deg, #7A4A08, #B8860B, #8B6510); text-align: center; padding: 64px 0; }
.final-cta h2 { font-family: var(--font-d); font-size: clamp(24px, 3vw, 38px); color: var(--white); margin-bottom: 14px; }
.final-cta p  { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.final-cta .btn-white { font-size: 16px; padding: 14px 36px; }

/* ── Footer ───────────────────────────────────────────────── */
#site-footer { background: var(--ink); color: #C8C4B8; padding: 56px 0 24px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: #9A9790; line-height: 1.7; margin: 12px 0 20px; }
#site-footer .logo-text { color: var(--white); }
#site-footer .logo-text span { color: var(--gold-md); }
.footer-col h4 { font-family: var(--font-d); font-size: 15px; color: var(--white); margin-bottom: 16px; font-weight: 500; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #9A9790; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold-md); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: #6B6860; margin: 0; }
.footer-bottom a { color: var(--gold-md); }
.footer-keywords { font-size: 11px; color: #3A3630; margin-top: 16px; line-height: 1.6; }

/* ── Inner page components ────────────────────────────────── */
.mid-cta { background: linear-gradient(135deg, #7A4A08, #B8860B); border-radius: var(--radius-lg); padding: 28px 32px; margin: 36px 0; border: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mid-cta h3 { font-size: 20px; color: var(--white); margin: 0 0 6px; }
.mid-cta p  { font-size: 14px; color: rgba(255,255,255,.85); margin: 0; }

.sidebar-cta { background: linear-gradient(135deg, #7A4A08, #B8860B); border-radius: var(--radius-md); padding: 20px; margin-top: 16px; border: none; text-align: center; position: static; }
.sidebar-cta h4 { font-size: 15px; color: var(--white); margin-bottom: 8px; }
.sidebar-cta p  { font-size: 12px; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.sidebar-cta .btn { font-size: 13px; padding: 10px 18px; width: 100%; justify-content: center; margin-bottom: 8px; display: flex; }
.sidebar-cta .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.sidebar-cta .btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* ── Mobile Nav Panel ─────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(76vw, 320px);       /* half-ish screen */
    background: #FFFDF8;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001;
    box-shadow: 6px 0 40px rgba(0,0,0,.22);
    transform: translateX(-110%);
    transition: transform 0.32s cubic-bezier(.4,0,.2,1),
                visibility 0s linear 0.32s;  /* delay visibility on close */
    visibility: hidden;
    pointer-events: none;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav.nav-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.32s cubic-bezier(.4,0,.2,1),
                visibility 0s linear 0s;  /* instant visibility on open */
  }

  /* ── Panel Header ───────────────────── */
  .site-nav::before {
    content: '';
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
  }
  /* We inject header via JS — see main.js */

  /* ── Nav links ───────────────────────── */
  .site-nav > a {
    font-size: 14.5px;
    font-weight: 500;
    padding: 13px 20px;
    border-bottom: 1px solid #F0EDE6;
    color: var(--ink2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s, color 0.15s;
    opacity: 0;
    transform: translateX(-12px);
    animation: navItemIn 0.3s ease forwards;
  }
  .site-nav.nav-open > a { opacity: 1; transform: none; }

  @keyframes navItemIn {
    to { opacity: 1; transform: translateX(0); }
  }

  .site-nav > a:hover {
    background: var(--gold-lt);
    color: var(--gold-dk);
  }

  /* Dropdown trigger rows */
  .site-nav .nav-dropdown > a {
    font-size: 14.5px;
    font-weight: 500;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #F0EDE6;
    color: var(--ink2);
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
  }
  .site-nav .nav-dropdown > a::after {
    content: '›';
    font-size: 18px;
    font-weight: 300;
    opacity: 0.5;
    margin-left: auto;
    transition: transform 0.22s ease;
  }
  .site-nav .nav-dropdown.open > a::after {
    transform: rotate(90deg);
  }
  .site-nav .nav-dropdown > a:hover {
    background: var(--gold-lt);
    color: var(--gold-dk);
  }

  /* Dropdown panel */
  .nav-dropdown { position: static; }
  .nav-dropdown .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    background: #F7F4EE;
    border-left: 3px solid var(--gold);
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
    padding: 4px 0;
    margin: 0;
    min-width: 100%;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }

  .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px 10px 28px;
    font-size: 13.5px;
    color: var(--ink3);
    border-bottom: 1px solid rgba(0,0,0,.05);
    transition: background 0.15s, color 0.15s;
  }
  .dropdown-menu a::before {
    content: '→';
    font-size: 11px;
    color: var(--gold);
    flex-shrink: 0;
  }
  .dropdown-menu a:hover { background: var(--gold-lt); color: var(--gold-dk); }
  .dropdown-menu a:last-child { border-bottom: none; }

  /* Mobile overlay backdrop */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,8,4,.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
  }

  /* Hamburger toggle */
  .nav-toggle {
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-border);
    background: var(--gold-lt);
    color: var(--gold-dk);
    cursor: pointer;
    transition: background 0.2s;
  }
  .nav-toggle:hover { background: var(--gold); color: white; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats-card { display: none; }
  .software-grid { grid-template-columns: 1fr 1fr; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .finacc-inner { grid-template-columns: 1fr; }
  .finacc-actions { flex-direction: row; }
  /* Tab header fix */
  .site-nav { gap: 2px; }
  .site-nav a { font-size: 13px; padding: 6px 8px; }
  .header-cta .btn { font-size: 12px; padding: 7px 14px; }
}
@media (max-width: 768px) {
  .header-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .software-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr 1fr; }
  .knowledge-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 48px 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .mid-cta { flex-direction: column; }
}
@media (max-width: 520px) {
  .calc-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
}