@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@800&display=swap');

:root {
    --orange: #e65c00;
    --orange-light: #ff9933;
    --orange-soft: #fff2e6;
    --ink: #1a1a1a;
    --cream: #f8f6f3;
    --white: #ffffff;
    --green: #22c55e;
    --lime: #a1e935;
    --red: #ff3333;
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--cream);
    background-image: radial-gradient(rgba(230, 92, 0, 0.14) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    color: var(--ink);
    font-family: 'Outfit', sans-serif;
    line-height: 1.5;
}

/* ============================ NAVBAR ============================ */
.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 12px 12px 0;
    padding: 6px 20px;
    background: linear-gradient(135deg, #f26a10 0%, var(--orange) 100%);
    border: 3px solid #000000;
    border-radius: 20px;
    box-shadow: 5px 5px 0 #000000;
}

.navleft {
    display: flex;
    align-items: center;
    cursor: pointer;
}

#logo {
    height: 64px;
    width: auto;
    margin: 6px 10px 6px 0;
}

#sitename {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.nav-links a {
    padding: 8px 14px;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.22);
}

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

.nav-btn {
    padding: 8px 18px;
    border: 2px solid #000000;
    border-radius: 10px;
    font-family: 'Bangers', cursive;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000000;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-login {
    background: var(--white);
    color: var(--orange);
}

.nav-signup {
    background: #1a1a1a;
    color: var(--white);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 #000000;
}

.nav-btn:active {
    transform: translateY(1px);
    box-shadow: 1px 1px 0 #000000;
}

/* ============================ HERO ============================ */
.hero {
    max-width: 1250px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 50px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--white);
    border: 2px solid #000000;
    border-radius: 999px;
    box-shadow: 3px 3px 0 #000000;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    border: 1.5px solid #000000;
    animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    50%      { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}

.hero h1 {
    margin: 22px 0 18px;
    font-family: 'Bangers', cursive;
    font-size: clamp(3rem, 7vw, 5.6rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
    text-shadow: 4px 4px 0 var(--orange-light);
}

.hero h1 .line {
    display: block;
}

.hl {
    display: inline-block;
    padding: 0 14px;
    color: var(--white);
    background: var(--orange);
    border: 4px solid #000000;
    border-radius: 14px;
    box-shadow: 6px 6px 0 #000000;
    text-shadow: 3px 3px 0 #000000;
    transform: rotate(-1.5deg);
}

.hero-sub {
    max-width: 560px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #3a3a3a;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

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

.big-btn {
    padding: 14px 30px;
    border: 3px solid #000000;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 5px 5px 0 #000000;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.big-btn span {
    font-family: 'Bangers', cursive;
    font-size: 1.7rem;
    letter-spacing: 1.5px;
}

.big-btn.primary {
    background: var(--orange);
}

.big-btn.primary span {
    color: var(--white);
    -webkit-text-stroke: 1.2px #000000;
    text-shadow: 2px 2px 0 #000000;
}

.big-btn.ghost {
    background: var(--white);
}

.big-btn.ghost span {
    color: var(--orange);
}

.big-btn:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0 #000000;
}

.big-btn.primary:hover {
    background: #ff7a1a;
}

.big-btn:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 #000000;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 28px;
    list-style: none;
}

.hero-points li {
    font-weight: 700;
    font-size: 0.95rem;
}

.hero-points li::before {
    content: '\2713';
    display: inline-block;
    margin-right: 7px;
    width: 22px;
    height: 22px;
    line-height: 18px;
    text-align: center;
    color: var(--white);
    background: var(--orange);
    border: 2px solid #000000;
    border-radius: 50%;
    font-size: 0.75rem;
}

/* ---- Hero illustration: mock study room ---- */
.hero-visual {
    position: relative;
    padding: 20px;
}

.mock-room {
    padding: 14px;
    background: var(--white);
    border: 4px solid #000000;
    border-radius: 24px;
    box-shadow: 10px 10px 0 var(--orange);
    transform: rotate(1.5deg);
    animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
    0%, 100% { transform: rotate(1.5deg) translateY(0); }
    50%      { transform: rotate(1.5deg) translateY(-10px); }
}

.mock-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mock-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    background: var(--orange-soft);
    border: 2px solid #000000;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.mock-timer {
    padding: 3px 14px;
    background: var(--white);
    border: 2px solid #000000;
    border-radius: 999px;
    box-shadow: 2px 2px 0 #000000;
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    background: radial-gradient(circle at 30% 20%, #2b2b2b 0%, #151515 100%);
    border: 3px solid #000000;
    border-radius: 14px;
}

.mock-tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    border: 2px solid #444444;
    border-radius: 10px;
    overflow: hidden;
}

