:root {
    --sky: #eaf5ff;
    --sky-soft: #d8ecfd;
    --blue: #a9d8fb;
    --blue-mid: #7cc0f7;
    --blue-deep: #4f9fe8;
    --lavender: #e4e0fb;
    --peach: #ffe3d6;
    --mint: #dcf6e8;
    --pink: #ffe0ec;
    --white: #ffffff;
    --text: #35506b;
    --text-soft: #7391ac;
    --card-shadow: rgba(124, 192, 247, 0.18);
    --border-soft: var(--sky-soft);
}

:root[data-theme="dark"] {
    --sky: #141b2e;
    --sky-soft: #1d2740;
    --blue: #24344f;
    --blue-mid: #6fb3f2;
    --blue-deep: #8cc6ff;
    --lavender: #241f3d;
    --peach: #3a2a2f;
    --mint: #1c2f2a;
    --pink: #35202c;
    --white: #1a2338;
    --text: #eaf2fb;
    --text-soft: #9fb3cc;
    --card-shadow: rgba(0, 0, 0, 0.35);
    --border-soft: #2a3856;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text);
    background: linear-gradient(160deg, var(--sky) 0%, var(--white) 45%, var(--lavender) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    transition: background 0.5s ease, color 0.5s ease;
}

/* Sky layer */
.sky {
    position: fixed;
    inset: -20px;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.3s ease-out;
}

.cloud {
    position: absolute;
    font-size: 60px;
    opacity: 0.32;
    animation: drift 16s ease-in-out infinite;
}

.c1 { top: 6%; left: 6%; animation-delay: 0s; font-size: 72px; }
.c2 { top: 45%; right: 6%; animation-delay: -6s; font-size: 50px; }
.c3 { bottom: 6%; left: 12%; animation-delay: -11s; font-size: 42px; }
.c4 { top: 14%; right: 22%; animation-delay: -3s; font-size: 34px; opacity: 0.22; }

@keyframes drift {
    0%, 100% { transform: translateY(0) translateX(0) rotate(-2deg); }
    50% { transform: translateY(-18px) translateX(14px) rotate(2deg); }
}

.star {
    position: absolute;
    font-size: 20px;
    opacity: 0.5;
    animation: twinkle 3s ease-in-out infinite;
}

.s1 { top: 20%; left: 30%; animation-delay: 0s; }
.s2 { top: 35%; right: 18%; animation-delay: -1s; font-size: 14px; }
.s3 { bottom: 40%; left: 20%; animation-delay: -2s; font-size: 16px; }
.s4 { top: 10%; left: 60%; animation-delay: -0.5s; font-size: 22px; }
.s5 { bottom: 30%; right: 28%; animation-delay: -1.5s; font-size: 15px; }

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.85); }
    50% { opacity: 0.75; transform: scale(1.1); }
}

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1.in-view { transition-delay: 0.12s; }
.delay-2.in-view { transition-delay: 0.24s; }

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--white) 75%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--text);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.nav-chip {
    background: var(--white);
    border: 2px solid var(--border-soft);
    color: var(--blue-deep);
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 16px var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.nav-chip:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 22px var(--card-shadow);
}

.theme-toggle {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border-soft);
    box-shadow: 0 6px 16px var(--card-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px) rotate(-8deg) scale(1.05);
}

.theme-icon {
    position: absolute;
    font-size: 14px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.theme-icon.sun { opacity: 1; transform: scale(1) rotate(0deg); }
.theme-icon.moon { opacity: 0; transform: scale(0.4) rotate(-90deg); }

:root[data-theme="dark"] .theme-icon.sun { opacity: 0; transform: scale(0.4) rotate(90deg); }
:root[data-theme="dark"] .theme-icon.moon { opacity: 1; transform: scale(1) rotate(0deg); }

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 70px 24px 50px;
    text-align: center;
}

.mascot-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.mascot-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, color-mix(in srgb, var(--blue-mid) 45%, transparent), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}

.mascot {
    font-size: 58px;
    display: inline-block;
}

.bounce {
    animation: bounce 3s ease-in-out infinite;
}

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

.sparkle {
    position: absolute;
    font-size: 18px;
    animation: sparkle-float 2.6s ease-in-out infinite;
}

.spk1 { top: -6px; right: -14px; animation-delay: 0s; }
.spk2 { bottom: 0; left: -16px; font-size: 14px; animation-delay: -1.2s; }

@keyframes sparkle-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-8px) scale(1.25); opacity: 1; }
}

.hero h1 {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 44px;
    color: var(--text);
    margin-bottom: 8px;
}

.grad {
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    font-size: 16.5px;
    color: var(--text-soft);
    margin-bottom: 26px;
}

