/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */

:root {
    /* Core Palette — Winter Ice */
    --primary: #1a3a5c;
    --primary-dark: #0f2640;
    --primary-light: #2a5a8c;
    --secondary: #e8f0f8;
    --secondary-dark: #c8daea;
    --accent: #4fc3f7;
    --accent-dark: #0288d1;
    --accent-light: #81d4fa;

    /* Extended Winter Palette */
    --cream: #e8f0f8;
    --cream-dark: #c8daea;
    --chocolate: #1a3a5c;
    --chocolate-dark: #0f2640;
    --dusty-rose: #4fc3f7;
    --dusty-rose-light: #b3e5fc;
    --forest-green: #2e7d6e;
    --forest-green-light: #4db6a0;
    --warm-white: #f0f6fc;
    --yarn-gold: #ffd54f;
    --yarn-blue: #4fc3f7;
    --yarn-purple: #7e57c2;

    /* Neutrals */
    --text-dark: #1a2a3a;
    --text-medium: #3d5a7a;
    --text-light: #7a95b0;
    --text-on-dark: #e8f0f8;
    --border-stitch: #1a3a5c;

    /* Shadows */
    --shadow-warm: 0 4px 16px rgba(26, 58, 92, 0.15);
    --shadow-warm-lg: 0 8px 32px rgba(26, 58, 92, 0.2);
    --shadow-warm-xl: 0 16px 48px rgba(26, 58, 92, 0.25);
    --shadow-fabric: 0 2px 8px rgba(26, 58, 92, 0.1);

    /* Typography */
    --font-display: 'Righteous', cursive;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Nunito', sans-serif;

    /* Sizing */
    --container-max: 1200px;
    --header-height: 80px;
    --border-radius-soft: 16px;
    --border-radius-round: 24px;
    --border-radius-pill: 50px;
    --stitch-width: 3px;
    --stitch-dash: 8px 6px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.35s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

a:focus-visible {
    outline: 3px dashed var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

button:focus-visible {
    outline: 3px dashed var(--accent);
    outline-offset: 3px;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

address {
    font-style: normal;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================================
   SNOW/ICE PATTERN BACKGROUNDS
   ============================================================ */

.snow-pattern-bg,
.knit-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.10;
    background-image:
        radial-gradient(circle 2px at 20px 20px, rgba(255, 255, 255, 0.6) 1px, transparent 2px),
        radial-gradient(circle 1px at 50px 40px, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
        radial-gradient(circle 1.5px at 80px 10px, rgba(255, 255, 255, 0.5) 1px, transparent 2px);
    background-size: 100px 60px;
    pointer-events: none;
}

.snow-pattern-bg::after,
.knit-pattern-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle 1px at 30px 50px, rgba(79, 195, 247, 0.15) 1px, transparent 2px);
    background-size: 60px 60px;
}

.snow-pattern-bg-alt,
.knit-pattern-bg-alt {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.08;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 6px,
            rgba(232, 240, 248, 0.5) 6px,
            rgba(232, 240, 248, 0.5) 7px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 6px,
            rgba(232, 240, 248, 0.5) 6px,
            rgba(232, 240, 248, 0.5) 7px
        );
    background-size: 16px 16px;
    pointer-events: none;
}

.snow-pattern-bg-warm,
.knit-pattern-bg-warm {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.06;
    background-image:
        radial-gradient(circle 1px at 15px 15px, rgba(255, 255, 255, 0.3) 1px, transparent 2px),
        radial-gradient(circle 2px at 45px 30px, rgba(255, 255, 255, 0.2) 1px, transparent 2px);
    background-size: 60px 45px;
    pointer-events: none;
}

.snow-pattern-bg-signup,
.knit-pattern-bg-signup {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.06;
    background-image:
        radial-gradient(circle 3px, rgba(26, 58, 92, 0.2) 1px, transparent 3px);
    background-size: 24px 24px;
    pointer-events: none;
}

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

.btn-ice,
.btn-knit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-pill);
    border: var(--stitch-width) solid;
    transition: all var(--transition-medium);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary-ice,
