@font-face {
    font-family: "Riven";
    src: url("assets/Fonts/Meet\ Riven\ Font.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Riven";
    src: url("assets/Fonts/Meet\ Riven\ Font.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

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

body {
    font-family: "Riven", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(168, 85, 247, 0.45), transparent 30%),
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.4), transparent 30%),
        linear-gradient(135deg, #1e1b4b, #0f172a 55%, #3b0764);
    color: white;
    min-height: 100vh;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

/* LANDING */
.landing-page {
    min-height: 100vh;
    padding: 24px 40px;
}

.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0 28px;
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 18px;
}

.logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links,
.nav-actions,
.hero-buttons,
.final-cta-buttons,
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-links {
    gap: 28px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 15px;
}

.login-nav-btn,
.signup-nav-btn,
.primary-btn,
.secondary-btn,
.back-btn,
.login-btn,
.signup-btn,
.plan-btn,
.logout-top-btn,
.choice-btn {
    border: none;
    border-radius: 16px;
    color: white;
    transition: 0.2s ease;
}

.login-nav-btn,
.signup-nav-btn {
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
}

.login-nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.signup-nav-btn,
.primary-btn,
.login-btn,
.plan-btn {
    background: linear-gradient(135deg, #ec4899, #f97316);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.secondary-btn,
.back-btn,
.signup-btn,
.logout-top-btn,
.choice-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.primary-btn,
.secondary-btn {
    padding: 16px 24px;
    font-size: 15px;
}

button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.hero-section {
    min-height: calc(100vh - 110px);
    display: grid;
    grid-template-columns: minmax(620px, 860px) 1fr;
    align-items: center;
    gap: 64px;
}

.hero-left {
    width: 100%;
    max-width: 860px;
    padding-left: 100px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.hero-wordmark {
    width: 100%;
    max-width: 720px;
    height: auto;
    display: block;
    margin-bottom: 18px;
    filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.28));
}

.hero-text {
    width: 100%;
    max-width: 720px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 40px;
    line-height: 1.45;
}

.section-text {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    width: 100%;
    max-width: 720px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.hero-buttons .primary-btn,
.hero-buttons .secondary-btn {
    width: 100%;
    min-height: 58px;
    border-radius: 22px;
    font-size: 18px;
    font-weight: 700;
}

.hero-right {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;

    transform: translateX(-60px);
}

@media (max-width: 980px) {
    .hero-right {
        transform: none;
        justify-content: center;
        width: 100%;
        margin-top: 30px;
    }
}

.mockup-card {
    width: 100%;
    max-width: 520px;

    padding: 24px;

    border-radius: 30px;

    background: rgba(15, 23, 42, 0.66);

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

    backdrop-filter: blur(18px);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(139, 92, 246, 0.08);
}

.mockup-chat {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mockup-message,
.message {
    padding: 16px 18px;
    border-radius: 18px;

    font-size: 15px;
    line-height: 1.55;
}

.mockup-message.bot,
.bot-message {
    background: rgba(255, 255, 255, 0.08);

    color: white;

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

    border-bottom-left-radius: 8px;
}

.mockup-message.user,
.user-message {
    align-self: flex-end;

    background: linear-gradient(
        135deg,
        #8b5cf6,
        #f97316
    );

    color: white;

    border-bottom-right-radius: 8px;

    box-shadow:
        0 10px 24px rgba(249, 115, 22, 0.18);
}

/* LANDING CTA */
.final-cta-section {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 0 70px;
}

.final-cta-card {
    padding: 42px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(249, 115, 22, 0.14)),
        rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.final-cta-card h2 {
    max-width: 760px;
    font-size: 44px;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.final-cta-buttons {
    margin-top: 28px;
}

/* SHARED APP SHELL */
.app-shell,
.auth-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-shell {
    padding: 24px;
}

/* AUTH + SIGNUP + ONBOARDING */
.auth-card {
    width: 100%;
    max-width: 460px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 36px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.auth-card .logo {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    margin-bottom: 20px;
    font-size: 46px;
}

.auth-card h1 {
    font-size: 56px;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 26px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-form input,
.chat-composer input {
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 15px;
    outline: none;
}

.auth-form input::placeholder,
.chat-composer input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.auth-form input:focus,
.chat-composer input:focus {
    border-color: rgba(139, 92, 246, 0.55);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.auth-switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 16px 0 22px;
}

.auth-text-link {
    padding: 0;
    border: none;
    background: transparent;
    color: #fbcfe8;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.auth-text-link:hover {
    text-decoration: underline;
    transform: none;
    filter: none;
}

.auth-form .login-btn,
.auth-form .back-btn {
    width: 100%;
}

.auth-form .back-btn {
    max-width: 220px;
}
.status-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    min-height: 22px;
}

.button-group {
    display: flex;
    gap: 12px;
}

.login-btn,
.signup-btn,
.back-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 18px;
    font-size: 15px;
}

.login-btn,
.signup-btn {
    flex: 1;
    width: 100%;
}

.back-btn {
    width: 140px;
    margin-top: 6px;
}

.onboarding-card {
    max-width: 520px;
}

.choice-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.choice-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.76);
}

.choice-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.choice-btn {
    padding: 12px 16px;
}

.choice-btn.active {
    background: linear-gradient(135deg, #ec4899, #f97316);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.18);
}

/* CHAT */
.chat-container {
    width: 100%;
    max-width: 960px;
    height: 86vh;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(15, 23, 42, 0.52);
}

.chat-header h1 {
    font-size: 28px;
    margin-bottom: 4px;
}

.chat-header p,
.message-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
}

.user-info,
.logout-top-btn {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
}

.chat-feed {
    flex: 1;
    overflow-y: auto;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.message-row {
    display: flex;
    flex-direction: column;
    max-width: 72%;
}

.bot-row {
    align-items: flex-start;
}

.user-row {
    align-items: flex-end;
    align-self: flex-end;
}

.message-meta {
    margin-bottom: 6px;
    padding-left: 4px;
    font-size: 16px;
    font-weight: 600;
}

.chat-composer {
    display: flex;
    gap: 12px;
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(15, 23, 42, 0.56);
}

.chat-composer input {
    flex: 1;
}

.chat-composer button {
    padding: 15px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ec4899, #f97316);
}

.message-time {
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.55;
    text-align: right;
}

/* HOW PAGE */
.how-page {
    min-height: 100vh;
    padding: 40px;
}

.how-page-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.how-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 54px;
}

/* GRID */
.how-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* TITEL */
.how-content h1 {
    grid-column: 1 / -1;
    max-width: 620px;
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.04em;
}

/* INTRO */
.how-intro {
    grid-column: 1 / -1;
    max-width: 820px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

/* NORMALE BLOKKEN (de eerste 3) */
.how-block {
    min-height: 260px;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.how-block:hover {
    transform: translateY(-4px);

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

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(168, 85, 247, 0.25),
        0 0 80px rgba(249, 115, 22, 0.18);
}

.how-block::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at 20% 20%,
        rgba(168, 85, 247, 0.18),
        transparent 40%
    ),
    radial-gradient(
        circle at 80% 80%,
        rgba(249, 115, 22, 0.15),
        transparent 40%
    );

    opacity: 0;
    transition: opacity 0.3s ease;
}

.how-block:hover::before {
    opacity: 1;
}

.how-block h2 {
    font-size: 26px;
    margin-bottom: 14px;
}

.how-block p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

/* FULL WIDTH BLOKKEN (laatste 2) */
.how-full {
    grid-column: 1 / -1;

    background: transparent;
    border: none;
    padding: 20px 0;

    max-width: 720px;
}

/* iets rustiger */
.how-full h2 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.how-full p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}


/* MOBILE */
@media (max-width: 980px) {
    .how-content {
        grid-template-columns: 1fr;
    }

    .how-content h1 {
        font-size: 44px;
    }

    .how-full {
        max-width: 100%;
    }
}

/* ANIMATION */
.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    animation: bounce 1.2s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.empty-state {
    text-align: center;
    margin: auto;
    max-width: 440px;
}

.empty-state h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .landing-header {
        flex-wrap: wrap;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 30px;
    }

    .hero-left h1,
    .how-content h1 {
        font-size: 46px;
    }

    .hero-right {
        justify-content: flex-start;
    }

    .nav-links {
        display: none;
    }

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

    .final-cta-card h2 {
        font-size: 36px;
    }
}

/* TABLET / LANDSCAPE POLISH */
@media (min-width: 641px) and (max-width: 1180px) {
    .landing-page {
        padding: 24px 28px 50px;
        overflow-x: hidden;
    }

    .landing-header {
        padding-bottom: 42px;
    }

    .hero-section {
        min-height: auto;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 52px;
    }

    .hero-left {
        padding-left: 0;
        margin-top: 0;
        max-width: 760px;
        align-items: center;
        text-align: center;
    }

    .hero-wordmark {
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 22px;
    }

    .hero-text {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
        font-size: 26px;
        line-height: 1.45;
        margin-bottom: 30px;
    }

    .hero-buttons {
        max-width: 620px;
        margin: 0 auto;
    }

    .hero-right {
        transform: none;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }

    .mockup-card {
        max-width: 520px;
    }

    .global-background-logo {
        left: 50%;
        right: auto;
        top: 56%;
        width: 90vw;
        max-width: 900px;
        animation: riven-breathe-tablet 6s ease-in-out infinite;
    }
}

@keyframes riven-breathe-tablet {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.08;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.03);
        opacity: 0.28;
    }
}

