/* =========================================================
   LocalLoyalty — Marketing Site
   Dark + gold palette, matching the app icon / Play Store branding —
   replaces the earlier pink→purple→blue light theme.
   ========================================================= */

:root {
    --gold:       #E8B94D;
    --gold-light: #FFD37A;
    --gold-deep:  #C9963A;
    --teal:       #2DD4A7;
    --teal-deep:  #1A8F6D;

    --ink:       #F5F3EF;   /* primary text — light, since bg is dark */
    --ink-soft:  #A8A6AC;   /* secondary text */
    --ink-dark:  #15130A;   /* dark text used ON gold/light surfaces */
    --bg:        #0A0A0C;
    --bg-deep:   #050506;   /* footer / stats-bar / other "deep" blocks */
    --surface:   #15151A;
    --border:    #26262C;

    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;

    --shadow: 0 20px 50px -20px rgba(232, 185, 77, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
    overflow-x: hidden;
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
    color: var(--ink-dark);
    box-shadow: 0 12px 24px -8px rgba(232, 185, 77, 0.45);
}
.btn-ghost {
    background: var(--surface);
    color: var(--ink);
    border: 2px solid var(--border);
}
.btn-light {
    background: #fff;
    color: var(--ink-dark);
}
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.3px;
    color: var(--ink);
}
.brand .brand-badge {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink-soft);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 90px 0 60px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(232,185,77,0.18), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -250px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(45,212,167,0.12), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 22px;
}
.hero h1 {
    font-size: 54px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 0 0 20px;
    color: var(--ink);
}
.hero h1 .grad {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 480px;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 600;
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    margin-left: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--ink-dark);
    font-weight: 700;
}

/* Phone mockup */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
    width: 280px;
    background: #000;
    border-radius: 40px;
    padding: 14px;
    box-shadow: var(--shadow);
    transform: rotate(3deg);
    border: 1px solid var(--border);
}
.phone-screen {
    background: linear-gradient(160deg, #1c1c20, #0a0a0c);
    border-radius: 28px;
    padding: 22px 18px;
    color: #fff;
    min-height: 460px;
}
.phone-screen .ps-title { font-size: 13px; letter-spacing: 3px; text-align: center; opacity: 0.6; margin-bottom: 18px; }
.stamp-card {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 16px;
    color: var(--ink-dark);
}
.stamp-card .sc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.stamp-card .sc-logo { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.stamp-card .sc-badge { background: rgba(0,0,0,0.18); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.stamp-card .sc-name { font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.dots { display: flex; gap: 5px; flex-wrap: wrap; }
.dots span { width: 13px; height: 13px; border-radius: 50%; background: rgba(0,0,0,0.18); }
.dots span.on { background: rgba(0,0,0,0.55); }
.stamp-card.teal { background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #07241c; }
.stamp-card.teal .sc-badge { background: rgba(0,0,0,0.22); }

.float-chip {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.float-chip.one { top: 18%; left: -30px; }
.float-chip.two { bottom: 10%; right: -20px; }
.float-chip .dot-ico { width: 26px; height: 26px; border-radius: 50%; display:flex; align-items:center; justify-content:center; font-size: 14px; }

@media (max-width: 860px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero p.lead { margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero h1 { font-size: 38px; }
    .float-chip { display: none; }
}

/* ---------- Logos / trust strip ---------- */
.trust-strip {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}
.trust-strip span { color: var(--ink-soft); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.trust-logos { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-logos .tl {
    font-weight: 800;
    font-size: 16px;
    color: var(--ink-soft);
    opacity: 0.7;
}

/* ---------- Section shared ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
    display: inline-block;
    color: var(--gold);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 14px;
    color: var(--ink);
}
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---------- How it works ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
}
.step-num {
    position: absolute;
    top: -18px; left: 28px;
    width: 36px; height: 36px;
    border-radius: 50%;
    color: var(--ink-dark);
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
}
.step-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    background: rgba(232,185,77,0.12);
}
.step-card h3 { font-size: 20px; margin: 0 0 10px; color: var(--ink); }
.step-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split feature (customers / merchants) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.split-card {
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.split-card.customers { background: linear-gradient(150deg, var(--gold-light), var(--gold-deep)); color: var(--ink-dark); }
.split-card.merchants { background: linear-gradient(150deg, #1c1c20, #050506); border: 1px solid var(--border); }
.split-card::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.split-card .tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.split-card.customers .tag { background: rgba(0,0,0,0.15); }
.split-card h3 { font-size: 27px; margin: 0 0 14px; letter-spacing: -0.5px; }
.split-card ul { list-style: none; padding: 0; margin: 0 0 26px; }
.split-card li { padding: 8px 0; font-size: 15px; opacity: 0.92; display: flex; gap: 10px; align-items: flex-start; }
.split-card li::before { content: '✓'; font-weight: 800; flex-shrink: 0; }
.split-card.merchants .btn-light { background: var(--gold); color: var(--ink-dark); }

@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats-bar {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    color: #fff;
    text-align: center;
}
.stat-num {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label { font-size: 13px; opacity: 0.7; margin-top: 6px; font-weight: 600; letter-spacing: 0.5px; }

@media (max-width: 860px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
}
.faq-item summary {
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--gold); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--ink-soft); margin: 14px 0 0; font-size: 15px; }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    color: var(--ink-dark);
    position: relative;
    overflow: hidden;
}
.cta-banner h2 { font-size: 34px; margin: 0 0 14px; letter-spacing: -1px; }
.cta-banner p { font-size: 17px; opacity: 0.85; margin: 0 0 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-primary { background: var(--ink-dark); color: var(--gold-light); box-shadow: 0 12px 24px -8px rgba(0,0,0,0.35); }
.cta-banner .btn-ghost { background: rgba(0,0,0,0.1); border-color: rgba(0,0,0,0.25); color: var(--ink-dark); }

/* ---------- Footer ---------- */
footer { background: var(--bg-deep); color: #fff; padding: 64px 0 28px; border-top: 1px solid var(--border); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 280px; }
.footer-col h4 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.85); font-size: 14px; margin-bottom: 12px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.social-row { display: flex; gap: 12px; }
.social-row a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
}

@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Legal pages (terms/privacy) ---------- */
.legal-page { padding: 60px 0 100px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: 36px; letter-spacing: -1px; margin-bottom: 6px; color: var(--ink); }
.legal-page .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-size: 21px; margin: 36px 0 12px; color: var(--ink); }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--gold); font-weight: 600; }
