/* =========================================
   IQBOZOR — DARK MIRROR GLASS DESIGN
   Mobile-first rewrite. Base styles target
   phones; min-width queries scale up.
   Class names are unchanged.
========================================= */

:root {
    --background: #080808;
    --white: #f5f5f5;
    --muted: #999999;
    --subtle: #666666;

    --glass: rgba(255, 255, 255, 0.055);
    --glass-border: rgba(255, 255, 255, 0.075);

    --page-pad: 16px;
    --card-pad: 20px;
    --card-radius: 20px;
    --gap: 12px;

    /* type scale: nothing below 11px */
    --fs-label: 11px;
    --fs-small: 13px;
    --fs-body: 14px;

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;

    background: var(--background);
    color: var(--white);

    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}


/* =========================================
   BACKGROUND
========================================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 50% 35%,
            rgba(255, 255, 255, 0.035),
            transparent 55%
        ),
        radial-gradient(
            ellipse at 10% 90%,
            rgba(255, 255, 255, 0.018),
            transparent 40%
        );
}

.page-shell {
    position: relative;
    max-width: 1440px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;

    padding-left: max(var(--page-pad), env(safe-area-inset-left));
    padding-right: max(var(--page-pad), env(safe-area-inset-right));
}


/* =========================================
   MIRROR GLASS
========================================= */

.glass-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    gap: 24px;

    border-radius: var(--card-radius);
    padding: var(--card-pad);

    background: transparent;

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow: inset 0 1px 0 1px rgba(255, 255, 255, 0.06);

    transition:
        border-color 0.35s ease,
        background 0.35s ease;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: rgba(255, 255, 255, 0.055);

    pointer-events: none;
}

/* hover effects only on devices that can hover (no sticky hover on touch) */
@media (hover: hover) {
    .glass-card:hover {
        border-color: rgba(255, 255, 255, 0.13);
    }

    .glass-card:hover .card-symbol,
    .glass-card:hover .card-arrow {
        transform: translate(3px, -3px);
    }
}


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

.header {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.brand-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.header-description {
    display: none;

    color: #d0d0d0;
    font-size: var(--fs-small);
    text-align: center;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 2px;

    color: #888888;
    font-size: var(--fs-label);
}

.lang-btn {
    /* comfortable touch target */
    min-width: 36px;
    min-height: 40px;
    padding: 0 6px;

    background: transparent;
    border: none;

    color: #888888;
    font-size: var(--fs-label);

    cursor: pointer;
    transition: color 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
    color: #ffffff;
}

.header-indicator {
    width: 10px;
    height: 10px;

    border-radius: 50%;
    background: #ffffff;
}

.big_imglogo {
    border-radius: 15px;
}


/* =========================================
   INTRO
========================================= */

.intro {
    position: relative;
    text-align: center;

    padding-top: 32px;
    padding-bottom: 24px;
}

.intro-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;

    color: #888888;
    font-size: var(--fs-label);
    letter-spacing: 0.1em;
}

.intro-number {
    color: #777777;
}

.main-title {
    position: relative;
    z-index: 0;

    margin-top: 28px;

    color: #f5f5f5;

    /* scales with the viewport, never overflows a 320px screen */
    font-size: clamp(54px, 18vw, 190px);
    line-height: 0.95;

    font-weight: 600;
    letter-spacing: -0.06em;

    /* the negative tracking leaves a gap on the right; re-centre it */
    padding-right: 0.06em;
}

.title-period {
    color: #08f328;
}

.intro-description {
    max-width: 34ch;
    margin: 14px auto 0;

    color: #aaaaaa;
    font-size: var(--fs-small);
    line-height: 1.6;
}


/* =========================================
   MAIN CARD GRID
   Phones: one column, cards grow with content.
========================================= */

.card-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: auto;

    gap: var(--gap);
}

.about-card,
.analysis-card,
.waitlist-card {
    grid-column: 1 / -1;
}


/* =========================================
   SHARED CARD ELEMENTS
========================================= */

.card-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-index {
    color: #999999;
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.12em;
}

.card-symbol,
.card-arrow {
    color: #e0e0e0;
    font-size: 18px;

    transition: transform 0.3s ease;
}

/* in the flow now, pushed to the bottom of the card, so text never gets clipped */
.card-content {
    position: relative;
    margin-top: auto;
}

.card-eyebrow {
    display: block;
    margin-bottom: 12px;

    color: #999999;
    font-size: var(--fs-label);
    letter-spacing: 0.12em;
}


/* =========================================
   ABOUT CARD
========================================= */

.about-card {
    min-height: 220px;
    color: white;
}

.about-card .card-content {
    padding-right: 36px; /* room for the arrow */
}

