/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary: #333333;
    --secondary: #fffef5;
    --accent: #4a90d9;
    --accent-light: rgba(74, 144, 217, 0.1);
    --accent-lighter: rgba(74, 144, 217, 0.05);
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg: #fffef5;
    --bg-alt: #f8f7f0;
    --bg-dark: #2a2a2a;
    --border: #d0cfc8;
    --border-light: #e8e7e0;
    --success: #4caf50;
    --error: #e74c3c;
    --warning: #f39c12;
    --shadow-sketch: 3px 3px 0px rgba(0,0,0,0.08);
    --shadow-sketch-hover: 5px 5px 0px rgba(0,0,0,0.12);
    --font-hand: 'Caveat', cursive;
    --font-hand-alt: 'Patrick Hand', cursive;
    --font-body: 'Architects Daughter', cursive;
    --radius-sketch: 8px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

/* Notebook paper background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            transparent,
            transparent 31px,
            rgba(74, 144, 217, 0.06) 31px,
            rgba(74, 144, 217, 0.06) 32px
        );
    pointer-events: none;
    z-index: 0;
}

/* Margin line */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 60px;
    width: 2px;
    height: 100%;
    background: rgba(229, 100, 100, 0.08);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    body::after {
        left: 20px;
        opacity: 0.5;
    }
}

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

a:hover {
    color: #3a7bc0;
}

ul {
    list-style: none;
}

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

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    font-family: var(--font-hand-alt);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes wobble {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

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

@keyframes scribble {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 144, 217, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(74, 144, 217, 0); }
}

