/* ============================================
   RESET & BASE
   ============================================ */

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

:root {
    --primary: #333333;
    --secondary: #fffef5;
    --accent: #4a90d9;
    --accent-light: rgba(74, 144, 217, 0.1);
    --accent-mid: rgba(74, 144, 217, 0.25);
    --accent-strong: rgba(74, 144, 217, 0.6);
    --bg: #fffef5;
    --bg-alt: #f9f8f0;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #333333;
    --border-light: rgba(51, 51, 51, 0.2);
    --border-sketch: rgba(51, 51, 51, 0.5);
    --error: #d94a4a;
    --success: #4a9d5a;
    --shadow-sketch: 3px 3px 0px rgba(51, 51, 51, 0.1);
    --shadow-sketch-hover: 5px 5px 0px rgba(51, 51, 51, 0.15);
    --radius-sketch: 4px;
    --font-hand: 'Caveat', cursive;
    --font-body: 'Patrick Hand', cursive;
    --font-alt: 'Architects Daughter', cursive;
    --transition: 0.3s ease;
    --notebook-line: repeating-linear-gradient(
        transparent,
        transparent 27px,
        rgba(74, 144, 217, 0.08) 27px,
        rgba(74, 144, 217, 0.08) 28px
    );
    --notebook-margin: linear-gradient(
        90deg,
        transparent 59px,
        rgba(217, 74, 74, 0.15) 59px,
        rgba(217, 74, 74, 0.15) 61px,
        transparent 61px
    );
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--notebook-line);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

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

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-hand);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

p {
    margin-bottom: 0.75rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================
   SKETCH / LOFI UTILITIES
   ============================================ */

.sketch-box {
    border: 2px solid var(--border);
    border-radius: var(--radius-sketch);
    background: var(--secondary);
    box-shadow: var(--shadow-sketch);
    position: relative;
    transition: box-shadow var(--transition), transform var(--transition);
}

.sketch-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid transparent;
    border-radius: calc(var(--radius-sketch) + 1px);
    background: none;
    pointer-events: none;
}

.sketch-box:hover {
    box-shadow: var(--shadow-sketch-hover);
    transform: translate(-1px, -1px);
}

.sketch-box-small {
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sketch);
    background: var(--secondary);
    padding: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.sketch-box-small:hover {
    border-color: var(--accent);
    box-shadow: 2px 2px 0 var(--accent-light);
}

.sketch-underline {
    position: relative;
    display: inline-block;
}

.sketch-underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: -5%;
    width: 110%;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='8' viewBox='0 0 200 8'%3E%3Cpath d='M0 5 Q25 1 50 4 Q75 7 100 4 Q125 1 150 4 Q175 7 200 3' stroke='%234a90d9' stroke-width='2.5' fill='none' stroke-linecap='round' opacity='0.5'/%3E%3C/svg%3E") repeat-x;
    background-size: 200px 8px;
}

.sketch-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1.5px dashed var(--accent);
    border-radius: 20px;
    background: var(--accent-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent);
}

.sketch-circle-number {
    width: 48px;
    height: 48px;
    border: 2.5px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-hand);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--secondary);
    position: relative;
    z-index: 2;
}

/* Wavy border effect using SVG filter */
.wavy-border {
    filter: url(#wavy);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--secondary);
    border-top: 2.5px solid var(--primary);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 1.25rem 1.5rem;
    font-family: var(--font-body);
    animation: slideUpCookie 0.5s ease forwards;
}

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

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cookie-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-prefs {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-light);
}

.pref-item {
    margin-bottom: 8px;
}

.pref-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.pref-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

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

.btn-sketch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sketch);
    font-family: var(--font-hand);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    background: var(--secondary);
    color: var(--primary);
}

.btn-sketch:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(51,51,51,0.15);
}

.btn-sketch:active {
    transform: translate(0, 0);
    box-shadow: none;
}

.btn-primary-sketch {
    background: var(--accent);
    color: var(--secondary);
    border-color: var(--accent);
}