/* IPHONE LANDSCAPE FIX */
@media (max-height: 500px) and (orientation: landscape) {
    .landing-page {
        padding: 18px 24px 32px;
    }

    .landing-header {
        padding-bottom: 20px;
    }

    .hero-section {
        grid-template-columns: 1fr 0.9fr;
        gap: 28px;
        text-align: left;
        align-items: center;
    }

    .hero-left {
        align-items: flex-start;
        text-align: left;
        max-width: 520px;
        padding-left: 0;
        margin-top: 0;
    }

    .hero-wordmark {
        max-width: 420px;
        margin: 0 0 14px;
    }

    .hero-text {
        max-width: 480px;
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 18px;
        text-align: left;
    }

    .hero-buttons {
        max-width: 460px;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn {
        min-height: 48px;
        font-size: 15px;
        border-radius: 18px;
    }

    .hero-right {
        margin-top: 0;
        transform: none;
        justify-content: center;
    }

    .mockup-card {
        max-width: 330px;
        padding: 14px;
    }

    .mockup-message {
        font-size: 13px;
        padding: 12px 14px;
    }

    .final-cta-section {
        padding-top: 50px;
    }

    .global-background-logo {
        left: 58%;
        top: 56%;
        width: 70vw;
        max-width: 620px;
        animation: none;
        transform: translate(-50%, -50%);
        opacity: 0.12;
    }
}

@media (max-width: 640px) {
    .landing-page,
    .how-page {
        padding: 20px;
    }

    .hero-left h1 {
        font-size: 38px;
    }

    .hero-text,
    .section-text {
        font-size: 16px;
    }

    .hero-buttons,
    .final-cta-buttons,
    .button-group,
    .chat-header {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-btn,
    .secondary-btn,
    .login-btn,
    .signup-btn,
    .back-btn {
        width: 100%;
    }

    .auth-card h1 {
        font-size: 42px;
    }

    .chat-container {
        height: 100vh;
        border-radius: 0;
    }

    .message-row {
        max-width: 88%;
    }

    .chat-composer {
        flex-direction: column;
    }
}
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-logo-image {
    width: min(100%, 480px);
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.45));
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-left,
.hero-right {
    position: relative;
    z-index: 2;
}

.global-background-logo {
    position: fixed;
    right: 14vw;
    top: 50%;
    transform: translateY(-50%);
    width: min(72vw, 1150px);
    opacity: 0.22;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    filter:
        drop-shadow(0 0 60px rgba(168, 85, 247, 0.35))
        drop-shadow(0 0 100px rgba(255, 138, 61, 0.22));
    animation: riven-breathe 6s ease-in-out infinite;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

@keyframes riven-breathe {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.18;
        filter:
            drop-shadow(0 0 45px rgba(168, 85, 247, 0.28))
            drop-shadow(0 0 80px rgba(255, 138, 61, 0.18))
            saturate(1);
    }

    50% {
        transform: translateY(-50%) scale(1.06);
        opacity: 0.50;
        filter:
            drop-shadow(0 0 50px rgba(168, 85, 247, 0.65))
            drop-shadow(0 0 80px rgba(255, 138, 61, 0.55))
            saturate(0.9);
    }
}

@media (max-width: 980px) {
    .global-background-logo {
        left: 50%;
        right: auto;
        top: 58%;

        width: 82vw;
        max-width: 620px;

        animation: riven-breathe-mobile 6s ease-in-out infinite;
    }
}

@keyframes riven-breathe-mobile {
    0%, 100% {
        transform: translate(-56%, -50%) scale(1);
        opacity: 0.18;
        filter:
            drop-shadow(0 0 45px rgba(168, 85, 247, 0.28))
            drop-shadow(0 0 80px rgba(255, 138, 61, 0.18))
            saturate(1);
    }

    50% {
        transform: translate(-56%, -50%) scale(1.03);
        opacity: 0.50;
        filter:
            drop-shadow(0 0 50px rgba(168, 85, 247, 0.65))
            drop-shadow(0 0 80px rgba(255, 138, 61, 0.55))
            saturate(0.9);
    }
}

.page {
    position: relative;
    z-index: 1;
}

/* PRICING PAGE */
.pricing-page {
    min-height: 100vh;
    padding: 40px;
}

.pricing-page-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 54px;
}