.about-card h2 {
    color: #ffffff;

    font-size: 26px;
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.about-card p {
    max-width: 34ch;
    margin-top: 12px;

    color: #b0b0b0;
    font-size: var(--fs-small);
    line-height: 1.65;
}

.about-card .card-arrow {
    position: absolute;
    right: var(--card-pad);
    bottom: var(--card-pad);
}


/* =========================================
   ANALYSIS CARD
========================================= */

.analysis-card {
    min-height: 260px;
    justify-content: space-between;

    color: white;
}

.analysis-background {
    position: absolute;
    inset: 0;
    z-index: -1;

    overflow: hidden;
    pointer-events: none;
}

.analysis-circle {
    position: absolute;

    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
}

.circle-a {
    width: 200px;
    height: 200px;
    right: 8%;
    top: -120px;
}

.circle-b {
    width: 320px;
    height: 320px;
    right: 0;
    top: -180px;
}

.circle-c {
    width: 440px;
    height: 440px;
    right: -8%;
    top: -240px;
}

.analysis-visual {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;

    min-height: 64px;
}

.analysis-label {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #aaaaaa;
    font-size: var(--fs-label);
    letter-spacing: 0.12em;
}

.small-dot {
    flex: none;
    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: white;
}

.analysis-big-number {
    position: absolute;
    top: -8px;
    right: 0;

    color: rgba(255, 255, 255, 0.085);

    font-size: clamp(84px, 26vw, 190px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.07em;

    pointer-events: none;
}

.analysis-big-number span {
    font-size: 0.5em;
}

.analysis-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;

    margin-top: auto;
}

.analysis-bottom > div {
    min-width: 0;
}

.analysis-bottom h3 {
    color: #ffffff;

    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.analysis-bottom p {
    max-width: 44ch;
    margin-top: 8px;

    color: #b0b0b0;
    font-size: var(--fs-small);
    line-height: 1.65;
}

.large-arrow {
    flex: none;

    color: #eeeeee;
    font-size: 22px;
}


/* =========================================
   WAITLIST CARD
========================================= */

.waitlist-card {
    min-height: 300px;
}

.waitlist-content {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    flex: 1;

    justify-content: flex-end;
}

.waitlist-content h2 {
    color: #ffffff;

    font-size: clamp(26px, 8vw, 35px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.waitlist-content > p {
    max-width: 44ch;
    margin-top: 12px;

    color: #b0b0b0;
    font-size: var(--fs-small);
    line-height: 1.65;
}


/* =========================================
   WAITLIST FORM
========================================= */

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 10px;

    width: 100%;
    max-width: 460px;

    margin-top: 20px;
}

.waitlist-form input {
    width: 100%;
    min-width: 0;
    min-height: 48px;

    padding: 0 16px;

    background: rgba(0, 0, 0, 0.38);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;

    color: #ffffff;
    outline: none;

    /* 16px stops iOS Safari zooming the page on focus */
    font-size: 16px;

    transition: border-color 0.2s;
}

.waitlist-form input::placeholder {
    color: #aaaaaa;
    opacity: 1;
}

.waitlist-form input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.waitlist-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 48px;
    padding: 0 20px;

    background: #f3f3f3;
    color: #080808;

    border: none;
    border-radius: 8px;

    font-size: var(--fs-small);
    font-weight: 600;

    white-space: nowrap;
    cursor: pointer;

    transition: 0.25s;
}

@media (hover: hover) {
    .waitlist-form button:hover {
        background: #ffffff;
        transform: translateY(-2px);
    }
}

.waitlist-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    min-height: 15px;
    margin-top: 10px;

    font-size: var(--fs-small);
}

.form-message:empty {
    display: none;
}

.form-message.success {
    color: #b5e6b5;
}

.form-message.error {
    color: #ff9999;
}

.privacy-note {
    display: block;
    margin-top: 10px;

    color: #999999;
    font-size: var(--fs-label);
    line-height: 1.5;
}


/* =========================================
   LOGO CARD
   Hidden on phones, shown from tablet up.
========================================= */

.logo-card {
    display: none;

    align-items: center;
    justify-content: space-between;
}

.logo-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;

    width: 100%;
}

.logo-card-content img {
    display: block;

    width: min(65%, 180px);
    max-height: 170px;

    object-fit: contain;

    filter: drop-shadow(0 12px 35px rgba(255, 255, 255, 0.08));

    transition: transform 0.4s ease;
}

@media (hover: hover) {
    .logo-card:hover .logo-card-content img {
        transform: scale(1.06);
    }
}

.logo-card-caption {
    color: #aaaaaa;
    font-size: var(--fs-label);
    letter-spacing: 0.18em;
}


/* =========================================
   SIGN IN SECTION
========================================= */

.signin-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 24px;

    margin-top: var(--gap);
    padding: 24px var(--card-pad);

    border-radius: var(--card-radius);
    border: 1px solid rgba(255, 255, 255, 0.09);

    background: transparent;

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow: inset 0 1px 0 1px rgba(255, 255, 255, 0.07);
}