.btn-primary-sketch:hover {
    background: #3a7bc0;
    border-color: #3a7bc0;
    color: var(--secondary);
}

.btn-secondary-sketch {
    background: transparent;
    border-style: dashed;
}

.btn-secondary-sketch:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-accept {
    background: var(--accent);
    color: var(--secondary);
    border-color: var(--accent);
}

.btn-accept:hover {
    background: #3a7bc0;
}

.btn-reject {
    background: transparent;
    border-style: dashed;
}

.btn-settings {
    background: transparent;
    border-style: dotted;
    font-size: 0.9rem;
}

/* ============================================
   AGE MODAL
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    max-width: 440px;
    width: 100%;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.modal-box h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.modal-box p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.modal-box .small-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.modal-doodle-top {
    margin-bottom: 0.5rem;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: rgba(255, 254, 245, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--border-light);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-bottom-color: var(--border-sketch);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-text {
    font-family: var(--font-hand);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
    border-radius: 2px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 18px !important;
    border: 2px solid var(--accent) !important;
    border-radius: var(--radius-sketch) !important;
    color: var(--accent) !important;
    font-family: var(--font-hand) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
    color: var(--secondary) !important;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 1.5rem 60px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    overflow: hidden;
}

.hero-notebook-lines {
    position: absolute;
    top: 0;
    left: 60px;
    width: 2px;
    height: 100%;
    background: rgba(217, 74, 74, 0.12);
    pointer-events: none;
    z-index: 0;
}

.hero-doodles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.doodle {
    position: absolute;
    opacity: 0;
    animation: doodleFadeIn 0.8s ease forwards;
}

.doodle-1 {
    top: 15%;
    right: 8%;
    animation-delay: 0.5s;
    animation-name: doodleFloat1;
}

.doodle-2 {
    top: 25%;
    left: 5%;
    animation-delay: 0.8s;
    animation-name: doodleFloat2;
}

.doodle-3 {
    bottom: 20%;
    right: 5%;
    animation-delay: 1.1s;
}

.doodle-4 {
    top: 10%;
    left: 30%;
    animation-delay: 1.4s;
}

.doodle-5 {
    bottom: 30%;
    left: 8%;
    animation-delay: 1.7s;
}

@keyframes doodleFadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes doodleFloat1 {
    0%, 100% { opacity: 1; transform: translateY(0) rotate(0deg); }
    50% { opacity: 1; transform: translateY(-8px) rotate(5deg); }
}

@keyframes doodleFloat2 {
    0%, 100% { opacity: 1; transform: translateY(0) rotate(0deg); }
    50% { opacity: 1; transform: translateY(6px) rotate(-3deg); }
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-badge {
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.6s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.title-line {
    display: block;
    opacity: 0;
    animation: titleReveal 0.7s ease forwards;
}

.title-line-1 { animation-delay: 0.3s; }
.title-line-2 { animation-delay: 0.5s; }
.title-line-3 { animation-delay: 0.7s; }

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

.highlight-sketch {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.highlight-sketch::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -4px;
    right: -4px;
    height: 35%;
    background: var(--accent-light);
    border-radius: 3px;
    z-index: -1;
    transform: rotate(-1deg);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 480px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.9s;
}

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

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 1.1s;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 1.3s;
}

.stat-item {
    text-align: center;
    padding: 0.75rem 1rem;
}

.stat-number {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
    display: block;
}

/* Phone Mockup */
.hero-phone-mockup {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: phoneSlideIn 0.8s ease forwards;
    animation-delay: 0.6s;
}

@keyframes phoneSlideIn {
    from { opacity: 0; transform: translateY(30px) rotate(3deg); }
    to { opacity: 1; transform: translateY(0) rotate(2deg); }
}

.phone-frame {
    width: 240px;
    height: 460px;
    padding: 12px;
    border-width: 3px;
    border-radius: 24px;
    position: relative;
    transform: rotate(2deg);
}

.phone-frame:hover {
    transform: rotate(0deg) translate(-2px, -2px);
}

.phone-notch {
    width: 80px;
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    margin: 0 auto 8px;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 14px);
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
}

