/* ========================================
   Signate — Shared Styles
   ======================================== */

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

/* ---- Custom Scrollbars ---- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}
::-webkit-scrollbar-corner {
    background: transparent;
}
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.5) rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    background-attachment: fixed;
    color: #ffffff;
}

/* Subtle dot grid overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* ---- Layout: Centered (login) ---- */
body.page-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* ---- Layout: Dashboard ---- */
body.page-dashboard {
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    background-attachment: fixed;
}

/* ---- Glass Card ---- */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    width: 480px;
    min-height: 340px;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ---- Top Bar ---- */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: sticky;
    top: 0;
    z-index: 10;
}

.top-bar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.top-bar-brand h1 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.user-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.btn-logout {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-logout:hover {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border-color: rgba(244, 63, 94, 0.3);
}

/* ---- Logo Icon (reusable) ---- */
.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.logo-icon.sm {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.logo-icon.sm svg {
    width: 16px;
    height: 16px;
}

/* ---- Typography ---- */
h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 32px;
}

/* ---- Form Elements ---- */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.input-field {
    padding: 14px 16px 14px 42px;
    font-size: 15px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-field:focus {
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.input-field.input-error {
    border-color: rgba(244, 63, 94, 0.5);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

/* ---- Buttons ---- */
.btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.4;
    cursor: wait;
    transform: none;
}

.btn-error {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}

/* ---- Messages ---- */
.msg {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    min-height: 20px;
    transition: color 0.2s;
}

.msg-success { color: #34d399; }
.msg-error   { color: #fb7185; }
.msg-sending { color: rgba(255, 255, 255, 0.5); }

/* ---- Divider ---- */
.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 24px 0 16px 0;
}

/* ---- Footer ---- */
.footer-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
}

/* ---- Spinner ---- */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

/* ---- Dashboard Content Area ---- */
.dashboard-body {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow-x: clip;
}

/* ---- Link style ---- */
.link {
    color: #818cf8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.link:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

/* ---- Password toggle ---- */
.pwd-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    width: auto;
}

.pwd-toggle svg {
    position: static;
    transform: none;
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.pwd-toggle:hover svg {
    fill: rgba(255, 255, 255, 0.6);
}

/* ---- Card entrance animation ---- */
.page-centered .card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-centered .card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 540px) {
    .card {
        width: 100%;
        padding: 32px 24px;
        min-height: auto;
        border-radius: 12px;
    }
    .top-bar {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .top-bar-right {
        gap: 8px;
    }
    .user-name {
        display: none;
    }
    .dashboard-body {
        padding: 16px 12px;
        align-items: flex-start;
    }
}

/* ---- Landing / Full-Page Design ---- */
body.page-landing {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #060612;
    min-height: 100vh;
    padding: 0;
}

/* Hide dot grid on landing */
body.page-landing::before {
    display: none;
}

/* ---- Landing Navigation ---- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 40px;
    transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
    border-bottom: 1px solid transparent;
}

.landing-nav.scrolled {
    background: rgba(6, 6, 18, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.landing-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.landing-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-nav-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-nav-link {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
}

.landing-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.landing-nav-cta {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    border-radius: 10px;
    transition: opacity 0.2s, transform 0.1s;
}

.landing-nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ---- Landing Hero Section ---- */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    overflow: hidden;
}

/* Animated background layer */
.landing-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.landing-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(102, 126, 234, 0.14) 0%, transparent 70%), 
        radial-gradient(ellipse 60% 80% at 75% 55%, rgba(168, 85, 247, 0.1) 0%, transparent 60%), 
        radial-gradient(ellipse 50% 50% at 25% 35%, rgba(59, 130, 246, 0.07) 0%, #5e4aff14 60%)
}

.landing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.landing-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    top: -10%;
    left: 10%;
    animation: orbFloat1 20s ease-in-out infinite;
}

.landing-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.16) 0%, transparent 70%);
    top: 20%;
    right: -5%;
    animation: orbFloat2 25s ease-in-out infinite;
}

.landing-orb--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.13) 0%, transparent 70%);
    bottom: 0%;
    left: 30%;
    animation: orbFloat3 18s ease-in-out infinite;
}