.pricing-hero {
    max-width: 820px;
    margin-bottom: 48px;
}

.pricing-hero h1 {
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
}

.pricing-hero p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.pricing-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-grid-page .pricing-card {
    min-height: 520px;
    padding: 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);

    display: flex;
    flex-direction: column;
}

.pricing-grid-page .featured-plan {
    background:
        linear-gradient(180deg, rgba(139, 92, 246, 0.24), rgba(249, 115, 22, 0.12)),
        rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-14px);
}

.pricing-grid-page .plan-name {
    color: #fbcfe8;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    margin-bottom: 14px;
}

.pricing-grid-page .pricing-card h3 {
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.pricing-grid-page .plan-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 24px;
}

.pricing-grid-page .plan-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 0;
    margin: 0 0 28px;
}

.pricing-grid-page .plan-list li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.pricing-grid-page .plan-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899, #f97316);
}

.pricing-grid-page .plan-btn {
    margin-top: auto;
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: none;
    color: white;
    font-size: 15px;
    background: linear-gradient(135deg, #ec4899, #f97316);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.2);
}

.credit-info-card {
    max-width: 820px;
    margin: 54px auto 0;
    padding: 34px;
    border-radius: 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.credit-info-card h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

.credit-info-card p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.64);
}

.plan-price {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 28px;
}