@keyframes notifSlide {
    0% { transform: translateX(120%); opacity: 0; }
    10% { transform: translateX(0); opacity: 1; }
    90% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

@keyframes sketchDraw {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--secondary);
    border-top: 2px dashed var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 20px;
    animation: fadeInUp 0.5s ease;
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.cookie-icon {
    font-size: 1.8rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-title {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.cookie-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

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

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

.btn-cookie {
    font-family: var(--font-hand-alt);
    font-size: 0.95rem;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sketch);
    cursor: pointer;
    transition: all var(--transition);
    background: transparent;
    color: var(--primary);
}

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

.btn-cookie-accept:hover {
    background: #3a7bc0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sketch);
}

.btn-cookie-essential:hover,
.btn-cookie-settings:hover {
    background: var(--bg-alt);
    transform: translateY(-2px);
}

.cookie-settings-panel {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    font-family: var(--font-hand-alt);
    font-size: 0.95rem;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    width: 44px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    position: relative;
    transition: background var(--transition);
    flex-shrink: 0;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform var(--transition);
}

.cookie-toggle input:checked + .toggle-slider {
    background: var(--accent);
}

.cookie-toggle input:checked + .toggle-slider::after {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .toggle-slider {
    opacity: 0.6;
}

/* ============================================
   AGE VERIFICATION MODAL
   ============================================ */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-modal-content {
    max-width: 480px;
    width: 100%;
    animation: bounceIn 0.5s ease;
}

.age-modal-sketch-border {
    background: var(--secondary);
    border: 3px solid var(--primary);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.15);
}

.age-icon-wrapper {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.age-modal-sketch-border h2 {
    font-family: var(--font-hand);
    margin-bottom: 10px;
}

.age-modal-sketch-border p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-age-yes {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    font-size: 1.1rem;
    padding: 12px 30px;
}

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

.btn-age-no {
    background: transparent;
    color: var(--text-light);
    border-color: var(--border);
    font-size: 1.1rem;
    padding: 12px 30px;
}

.btn-age-no:hover {
    background: var(--bg-alt);
}

.age-note {
    font-size: 0.8rem !important;
    color: var(--text-lighter) !important;
    margin-bottom: 0 !important;
}

.age-note i {
    color: var(--accent);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 254, 245, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px dashed var(--border);
    transition: all var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-hand);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-link {
    font-family: var(--font-hand-alt);
    font-size: 1rem;
    color: var(--text-light);
    padding: 8px 14px;
    border-radius: var(--radius-sketch);
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: var(--accent-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.nav-cta {
    background: var(--accent) !important;
    color: white !important;
    border: 2px solid var(--accent);
    font-weight: 600;
}

.nav-cta:hover {
    background: #3a7bc0 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sketch);
}

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

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

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

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

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

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 5px;
        align-items: stretch;
        border-left: 2px dashed var(--border);
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }

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

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 14px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 30px 40px;
    position: relative;
    overflow: hidden;
}

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

.doodle-corner {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.doodle-corner-tl {
    top: 100px;
    left: 30px;
}

.doodle-corner-br {
    bottom: 80px;
    right: 30px;
}

.hero-content {
    max-width: var(--max-width);
    width: 100%;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 20px;
    align-items: center;
}

.hero-badge {
    grid-column: 1;
    position: relative;
    display: inline-flex;
    align-items: center;
    animation: fadeInUp 0.6s ease;
}

.badge-squiggle {
    position: absolute;
    bottom: -5px;
    left: 0;
    opacity: 0.3;
}

.hero-badge span {
    font-family: var(--font-hand-alt);
    font-size: 1rem;
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1.5px dashed var(--accent);
}

.hero-badge span i {
    margin-right: 5px;
}

.hero-title {
    grid-column: 1;
    font-family: var(--font-hand);
    animation: fadeInUp 0.6s ease 0.1s both;
    position: relative;
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--accent);
    position: relative;
}

.title-underline-svg {
    display: block;
    width: 80%;
    max-width: 400px;
    margin-top: -5px;
}

.hero-desc {
    grid-column: 1;
    font-size: 1.2rem;
    max-width: 520px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    grid-column: 1;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-phone-doodle {
    grid-column: 2;
    grid-row: 1 / 5;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.phone-sketch {
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.08));
}

.phone-label {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--accent);
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-phone-doodle {
        grid-column: 1;
        grid-row: auto;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

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

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

    .title-underline-svg {
        margin-left: auto;
        margin-right: auto;
    }

    .phone-sketch {
        width: 160px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-phone-doodle {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-sketch {
    font-family: var(--font-hand-alt);
    font-size: 1.05rem;
    padding: 12px 28px;
    border: 2.5px solid var(--primary);
    border-radius: var(--radius-sketch);
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    background: transparent;
    color: var(--primary);
}

.btn-sketch:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sketch-hover);
}

.btn-primary-sketch {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    font-weight: 600;
}

.btn-primary-sketch:hover {
    background: #3a7bc0;
    color: white;
}

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

.btn-secondary-sketch:hover {
    background: var(--bg-alt);
}

/* ============================================
   LIVE COUNTER STRIP
   ============================================ */
.live-counter-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
    background: var(--bg-alt);
    border: 2px dashed var(--border);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.counter-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.counter-item i {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.counter-number {
    font-family: var(--font-hand);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.counter-label {
    font-family: var(--font-hand-alt);
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.counter-divider {
    opacity: 0.3;
}

@media (max-width: 600px) {
    .live-counter-strip {
        gap: 20px;
    }
    .counter-divider {
        display: none;
    }
    .counter-number {
        font-size: 1.8rem;
    }
}

/* ============================================
   SOCIAL PROOF TICKER
   ============================================ */
.social-proof-ticker {
    overflow: hidden;
    background: var(--accent);
    padding: 10px 0;
    position: relative;
    z-index: 2;
}

.ticker-track {
    display: flex;
    animation: tickerScroll 40s linear infinite;
    width: max-content;
}

.ticker-item {
    white-space: nowrap;
    padding: 0 40px;
    font-family: var(--font-hand-alt);
    font-size: 0.9rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-item i {
    opacity: 0.8;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 30px;
    position: relative;
    z-index: 2;
}

.section:nth-child(even) {
    background: var(--bg-alt);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.section-number {
    font-family: var(--font-hand);
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.2;
    display: block;
    line-height: 1;
    margin-bottom: -10px;
}

.section-title {
    margin-bottom: 8px;
}

.title-squiggle {
    margin: 0 auto 15px;
    display: block;
}

.section-subtitle {
    font-family: var(--font-hand-alt);
    font-size: 1.1rem;
    color: var(--text-lighter);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text-block {
    animation: slideInLeft 0.6s ease;
}

.about-lead {
    font-family: var(--font-hand);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.about-text-block p {
    margin-bottom: 12px;
}

.about-sketch-card {
    position: relative;
    padding: 30px;
    animation: slideInRight 0.6s ease;
}

.sketch-card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sketch-card-inner {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 10px;
}

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

.sketch-stat-num {
    font-family: var(--font-hand);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.sketch-stat-suffix {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--accent);
}

.sketch-stat-label {
    display: block;
    font-family: var(--font-hand-alt);
    font-size: 0.95rem;
    color: var(--text-lighter);
    margin-top: 4px;
}

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

/* Values Row */
.values-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: var(--secondary);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-light), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-5px) rotate(-1deg);
    box-shadow: var(--shadow-sketch-hover);
}

.value-icon-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.value-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.value-card p {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

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

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 25px;
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    background: var(--secondary);
    transition: all var(--transition);
    position: relative;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px) rotate(0.5deg);
    box-shadow: var(--shadow-sketch);
}

.feature-card-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 35px;
    background: linear-gradient(135deg, var(--secondary), var(--accent-lighter));
    border-color: var(--accent);
    border-style: solid;
}

.feature-card-large .feature-sketch-icon svg {
    width: 80px;
    height: 80px;
}

.feature-card-large h3 {
    font-size: 1.6rem;
}

.feature-card-large p {
    font-size: 1.1rem;
}

.feature-sketch-icon {
    margin-bottom: 12px;
}

.feature-card h3 {
    font-family: var(--font-hand);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95rem;
}

.feature-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: var(--font-hand-alt);
    font-size: 0.8rem;
    background: var(--accent);
    color: white;
    padding: 3px 12px;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card-large {
        grid-column: 1;
    }
}

/* Doodle Separator */
.doodle-separator {
    margin-top: 50px;
    opacity: 0.5;
}

/* ============================================
   STEPS SECTION
   ============================================ */
.steps-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
    max-width: 250px;
    flex: 1;
    min-width: 200px;
    position: relative;
}

.step-number-circle {
    margin-bottom: 15px;
}

.step-connector {
    position: absolute;
    top: 35px;
    right: -55px;
    z-index: 1;
}

.step-connector-hidden {
    display: none;
}

.step-item h3 {
    margin-bottom: 8px;
}

.step-item p {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .steps-timeline {
        flex-direction: column;
        align-items: center;
    }
    .step-connector {
        display: none;
    }
}

/* ============================================
   TESTIMONIALS / COMMUNITY
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

.testimonial-card {
    padding: 25px;
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: var(--secondary);
    position: relative;
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px) rotate(-0.5deg);
    box-shadow: var(--shadow-sketch);
}

.testimonial-card-featured {
    border-color: var(--accent);
    border-style: solid;
    background: linear-gradient(135deg, var(--secondary), var(--accent-lighter));
    transform: scale(1.03);
}

.testimonial-card-featured:hover {
    transform: scale(1.03) translateY(-3px) rotate(-0.5deg);
}

.testimonial-sketch-quote {
    margin-bottom: 5px;
}

.testimonial-text {
    font-family: var(--font-hand);
    font-size: 1.15rem;
    color: var(--primary);
    line-height: 1.5;
    margin-bottom: 15px;
}

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

.author-name {
    font-family: var(--font-hand);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    display: block;
}

.author-loc {
    font-family: var(--font-hand-alt);
    font-size: 0.85rem;
    color: var(--text-lighter);
    display: block;
}

.testimonial-stars {
    color: var(--warning);
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .testimonial-card-featured {
        transform: none;
    }
    .testimonial-card-featured:hover {
        transform: translateY(-3px);
    }
}

/* Live Notification */
.live-notification {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    animation: notifSlide 5s ease forwards;
}

.notif-inner {
    background: var(--secondary);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
    max-width: 300px;
}

.notif-icon {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notif-text {
    font-family: var(--font-hand-alt);
    font-size: 0.9rem;
    color: var(--text);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 8px;
    border: 2px dashed var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    background: var(--secondary);
    transition: all var(--transition);
}

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

.faq-item.active {
    border-color: var(--accent);
    border-style: solid;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-hand);
    font-size: 1.15rem;
    color: var(--primary);
    text-align: left;
    transition: all var(--transition);
}

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

.faq-icon {
    color: var(--accent);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 22px 18px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
}

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

/* ============================================
   REGISTRATION FORM
   ============================================ */
.register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.register-info {
    padding: 20px 0;
}

.register-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-family: var(--font-hand-alt);
    font-size: 1.05rem;
    color: var(--primary);
}

.register-benefit i {
    color: var(--accent);
    font-size: 1.2rem;
}

.register-spots {
    margin-top: 30px;
    padding: 20px;
    border: 2px dashed var(--border);
    border-radius: 10px;
    background: var(--bg-alt);
}

.spots-bar {
    width: 100%;
    height: 12px;
    background: var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.spots-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #3a7bc0);
    border-radius: 6px;
    width: 0%;
    transition: width 2s ease;
}

.spots-text {
    font-family: var(--font-hand-alt);
    font-size: 0.9rem;
    color: var(--text-light);
}

.register-form {
    position: relative;
}

.form-sketch-border {
    position: relative;
    padding: 30px;
}

.form-border-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.form-inner {
    position: relative;
    z-index: 1;
}

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

.form-label {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-label i {
    color: var(--accent);
    margin-right: 4px;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-hand-alt);
    font-size: 1rem;
    color: var(--primary);
    background: var(--secondary);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sketch);
    outline: none;
    transition: all var(--transition);
}

.form-input::placeholder {
    color: var(--text-lighter);
}

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

.form-input.error {
    border-color: var(--error);
    border-style: solid;
}

.form-error {
    display: block;
    font-family: var(--font-hand-alt);
    font-size: 0.85rem;
    color: var(--error);
    margin-top: 4px;
    min-height: 0;
}

.form-checkbox-group {
    margin-bottom: 12px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: var(--font-hand-alt);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.form-checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all var(--transition);
    margin-top: 2px;
}

.form-checkbox-label input:checked + .checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.form-checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.required-star {
    color: var(--error);
}

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

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1.15rem;
    padding: 14px 28px;
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    font-weight: 600;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #3a7bc0;
    color: white;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.form-note {
    text-align: center;
    font-size: 0.85rem !important;
    color: var(--text-lighter) !important;
    margin-top: 12px;
}

.form-note i {
    color: var(--accent);
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: bounceIn 0.6s ease;
}

.success-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.success-inner h3 {
    color: var(--accent);
    font-size: 1.6rem;
}

.success-inner p {
    font-size: 1.05rem;
    max-width: 400px;
}

@media (max-width: 900px) {
    .register-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-card {
    padding: 25px;
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    background: var(--secondary);
    text-align: center;
    transition: all var(--transition);
}

.trust-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sketch);
}

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

.trust-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.9rem;
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: #ccc;
    position: relative;
    z-index: 2;
}