.btn-primary-knit {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--cream);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-warm), inset 0 -2px 0 rgba(0,0,0,0.15);
}

.btn-primary-ice:hover,
.btn-primary-knit:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm-lg), inset 0 -2px 0 rgba(0,0,0,0.2);
}

.btn-primary-ice:active,
.btn-primary-knit:active {
    transform: translateY(0);
    box-shadow: var(--shadow-fabric);
}

.btn-secondary-ice,
.btn-secondary-knit {
    background: var(--cream);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-fabric);
}

.btn-secondary-ice:hover,
.btn-secondary-knit:hover {
    background: var(--primary);
    color: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.15rem;
}

.btn-full {
    width: 100%;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--cream);
    transition: box-shadow var(--transition-medium), background var(--transition-medium);
}

.site-header.scrolled {
    box-shadow: var(--shadow-warm);
    background: rgba(232, 240, 248, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-ice-border,
.header-yarn-border {
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--accent) 25%,
        var(--primary-light) 50%,
        var(--accent) 75%,
        var(--primary) 100%
    );
}

.header-stitch-bottom {
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--accent) 50%,
        transparent 100%
    );
    opacity: 0.3;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(var(--header-height) - 8px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    z-index: 10;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--cream);
    border-radius: 12px;
    font-size: 1.2rem;
    border: 2px dashed var(--primary-dark);
    box-shadow: var(--shadow-fabric);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-medium), left var(--transition-medium);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
    left: 20%;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--cream) !important;
    border: 2px dashed var(--primary-dark);
    padding: 10px 24px;
    font-family: var(--font-display);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--cream) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 10;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all var(--transition-medium);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 43, 31, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--cream);
    z-index: 1002;
    transition: right var(--transition-medium);
    box-shadow: -4px 0 24px rgba(26, 58, 92, 0.2);
    overflow-y: auto;
    border-left: 4px dashed var(--primary);
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 3px dashed var(--primary);
}

.mobile-nav-header .logo-text {
    font-size: 1.3rem;
}

.mobile-nav-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary-dark);
    color: var(--primary);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.mobile-nav-close:hover {
    background: var(--primary);
    color: var(--cream);
}

.mobile-nav-list {
    padding: 16px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 20px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-dark);
    border-radius: var(--border-radius-soft);
    border: 2px dashed transparent;
    transition: all var(--transition-fast);
    margin-bottom: 4px;
}

.mobile-nav-link:hover {
    background: var(--secondary-dark);
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-nav-cta {
    background: var(--primary) !important;
    color: var(--cream) !important;
    border-color: var(--primary-dark) !important;
    text-align: center;
    margin-top: 8px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 120px;
    background: linear-gradient(
        170deg,
        #1a3a5c 0%,
        #0f2640 35%,
        #0a1a2e 100%
    );
    color: var(--cream);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(232, 240, 248, 0.12);
    border: 2px solid rgba(79, 195, 247, 0.4);
    border-radius: var(--border-radius-pill);
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--yarn-gold);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    animation: fadeInDown 0.8s ease both;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--cream);
    animation: fadeInDown 0.8s ease 0.1s both;
}