.price {
    font-size: 52px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: white;
}

.price-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
}

/* MOBILE LANDING POLISH */
@media (max-width: 640px) {
    .landing-page {
        padding: 22px 20px 40px;
        overflow-x: hidden;
    }

    .landing-header {
        padding: 0 0 48px;
        align-items: center;
    }

    .brand {
        font-size: 18px;
    }

    .nav-actions {
        gap: 10px;
    }

    .login-nav-btn,
    .signup-nav-btn {
        padding: 11px 16px;
        font-size: 14px;
    }

    .hero-section {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 38px;
        text-align: center;
    }

    .hero-left {
        padding-left: 0;
        margin-top: 0;
        width: 100%;
        align-items: center;
    }

    .hero-wordmark {
        width: 92%;
        max-width: 430px;
        margin: 0 auto 18px;
    }

    .hero-text {
        max-width: 360px;
        margin: 0 auto 26px;
        font-size: 22px;
        line-height: 1.45;
        text-align: center;
    }

    .hero-buttons {
        width: 100%;
        max-width: 380px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 0 auto;
    }

    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn {
        width: 100%;
        min-height: 58px;
        font-size: 18px;
        border-radius: 22px;
    }

    .hero-right {
        width: 100%;
        transform: none;
        justify-content: center;
        margin-top: 60px;
    }

    .mockup-card {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding: 16px;
        border-radius: 26px;
    }

    .mockup-message {
        font-size: 15px;
        text-align: left;
    }

    .mockup-message.user {
        max-width: 82%;
    }

    .global-background-logo {
        left: 50%;
        top: 48%;
        right: auto;
        width: 105vw;
        max-width: 520px;
        animation: riven-breathe-mobile 6s ease-in-out infinite;
    }

    .final-cta-section {
        padding: 70px 0 30px;
    }

    .final-cta-card {
        padding: 30px 24px;
        border-radius: 28px;
        text-align: left;
    }

    .final-cta-card h2 {
        font-size: 36px;
        line-height: 1.08;
    }

    .final-cta-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@keyframes riven-breathe-mobile {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.18;
        filter:
            drop-shadow(0 0 45px rgba(168, 85, 247, 0.28))
            drop-shadow(0 0 80px rgba(255, 138, 61, 0.18))
            saturate(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.03);
        opacity: 0.50;
        filter:
            drop-shadow(0 0 50px rgba(168, 85, 247, 0.65))
            drop-shadow(0 0 80px rgba(255, 138, 61, 0.55))
            saturate(0.9);
    }
}
.mobile-menu-btn,
.mobile-menu {
    display: none;
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 48px;
        height: 48px;
        border-radius: 999px;

        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        color: white;
        font-size: 24px;
    }

    .mobile-menu {
        position: absolute;
        top: 84px;
        left: 20px;
        right: 20px;
        z-index: 20;

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

        padding: 18px;
        border-radius: 22px;
        background: rgba(15, 23, 42, 0.88);
        border: 1px solid rgba(255,255,255,0.10);
        backdrop-filter: blur(18px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    }

    .mobile-menu.hidden {
        display: none !important;
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        font-size: 16px;
        padding: 12px;
        border-radius: 14px;
        background: rgba(255,255,255,0.05);
    }
}
/* MOBILE PRICING FIX */
@media (max-width: 640px) {
    .pricing-page {
        padding: 22px 20px 40px;
        overflow-x: hidden;
    }

    .pricing-page-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .pricing-header {
        margin-bottom: 44px;
    }

    .pricing-hero {
        max-width: 100%;
        margin-bottom: 34px;
        text-align: left;
    }

    .pricing-hero h1 {
        font-size: 44px;
        line-height: 1.02;
        letter-spacing: -0.04em;
    }

    .pricing-hero p {
        font-size: 18px;
        line-height: 1.55;
    }

    .pricing-grid-page {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
        width: 100%;
    }

    .pricing-grid-page .pricing-card {
        width: 100%;
        min-height: auto;
        padding: 28px 24px;
        border-radius: 26px;
    }

    .pricing-grid-page .featured-plan {
        transform: none;
    }

    .pricing-grid-page .pricing-card h3 {
        font-size: 36px;
    }

    .pricing-grid-page .plan-text {
        font-size: 17px;
    }

    .pricing-grid-page .plan-list li {
        font-size: 16px;
    }

    .price {
        font-size: 52px;
    }

    .pricing-grid-page .plan-btn {
        min-height: 58px;
        border-radius: 20px;
    }

    .credit-info-card {
        width: 100%;
        margin-top: 34px;
        padding: 28px 22px;
        text-align: left;
    }

    .credit-info-card h2 {
        font-size: 30px;
    }
}
/* SETTINGS */
.settings-wrapper {
    width: 100%;
    max-width: 1180px;
    padding: 32px;
}