.footer-doodle-top {
    position: relative;
    top: -1px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 50px 30px 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo span {
    font-family: var(--font-hand);
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.footer-desc {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px dashed #555;
    border-radius: 8px;
    color: #aaa;
    transition: all var(--transition);
    font-size: 0.9rem;
}

.social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: white;
    margin-bottom: 15px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-col a {
    font-family: var(--font-hand-alt);
    font-size: 0.9rem;
    color: #aaa;
    transition: color var(--transition);
}

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

.footer-contact-list li {
    font-family: var(--font-hand-alt);
    font-size: 0.85rem;
    color: #aaa;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact-list i {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px dashed #444;
    padding-top: 20px;
}

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

.footer-bottom p {
    font-family: var(--font-hand-alt);
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 5px;
}

.footer-age-notice {
    color: var(--warning) !important;
}

.footer-age-notice i {
    margin-right: 4px;
}

.footer-company-info {
    font-size: 0.8rem !important;
    color: #555 !important;
}

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

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

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 120px 30px 60px;
    position: relative;
    z-index: 2;
}

.legal-content .legal-paper {
    background: white;
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: var(--shadow-sketch);
}

.legal-content h1 {
    font-family: var(--font-hand);
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.legal-content .legal-updated {
    font-family: var(--font-hand-alt);
    font-size: 0.9rem;
    color: var(--text-lighter);
    margin-bottom: 30px;
    display: block;
}

.legal-content h2 {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--primary);
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border);
}