.landing-orb--4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    top: 60%;
    left: -5%;
    animation: orbFloat4 22s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -40px); }
    66% { transform: translate(-20px, 20px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-40px, 30px); }
    66% { transform: translate(20px, -30px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, 20px); }
    66% { transform: translate(-30px, -20px); }
}
@keyframes orbFloat4 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-20px, -30px); }
    66% { transform: translate(30px, 10px); }
}

/* Hero content */
.landing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Frosted title frame with gradient border */
.landing-title-frame {
    position: relative;
    padding: 44px 36px 28px;
    margin-bottom: 36px;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 80px rgba(102, 126, 234, 0.05);
}

/* Gradient border via mask — goes from indigo→purple→pink→transparent */
.landing-title-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.5) 0%,
        rgba(168, 85, 247, 0.25) 35%,
        rgba(236, 72, 153, 0.12) 65%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Soft inner glow for depth */
.landing-title-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(ellipse at 30% 20%, rgba(102, 126, 234, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Cursor-following spotlight */
.landing-spotlight {
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(168, 85, 247, 0.95);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 100px;
    margin-bottom: 36px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.landing-hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: #fff;
    margin-bottom: 28px;
}

.landing-hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #a855f7 50%, #ec4899 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* animation: gradientShift 8s ease-in-out infinite; */
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.landing-hero-subtitle {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    max-width: 580px;
    margin: 0 auto;
    letter-spacing: 0.1px;
}

.landing-hero-subtitle b {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.landing-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* Trust indicators */
.landing-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

.landing-trust-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Landing buttons (standalone, not inheriting .btn width:100%) */
.landing-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 44px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.landing-btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.landing-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 44px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.landing-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

/* Glowing section divider */
.landing-divider {
    position: relative;
    z-index: 2;
    height: 1px;
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), rgba(168, 85, 247, 0.3), transparent);
}

/* ---- Landing Features Section ---- */
.landing-features {
    position: relative;
    z-index: 2;
    padding: 80px 40px 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.03) 50%, transparent 100%);
}

.landing-features-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.landing-feature {
    padding: 40px 32px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s,
                border-color 0.3s;
}

.landing-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-feature:nth-child(2) { transition-delay: 0.1s; }
.landing-feature:nth-child(3) { transition-delay: 0.15s; }

.landing-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.08),
                0 0 0 1px rgba(102, 126, 234, 0.08);
}

.landing-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(168, 85, 247, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-feature-icon svg {
    width: 28px;
    height: 28px;
}

.landing-feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.landing-feature-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}

/* ---- Landing Bottom CTA ---- */
.landing-bottom {
    position: relative;
    z-index: 2;
    padding: 60px 40px 100px;
    text-align: center;
}

.landing-bottom-inner {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-bottom-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-bottom-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 32px;
}

/* ---- Landing Responsive ---- */
@media (max-width: 900px) {
    .landing-features-inner {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 680px) {
    .landing-nav {
        padding: 0 20px;
    }

    .landing-nav-inner {
        height: 60px;
    }

    .landing-hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .landing-hero-title {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .landing-hero-subtitle {
        font-size: 16px;
    }

    .landing-title-frame {
        padding: 32px 20px 20px;
        margin-bottom: 28px;
        border-radius: 18px;
    }

    .landing-trust {
        gap: 10px;
        font-size: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .landing-spotlight {
        display: none;
    }

    .landing-divider {
        max-width: 200px;
    }

    .landing-hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .landing-btn-primary,
    .landing-btn-secondary {
        width: 100%;
    }

    .landing-features {
        padding: 40px 20px 60px;
    }

    .landing-feature {
        padding: 28px 24px;
    }

    .landing-bottom {
        padding: 40px 24px 60px;
    }

    .landing-bottom-title {
        font-size: 24px;
    }

    .landing-orb--1 {
        width: 300px;
        height: 300px;
    }

    .landing-orb--2 {
        width: 250px;
        height: 250px;
    }

    .landing-orb--3,
    .landing-orb--4 {
        display: none;
    }
}

/* ---- Secondary Button ---- */
.btn-secondary {
    background: transparent;
    border: 1px solid rgba(102, 126, 234, 0.5);
    color: #818cf8;
}

.btn-secondary:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.7);
    opacity: 1;
}

/* ---- Modal Overlay ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(30, 27, 60, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 500px;
    max-width: calc(100% - 32px);
    padding: 36px 32px;
    position: relative;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.modal-notice {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 8px;
}

.modal-notice strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.modal-actions {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: rgba(255, 255, 255, 0.7);
}