.settings-card {
    width: 100%;
    padding: 34px;
    border-radius: 32px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 34px;
}

.settings-header h1 {
    font-size: 56px;
    line-height: 1;
    margin: 8px 0;
}

.settings-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.settings-panel {
    padding: 28px;
    border-radius: 26px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
}

.membership-panel {
    background:
        linear-gradient(135deg, rgba(139,92,246,0.20), rgba(249,115,22,0.10)),
        rgba(255,255,255,0.06);
}

.memory-panel {
    grid-column: span 2;
}

.settings-label {
    color: #fbcfe8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.settings-panel h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.settings-muted {
    color: rgba(255,255,255,0.62);
    line-height: 1.6;
}

.settings-panel label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.84);
    font-weight: 600;
}

.settings-panel input[type="text"],
.settings-panel input[type="time"] {
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.08);
    color: white;
    outline: none;
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.settings-row span {
    color: rgba(255,255,255,0.56);
}

.settings-row strong {
    text-align: right;
    font-weight: 700;
}

.settings-action-btn {
    margin-top: 18px;
    min-height: 54px;
}

.membership-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.plan-status-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.86);
    font-size: 13px;
    white-space: nowrap;
}

.plan-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.plan-benefits span {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.84);
    font-size: 13px;
}

.toggle-row {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.toggle-row input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.memory-box {
    margin-top: 18px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
}

.memory-item {
    margin-bottom: 12px;
}

@media (max-width: 760px) {
    .settings-wrapper {
        padding: 20px;
    }

    .settings-card {
        padding: 24px;
    }

    .settings-header {
        flex-direction: column;
    }

    .settings-header h1 {
        font-size: 42px;
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .memory-panel {
        grid-column: span 1;
    }

    .membership-top,
    .settings-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .settings-row strong {
        text-align: left;
    }
}
/* HERO CHAT PREVIEW - NEW */
.hero-right {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    transform: translateX(-40px);
}

.hero-chat-preview {
    width: 100%;
    max-width: 620px;
    padding: 0;
    overflow: hidden;
    border-radius: 32px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(22px);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.45),
        0 0 50px rgba(139, 92, 246, 0.10);
}

.mockup-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 26px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-app-header h3 {
    font-size: 26px;
    margin-bottom: 4px;
}

.mockup-app-header p {
    font-size: 15px;
    color: rgba(255,255,255,0.58);
}

.mockup-user-pill {
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
}

.hero-chat-preview .mockup-chat {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-chat-preview .mockup-message {
    position: relative;
    max-width: 78%;
    padding: 16px 18px 30px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.55;
}

.hero-chat-preview .mockup-message span {
    position: absolute;
    right: 16px;
    bottom: 9px;
    font-size: 11px;
    color: rgba(255,255,255,0.48);
}

.hero-chat-preview .mockup-message.bot {
    align-self: flex-start;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom-left-radius: 8px;
}

.hero-chat-preview .mockup-message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, #8b5cf6, #f97316);
    border-bottom-right-radius: 8px;
}

.mockup-composer {
    display: flex;
    gap: 12px;
    padding: 18px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(15, 23, 42, 0.56);
}

.mockup-composer span {
    flex: 1;
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.45);
    font-size: 14px;
}

