/* ================================================================
   public.css — Styles for public-facing pages
   (homepage, FAQ, legal/terms, legal/privacy)
   NOT included in app.css to keep authenticated app styles separate.
   ================================================================ */

/* ─── CSS Variables ─────────────────────────────────────────────── */
:root {
    --gold:       #d4a855;
    --gold-dark:  #b8912e;
    --gold-light: #e8c87a;
    --dark:       #1c1a17;
    --dark-2:     #252219;
    --warm-white: #faf7f2;
    --warm-2:     #f2ede4;
    --white:      #ffffff;
    --blue:       #2563eb;
    --text:       #3d3526;
    --muted:      #8c7d65;
    --border:     #e8e0d0;
    --ff-display: 'Playfair Display', Georgia, serif;
    --ff-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── Reset (scoped to public pages only) ───────────────────────── */
.pub-root *, .pub-root *::before, .pub-root *::after { box-sizing: border-box; margin: 0; padding: 0; }
.pub-root { font-family: var(--ff-body); background: var(--warm-white); color: var(--text); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
.pub-root a { text-decoration: none; }

/* ─── Navbar ────────────────────────────────────────────────────── */
.pub-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--dark);
    height: 62px;
    display: flex; align-items: center;
    padding: 0 40px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(212,168,85,.12);
    transition: box-shadow .3s;
}
.pub-nav.scrolled { box-shadow: 0 2px 28px rgba(0,0,0,.45); }
.pub-nav-logo {
    font-family: var(--ff-display);
    font-weight: 700; font-size: 18px;
    color: var(--gold); letter-spacing: .02em;
    white-space: nowrap; text-decoration: none;
}
.pub-nav-logo:hover { color: var(--gold-light); text-decoration: none; }
.pub-nav-links { display: flex; align-items: center; gap: 2px; }
.pub-nav-links a {
    color: rgba(255,255,255,.6); font-size: 14px; font-weight: 400;
    padding: 6px 14px; border-radius: 4px;
    transition: color .2s, background .2s; text-decoration: none;
}
.pub-nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); text-decoration: none; }
.pub-nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-ghost {
    font-size: 14px; font-weight: 500;
    color: rgba(255,255,255,.75);
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,.18); border-radius: 6px;
    text-decoration: none; transition: all .2s;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); text-decoration: none; }
.btn-gold {
    font-size: 14px; font-weight: 700;
    color: var(--dark); background: var(--gold);
    padding: 7px 18px; border-radius: 6px;
    text-decoration: none; transition: all .2s; white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-light); text-decoration: none; color: var(--dark); }

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
    background: var(--dark);
    padding: 144px 40px 100px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 65% 55% at 75% 55%, rgba(212,168,85,.09) 0%, transparent 70%),
        radial-gradient(ellipse 40% 45% at 15% 85%, rgba(180,100,30,.07) 0%, transparent 60%);
}
.hero-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
    position: relative; z-index: 1;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.hero h1 {
    font-family: var(--ff-display);
    font-size: clamp(34px, 4.2vw, 54px);
    font-weight: 700; line-height: 1.14;
    color: #fff; margin-bottom: 22px; letter-spacing: -.015em;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
    font-size: 17px; color: rgba(255,255,255,.55);
    line-height: 1.7; margin-bottom: 38px;
    max-width: 440px; font-weight: 300;
}
.hero-sub strong { color: rgba(255,255,255,.88); font-weight: 500; }
.hero-ctas { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.btn-hero {
    display: inline-block; background: var(--gold);
    color: var(--dark); font-size: 15px; font-weight: 700;
    padding: 14px 28px; border-radius: 8px;
    text-decoration: none; transition: all .2s; letter-spacing: .01em;
}
.btn-hero:hover {
    background: var(--gold-light); color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212,168,85,.3);
    text-decoration: none;
}
.hero-link {
    color: rgba(255,255,255,.45); font-size: 14px;
    text-decoration: none; display: flex; align-items: center; gap: 6px;
    transition: color .2s;
}
.hero-link:hover { color: var(--gold); text-decoration: none; }
.hero-link::after { content: '→'; transition: transform .2s; }
.hero-link:hover::after { transform: translateX(4px); }