.hero-title-accent {
    color: var(--yarn-gold);
    position: relative;
    display: inline-block;
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--yarn-gold) 0px,
        var(--yarn-gold) 6px,
        transparent 6px,
        transparent 12px
    );
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(232, 240, 248, 0.85);
    max-width: 540px;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInDown 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--yarn-gold);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(232, 240, 248, 0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stat-divider {
    width: 3px;
    height: 40px;
    background: repeating-linear-gradient(
        180deg,
        rgba(232, 240, 248, 0.3) 0px,
        rgba(232, 240, 248, 0.3) 4px,
        transparent 4px,
        transparent 8px
    );
    border-radius: 2px;
}

/* Hero Phone Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2a1a0e, #3d2b1f);
    border-radius: 36px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 3px rgba(232, 240, 248, 0.1),
        inset 0 0 0 1px rgba(232, 240, 248, 0.05);
    border: 3px dashed rgba(232, 240, 248, 0.15);
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #2a1a0e;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
    position: relative;
    z-index: 2;
}

.phone-screen {
    background: var(--cream);
    border-radius: 24px;
    height: calc(100% - 48px);
    overflow: hidden;
    position: relative;
}

.phone-game-preview {
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    flex: 1;
    align-content: center;
    padding: 20px 8px;
}

.preview-tile {
    aspect-ratio: 1;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 3px dashed;
    transition: all var(--transition-medium);
    animation: tileFloat 3s ease-in-out infinite;
    cursor: default;
}

.tile-1  { background: #fce4e4; color: #cd5c5c; border-color: #e8a0a0; animation-delay: 0s; }
.tile-2  { background: #fff3d4; color: #d4a843; border-color: #e8d49a; animation-delay: 0.2s; }
.tile-3  { background: #d4eaf7; color: #5b7fa5; border-color: #a0c4e0; animation-delay: 0.4s; }
.tile-4  { background: #fff3d4; color: #d4a843; border-color: #e8d49a; animation-delay: 0.1s; }
.tile-5  { background: #e8d8f0; color: #7b5ea7; border-color: #c4a8d8; animation-delay: 0.3s; }
.tile-6  { background: #d8f0d8; color: #3a6b3a; border-color: #a0d0a0; animation-delay: 0.5s; }
.tile-7  { background: #d4eaf7; color: #5b7fa5; border-color: #a0c4e0; animation-delay: 0.15s; }
.tile-8  { background: #e8d8f0; color: #7b5ea7; border-color: #c4a8d8; animation-delay: 0.35s; }
.tile-9  { background: #fff3d4; color: #d4a843; border-color: #e8d49a; animation-delay: 0.25s; }
.tile-10 { background: #fce4e4; color: #cd5c5c; border-color: #e8a0a0; animation-delay: 0.45s; }
.tile-11 { background: #d4eaf7; color: #5b7fa5; border-color: #a0c4e0; animation-delay: 0.1s; }
.tile-12 { background: #d8f0d8; color: #3a6b3a; border-color: #a0d0a0; animation-delay: 0.3s; }

.preview-score-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--primary);
    color: var(--cream);
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    border: 2px dashed var(--primary-dark);
}

.phone-home-bar {
    width: 100px;
    height: 4px;
    background: rgba(232, 240, 248, 0.3);
    border-radius: 4px;
    margin: 10px auto 0;
}

/* Floating Snowflakes */
.hero-floating-snow,
.hero-floating-yarn {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: yarnFloat 6s ease-in-out infinite;
}

.snow-flake-1,
.yarn-ball-1 {
    top: 10%;
    right: -20px;
    width: 60px;
    height: 60px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.5rem;
    animation-delay: 0s;
}

.snow-flake-2,
.yarn-ball-2 {
    bottom: 20%;
    left: -30px;
    width: 40px;
    height: 40px;
    color: rgba(79, 195, 247, 0.6);
    font-size: 2rem;
    animation-delay: 2s;
}

.snow-flake-3,
.yarn-ball-3 {
    top: 50%;
    right: -40px;
    width: 30px;
    height: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    animation-delay: 4s;
}

/* Hero Wave */
.hero-wave-bottom {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-wave-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Hero Snowflake Decorations */
.hero-snowflake,
.hero-yarn-deco {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-snow-1,
.hero-yarn-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.06) 0%, transparent 70%);
    top: 10%;
    left: -100px;
}

.hero-snow-2,
.hero-yarn-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    bottom: 10%;
    right: -150px;
}

/* ============================================================
   SOCIAL PROOF TICKER
   ============================================================ */

.social-proof-ticker {
    background: var(--cream);
    padding: 16px 0;
    overflow: hidden;
    border-bottom: 3px dashed rgba(26, 58, 92, 0.15);
}

.ticker-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker-track {
    display: flex;
    gap: 40px;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-medium);
    flex-shrink: 0;
}

