@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {

    --bodydarkblue: #090e1a;
    --cardblue: #16213c;
    --border-soft: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);

    --text: #f3f6fb;
    --text-dim: rgba(243, 246, 251, 0.72);
    --text-faint: rgba(243, 246, 251, 0.48);

    --btnblue: #38bdf8;
    --logoblue: #00d4ff;
    --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #22d3ee 55%, #00d4ff 100%);

    --success: #22c55e;
    --alarmred: #eb0049;

    --radius-sm: 0.6rem;
    --radius-lg: 1.5rem;
    --radius-pill: 999px;
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
    --shadow-glow: 0 8px 30px rgba(56, 189, 248, 0.35);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --fast: 0.2s;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-display: 'Sora', var(--font-body);

    --maxwidth: 1180px;
    --nav-h: 6.5rem;          /* fix navbar height on desktop -> hero = viewport - navbar */
    --section-pad: 5rem;
}

/* RESET */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bodydarkblue);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, picture, video {
    display: block;
    max-width: 100%;
    user-select: none;
    pointer-events: none;
}

h1, h2, h3 {
    line-height: 1.1;
    font-family: var(--font-display);
    font-weight: 800;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: opacity var(--fast) var(--ease), color var(--fast) var(--ease);
}

a:hover {
    opacity: 0.8;
}

button {
    border: none;
    cursor: pointer;
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--btnblue);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* -----------------------------------------------------------------*/
/* -------------------------- WRAPPER --------------------------*/
/* -----------------------------------------------------------------*/

.site-wrapper {
    width: 100%;
    min-height: 100vh;
    background: var(--bodydarkblue);
}

.site-header,
main > section,
.site-footer {
    max-width: var(--maxwidth);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* -----------------------------------------------------------------*/
/* -------------------------- NAVBAR --------------------------*/
/* -----------------------------------------------------------------*/

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--logoblue);
}

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

.nav-register {
    padding: 0.75rem 1.3rem;
    border-radius: var(--radius-pill);
    background: var(--gradient-brand);
    color: var(--bodydarkblue);
    font-weight: 700;
    font-size: 0.9rem;
    transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.nav-register:hover {
    opacity: 1;
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

/* -----------------------------------------------------------------*/
/* -------------------------- HERO --------------------------*/
/* -----------------------------------------------------------------*/

.hero-section {
    position: relative;
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vh, 3.5rem) 1.5rem;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(99, 179, 255, 0.10) 0%,
        rgba(99, 179, 255, 0) 70%
    );
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-copy h1 {
    max-width: 950px;
    margin: 0 auto;
    font-size: clamp(2.5rem, 4.2vw, 4.2rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.warmup-text {
    display: block;
    font-size: 0.65em;
    line-height: 1.12;
    margin-bottom: 0.2em;
}

.grad-text {
    display: block;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    line-height: 1.2;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-wrap: balance;
}

.hero-description {
    max-width: 700px;
    margin: 1.8rem auto 0;
    font-size: clamp(0.95rem, 1.1vw, 1.08rem);
    line-height: 1.8;
    color: var(--text-dim);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.3rem;
}

.cta-btn {
    max-width: 380px;
    padding: 1.05rem 1.6rem;
    border-radius: var(--radius-pill);
    background: var(--gradient-brand);
    color: var(--bodydarkblue);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-dim);
    border-bottom: 2px solid var(--border-strong);
    padding: 0 0.5rem;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.cta-secondary:hover {
    opacity: 1;
    color: var(--text);
    border-color: var(--btnblue);
}

.hero-fineprint {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-faint);
}

/* DESKTOP: fullscreen hero (navbar + hero = 1 viewport, next section never peeks in) */

@media (min-width: 769px) {
    .navbar {
        height: var(--nav-h);
        padding: 0;
    }

    .hero-section {
        min-height: calc(100vh - var(--nav-h));
        min-height: calc(100svh - var(--nav-h));
        padding-bottom: calc(clamp(2rem, 5vh, 3.5rem) + 2rem); /* optical centering */
    }
}

/* TABLET */

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1.25rem 4.5rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 6vw, 3.2rem);
    }

    .grad-text {
        font-size: clamp(1.7rem, 4.8vw, 2.5rem);
        line-height: 1.25;
    }

    .hero-description {
        max-width: 600px;
        margin-top: 1.5rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-actions {
        margin-top: 2rem;
        gap: 1.2rem;
    }
}

/* MOBILE */

@media (max-width: 480px) {
    .hero-section {
        padding: 2.5rem 1.1rem 3.5rem;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.14;
        letter-spacing: -0.04em;
    }

    .warmup-text {
        margin-bottom: 0.35em;
    }

    .grad-text {
        font-size: clamp(1.55rem, 6.2vw, 1.9rem);
        line-height: 1.3;
    }

    .hero-description {
        margin-top: 1.3rem;
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-top: 1.8rem;
    }

    .cta-btn {
        width: 100%;
        max-width: none;
        padding: 1rem 1.2rem;
    }

    .cta-secondary {
        align-self: center;
        padding-bottom: 0.2rem;
    }

    .hero-fineprint {
        max-width: 300px;
        margin: 1.1rem auto 0;
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* -----------------------------------------------------------------*/
/* -------------------------- SECTION HEADS --------------------------*/
/* -----------------------------------------------------------------*/

.section-title {
    font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem);
    text-align: center;
}

.section-sub {
    text-align: center;
    color: var(--text-faint);
    margin-top: 0.75rem;
    font-size: 1.05rem;
}

/* -----------------------------------------------------------------*/
/* -------------------------- COMPARISON --------------------------*/
/* -----------------------------------------------------------------*/

.compare-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.compare-col {
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-soft);
}