.signin-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: rgba(255, 255, 255, 0.065);

    pointer-events: none;
}

.signin-info {
    position: relative;
    z-index: 1;
}

.signin-info h2 {
    margin-top: 16px;

    color: #ffffff;

    font-size: clamp(25px, 7.5vw, 38px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.signin-info p {
    max-width: 44ch;
    margin-top: 12px;

    color: #c0c0c0;
    font-size: var(--fs-small);
    line-height: 1.7;
}

.signin-form {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    gap: 12px;

    width: 100%;
}

.signin-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signin-inputs input {
    width: 100%;
    min-height: 48px;

    padding: 0 16px;

    background: rgba(0, 0, 0, 0.42);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;

    outline: none;
    color: #ffffff;

    font-size: 16px; /* prevents iOS focus-zoom */

    transition: border-color 0.2s, background 0.2s;
}

.signin-inputs input::placeholder {
    color: #b5b5b5;
    opacity: 1;
}

.signin-inputs input:focus {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.6);
}

.signin-button {
    width: 100%;
    min-height: 48px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: none;
    border-radius: 8px;

    background: #f5f5f5;
    color: #080808;

    font-size: var(--fs-body);
    font-weight: 600;

    cursor: not-allowed;
    opacity: 0.8;
}

.signin-note {
    color: #b0b0b0;
    font-size: var(--fs-label);
    line-height: 1.6;
}


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

.footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;

    padding: 24px 0 max(32px, env(safe-area-inset-bottom));
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: var(--fs-small);
    font-weight: 600;
}

.footer-brand img {
    width: 23px;
    height: 23px;

    object-fit: contain;
}

.footer p,
.copyright {
    color: #999999;
    font-size: var(--fs-label);
}

/* the footer tagline would crowd the row on phones */
.footer p {
    display: none;
}

.copyright {
    margin-left: auto;
}


/* =========================================
   LARGE PHONES / SMALL TABLETS  (≥ 560px)
========================================= */

@media (min-width: 560px) {

    :root {
        --page-pad: 24px;
    }

    .waitlist-form {
        flex-direction: row;
    }

    .waitlist-form button {
        width: auto;
    }

    .signin-inputs {
        flex-direction: row;
    }

    .signin-inputs input {
        flex: 1;
        min-width: 0;
    }

    .footer p {
        display: block;
    }

}


/* =========================================
   TABLET  (≥ 760px)
========================================= */

@media (min-width: 760px) {

    :root {
        --page-pad: 32px;
        --card-pad: 26px;
        --card-radius: 24px;
        --fs-small: 13px;
    }

    .header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        min-height: 75px;
    }

    .header-description {
        display: block;
    }

    .intro {
        padding-top: 40px;
        padding-bottom: 28px;
    }

    .main-title {
        font-size: clamp(110px, 14vw, 190px);
    }

    .intro-description {
        max-width: none;
        font-size: 13px;
    }

    .about-card {
        grid-column: span 5;
        min-height: 260px;
    }

    .analysis-card {
        grid-column: span 7;
        min-height: 260px;
    }

    .waitlist-card {
        grid-column: span 7;
        min-height: 290px;
    }

    .logo-card {
        display: flex;
        grid-column: span 5;
        min-height: 290px;
    }

    .about-card h2 {
        font-size: 27px;
    }

    .analysis-big-number {
        top: -30px;
        right: 4%;
        font-size: clamp(100px, 15vw, 190px);
    }

    .analysis-bottom h3 {
        font-size: 25px;
    }

    .signin-section {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 34px 30px;
    }

    .signin-inputs {
        flex-direction: column;
    }

    .signin-info h2 {
        margin-top: 20px;
    }

}


/* =========================================
   DESKTOP  (≥ 1100px)
========================================= */

@media (min-width: 1100px) {

    :root {
        --page-pad: 42px;
        --card-pad: 28px;
    }

    .about-card {
        grid-column: span 3;
        min-height: 280px;
    }

    .analysis-card {
        grid-column: span 9;
        min-height: 280px;
    }

    .waitlist-card {
        grid-column: span 9;
        min-height: 300px;
    }

    .logo-card {
        grid-column: span 3;
        min-height: 300px;
    }

    .analysis-big-number {
        right: 8%;
    }

    .signin-section {
        gap: 50px;
        padding: 38px 32px;
    }

}


/* =========================================
   VERY SMALL PHONES  (≤ 360px)
========================================= */

@media (max-width: 360px) {

    :root {
        --page-pad: 14px;
        --card-pad: 16px;
    }

    .about-card h2 {
        font-size: 24px;
    }

    .analysis-bottom h3 {
        font-size: 20px;
    }

    .header-right {
        gap: 8px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

}