.screen-sketch-ui {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sketch-header-bar {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border-light);
}

.sketch-dots {
    display: flex;
    gap: 4px;
}

.sketch-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
}

.sketch-dots span:first-child { background: var(--error); border-color: var(--error); }
.sketch-dots span:nth-child(2) { background: #d9c34a; border-color: #d9c34a; }
.sketch-dots span:nth-child(3) { background: var(--success); border-color: var(--success); }

.sketch-title-bar {
    width: 50px;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
}

.sketch-game-area {
    flex: 1;
    position: relative;
}

.collectible-anim {
    animation: collectPulse 2s ease-in-out infinite;
}

.collectible-anim.c2 {
    animation-delay: 0.7s;
}

.collectible-anim.c3 {
    animation-delay: 1.4s;
}

@keyframes collectPulse {
    0%, 100% { r: 6; opacity: 1; }
    50% { r: 8; opacity: 0.7; }
}

.sketch-bottom-bar {
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 12px;
    border-top: 1px dashed var(--border-light);
}

.sketch-btn-left,
.sketch-btn-center,
.sketch-btn-right {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--border-light);
    border-radius: 50%;
}

.sketch-btn-center {
    width: 42px;
    height: 42px;
    border-color: var(--accent);
    background: var(--accent-light);
}

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

.ticker-section {
    position: relative;
    z-index: 2;
    border-top: 1.5px dashed var(--border-light);
    border-bottom: 1.5px dashed var(--border-light);
    background: var(--bg-alt);
    overflow: hidden;
    padding: 12px 0;
}