.compare-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.compare-col li {
    padding-left: 1.6rem;
    position: relative;
}

.compare-col li::before {
    position: absolute;
    left: 0;
    font-weight: 700;
}

.compare-them {
    background: rgba(255, 255, 255, 0.02);
}

.compare-them li {
    color: var(--text-faint);
}

.compare-them li::before {
    content: "✕";
    color: var(--alarmred);
}

.compare-us {
    background: var(--cardblue);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: var(--shadow-card);
}

.compare-us li {
    font-weight: 500;
}

.compare-us li::before {
    content: "✓";
    color: var(--success);
}

.compare-head {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-faint);
}

.compare-us .compare-head {
    color: var(--text);
}

/* -----------------------------------------------------------------*/
/* -------------------------- FEATURES (used by index.html) --------*/
/* -----------------------------------------------------------------*/

.features-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--cardblue);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    font-size: 1.6rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(56, 189, 248, 0.12);
    margin-bottom: 0.5rem;
}

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

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

/* -----------------------------------------------------------------*/
/* -------------------------- STEPS --------------------------*/
/* -----------------------------------------------------------------*/

.steps-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

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

/* -----------------------------------------------------------------*/
/* -------------------------- LIVE PREVIEW --------------------------*/
/* -----------------------------------------------------------------*/

.preview-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.preview-content {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

.preview-copy {
    text-align: left;
}

.preview-copy .section-title,
.preview-copy .section-sub {
    text-align: inherit;
}

.preview-tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .45rem .9rem;
    border-radius: var(--radius-pill);
    background: rgba(56, 189, 248, .12);
    color: var(--logoblue);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.preview-features {
    display: grid;
    gap: .8rem;
    margin: 2rem 0;
    color: var(--text-dim);
}

.preview-features div {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.preview-note {
    margin-top: 1rem;
    color: var(--text-dim);
    font-size: .85rem;
}

.preview-browser {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #111827;
    transition: transform .35s var(--ease);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.preview-browser:hover {
    opacity: 1;
    transform: translateY(-8px) scale(1.015);
}

.browser-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.browser-dots {
    display: flex;
    flex-shrink: 0;
    gap: .45rem;
}

.browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #64748b;
}

.browser-url {
    flex: 1;
    min-width: 0;
    text-align: center;
    font-size: .9rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-live {
    flex-shrink: 0;
    color: var(--success);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .05em;
}

.preview-browser img {
    width: 100%;
    height: auto;
}

/* -----------------------------------------------------------------*/
/* -------------------------- TRUST --------------------------*/
/* -----------------------------------------------------------------*/

.trust-section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.trust-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, .25);
    box-shadow: var(--shadow-card);
}

.trust-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(56, 189, 248, .10);
    font-size: 1.6rem;
}

.trust-card h3 {
    font-size: 1.08rem;
    margin-bottom: .7rem;
}

.trust-card p {
    color: var(--text-dim);
    font-size: .95rem;
}

/* -----------------------------------------------------------------*/
/* -------------------------- FINAL CTA --------------------------*/
/* -----------------------------------------------------------------*/

.final-cta-section {
    text-align: center;
    padding-top: var(--section-pad);
    padding-bottom: 6rem;
}

.final-cta-section h2 {
    font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.6rem);
}

.final-cta-section p {
    color: var(--text-dim);
    margin: 1rem 0 2rem;
    font-size: 1.05rem;
}

/* -----------------------------------------------------------------*/
/* -------------------------- FOOTER --------------------------*/
/* -----------------------------------------------------------------*/

.site-footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--border-soft);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: .82rem;
    color: var(--text-faint);
}

.footer-inner a {
    color: var(--text-faint);
    transition: color .2s ease;
}

.footer-inner a:hover {
    opacity: 1;
    color: var(--text);
}

/* -----------------------------------------------------------------*/
/* -------------------------- RESPONSIVE --------------------------*/
/* -----------------------------------------------------------------*/

@media (max-width: 980px) {

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

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

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .preview-section {
        padding-top: var(--section-pad);
        padding-bottom: var(--section-pad);
    }

    .preview-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .preview-copy {
        text-align: center;
    }

    .preview-features {
        justify-content: center;
    }
}

@media (max-width: 640px) {

    :root {
        --section-pad: 3.5rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
    }

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

    .compare-col {
        padding: 1.5rem;
    }

    .browser-top {
        gap: .6rem;
        padding: .75rem .9rem;
    }

    .browser-url {
        font-size: .75rem;
    }
}

@media (max-width: 600px) {

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

}