.mock-tile.t1 { background: linear-gradient(135deg, #5b3a1e, #2a1a0c); }
.mock-tile.t2 { background: linear-gradient(135deg, #1e3a5b, #0c1a2a); }
.mock-tile.t3 { background: linear-gradient(135deg, #3a1e5b, #1a0c2a); }
.mock-tile.t4 { background: linear-gradient(135deg, #1e5b3a, #0c2a1a); }

.avatar {
    font-size: 2.6rem;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5));
}

.mock-name {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 2px 9px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
}

.sticker {
    position: absolute;
    padding: 6px 14px;
    background: var(--lime);
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 3px 3px 0 #000000;
    font-family: 'Bangers', cursive;
    font-size: 1.15rem;
    letter-spacing: 1px;
    white-space: nowrap;
    animation: stickerBob 4s ease-in-out infinite;
}

.sticker.s-one {
    top: -4px;
    left: -6px;
    transform: rotate(-6deg);
}

.sticker.s-two {
    bottom: 0;
    right: -4px;
    background: var(--orange-light);
    transform: rotate(5deg);
    animation-delay: 1.5s;
}

@keyframes stickerBob {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -8px; }
}

/* ============================ QUICK FACTS ============================ */
.facts {
    max-width: 1000px;
    margin: 30px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
    background: var(--white);
    border: 3px solid #000000;
    border-radius: 16px;
    box-shadow: 4px 4px 0 #000000;
    text-align: center;
}

.fact strong {
    font-family: 'Bangers', cursive;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--orange);
    -webkit-text-stroke: 1px #000000;
}

.fact span {
    font-weight: 700;
    font-size: 0.9rem;
    color: #555555;
}

/* ============================ SECTIONS ============================ */
.section {
    max-width: 1150px;
    margin: 0 auto;
    padding: 80px 24px 20px;
}

.section.alt {
    max-width: none;
    margin-top: 60px;
    padding: 70px 24px 80px;
    background: var(--orange);
    border-top: 4px solid #000000;
    border-bottom: 4px solid #000000;
}

.section-title {
    text-align: center;
    font-family: 'Bangers', cursive;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 400;
    letter-spacing: 1.5px;
    text-shadow: 3px 3px 0 var(--orange-light);
}

.section.alt .section-title {
    color: var(--white);
    text-shadow: 3px 3px 0 #000000;
}

.section-title.left {
    text-align: left;
}

.section-sub {
    max-width: 560px;
    margin: 8px auto 40px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444444;
}

.section.alt .section-sub {
    color: var(--white);
}

/* ---- How it works ---- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.step-card {
    position: relative;
    padding: 38px 24px 26px;
    background: var(--white);
    border: 3px solid #000000;
    border-radius: 20px;
    box-shadow: 6px 6px 0 var(--orange);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-5px) rotate(-0.6deg);
    box-shadow: 9px 9px 0 var(--orange);
}

.step-num {
    position: absolute;
    top: -22px;
    left: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--lime);
    border: 3px solid #000000;
    border-radius: 50%;
    box-shadow: 3px 3px 0 #000000;
    font-family: 'Bangers', cursive;
    font-size: 1.7rem;
}

.step-card h3,
.feature-card h3 {
    margin-bottom: 8px;
    font-family: 'Bangers', cursive;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.step-card p,
.feature-card p {
    font-weight: 500;
    color: #444444;
}

/* ---- Features ---- */
.feature-grid {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 24px;
    background: var(--white);
    border: 3px solid #000000;
    border-radius: 18px;
    box-shadow: 5px 5px 0 #000000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translate(-3px, -5px);
    box-shadow: 9px 10px 0 #000000;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    background: var(--orange-soft);
    border: 3px solid #000000;
    border-radius: 14px;
    font-size: 1.7rem;
}

/* ---- Safety ---- */
.safety-card {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    padding: 36px;
    background: var(--white);
    border: 4px solid #000000;
    border-radius: 24px;
    box-shadow: 8px 8px 0 var(--orange);
}

.safety-text > p {
    margin: 10px 0 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #444444;
}

.safety-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    list-style: none;
}

.safety-list li {
    padding-left: 30px;
    position: relative;
    font-weight: 600;
}

.safety-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    line-height: 18px;
    text-align: center;
    color: var(--white);
    background: var(--green);
    border: 2px solid #000000;
    border-radius: 50%;
    font-size: 0.75rem;
}

.safety-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 20px;
    background: var(--orange-soft);
    border: 3px dashed #000000;
    border-radius: 20px;
    text-align: center;
}

.safety-badge span {
    font-size: 4rem;
    animation: floatyIcon 3.5s ease-in-out infinite;
}

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

.safety-badge strong {
    font-family: 'Bangers', cursive;
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--orange);
    -webkit-text-stroke: 1px #000000;
}

/* ============================ FINAL CTA ============================ */
.final-cta {
    max-width: 1000px;
    margin: 80px auto 70px;
    padding: 50px 24px;
    text-align: center;
    background: #1a1a1a;
    border: 4px solid #000000;
    border-radius: 26px;
    box-shadow: 8px 8px 0 var(--orange);
    color: var(--white);
}

.final-cta h2 {
    font-family: 'Bangers', cursive;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--lime);
}

.final-cta p {
    margin-top: 6px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #dddddd;
}

.big-btn.light {
    box-shadow: 5px 5px 0 var(--orange);
}

.big-btn.light:hover {
    box-shadow: 8px 8px 0 var(--orange);
}

/* ============================ FOOTER ============================ */
.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 30px;
    padding: 22px 30px;
    background: var(--orange);
    border-top: 4px solid #000000;
    color: var(--white);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-logo {
    height: 38px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.footer-links a {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    flex-basis: 100%;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
}

/* ============================ SCROLL REVEAL ============================ */
/* Content is always visible; it only animates in when JavaScript is running */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.visible {
    opacity: 1;
    transform: none;
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 40px;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
    }

    .nav-links {
        display: none;
    }

    .steps,
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .safety-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    #logo {
        height: 48px;
    }

    #sitename {
        font-size: 1.6rem;
    }

    .navbar {
        padding: 4px 12px;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 1rem;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .big-btn {
        width: 100%;
    }

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

    .steps,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .safety-card {
        padding: 24px 18px;
    }

    .section {
        padding-top: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
