/* ============================================================
   SidePot Golf — Marketing page styles
   Theme: fairway greens, clean Inter sans-serif, betting energy.
   Tweak the palette below once the real icon colors are known.
   ============================================================ */

:root {
    /* Core palette — sampled from the app icon */
    --green-900: #143b1f;   /* deep rough / nav + footer */
    --green-700: #1d6b34;   /* fairway */
    --green-600: #248a3d;
    --green-500: #34a543;   /* primary accent */
    --lime:      #a8db4a;   /* icon lime — highlight / "money" pop */
    --cream:     #f6f5ee;   /* page background */
    --card:      #ffffff;
    --ink:       #16261c;   /* body text */
    --ink-soft:  #4c5a51;
    --line:      #e3e6dd;

    --radius:    18px;
    --radius-sm: 12px;
    --shadow:    0 18px 50px -20px rgba(15, 46, 29, 0.35);
    --shadow-sm: 0 8px 24px -12px rgba(15, 46, 29, 0.30);
    --maxw:      1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--green-500); }

/* ============ NAV ============ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 46, 29, 0.92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 64px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__mark { height: 32px; width: 32px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.nav__word { color: #fff; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.nav__word-accent { color: var(--lime); }
.nav__links {
    display: flex;
    gap: 28px;
    margin-left: auto;
}
.nav__links a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.15s ease;
}
.nav__links a:hover { color: #fff; }
.nav__cta {
    background: var(--lime);
    color: var(--green-900);
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(182, 242, 92, 0.7); }

/* ============ HERO ============ */
.hero {
    background:
        radial-gradient(1200px 500px at 75% -10%, rgba(47, 158, 84, 0.18), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
    padding: 72px 0 80px;
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero__icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.hero__title {
    font-size: clamp(2.4rem, 5.2vw, 3.9rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--green-900);
}
.hero__sub {
    margin-top: 22px;
    font-size: 1.18rem;
    color: var(--ink-soft);
    max-width: 30em;
}
.hero__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.badge-link { display: inline-block; transition: transform 0.15s ease; }
.badge-link:hover { transform: translateY(-2px); }
.hero__note {
    margin-top: 18px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--green-600);
    letter-spacing: 0.01em;
}
.hero__shot {
    display: flex;
    justify-content: center;
}
.hero__shot img {
    max-height: 620px;
    width: auto;
    filter: drop-shadow(0 30px 60px rgba(15, 46, 29, 0.30));
    border-radius: 36px;
}

/* ============ TRUST STRIP ============ */
.strip {
    background: var(--green-900);
    color: #fff;
}
.strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 30px 24px;
    text-align: center;
}
.strip__num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--lime);
    line-height: 1.1;
}
.strip__label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
}
.strip__icon {
    height: 1.9rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

/* ============ SECTIONS ============ */
.section { padding: 88px 0; }
.section--alt { background: #fff; border-block: 1px solid var(--line); }
.section__title {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--green-900);
    text-align: center;
}
.section__lead {
    max-width: 38em;
    margin: 16px auto 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 1.1rem;
}

/* ============ GAMES GRID ============ */
.games-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}
.game {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.game:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.game h3 {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--green-700);
    margin-bottom: 8px;
}
.game p { font-size: 0.95rem; color: var(--ink-soft); }

/* ============ FEATURES ============ */
.features {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.feature {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 30px 26px;
    border: 1px solid var(--line);
}
.section--alt .feature { background: var(--cream); }
.feature__icon {
    font-size: 1.9rem;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
}
.feature h3 { font-size: 1.25rem; font-weight: 800; color: var(--green-900); margin-bottom: 8px; }
.feature p { color: var(--ink-soft); }
.tag {
    display: inline-block;
    background: var(--lime);
    color: var(--green-900);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ============ SHOWCASE (landscape card) ============ */
.showcase {
    padding: 88px 0;
    background:
        radial-gradient(900px 400px at 15% 110%, rgba(47, 158, 84, 0.12), transparent 60%),
        linear-gradient(180deg, var(--green-900), #102b1a);
    color: #fff;
}
.showcase__inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: center;
}
.showcase__kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 12px;
}
.showcase__text h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.showcase__text p {
    margin-top: 16px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 30em;
}
.showcase__img img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.6);
}

/* ============ GALLERY ============ */
.gallery {
    margin-top: 40px;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 8px 4px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.gallery figure {
    flex: 0 0 auto;
    scroll-snap-align: center;
    text-align: center;
}
.gallery img {
    height: 520px;
    width: auto;
    border-radius: 30px;
    box-shadow: var(--shadow);
}
.gallery figcaption {
    margin-top: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--green-700);
}

/* ============ PRO / PLANS ============ */
.pro__head { text-align: center; }
.plans {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 800px;
    margin-inline: auto;
}
.plan {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
}
.plan--pro {
    position: relative;
    background: linear-gradient(165deg, var(--green-700), var(--green-900));
    color: #fff;
    border: none;
    box-shadow: var(--shadow);
}
.plan__ribbon {
    position: absolute;
    top: 18px; right: 18px;
    background: var(--lime);
    color: var(--green-900);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
}
.plan__name { font-size: 1.5rem; font-weight: 900; margin-bottom: 18px; }
.plan--pro .plan__name { color: var(--lime); }
.plan__list { list-style: none; display: grid; gap: 12px; }
.plan__list li { position: relative; padding-left: 28px; font-size: 1rem; }
.plan__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 900;
    color: var(--green-500);
}
.plan--pro .plan__list li::before { color: var(--lime); }

/* ============ FINAL CTA ============ */
.cta {
    background:
        radial-gradient(800px 300px at 50% 0%, rgba(182, 242, 92, 0.18), transparent 70%),
        linear-gradient(180deg, var(--green-700), var(--green-900));
    color: #fff;
    text-align: center;
    padding: 80px 0;
}
.cta__inner { display: grid; place-items: center; gap: 16px; }
.cta h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -0.02em; }
.cta p { color: rgba(255, 255, 255, 0.85); font-size: 1.15rem; }
.cta .badge-link { margin-top: 14px; }

/* ============ FOOTER ============ */
.footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 44px 0;
}
.footer__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__mark { height: 28px; width: 28px; border-radius: 7px; }
.footer__word { color: #fff; font-weight: 800; font-size: 1.05rem; }
.footer__word-accent { color: var(--lime); }
.footer__links { display: flex; gap: 24px; margin-left: auto; }
.footer__links a { color: rgba(255, 255, 255, 0.8); font-weight: 500; transition: color 0.15s ease; }
.footer__links a:hover { color: #fff; }
.footer__copy { width: 100%; font-size: 0.85rem; color: rgba(255, 255, 255, 0.45); }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
    .hero { padding: 48px 0 56px; }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero__icon { margin-inline: auto; }
    .hero__sub { margin-inline: auto; }
    .hero__actions, .hero__note { justify-content: center; }
    .hero__shot img { max-height: 480px; }
    .nav__links { display: none; }
    .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .plans { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .showcase { padding: 60px 0; }
    .showcase__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .showcase__text p { margin-inline: auto; }
}

@media (max-width: 480px) {
    .gallery img { height: 420px; }
    .footer__links { margin-left: 0; }
}