.hero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 46px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 2px solid var(--border-soft);
    color: var(--text);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13.5px;
    box-shadow: 0 6px 18px var(--card-shadow);
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #6fd19b;
    box-shadow: 0 0 0 4px rgba(111, 209, 155, 0.25);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(111, 209, 155, 0.25); }
    50% { box-shadow: 0 0 0 8px rgba(111, 209, 155, 0.12); }
}

.domain-chip {
    display: inline-block;
    background: var(--sky-soft);
    border-radius: 999px;
    padding: 9px 20px;
}

.domain-chip code {
    font-family: 'Quicksand', monospace;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--blue-deep);
}

.scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-soft);
    font-size: 11.5px;
    font-weight: 600;
}

.scroll-arrow {
    font-size: 16px;
    animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* Sections */
main {
    position: relative;
    z-index: 1;
}

.section-block {
    max-width: 980px;
    margin: 0 auto;
    padding: 70px 24px;
}

.section-title {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 30px;
    text-align: center;
    color: var(--text);
    margin-bottom: 10px;
}

.section-sub {
    text-align: center;
    font-size: 14.5px;
    color: var(--text-soft);
    max-width: 480px;
    margin: 0 auto 40px;
}

/* Stats */
.stats {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat {
    background: var(--white);
    border-radius: 22px;
    padding: 18px 10px;
    text-align: center;
    box-shadow: 0 8px 22px var(--card-shadow);
    transition: background 0.5s ease, transform 0.25s ease;
}

.stat:hover {
    transform: translateY(-4px);
}

.stat-num {
    display: block;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--blue-deep);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-soft);
    font-weight: 600;
}

/* Bubbles grid */
.bubbles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.bubble {
    background: var(--white);
    border-radius: 28px;
    padding: 24px 20px;
    box-shadow: 0 10px 26px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.5s ease;
}

.bubble:hover {
    transform: translateY(-6px) rotate(-1deg) scale(1.02);
    box-shadow: 0 16px 34px var(--card-shadow);
}

.bubble-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--sky-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin: 0 auto 10px;
    transition: background 0.5s ease;
}

.b2 .bubble-icon { background: var(--peach); }
.b3 .bubble-icon { background: var(--lavender); }
.b4 .bubble-icon { background: var(--blue); }
.b5 .bubble-icon { background: var(--mint); }
.b6 .bubble-icon { background: var(--pink); }

.bubble h3 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
    text-align: center;
}

.bubble p {
    font-size: 12.5px;
    color: var(--text-soft);
    line-height: 1.5;
    text-align: center;
}

/* Steps */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    background: var(--white);
    border-radius: 26px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 10px 26px var(--card-shadow);
    flex: 1;
    max-width: 240px;
    position: relative;
    transition: transform 0.3s ease, background 0.5s ease;
}

.step:hover {
    transform: translateY(-6px);
}

.step-num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
    color: white;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--card-shadow);
}

.step-icon {
    font-size: 30px;
    margin: 10px 0 12px;
}

.step h3 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.step p {
    font-size: 12px;
    color: var(--text-soft);
    line-height: 1.5;
}

.step-line {
    flex: 0 0 40px;
    align-self: center;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue-mid) 0 6px, transparent 6px 12px);
    opacity: 0.6;
    margin-top: -20px;
}

/* Thanks card */
.thanks-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--white), var(--sky-soft));
    border-radius: 28px;
    padding: 30px 26px;
    text-align: center;
    box-shadow: 0 10px 26px var(--card-shadow);
    max-width: 600px;
    margin: 0 auto;
}

.thanks-shine {
    position: absolute;
    top: -50%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: rotate(20deg);
    animation: shine 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -60%; }
    50% { left: 130%; }
    100% { left: 130%; }
}

.spin-slow {
    display: inline-block;
    animation: spin-slow 6s linear infinite;
}

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

.thanks-icon {
    font-size: 26px;
    margin-bottom: 8px;
}

.thanks-text {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
}

.gcore-chip {
    display: inline-block;
    background: var(--white);
    color: var(--blue-deep);
    font-weight: 700;
    text-decoration: none;
    padding: 3px 12px;
    border-radius: 999px;
    margin: 0 3px;
    box-shadow: 0 4px 10px var(--card-shadow);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gcore-chip:hover {
    background: var(--blue-deep);
    color: var(--white);
    transform: translateY(-1px);
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-soft);
    padding: 30px 24px 40px;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}

.footer-links {
    display: flex;
    gap: 18px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--blue-deep);
}

.footer-meta {
    font-size: 12px;
    color: var(--text-soft);
}

.heart {
    display: inline-block;
    animation: heartbeat 1.8s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 860px) {
    .bubbles {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step {
        max-width: 320px;
        width: 100%;
    }

    .step-line {
        display: none;
    }
}

@media (max-width: 600px) {
    .nav-right {
        gap: 10px;
    }

    .nav-link {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

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

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

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