/* ========================================
   Kido Landing — earnkidos.com
   v2 — Polish con expert-level copy/design
   ======================================== */

:root {
    --purple: #6B47FF;
    --purple-dark: #5638DD;
    --purple-light: #E8E1FF;
    --neon: #B8FF1A;
    --gold: #FFCB1F;
    --pink: #FF6FB5;
    --ink: #15182A;
    --text-primary: #15182A;
    --text-secondary: #5B5E72;
    --text-tertiary: #9298A6;
    --bg-primary: #F9F5EE;
    --bg-card: #FFFFFF;
    --bg-dark: #15182A;
    --bg-dark-card: #1F2236;
    --bg-pain: #FFF6E5;
    --success: #4ADE80;
    --warning: #FFCB1F;
    --danger: #F87171;
    --border: rgba(21, 24, 42, 0.10);
    --shadow-sm: 0 2px 8px rgba(21, 24, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(21, 24, 42, 0.10);
    --shadow-lg: 0 16px 48px rgba(107, 71, 255, 0.15);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

/* ========================================
   NAV
   ======================================== */

.nav {
    position: sticky;
    top: 0;
    background: rgba(249, 245, 238, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 900;
    font-size: 22px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    display: block;
    filter: drop-shadow(2px 2px 0 var(--ink));
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--purple);
}

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

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: 16px;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 18px;
}

.btn-primary {
    background: var(--ink);
    color: var(--bg-primary);
    border-color: var(--ink);
    box-shadow: 4px 4px 0 var(--purple);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--purple);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--purple);
}

.apple-logo {
    display: inline-flex;
    align-items: center;
}

/* ========================================
   HERO + FLOATING COINS
   ======================================== */