.ticker-item i {
    color: var(--forest-green);
    font-size: 0.8rem;
}

.ticker-item strong {
    color: var(--primary);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(26, 58, 92, 0.08);
    border: 2px dashed rgba(26, 58, 92, 0.2);
    border-radius: var(--border-radius-pill);
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-tag-light {
    background: rgba(232, 240, 248, 0.12);
    border-color: rgba(232, 240, 248, 0.3);
    color: var(--yarn-gold);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-title-light {
    color: var(--cream);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.section-desc-light {
    color: rgba(232, 240, 248, 0.75);
}

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

.features-section {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

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

.feature-card {
    background: var(--warm-white);
    border-radius: var(--border-radius-round);
    padding: 36px 28px;
    border: var(--stitch-width) dashed var(--cream-dark);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--border-radius-round) var(--border-radius-round) 0 0;
    transition: all var(--transition-medium);
}

.feature-card-1::before { background: var(--dusty-rose); }
.feature-card-2::before { background: var(--forest-green); }
.feature-card-3::before { background: var(--yarn-gold); }
.feature-card-4::before { background: var(--yarn-blue); }
.feature-card-5::before { background: var(--yarn-purple); }
.feature-card-6::before { background: var(--primary); }

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-warm-lg);
}

.feature-card:hover::before {
    height: 6px;
}

.feature-icon-wrap {
    position: relative;
    margin-bottom: 20px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 3px dashed;
    transition: all var(--transition-medium);
}

.feature-card-1 .feature-icon { background: #fce4e4; color: var(--dusty-rose); border-color: #e8a0a0; }
.feature-card-2 .feature-icon { background: #d8f0d8; color: var(--forest-green); border-color: #a0d0a0; }
.feature-card-3 .feature-icon { background: #e0eaf8; color: var(--yarn-blue); border-color: #a0c4e0; }
.feature-card-4 .feature-icon { background: #fff3d4; color: var(--yarn-gold); border-color: #e8d49a; }
.feature-card-5 .feature-icon { background: #e8d8f0; color: var(--yarn-purple); border-color: #c4a8d8; }
.feature-card-6 .feature-icon { background: #f0e4cc; color: var(--primary); border-color: var(--primary-light); }

.feature-card:hover .feature-icon {
    transform: rotate(-5deg) scale(1.08);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.features-deco-snow,
.features-deco-yarn {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 58, 92, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================================
   FEATURE ROWS (alternating layout)
   ============================================================ */

.feature-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding: 32px;
    background: var(--warm-white);
    border-radius: var(--border-radius-round);
    box-shadow: var(--shadow-warm);
    border: 1px solid rgba(26, 58, 92, 0.08);
}

.feature-row-reverse {
    grid-template-columns: 1fr 200px;
}

.feature-row-reverse .feature-row-visual {
    order: 2;
}

.feature-row-reverse .feature-row-content {
    order: 1;
}

.feature-row-icon-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(26, 58, 92, 0.25);
}

.feature-row-icon-circle i {
    font-size: 3.5rem;
    color: #fff;
}

.feature-row-content .feature-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-row-content .feature-desc {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
        padding: 24px;
    }
    .feature-row-reverse .feature-row-visual {
        order: 0;
    }
    .feature-row-reverse .feature-row-content {
        order: 0;
    }
    .feature-row-icon-circle {
        width: 100px;
        height: 100px;
    }
    .feature-row-icon-circle i {
        font-size: 2.5rem;
    }
}

/* Mini Feature Cards */
.features-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.feature-mini-card {
    background: var(--warm-white);
    border-radius: var(--border-radius-soft);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-fabric);
    border: 1px solid rgba(26, 58, 92, 0.06);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.feature-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-warm);
}

.feature-mini-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 14px;
    display: block;
}

.feature-mini-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-mini-card p {
    font-size: 0.92rem;
    color: var(--text-medium);
    line-height: 1.6;
}

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

/* ============================================================
   TROPHY WALL SECTION
   ============================================================ */

.trophy-section {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
}

.trophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.trophy-card {
    background: var(--warm-white);
    border-radius: var(--border-radius-round);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow-warm);
    border: 1px solid rgba(26, 58, 92, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.trophy-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-warm-lg);
}

.trophy-card-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0f2640 0%, #1a3a5c 50%, #2a5a8c 100%);
    color: #e8f0f8;
    border: none;
}

.trophy-card-featured h3,
.trophy-card-featured p {
    color: #e8f0f8;
}

.trophy-card-featured .trophy-stats span {
    color: rgba(232, 240, 248, 0.8);
}

.trophy-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: var(--border-radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffd54f, #ff8f00);
    color: #3e2723;
    margin-bottom: 16px;
}

.trophy-badge-rare {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    color: #fff;
}

.trophy-badge-epic {
    background: linear-gradient(135deg, #ce93d8, #7b1fa2);
    color: #fff;
}

.trophy-badge-common {
    background: linear-gradient(135deg, #a5d6a7, #388e3c);
    color: #fff;
}

.trophy-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.trophy-card-featured .trophy-icon {
    color: var(--yarn-gold);
    font-size: 3.5rem;
}

.trophy-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.trophy-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.trophy-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.trophy-stats i {
    margin-right: 6px;
    color: var(--accent);
}

.trophy-card-featured .trophy-stats i {
    color: var(--yarn-gold);
}

@media (max-width: 768px) {
    .trophy-grid {
        grid-template-columns: 1fr;
    }
    .trophy-card-featured {
        grid-column: auto;
    }
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */

.how-section {
    padding: 100px 0;
    background: linear-gradient(170deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.steps-container {
    max-width: 700px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-30px);
}

.step-card.animated {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--yarn-gold);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.8rem;
    border: 4px dashed rgba(26, 58, 92, 0.3);
    position: relative;
    box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--cream);
    margin-bottom: 8px;
}

.step-content p {
    color: rgba(232, 240, 248, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

.step-connector {
    display: flex;
    justify-content: center;
    padding: 8px 0 8px 28px;
}

.connector-line,
.connector-yarn {
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    border-radius: 2px;
    opacity: 0.4;
}

/* ============================================================
   SHOWCASE SECTION
   ============================================================ */

.showcase-section {
    padding: 100px 0;
    background: var(--cream);
}

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

.showcase-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.showcase-card {
    border-radius: var(--border-radius-round);
    overflow: hidden;
    border: var(--stitch-width) dashed var(--cream-dark);
    background: var(--warm-white);
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
}

.showcase-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-warm-lg);
    border-color: var(--primary);
}

.showcase-visual {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.showcase-large .showcase-visual {
    height: 100%;
    min-height: 300px;
}

.showcase-visual-1 { background: linear-gradient(135deg, #8b4513, #a0622d); }
.showcase-visual-2 { background: linear-gradient(135deg, #cd5c5c, #e07070); }
.showcase-visual-3 { background: linear-gradient(135deg, #3a6b3a, #5a9a5a); }
.showcase-visual-4 { background: linear-gradient(135deg, #d4a843, #e8c870); }
.showcase-visual-5 { background: linear-gradient(135deg, #5b7fa5, #7b9fc5); }

.showcase-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 6px,
            rgba(255,255,255,0.3) 6px,
            rgba(255,255,255,0.3) 7px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 6px,
            rgba(255,255,255,0.3) 6px,
            rgba(255,255,255,0.3) 7px
        );
    background-size: 14px 14px;
}

.showcase-icon-big {
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
    z-index: 1;
    transition: transform var(--transition-medium);
}

.showcase-card:hover .showcase-icon-big {
    transform: scale(1.15) rotate(-5deg);
}

.showcase-label {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    background: rgba(0,0,0,0.25);
    color: white;
    border-radius: var(--border-radius-pill);
    font-family: var(--font-display);
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
    z-index: 1;
}

.showcase-info {
    padding: 20px 24px;
}

.showcase-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.showcase-info p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.showcase-large .showcase-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(61, 43, 31, 0.9));
    padding: 40px 24px 24px;
}

.showcase-large .showcase-info h3 {
    color: var(--cream);
}

.showcase-large .showcase-info p {
    color: rgba(232, 240, 248, 0.8);
}

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

.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(170deg, var(--chocolate-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonial-card {
    min-width: 100%;
    background: var(--warm-white);
    border-radius: var(--border-radius-round);
    padding: 40px 36px;
    border: var(--stitch-width) dashed var(--cream-dark);
    box-shadow: var(--shadow-warm);
    flex-shrink: 0;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: var(--yarn-gold);
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    padding-left: 24px;
}

.testimonial-text::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--accent);
    line-height: 1;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary-dark);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px dashed var(--primary);
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-display);
    color: var(--text-dark);
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(232, 240, 248, 0.15);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 2px dashed rgba(232, 240, 248, 0.3);
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background: rgba(232, 240, 248, 0.3);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(232, 240, 248, 0.25);
    border: 2px solid rgba(232, 240, 248, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background: var(--yarn-gold);
    border-color: var(--yarn-gold);
    transform: scale(1.2);
}

/* ============================================================
   RESPONSIBLE GAMING SECTION
   ============================================================ */

.responsible-section {
    padding: 80px 0;
    background: var(--cream);
}

.responsible-card {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: var(--warm-white);
    border-radius: var(--border-radius-round);
    padding: 48px;
    border: var(--stitch-width) dashed var(--forest-green);
    box-shadow: var(--shadow-warm);
}

.responsible-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #d8f0d8;
    color: var(--forest-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px dashed #a0d0a0;
}

.responsible-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--forest-green);
    margin-bottom: 12px;
}

.responsible-content > p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.responsible-list {
    margin-bottom: 20px;
}

.responsible-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.responsible-list li i {
    color: var(--forest-green);
    margin-top: 4px;
    flex-shrink: 0;
}

.responsible-help {
    padding: 16px 20px;
    background: rgba(58, 107, 58, 0.06);
    border-radius: var(--border-radius-soft);
    border: 2px dashed rgba(58, 107, 58, 0.2);
    font-size: 0.95rem;
}

.responsible-help a {
    color: var(--forest-green);
    font-weight: 700;
}

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

.faq-section {
    padding: 100px 0;
    background: var(--secondary-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border-radius: var(--border-radius-soft);
    overflow: hidden;
    background: var(--warm-white);
    border: var(--stitch-width) dashed var(--cream-dark);
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-warm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text-dark);
    text-align: left;
    transition: all var(--transition-fast);
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform var(--transition-medium);
    width: 20px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================================
   SIGNUP SECTION
   ============================================================ */

.signup-section {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.signup-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.signup-desc {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.signup-perks {
    margin-bottom: 32px;
}

.signup-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.signup-perks li i {
    color: var(--forest-green);
    font-size: 1.1rem;
}

.signup-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.trust-item i {
    color: var(--primary);
}

/* Form */
.signup-form-wrap {
    background: var(--warm-white);
    border-radius: var(--border-radius-round);
    padding: 40px;
    border: var(--stitch-width) dashed var(--primary);
    box-shadow: var(--shadow-warm-lg);
    position: relative;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.optional {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.95rem;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.input-wrap input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 3px dashed var(--cream-dark);
    border-radius: var(--border-radius-soft);
    background: var(--cream);
    color: var(--text-dark);
    font-size: 1rem;
    transition: all var(--transition-fast);
    outline: none;
}

.input-wrap input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 58, 92, 0.1);
}

.input-wrap input:focus + .input-icon,
.input-wrap input:focus ~ .input-icon {
    color: var(--primary);
}

.input-wrap input.error {
    border-color: var(--accent);
    background: #fff5f5;
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 6px;
    min-height: 0;
    transition: all var(--transition-fast);
}

/* Checkbox */
.form-checkbox {
    margin-bottom: 14px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 3px dashed var(--cream-dark);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
    background: var(--cream);
    transition: all var(--transition-fast);
    margin-top: 1px;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary-dark);
    color: var(--cream);
}

.checkbox-label input:focus-visible + .checkbox-custom {
    outline: 3px dashed var(--accent);
    outline-offset: 2px;
}

.required-star {
    color: var(--accent);
    font-weight: 700;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

/* Success / Error */
.signup-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--forest-green);
    margin-bottom: 16px;
}

.signup-success h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--forest-green);
    margin-bottom: 8px;
}

.signup-success p {
    color: var(--text-medium);
}

.signup-error-msg {
    text-align: center;
    padding: 20px;
    background: #fff5f5;
    border-radius: var(--border-radius-soft);
    border: 2px dashed var(--accent);
    margin-top: 16px;
}

.error-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.signup-error-msg p {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.signup-error-msg a {
    color: var(--accent);
    font-weight: 700;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */

.trust-section {
    padding: 80px 0;
    background: var(--secondary-dark);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.trust-card {
    background: var(--warm-white);
    border-radius: var(--border-radius-round);
    padding: 32px 24px;
    text-align: center;
    border: var(--stitch-width) dashed var(--cream-dark);
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(20px);
}

.trust-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-warm);
}

.trust-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(26, 58, 92, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
    border: 2px dashed rgba(26, 58, 92, 0.2);
}

.trust-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.trust-card p a {
    color: var(--primary);
    font-weight: 600;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--warm-white);
    border-radius: var(--border-radius-pill);
    border: 2px dashed var(--primary);
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--primary);
}

.trust-badge i {
    font-size: 1.1rem;
}

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

.site-footer {
    background: var(--chocolate-dark);
    color: var(--cream);
    position: relative;
}

.footer-ice-top,
.footer-stitch-top {
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--accent) 25%,
        var(--primary-light) 50%,
        var(--accent) 75%,
        var(--primary) 100%
    );
}

.footer-ice-border,
.footer-yarn-border {
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--accent) 50%,
        transparent 100%
    );
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    background: var(--primary);
    border-color: var(--primary-light);
}