.mockup-composer button {
    padding: 15px 22px;
    border-radius: 18px;
    border: none;
    color: white;
    background: linear-gradient(135deg, #ec4899, #f97316);
}

/* MOBILE FIX */
@media (max-width: 640px) {
    .hero-right {
        transform: none;
        justify-content: center;
        margin-top: 56px;
    }

    .hero-chat-preview {
        max-width: 100%;
        border-radius: 28px;
    }

    .mockup-app-header {
        padding: 20px;
    }

    .mockup-app-header h3 {
        font-size: 22px;
    }

    .hero-chat-preview .mockup-chat {
        padding: 20px;
        gap: 14px;
    }

    .hero-chat-preview .mockup-message {
        max-width: 90%;
        font-size: 14px;
    }

    .mockup-composer {
        padding: 16px;
        flex-direction: column;
    }

    .mockup-composer button {
        width: 100%;
    }
}
/* TABLET HERO CHAT FIX */
@media (max-width: 1250px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
        justify-items: center;
    }

    .hero-left {
        padding-left: 0;
        margin-top: 0;
        max-width: 760px;
        text-align: center;
    }

    .hero-wordmark,
    .hero-text,
    .hero-buttons {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-right {
        width: 100%;
        transform: none;
        justify-content: center;
        margin-top: 10px;
    }

    .hero-chat-preview {
        max-width: 650px;
    }

    .hero-chat-preview .mockup-message {
        font-size: 14px;
        padding: 14px 16px 28px;
    }

    .mockup-app-header h3 {
        font-size: 22px;
    }
}
/* FINAL HERO RESPONSIVE OVERRIDE */

@media (min-width: 981px) and (max-width: 1400px) {
    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 60px;
        text-align: center;
    }

    .hero-left {
        padding-left: 0;
        margin-top: 0;
        max-width: 860px;
    }

    .hero-wordmark,
    .hero-text,
    .hero-buttons {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-right {
        width: 100%;
        transform: none !important;
        justify-content: center !important;
        margin-top: 0;
    }

    .hero-chat-preview {
        width: 100%;
        max-width: 720px;
    }
}

@media (max-width: 980px) {
    .hero-right {
        transform: none !important;
        justify-content: center !important;
        width: 100%;
    }
}
/* HOW RIVEN WORKS - NEW PAGE OVERRIDE */

.how-page {
    min-height: 100vh;
    padding: 40px;
    overflow-x: hidden;
}

.how-page-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}