.hero {
    padding: 80px 0 100px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 71, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.floating-coin {
    position: absolute;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(3px 3px 0 var(--ink));
}

.coin-1 {
    width: 64px;
    top: 120px;
    left: 8%;
    animation: float 5s ease-in-out infinite;
    opacity: 0.85;
}

.coin-2 {
    width: 40px;
    top: 320px;
    left: 4%;
    animation: float 7s ease-in-out infinite 1s;
    opacity: 0.7;
}

.coin-3 {
    width: 80px;
    top: 80px;
    right: 4%;
    animation: float 6s ease-in-out infinite 2s;
    opacity: 0.6;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@media (max-width: 768px) {
    .coin-1, .coin-2, .coin-3 {
        display: none;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 968px) {
    .hero {
        padding: 48px 0 64px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }
}

.pill {
    display: inline-flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--ink);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 2px 2px 0 var(--ink);
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--ink);
}

.highlight {
    background: linear-gradient(180deg, transparent 60%, var(--neon) 60%);
    padding: 0 4px;
}

.highlight-yellow {
    background: linear-gradient(180deg, transparent 60%, var(--gold) 60%);
    padding: 0 4px;
}

.strike {
    position: relative;
    display: inline-block;
    color: var(--text-tertiary);
}

.strike::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: 50%;
    height: 6px;
    background: var(--danger);
    transform: rotate(-3deg);
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-subtitle strong {
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 968px) {
    .hero-subtitle {
        margin: 0 auto 36px;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

@media (max-width: 968px) {
    .hero-cta {
        align-items: center;
    }
}

.hero-microcopy {
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   PHONE MOCKUP (same as before)
   ======================================== */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* ========================================
   PHONE FRAME — Hero slideshow auto-rotate
   ======================================== */

.phone-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1284 / 2778;
    margin: 0 auto;
    background: var(--ink);
    border-radius: 52px;
    padding: 10px;
    box-shadow:
        0 30px 80px rgba(107, 71, 255, 0.28),
        0 10px 24px rgba(21, 24, 42, 0.30);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* No rotation by default — keeps screenshots crisp (no subpixel interpolation) */
}

.phone-frame:hover {
    transform: translateY(-8px);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 26px;
    background: var(--ink);
    border-radius: 100px;
    z-index: 3;
}

.phone-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 38px;
    overflow: hidden;
    background: var(--bg-primary);
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: heroSlide 15s infinite;
    will-change: opacity;
    /* High-quality downscaling */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* 5 slides × 3s each = 15s cycle
   Each slide visible for ~3s with 0.5s crossfade */
@keyframes heroSlide {
    0%      { opacity: 0; }
    2%      { opacity: 1; }
    20%     { opacity: 1; }
    22%     { opacity: 0; }
    100%    { opacity: 0; }
}

.slide-1 { animation-delay: 0s; }
.slide-2 { animation-delay: 3s; }
.slide-3 { animation-delay: 6s; }
.slide-4 { animation-delay: 9s; }
.slide-5 { animation-delay: 12s; }

@media (prefers-reduced-motion: reduce) {
    .slide {
        animation: none;
    }
    .slide-1 {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .phone-frame {
        max-width: 280px;
    }
}

/* ========================================
   TRUST BAR
   ======================================== */

.trust-bar {
    padding: 24px 0;
    background: var(--ink);
    color: var(--bg-primary);
}

.trust-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.trust-icon {
    font-size: 20px;
}

@media (max-width: 640px) {
    .trust-items {
        gap: 16px;
        font-size: 13px;
    }
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
}

.section-dark {
    background: var(--ink);
    color: var(--bg-primary);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--purple);
    margin-bottom: 16px;
}

.section-eyebrow.accent {
    color: var(--neon);
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   PAIN SECTION (NEW)
   ======================================== */

.section-pain {
    background: var(--bg-pain);
    padding: 100px 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 920px;
    margin: 0 auto;
}

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

.pain-card {
    background: var(--bg-card);
    border: 2.5px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 5px 5px 0 var(--ink);
    position: relative;
    transition: transform 0.2s ease;
}

.pain-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--ink);
}

.pain-time {
    display: inline-block;
    font-family: 'Inter', monospace;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--danger);
    background: var(--bg-pain);
    border: 2px solid var(--danger);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.pain-quote {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--ink);
}

.pain-context {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.pain-transition {
    text-align: center;
    margin-top: 56px;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Fraunces', serif;
    color: var(--ink);
}

/* ========================================
   STEPS
   ======================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

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

.step-card {
    background: var(--bg-card);
    border: 2.5px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: 6px 6px 0 var(--ink);
    transition: transform 0.2s ease;
}

.step-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--ink);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--purple);
    border: 2.5px solid var(--ink);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    box-shadow: 3px 3px 0 var(--ink);
}

.step-card:nth-child(2) .step-number {
    background: var(--neon);
    color: var(--ink);
}

.step-card:nth-child(3) .step-number {
    background: var(--gold);
    color: var(--ink);
}

.step-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--ink);
}

.step-desc {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 15px;
    margin-bottom: 16px;
}

.step-time {
    font-size: 13px;
    font-weight: 700;
    color: var(--purple);
    background: var(--purple-light);
    padding: 6px 12px;
    border-radius: 100px;
    display: inline-block;
}

.mid-cta {
    text-align: center;
    margin-top: 24px;
}

/* ========================================
   FEATURES
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

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

.feature-card {
    background: var(--bg-dark-card);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
    border-color: var(--neon);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}

.feature-title {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
    color: white;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    font-size: 15px;
}

/* ========================================
   FOUNDER NOTE
   ======================================== */

.section-founder {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--purple-light) 100%);
}

.founder-wrap {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 56px;
    align-items: start;
    max-width: 880px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .founder-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

.founder-avatar {
    width: 200px;
    height: 200px;
    background: var(--gold);
    border: 3px solid var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 6px 6px 0 var(--ink);
    overflow: hidden;
}

@media (max-width: 768px) {
    .founder-avatar {
        margin: 0 auto;
    }
}

.founder-avatar img {
    width: 70%;
    height: 70%;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.founder-content .section-eyebrow {
    text-align: left;
}

@media (max-width: 768px) {
    .founder-content .section-eyebrow {
        text-align: center;
    }
}

.founder-headline {
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--ink);
}

.founder-text {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.founder-text strong {
    color: var(--ink);
    font-weight: 700;
}

.founder-sign {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 20px;
}

.founder-role {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-tertiary);
    font-size: 14px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.testimonial-card {
    background: var(--bg-dark-card);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
    border-color: var(--neon);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
    color: white;
    flex: 1;
}

.testimonial-quote::before {
    content: '"';
    color: var(--neon);
    font-size: 56px;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--purple);
    color: white;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
}

.testimonial-card:nth-child(2) .author-avatar {
    background: var(--neon);
    color: var(--ink);
}

.testimonial-card:nth-child(3) .author-avatar {
    background: var(--gold);
    color: var(--ink);
}

.author-name {
    color: white;
    font-weight: 800;
    font-size: 15px;
}

.author-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
}

