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

:root {
    --bg: #090d16;
    --panel: #101725;
    --ink: #f3f5fa;
    --muted: #98a4b8;
    --line: #273247;
    --accent: #b8f36b;
    --accent-dark: #17220d;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    padding: 24px;
    display: grid;
    place-items: center;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
}

/* BACKGROUND */

.ambient {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .12;
    pointer-events: none;
    z-index: -1;
}

.ambient-one {
    background: #b8f36b;
    top: -180px;
    right: -100px;
}

.ambient-two {
    background: #4279bd;
    bottom: -200px;
    left: -120px;
}

/* MAIN CONTAINER */

.app-container {
    width: min(100%, 620px);
    min-height: 690px;
    display: flex;
    flex-direction: column;
}

/* HEADER */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 3px 24px;
}

.brand {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .08em;
}

.brand span {
    color: var(--accent);
}

.topbar-label {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .19em;
}

/* SCREENS */

.screen {
    display: none;
    position: relative;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;

    padding: clamp(28px, 7vw, 58px);

    background: linear-gradient(
        145deg,
        rgba(20, 30, 45, .97),
        rgba(13, 20, 31, .97)
    );

    border: 1px solid var(--line);
    border-radius: 26px;

    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.screen::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255,255,255,.035);
    border-radius: 50%;
    right: -120px;
    top: -120px;
    pointer-events: none;
}

.screen.active {
    display: flex;
    animation: screenEnter .45s ease both;
}

@keyframes screenEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TEXT */

.eyebrow {
    margin-bottom: 28px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
}

h1,
h2,
h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: -.055em;
}

h1 {
    font-size: clamp(48px, 10vw, 76px);
    line-height: 1.02;
}

h2 {
    font-size: clamp(36px, 7vw, 54px);
    line-height: 1.08;
}

h1 span,
h2 span {
    color: var(--accent);
}

h3 {
    font-size: 18px;
}

.welcome-description {
    margin: 24px 0 38px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* BUTTONS */

.main-button {
    width: 100%;
    min-height: 56px;
    padding: 0 21px;

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

    border: none;
    border-radius: 13px;

    background: var(--accent);
    color: #11180d;

    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: .25s ease;
}

.main-button:hover {
    background: #d0ff94;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(184, 243, 107, .12);
}

.main-button:active {
    transform: scale(.98);
}

.main-button:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

.button-arrow {
    font-size: 21px;
}

.secondary-button {
    width: 100%;
    min-height: 52px;
    margin-top: 11px;

    border: 1px solid var(--line);
    border-radius: 13px;

    background: transparent;
    color: var(--muted);

    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

.secondary-button:hover {
    border-color: #63718a;
    color: white;
}

/* NAME INPUT */

.input-group {
    margin-top: 32px;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;

    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
}

.input-group input {
    width: 100%;
    height: 56px;
    padding: 0 16px;

    border: 1px solid var(--line);
    border-radius: 12px;

    outline: none;
    background: #0b121e;
    color: var(--ink);

    font-family: 'DM Sans', sans-serif;
    font-size: 15px;

    transition: .2s ease;
}

.input-group input::placeholder {
    color: #657187;
}

.input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 243, 107, .08);
}

.subtext {
    margin-top: 16px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

/* MOTIVATION */

.motivation-symbol {
    margin: -8px 0 18px;
    color: var(--accent);
    font-size: 34px;
}

.motivation-message {
    margin: 25px 0 15px;
    color: #eaf1e2;

    font-family: 'Manrope', sans-serif;
    font-size: clamp(20px, 4vw, 27px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -.025em;
}

.motivation-divider {
    width: 100%;
    height: 1px;
    margin: 27px 0 22px;
    background: var(--line);
}

.motivation-footer {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* PERMISSION */

.consent-description {
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.permission-card {
    margin-top: 23px;
    padding: 8px 18px;

    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(7, 13, 23, .5);
}

.permission-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
}

.permission-item + .permission-item {
    border-top: 1px solid rgba(255,255,255,.06);
}

.permission-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 11px;
    background: var(--accent-dark);
    color: var(--accent);
    font-size: 19px;
}

.permission-item strong {
    display: block;
    font-size: 13px;
}

.permission-item small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.consent-notice {
    margin: 20px 0 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.action-status {
    min-height: 20px;
    margin-top: 14px;
    color: var(--accent);
    font-size: 12px;
    line-height: 1.6;
}

/* FOOTER */

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

    padding: 20px 3px 0;

    color: var(--muted);
    font-size: 9px;
    letter-spacing: .16em;
}

/* MOBILE */

@media (max-width: 480px) {
    body {
        padding: 14px;
    }

    .app-container {
        min-height: calc(100vh - 28px);
    }

    .screen {
        padding: 28px 23px;
        border-radius: 20px;
    }

    .topbar-label {
        font-size: 8px;
    }

    .footer {
        font-size: 8px;
    }
}