.footer-logo .logo-text {
    color: var(--cream);
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(232, 240, 248, 0.65);
    margin-bottom: 20px;
    line-height: 1.7;
}


.social-link:hover {
    background: var(--primary);
    color: var(--cream);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--yarn-gold);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px dashed rgba(232, 240, 248, 0.1);
}

.footer-links-group ul li {
    margin-bottom: 8px;
}

.footer-links-group a {
    color: rgba(232, 240, 248, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--cream);
}

.footer-links-group a i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.footer-address {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(232, 240, 248, 0.55);
    line-height: 1.6;
}

.footer-address i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 2px dashed rgba(232, 240, 248, 0.1);
    padding: 24px 0;
}

.footer-bottom-inner {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(232, 240, 248, 0.5);
    margin-bottom: 6px;
    line-height: 1.6;
}

.footer-responsible {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 20px;
    background: rgba(232, 240, 248, 0.05);
    border-radius: var(--border-radius-pill);
    border: 1px dashed rgba(232, 240, 248, 0.15);
    font-size: 0.8rem !important;
    color: rgba(232, 240, 248, 0.6) !important;
}

.footer-responsible i {
    color: var(--forest-green-light);
}

.footer-responsible a {
    color: var(--yarn-gold);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--warm-white);
    box-shadow: 0 -4px 24px rgba(26, 58, 92, 0.2);
    border-top: 4px dashed var(--primary);
    animation: slideUpCookie 0.5s ease both;
}