/* ─── Browser mockup ────────────────────────────────────────────── */
.mockup-wrap {
    transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
    transition: transform .5s ease;
}
.mockup-wrap:hover { transform: perspective(1100px) rotateY(-1deg) rotateX(1deg); }
.browser {
    background: #fff; border-radius: 12px;
    box-shadow: 0 36px 88px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05);
    overflow: hidden;
}
.b-chrome {
    background: #f3f4f6; padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid #e5e7eb;
}
.b-dots { display: flex; gap: 5px; }
.b-dot { width: 10px; height: 10px; border-radius: 50%; }
.b-dot:nth-child(1) { background: #ff5f57; }
.b-dot:nth-child(2) { background: #ffbd2e; }
.b-dot:nth-child(3) { background: #28c840; }
.b-bar {
    flex: 1; background: #fff;
    border: 1px solid #e5e7eb; border-radius: 4px;
    height: 22px; display: flex; align-items: center; padding: 0 10px; gap: 6px;
}
.b-bar-dot { width: 6px; height: 6px; border-radius: 50%; background: #9ca3af; }
.b-bar-text { font-size: 11px; color: #9ca3af; font-family: monospace; }
.b-body { background: var(--warm-white); }
.m-hdr {
    background: var(--dark); padding: 12px 18px;
    display: flex; align-items: center; gap: 12px;
}
.m-hdr-logo { width: 26px; height: 26px; border-radius: 4px; background: var(--gold); opacity: .9; }
.m-hdr-title { height: 9px; border-radius: 3px; background: rgba(255,255,255,.2); width: 110px; }
.m-bdy { padding: 14px 18px; }
.m-meta { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.m-pill { height: 18px; border-radius: 9px; background: var(--gold); opacity: .18; }
.m-card {
    background: #fff; border-radius: 7px;
    border: 1px solid #e8e0d0; margin-bottom: 9px; overflow: hidden;
}
.m-card-hdr {
    background: linear-gradient(90deg, var(--dark), var(--dark-2));
    padding: 8px 13px; display: flex; align-items: center; gap: 10px;
}
.m-day-num { width: 56px; height: 7px; border-radius: 3px; background: var(--gold); opacity: .85; }
.m-day-dt  { width: 90px; height: 7px; border-radius: 3px; background: rgba(255,255,255,.2); }
.m-card-bdy { padding: 10px 13px; }
.m-act { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.m-act-ico { width: 26px; height: 26px; border-radius: 5px; background: #f0ebe0; flex-shrink: 0; }
.m-line { height: 7px; border-radius: 3px; background: #e8e0d0; margin-bottom: 4px; }
.m-line.s  { width: 60%; }
.m-line.xs { width: 40%; }
.m-badges { display: flex; gap: 4px; margin-top: 3px; }
.m-bdg { height: 13px; border-radius: 6px; }
.m-bdg-g { background: var(--gold); opacity: .3; width: 40px; }
.m-bdg-e { background: #059669;     opacity: .3; width: 34px; }
.m-lodge {
    border-top: 1px solid #f0ebe0; padding-top: 8px;
    display: flex; gap: 9px; align-items: center;
}
.m-lodge-img {
    width: 38px; height: 28px; border-radius: 4px; flex-shrink: 0;
    background: linear-gradient(135deg, #c4956a, #8b5e3c);
}

/* ─── Credibility bar ───────────────────────────────────────────── */
.credibility {
    background: var(--warm-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 40px;
}
.cred-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cred-label {
    font-size: 11px; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
    color: var(--muted); white-space: nowrap;
}
.cred-div { width: 1px; height: 18px; background: var(--border); }
.cred-countries { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.c-pill {
    font-size: 12px; font-weight: 500; color: var(--text);
    padding: 3px 10px; border-radius: 12px;
    background: rgba(212,168,85,.1);
    border: 1px solid rgba(212,168,85,.22);
}

/* ─── Problem / Solution blocks ─────────────────────────────────── */
.ps-block {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    padding: 88px 40px;
    max-width: 100%;
}
.ps-block:nth-child(odd)  { background: var(--warm-white); }
.ps-block:nth-child(even) { background: var(--white); }
.ps-block.rev { direction: rtl; }
.ps-block.rev > * { direction: ltr; }
.ps-visual {
    background: var(--warm-2);
    border: 1px solid var(--border); border-radius: 18px;
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.ps-visual::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 30% 70%, rgba(212,168,85,.09) 0%, transparent 60%);
}
.ps-icon { font-size: 68px; position: relative; z-index: 1; filter: drop-shadow(0 4px 14px rgba(0,0,0,.08)); }
.ps-old-label {
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 6px;
    display: flex; align-items: center; gap: 7px;
}
.ps-old-label::before { content: '✕'; font-size: 9px; color: #dc2626; opacity: .65; }
.ps-quote {
    font-family: var(--ff-display);
    font-style: italic; font-size: 17px;
    color: var(--muted); line-height: 1.5;
    margin-bottom: 30px;
    padding-left: 16px;
    border-left: 2px solid var(--border);
}
.ps-new-label {
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 7px;
}
.ps-new-label::before { content: '✓'; }
.ps-title {
    font-family: var(--ff-display);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700; color: var(--text);
    margin-bottom: 14px; line-height: 1.3;
}
.ps-desc { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ─── Section base ──────────────────────────────────────────────── */
.pub-section { padding: 96px 40px; }
.pub-section-inner { max-width: 1200px; margin: 0 auto; }
.s-eyebrow {
    font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 12px;
}
.s-title {
    font-family: var(--ff-display);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 700; line-height: 1.2;
    color: var(--text); margin-bottom: 14px; letter-spacing: -.01em;
}
.s-title.light { color: #fff; }
.s-sub { font-size: 16px; color: var(--muted); max-width: 500px; line-height: 1.65; }
.s-sub.light { color: rgba(255,255,255,.5); }

/* ─── Feature grid ──────────────────────────────────────────────── */
.feat-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2px; background: var(--border);
    border-radius: 16px; overflow: hidden;
    margin-top: 52px;
}
.feat-card {
    background: var(--white); padding: 40px;
    transition: background .2s;
}
.feat-card:hover { background: var(--warm-white); }
.feat-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.feat-title {
    font-family: var(--ff-display);
    font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.feat-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── Pricing ───────────────────────────────────────────────────── */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 48px;
}
.plan {
    background: var(--warm-white);
    border: 1px solid var(--border); border-radius: 16px;
    padding: 32px; position: relative;
    transition: transform .22s, box-shadow .22s;
}
.plan:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.plan.featured {
    background: var(--dark);
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 16px 48px rgba(0,0,0,.18);
}
.plan.featured:hover { transform: translateY(-7px); box-shadow: 0 0 0 1px var(--gold), 0 24px 64px rgba(0,0,0,.24); }
.plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--dark);
    font-size: 10px; font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; padding: 4px 14px; border-radius: 12px;
    white-space: nowrap;
}
.plan-name {
    font-size: 12px; font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.plan.featured .plan-name { color: rgba(255,255,255,.45); }
.plan-price {
    font-family: var(--ff-display); font-size: 46px;
    font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 4px;
}
.plan.featured .plan-price { color: #fff; }
.plan-price sup { font-size: 22px; font-family: var(--ff-body); font-weight: 600; vertical-align: top; margin-top: 8px; display: inline-block; }
.plan-mo { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.plan.featured .plan-mo { color: rgba(255,255,255,.4); }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
    font-size: 13px; color: var(--text);
    padding: 7px 0 7px 22px; border-bottom: 1px solid var(--border);
    position: relative; line-height: 1.4;
}
.plan.featured .plan-features li { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.08); }
.plan-features li::before {
    content: '✓'; font-size: 11px; color: var(--gold);
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
}
.plan-features li:last-child { border-bottom: none; }
.btn-plan {
    display: block; width: 100%; text-align: center;
    padding: 12px; border-radius: 8px;
    font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all .2s; border: none; cursor: pointer;
}
.btn-plan-neutral {
    background: var(--warm-2); color: var(--text);
    border: 1px solid var(--border);
}
.btn-plan-neutral:hover { background: var(--border); text-decoration: none; color: var(--text); }
.btn-plan-gold { background: var(--gold); color: var(--dark); }
.btn-plan-gold:hover { background: var(--gold-light); text-decoration: none; color: var(--dark); }
.btn-plan-outline {
    background: transparent; color: rgba(255,255,255,.65);
    border: 1px solid rgba(255,255,255,.2);
}
.btn-plan-outline:hover { border-color: rgba(255,255,255,.5); color: #fff; text-decoration: none; }
.pricing-foot { margin-top: 28px; text-align: center; }
.pricing-foot a { font-size: 14px; color: var(--blue); font-weight: 500; }
.pricing-note {
    margin-top: 36px;
    background: linear-gradient(135deg, rgba(212,168,85,.07), rgba(212,168,85,.03));
    border: 1px solid rgba(212,168,85,.2); border-radius: 12px;
    padding: 24px 28px; text-align: center;
}
.pricing-note p { font-style: italic; font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 10px; }
.pricing-note p.small { font-size: 13px; margin-bottom: 0; }

/* ─── Final CTA ─────────────────────────────────────────────────── */
.final-cta {
    background: var(--dark); padding: 108px 40px;
    text-align: center; position: relative; overflow: hidden;
}
.final-cta::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(212,168,85,.08) 0%, transparent 65%);
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 {
    font-family: var(--ff-display);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700; color: #fff;
    margin-bottom: 16px; letter-spacing: -.01em;
}
.final-cta p { font-size: 16px; color: rgba(255,255,255,.45); margin-bottom: 38px; font-weight: 300; }

/* ─── Footer ────────────────────────────────────────────────────── */
.pub-footer {
    background: #111009; padding: 64px 40px 0;
    border-top: 1px solid rgba(212,168,85,.1);
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
}
.footer-logo {
    font-family: var(--ff-display); font-size: 20px;
    font-weight: 700; color: var(--gold); margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.32); line-height: 1.65; max-width: 250px; }
.footer-col h4 {
    font-size: 10px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.22); }
.footer-lion { font-size: 18px; opacity: .3; }

/* ─── Fade-in animations ────────────────────────────────────────── */
.fade-up {
    opacity: 0; transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.d3 { transition-delay: .3s; }

/* ─── FAQ page ──────────────────────────────────────────────────── */
.pub-page { max-width: 760px; margin: 0 auto; padding: 48px 0 80px; font-family: var(--ff-body); }
.pub-page--narrow { max-width: 540px; }
.pub-page h1 { font-family: var(--ff-display); font-size: 32px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; letter-spacing: -.01em; }
.pub-page .lead { font-size: 16px; color: #6b7280; margin-bottom: 48px; line-height: 1.6; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form .form-group label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 6px; }
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 15px; font-family: var(--ff-body); color: #1a1a1a; background: #fff; box-sizing: border-box; transition: border-color .15s; }
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus { outline: none; border-color: #d4a855; box-shadow: 0 0 0 3px rgba(212,168,85,.15); }
.contact-form .form-group textarea { resize: vertical; }
.contact-form .btn-primary { background: #d4a855; color: #1c1a17; border: none; padding: 12px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: var(--ff-body); transition: background .15s; }
.contact-form .btn-primary:hover { background: #c49640; }
.faq-group { margin-bottom: 12px; }
.faq-item {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
    overflow: hidden; transition: border-color .2s;
}
.faq-item:hover { border-color: #d4a855; }
.faq-q {
    width: 100%; background: none; border: none; cursor: pointer;
    padding: 20px 24px; text-align: left;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 15px; font-weight: 600; color: #1a1a1a; line-height: 1.4;
    transition: color .2s; font-family: inherit;
}
.faq-q:hover { color: #b8912e; }
.faq-q .faq-arrow {
    flex-shrink: 0; margin-left: 16px;
    font-size: 18px; color: #d4a855;
    transition: transform .25s ease;
    display: inline-block;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a {
    display: none; padding: 0 24px 20px;
    font-size: 14px; color: #4b5563; line-height: 1.75;
    border-top: 1px solid #f3f4f6;
}
.faq-a p { margin-top: 14px; }
.faq-item.open .faq-a { display: block; }
.faq-cta {
    margin-top: 56px; background: #faf7f2;
    border: 1px solid #e8e0d0; border-radius: 12px;
    padding: 32px; text-align: center;
}
.faq-cta p { font-size: 15px; color: #6b7280; margin-bottom: 16px; }
.faq-cta a.btn {
    display: inline-block; background: #d4a855; color: #1c1a17;
    font-size: 14px; font-weight: 700; padding: 10px 22px;
    border-radius: 7px; text-decoration: none; transition: background .2s;
}
.faq-cta a.btn:hover { background: #e8c87a; }

/* ─── Legal pages ───────────────────────────────────────────────── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 48px 0 80px; font-family: var(--ff-body); }
.legal-page h1 { font-family: var(--ff-display); font-size: 30px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.legal-page .meta { font-size: 13px; color: #9ca3af; margin-bottom: 48px; }
.legal-page h2 { font-family: var(--ff-display); font-size: 17px; font-weight: 700; color: #1a1a1a; margin: 36px 0 10px; }
.legal-page p, .legal-page li { font-size: 14px; color: #4b5563; line-height: 1.8; margin-bottom: 10px; }
.legal-page ul { padding-left: 20px; margin-bottom: 10px; }
.legal-page a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-decoration-color: rgba(184,145,46,.3);
    text-underline-offset: 2px;
}
.legal-page a:hover {
    color: var(--gold);
    text-decoration-color: var(--gold);
    text-decoration: underline;
}

/* ─── Back link (shared) ────────────────────────────────────────── */
a.back-link {
    font-size: 13px; color: #6b7280;
    display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 32px; text-decoration: none;
    transition: color .2s;
}
a.back-link:hover { color: #d4a855; text-decoration: none; }

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .pub-nav-links { display: none; }
    .pub-nav { padding: 0 24px; }
    .hero { padding: 120px 24px 80px; }
    .hero-inner { grid-template-columns: 1fr; gap: 52px; }
    .mockup-wrap { transform: none; max-width: 480px; margin: 0 auto; }
    .ps-block { grid-template-columns: 1fr; gap: 32px; padding: 64px 24px; }
    .ps-block.rev { direction: ltr; }
    .feat-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 48px auto 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .pub-section { padding: 64px 24px; }
    .credibility { padding: 18px 24px; }
    .final-cta { padding: 80px 24px; }
    .pub-page { padding: 32px 24px 64px; }
    .legal-page { padding: 32px 24px 64px; }
}
@media (max-width: 580px) {
    .btn-ghost { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .pub-footer { padding: 48px 24px 0; }
}

/* ─── Auth pages (login, register, forgot/reset password) ───────── */
.auth-container {
    position: fixed; inset: 0; overflow-y: auto;
    background: var(--dark);
    background-image:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(212,168,85,.08) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 10% 90%, rgba(180,100,30,.06) 0%, transparent 55%);
    display: flex; align-items: center; justify-content: center;
    padding: 24px; z-index: 50;
}
.auth-card {
    background: var(--warm-white);
    border-radius: 16px;
    padding: 44px 48px;
    width: 100%; max-width: 420px;
    box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(212,168,85,.1);
    position: relative;
}
.auth-card h1 {
    font-family: var(--ff-display);
    font-size: 18px; font-weight: 700;
    color: var(--gold); letter-spacing: .03em;
    margin-bottom: 6px;
}
.auth-card h2 {
    font-family: var(--ff-display);
    font-size: 24px; font-weight: 700;
    color: var(--text); margin-bottom: 28px;
    letter-spacing: -.01em; line-height: 1.2;
}
.auth-card .form-group label { color: var(--text); font-size: 13px; font-weight: 500; }
.auth-card .form-group input {
    background: var(--white);
    border-color: var(--border);
    color: var(--text); font-size: 14px;
}
.auth-card .form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,85,.15);
    outline: none;
}
.auth-card .btn-primary {
    background: var(--gold); color: var(--dark);
    border-color: var(--gold); font-weight: 700;
}
.auth-card .btn-primary:hover {
    background: var(--gold-light); color: var(--dark);
    border-color: var(--gold-light);
}
.auth-divider {
    text-align: center; margin: 22px 0; position: relative;
    color: var(--muted); font-size: 12px;
}
.auth-divider::before {
    content: ''; position: absolute; top: 50%; left: 0; right: 0;
    height: 1px; background: var(--border);
}
.auth-divider span { background: var(--warm-white); padding: 0 12px; position: relative; }
.auth-hint {
    font-size: 13px; color: var(--muted);
    margin: -16px 0 22px; line-height: 1.55;
}
.auth-footer {
    text-align: center; font-size: 13px;
    color: var(--muted); margin-top: 22px;
}
.auth-footer a { color: var(--gold-dark); font-weight: 500; }
.auth-footer a:hover { color: var(--gold); text-decoration: none; }
.auth-links { margin-top: 20px; text-align: center; font-size: 13px; }
.auth-links a { color: var(--muted); }
.auth-links a:hover { color: var(--gold); text-decoration: none; }
.forgot-password-link {
    margin-left: auto; font-size: 12px;
    color: var(--muted); text-decoration: none;
}
.forgot-password-link:hover { color: var(--gold); text-decoration: none; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; display: block; }
.login-form .form-group { margin-bottom: 16px; }
.auth-card .btn-google {
    background: var(--white); color: var(--text);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.auth-card .btn-google:hover { background: var(--warm-2); text-decoration: none; }

@media (max-width: 480px) {
    .auth-card { padding: 32px 24px; }
}