.how-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 72px;
}

.how-hero-new {
    max-width: 760px;
    margin-bottom: 44px;
}

.how-hero-new h1 {
    font-size: 64px;
    line-height: 0.98;
    letter-spacing: -0.045em;
    margin-bottom: 22px;
}

.how-hero-new p {
    font-size: 20px;
    line-height: 1.65;
    color: rgba(255,255,255,0.72);
}

.how-steps-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 34px;
}

.how-step-card,
.memory-preview-card,
.how-timeline,
.how-notification-card,
.how-cta-card {
    border-radius: 28px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.20);
}

.how-step-card {
    min-height: 300px;
    padding: 30px;
}

.step-number {
    display: inline-flex;
    margin-bottom: 32px;
    color: #fbcfe8;
    font-size: 13px;
    letter-spacing: 0.14em;
}

.how-step-card h2,
.how-feature-row h2,
.how-timeline h2,
.how-notification-card h2,
.how-cta-card h2 {
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.how-step-card p,
.how-feature-row p,
.how-timeline p,
.how-notification-card p,
.how-cta-card p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,0.66);
}

.how-feature-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 34px;
}

.how-feature-row > div:first-child {
    padding: 34px 0;
}

.memory-preview-card {
    padding: 30px;
    background:
        linear-gradient(135deg, rgba(139,92,246,0.16), rgba(249,115,22,0.10)),
        rgba(255,255,255,0.06);
}

.memory-preview-card > p {
    margin-bottom: 18px;
    color: rgba(255,255,255,0.78);
}

.memory-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.memory-preview-list span {
    padding: 11px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.86);
    font-size: 14px;
}

.how-timeline {
    padding: 34px;
    margin-bottom: 34px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.timeline-grid div {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
}

.timeline-grid strong {
    display: block;
    margin-bottom: 8px;
    color: white;
}

.how-notification-card {
    padding: 34px;
    margin-bottom: 34px;
}

.how-cta-card {
    padding: 38px;
    margin-bottom: 40px;
    background:
        linear-gradient(135deg, rgba(236,72,153,0.18), rgba(249,115,22,0.15)),
        rgba(255,255,255,0.06);
}

.how-cta-card .primary-btn {
    margin-top: 24px;
    min-width: 220px;
}

@media (max-width: 980px) {
    .how-steps-new,
    .how-feature-row,
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .how-hero-new h1 {
        font-size: 48px;
    }

    .how-feature-row > div:first-child {
        padding: 0;
    }
}

@media (max-width: 640px) {
    .how-page {
        padding: 22px 20px 40px;
    }

    .how-header {
        margin-bottom: 48px;
    }

    .how-hero-new h1 {
        font-size: 42px;
    }

    .how-hero-new p {
        font-size: 18px;
    }

    .how-step-card,
    .how-timeline,
    .how-notification-card,
    .how-cta-card,
    .memory-preview-card {
        padding: 24px;
        border-radius: 24px;
    }

    .how-step-card h2,
    .how-feature-row h2,
    .how-timeline h2,
    .how-notification-card h2,
    .how-cta-card h2 {
        font-size: 30px;
    }
}

/* PWA INSTALL MODAL */

.pwa-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
    z-index: 9999;

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

    padding: 24px;
}

.pwa-modal.hidden {
    display: none;
}

.pwa-modal-card {
    width: 100%;
    max-width: 520px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 28px;

    padding: 32px;

    backdrop-filter: blur(20px);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.35);
}

.pwa-modal-card h2 {
    font-size: 32px;
    line-height: 1.1;
    margin: 12px 0 16px;
}

.pwa-modal-card p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