/* ========================================
   PRICING
   ======================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 820px;
    margin: 0 auto 24px;
}

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

.pricing-card {
    background: var(--bg-card);
    border: 2.5px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: 6px 6px 0 var(--ink);
    position: relative;
}

.pricing-card.pricing-featured {
    background: var(--purple);
    color: white;
    border-color: var(--ink);
    box-shadow: 6px 6px 0 var(--neon);
}

.pricing-card.pricing-featured .pricing-amount {
    color: white;
}

.pricing-badge {
    display: inline-block;
    background: var(--bg-primary);
    color: var(--text-tertiary);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.featured-badge {
    background: var(--neon);
    color: var(--ink);
}

.pricing-amount {
    font-family: 'Fraunces', serif;
    margin-bottom: 8px;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.currency {
    font-size: 28px;
    font-weight: 700;
}

.amount {
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
}

.period {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.7;
}

.pricing-tagline {
    font-size: 15px;
    margin-bottom: 24px;
    opacity: 0.85;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    font-size: 15px;
    font-weight: 500;
}

.pricing-context {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
    margin: 16px auto 32px;
    max-width: 540px;
    font-size: 15px;
}

.pricing-cta {
    text-align: center;
}

/* ========================================
   FAQ
   ======================================== */

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-dark-card);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 0;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(184, 255, 26, 0.3);
}

.faq-item[open] {
    border-color: var(--neon);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--neon);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: 15px;
}

.faq-item ul {
    padding: 0 24px 16px;
    margin-left: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: 15px;
}

.faq-item ul li {
    margin-bottom: 4px;
}

.faq-item code {
    background: rgba(184, 255, 26, 0.15);
    color: var(--neon);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'SF Mono', Monaco, monospace;
}

.faq-item a {
    color: var(--neon);
    text-decoration: underline;
}

/* ========================================
   CTA FINAL
   ======================================== */

.cta-final {
    padding: 120px 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(107, 71, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(184, 255, 26, 0.15) 0%, transparent 50%),
        var(--bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.coin-cta-1 {
    width: 100px;
    bottom: 40px;
    left: 8%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.7;
}

.coin-cta-2 {
    width: 80px;
    top: 60px;
    right: 10%;
    animation: float 6s ease-in-out infinite 1s;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .coin-cta-1, .coin-cta-2 {
        display: none;
    }
}

.cta-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: var(--ink);
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.cta-microcopy {
    margin-top: 16px;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--ink);
    color: white;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--neon);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-handcrafted {
    font-weight: 600;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========================================
   SCREENSHOTS CARRUSEL
   ======================================== */

.section-screenshots {
    background: var(--bg-primary);
    padding-bottom: 32px;
    overflow: hidden;
}

.screenshots-scroller {
    margin-top: 48px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 24px;
    padding: 16px 0 48px;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 71, 255, 0.3) transparent;
}

.screenshots-scroller::-webkit-scrollbar {
    height: 8px;
}

.screenshots-scroller::-webkit-scrollbar-track {
    background: transparent;
}

.screenshots-scroller::-webkit-scrollbar-thumb {
    background: rgba(107, 71, 255, 0.3);
    border-radius: 4px;
}

.screenshots-scroller::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 71, 255, 0.5);
}

.screenshots-track {
    display: flex;
    gap: 28px;
    /* Center the first item — leave space on left & right equal to (viewport - item) / 2 */
    padding-left: calc(50vw - 130px);
    padding-right: calc(50vw - 130px);
    width: max-content;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1284 / 2778; /* iPhone 15 Pro Max actual ratio */
    object-fit: cover;
    object-position: top;
    background: var(--bg-primary);
    border-radius: 36px;
    border: 4px solid var(--ink);
    box-shadow:
        0 20px 40px rgba(21, 24, 42, 0.18),
        0 8px 16px rgba(107, 71, 255, 0.10);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* High-quality downscaling */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.screenshot-item:hover img {
    transform: translateY(-6px) scale(1.02);
}

.screenshot-item figcaption {
    padding: 0 8px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.screenshot-item figcaption strong {
    color: var(--text-primary);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.screenshots-hint {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

@media (min-width: 968px) {
    .screenshot-item {
        width: 280px;
    }
    .screenshots-track {
        padding-left: calc(50vw - 140px);
        padding-right: calc(50vw - 140px);
    }
}

@media (max-width: 640px) {
    .screenshot-item {
        width: 240px;
    }

    .screenshots-track {
        gap: 20px;
        padding-left: calc(50vw - 120px);
        padding-right: calc(50vw - 120px);
    }

    .screenshot-item img {
        border-radius: 32px;
        border-width: 3px;
    }
}