.ticker-wrapper {
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 3rem;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

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

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

/* ============================================
   SECTIONS (GENERAL)
   ============================================ */

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.section-doodle-left {
    position: absolute;
    left: -20px;
    top: -10px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.about-card {
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.about-card h3 {
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.card-icon-wrap {
    display: flex;
    justify-content: center;
}

/* ============================================
   FEATURES / HOW IT WORKS
   ============================================ */

.features-section {
    padding: 5rem 0;
    background: var(--bg-alt);
    position: relative;
    z-index: 2;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='3' viewBox='0 0 400 3'%3E%3Cpath d='M0 1.5 Q50 0 100 1.5 Q150 3 200 1.5 Q250 0 300 1.5 Q350 3 400 1.5' stroke='%23333' stroke-width='1' fill='none' opacity='0.15'/%3E%3C/svg%3E") repeat-x;
}

.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.step-connector {
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 20px;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 1rem;
}

.step-card .step-number {
    margin: 0 auto 1rem;
}

.step-card .step-icon {
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

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

.showcase-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.showcase-card {
    padding: 1.5rem;
    overflow: hidden;
}

.showcase-card.large-card {
    grid-column: 1 / -1;
}

.showcase-visual {
    border: 1.5px dashed var(--border-light);
    border-radius: var(--radius-sketch);
    background: var(--bg-alt);
    margin-bottom: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.showcase-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.showcase-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

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

.community-section {
    padding: 5rem 0;
    background: var(--bg-alt);
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    padding: 1.75rem 1.5rem;
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

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

.testimonial-author strong {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.1rem;
}

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

.sketch-avatar {
    flex-shrink: 0;
}

/* Live Counter */
.live-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    animation: livePulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 157, 90, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(74, 157, 90, 0); }
}

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

.trust-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.trust-item svg {
    margin-bottom: 0.75rem;
}

.trust-item h4 {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.faq-section {
    padding: 5rem 0;
    background: var(--bg-alt);
    position: relative;
    z-index: 2;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-hand);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    transition: color var(--transition);
}

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

.faq-arrow {
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-style: dashed;
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */

.registration-section {
    padding: 5rem 0 6rem;
    position: relative;
    z-index: 2;
}

.reg-doodle {
    margin-bottom: 0.5rem;
}

.form-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.signup-form {
    padding: 2.5rem 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sketch);
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
    outline: none;
}

.form-group input.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(217, 74, 74, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
    font-family: var(--font-body);
}

.optional {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.field-error {
    display: block;
    font-size: 0.85rem;
    color: var(--error);
    margin-top: 4px;
    min-height: 1em;
    font-family: var(--font-body);
}

/* Checkbox styling */
.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.4;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-checkbox a {
    text-decoration: underline;
    text-decoration-style: dashed;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

/* Success / Error Messages */
.form-success {
    padding: 3rem 2rem;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.form-success h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin: 1rem 0 0.5rem;
}

.form-success p {
    font-size: 1rem;
    color: var(--text-light);
}

.success-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.form-error-msg {
    padding: 2.5rem 2rem;
    text-align: center;
    border-color: var(--error);
    animation: fadeInUp 0.5s ease;
}

.form-error-msg h3 {
    font-size: 1.5rem;
    color: var(--error);
    margin: 0.75rem 0 0.5rem;
}

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

.footer {
    background: var(--primary);
    color: var(--secondary);
    padding: 3rem 0 0;
    position: relative;
    z-index: 2;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='4' viewBox='0 0 400 4'%3E%3Cpath d='M0 2 Q50 0 100 2 Q150 4 200 2 Q250 0 300 2 Q350 4 400 2' stroke='%234a90d9' stroke-width='2' fill='none'/%3E%3C/svg%3E") repeat-x;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed rgba(255,254,245,0.2);
}

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

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255,254,245,0.7);
    margin-top: 0.75rem;
    line-height: 1.5;
}

.footer-links-group h4 {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-links-group a {
    color: rgba(255,254,245,0.7);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-support-note {
    font-size: 0.8rem;
    color: rgba(255,254,245,0.5);
    margin-top: 0.25rem;
    font-style: italic;
}

.footer-responsible {
    text-align: center;
    padding: 1.25rem 0;
    border-bottom: 1px dashed rgba(255,254,245,0.2);
    font-size: 0.85rem;
    color: rgba(255,254,245,0.6);
}

.footer-bottom {
    text-align: center;
    padding: 1.25rem 0;
    font-size: 0.8rem;
    color: rgba(255,254,245,0.5);
}

.footer-bottom p {
    margin-bottom: 0.25rem;
}

.footer-address {
    font-size: 0.75rem;
    color: rgba(255,254,245,0.4);
}

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

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 1.5rem 4rem;
    position: relative;
    z-index: 2;
}

.legal-content .legal-box {
    background: var(--secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sketch);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sketch);
}

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
    text-align: center;
}

.legal-content .legal-date {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--border-light);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-style: dashed;
}

.legal-content strong {
    color: var(--primary);
}

.legal-content .contact-box {
    background: var(--accent-light);
    border: 1.5px dashed var(--accent);
    border-radius: var(--radius-sketch);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.legal-content .contact-box p {
    color: var(--text);
    margin-bottom: 0.3rem;
}

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

[data-reveal] {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-phone-mockup {
        margin-top: 1rem;
    }

    .hero-notebook-lines {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        gap: 1.5rem;
        border-left: 2px solid var(--border-light);
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        z-index: 99;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .steps-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }

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

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .phone-frame {
        width: 200px;
        height: 380px;
    }

    .signup-form {
        padding: 2rem 1.25rem;
    }

    .section-doodle-left {
        display: none;
    }

    .hero-doodles .doodle-3,
    .hero-doodles .doodle-4,
    .hero-doodles .doodle-5 {
        display: none;
    }
}

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

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .stat-item {
        width: 100%;
        max-width: 200px;
    }

    .btn-sketch {
        padding: 10px 16px;
        font-size: 0.95rem;
    }

    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
    }

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

    .modal-box {
        padding: 2rem 1.5rem;
    }

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

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

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

/* ============================================
   ACCESSIBILITY: REDUCED MOTION
   ============================================ */

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

    .ticker-track {
        animation: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .header,
    .cookie-banner,
    .modal-overlay,
    .ticker-section,
    .hero-doodles,
    .hero-phone-mockup {
        display: none !important;
    }

    body::before {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 2rem;
    }
}