.cookie-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cookie-icon {
    font-size: 2rem;
    color: var(--yarn-gold);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 4px;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-cookie {
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    font-family: var(--font-display);
    font-size: 0.9rem;
    border: 2px dashed;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-accept {
    background: var(--primary);
    color: var(--cream);
    border-color: var(--primary-dark);
}

.btn-accept:hover {
    background: var(--primary-dark);
}

.btn-essential {
    background: var(--cream);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-essential:hover {
    background: var(--primary);
    color: var(--cream);
}

.btn-settings {
    background: transparent;
    color: var(--text-medium);
    border-color: var(--cream-dark);
}

.btn-settings:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cookie-settings-panel {
    width: 100%;
    padding: 16px 0 0;
    border-top: 2px dashed var(--cream-dark);
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ============================================================
   AGE GATE
   ============================================================ */

.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(61, 43, 31, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.age-gate-modal {
    background: var(--warm-white);
    border-radius: var(--border-radius-round);
    padding: 48px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    border: 4px dashed var(--primary);
    box-shadow: var(--shadow-warm-xl);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.4s ease both;
}

.age-gate-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(26, 58, 92, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    border: 3px dashed rgba(26, 58, 92, 0.2);
}

.age-gate-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.age-gate-content > p {
    color: var(--text-medium);
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.7;
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.age-gate-note {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 3px dashed var(--primary-dark);
    box-shadow: var(--shadow-warm);
    z-index: 999;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-warm-lg);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-hero {
    position: relative;
    padding: calc(var(--header-height) + 40px) 0 60px;
    background: linear-gradient(170deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--cream);
    overflow: hidden;
}

.legal-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.legal-hero p {
    font-size: 1rem;
    color: rgba(232, 240, 248, 0.7);
    position: relative;
    z-index: 1;
}

.legal-section {
    padding: 60px 0 100px;
    background: var(--cream);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--warm-white);
    padding: 48px;
    border-radius: var(--border-radius-round);
    border: var(--stitch-width) dashed var(--cream-dark);
    box-shadow: var(--shadow-warm);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--primary);
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px dashed rgba(26, 58, 92, 0.15);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-content ul, .legal-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 6px;
    list-style: disc;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.legal-footer-note {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 3px dashed var(--cream-dark);
    text-align: center;
}

.legal-footer-note p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tileFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes yarnFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-12px) rotate(5deg);
    }
    66% {
        transform: translateY(6px) rotate(-3deg);
    }
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideUpCookie {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes stitchGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-phone-frame {
        width: 240px;
        height: 480px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-large {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .showcase-large .showcase-visual {
        min-height: 200px;
    }

    .signup-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: calc(var(--header-height) + 40px) 0 100px;
        min-height: auto;
    }

    .hero-phone-frame {
        width: 200px;
        height: 400px;
        border-radius: 28px;
        padding: 10px;
    }

    .preview-tile {
        font-size: 1.1rem;
        border-radius: 10px;
        border-width: 2px;
    }

    .preview-grid {
        gap: 6px;
        padding: 12px 4px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 3px;
        background: repeating-linear-gradient(
            90deg,
            rgba(232, 240, 248, 0.3) 0px,
            rgba(232, 240, 248, 0.3) 4px,
            transparent 4px,
            transparent 8px
        );
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-large {
        grid-column: auto;
    }

    .step-card {
        gap: 20px;
    }

    .step-number {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }

    .responsible-card {
        flex-direction: column;
        padding: 32px 24px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .signup-form-wrap {
        padding: 28px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-responsible {
        flex-direction: column;
        text-align: center;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }

    .age-gate-modal {
        padding: 32px 24px;
    }

    .legal-content {
        padding: 28px 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 28px 20px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .ticker-track {
        animation: none;
    }
}

/* ============================================================
   HIGH CONTRAST MODE
   ============================================================ */

@media (prefers-contrast: high) {
    :root {
        --cream: #ffffff;
        --warm-white: #ffffff;
        --text-dark: #000000;
        --text-medium: #333333;
    }

    .feature-card,
    .showcase-card,
    .trust-card,
    .faq-item,
    .testimonial-card {
        border-style: solid;
        border-width: 2px;
    }
}

/* Print */
@media print {
    .site-header,
    .cookie-banner,
    .age-gate-overlay,
    .back-to-top,
    .mobile-nav-drawer,
    .mobile-nav-overlay {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero-section {
        background: #fff;
        color: #000;
        padding-top: 20px;
    }
}