.pwa-steps {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.pwa-steps div {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
}

.pwa-steps strong {
    display: block;
    margin-bottom: 6px;
}

.pwa-steps span {
    color: rgba(255,255,255,0.72);
    font-size: 14px;
}

.pwa-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.pwa-actions button {
    flex: 1;
}

.notification-panel {
    background:
        linear-gradient(135deg, rgba(139,92,246,0.18), rgba(249,115,22,0.10)),
        rgba(255,255,255,0.06);
}

/* DELETE ACCOUNT MODAL */

.delete-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.delete-modal.hidden {
    display: none;
}

.delete-modal-card {
    width: 100%;
    max-width: 520px;
    padding: 32px;
    border-radius: 28px;
    background: rgba(20,20,30,0.94);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}

.delete-modal-card h2 {
    margin: 12px 0 14px;
    font-size: 32px;
}

.delete-modal-card p,
.delete-modal-card label {
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
}

.delete-warning-box {
    margin: 22px 0;
    padding: 16px;
    border-radius: 16px;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.28);
    color: #fecaca;
}

#deleteConfirmInput {
    width: 100%;
    margin-top: 10px;
}

.delete-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.delete-actions button {
    flex: 1;
}

.danger-btn {
    background: linear-gradient(135deg, #ef4444, #991b1b);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 13px 18px;
    cursor: pointer;
}

.danger-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Footer (Privacy polici, cookie policy en terms of service)*/

.site-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 0 34px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;

    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.62);
}

.footer-brand h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-brand p {
    max-width: 360px;
    line-height: 1.6;
}

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

.footer-links a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 14px;
    white-space: nowrap;
}

/* LEGAL PAGES */
.legal-page {
    min-height: 100vh;
    padding: 32px 40px 80px;
}

.legal-header {
    max-width: 1100px;
    margin: 0 auto 42px;

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

.legal-back-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.legal-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 46px;
    border-radius: 32px;

    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.legal-card h1 {
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.legal-updated {
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 38px;
}

.legal-content h2 {
    font-size: 28px;
    margin: 34px 0 12px;
}

.legal-content h3 {
    font-size: 22px;
    margin: 26px 0 10px;
}

.legal-content p,
.legal-content li {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
}

.legal-content ul {
    padding-left: 22px;
    margin: 12px 0 22px;
}

.legal-content strong {
    color: white;
}

.legal-highlight {
    margin: 30px 0 40px;
    padding: 22px 24px;

    border-radius: 22px;

    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.18);
}

.legal-highlight strong {
    display: block;
    margin-bottom: 14px;
    color: white;
    font-size: 18px;
}

.legal-highlight ul {
    margin: 0;
}

.legal-table {
    width: 100%;
    margin: 28px 0 36px;

    border-collapse: collapse;
    overflow: hidden;

    border-radius: 18px;
    background: rgba(255,255,255,0.04);
}

.legal-table th,
.legal-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-table th {
    color: white;
    background: rgba(255,255,255,0.05);
}

.legal-table td {
    color: rgba(255,255,255,0.72);
}

/* Checkbox signup page */
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 22px 0 10px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.checkbox-row input {
    margin-top: 6px;
    width: 18px;
    height: 18px;
    accent-color: #a855f7;
}

.signup-privacy-note {
    margin: 0 0 18px;
    color: rgba(255,255,255,0.62);
    font-size: 15px;
}

.link-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.82);
    font-size: 16px;
    cursor: pointer;
    margin-top: 12px;
}

.link-btn:hover {
    color: white;
    text-decoration: underline;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 540px;
}

/* RESET PASSWORD */

.reset-card{
    max-width:520px;
    padding:48px;
}

.reset-card .logo{
    display:none;
}

.reset-card h1{
    font-size:64px;
    line-height:.95;
    letter-spacing:-0.05em;

    margin-bottom:18px;
}

.reset-card .subtitle{
    margin-bottom:34px;
    font-size:19px;
    color:rgba(255,255,255,.72);
}

.reset-card .auth-form{
    gap:18px;
}

.reset-card input{
    width:100%;
    height:58px;
}

.reset-card .login-btn{
    width:100%;
    margin-top:12px;
}

.reset-card .back-btn{
    width:100%;
    max-width:none;
    margin-top:14px;
}

#status{
    min-height:24px;
    margin-top:8px;
    color:rgba(255,255,255,.75);
}