.legal-content h3 {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--primary);
}

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

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

.legal-content li {
    font-family: var(--font-hand-alt);
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 6px;
    line-height: 1.6;
}

.legal-content ul li {
    list-style-type: disc;
}

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

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

.legal-content .legal-highlight {
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    padding: 12px 18px;
    border-radius: 0 8px 8px 0;
    margin: 15px 0;
}

.legal-content .legal-highlight p {
    margin-bottom: 0;
    color: var(--primary);
}

.legal-content .contact-box {
    background: var(--bg-alt);
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.legal-content .contact-box p {
    margin-bottom: 4px;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: white;
    border: 2px solid var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-sketch);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sketch-hover);
}

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

@media (max-width: 480px) {
    .section {
        padding: 50px 20px;
    }

    .hero {
        padding: 100px 20px 30px;
    }

    .nav-container {
        padding: 12px 20px;
    }

    .live-counter-strip {
        padding: 20px;
    }

    .form-sketch-border {
        padding: 20px 15px;
    }

    .legal-content .legal-paper {
        padding: 25px 18px;
    }
}

/* Wavy/sketchy border effect utility */
.sketch-border-wavy {
    border: none;
    position: relative;
}

.sketch-border-wavy::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect x='2' y='2' width='96' height='96' rx='10' fill='none' stroke='%23333' stroke-width='2' stroke-dasharray='8,4'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
    z-index: -1;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* 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 !important;
    }
    .hero-phone-doodle {
        animation: none !important;
    }
}
