/* 
   Flow NextGen - Global Brand Styles 
   Theme: Cyber-Orange / Dark Mode / High-Fidelity Glassmorphism
*/

:root {
    --obsidian: #020617;
    --onyx: #0f172a;
    --orange: #ff6b00;
    --orange-glow: rgba(255, 107, 0, 0.4);
    --frost: #f1f5f9;
    --steel: #94a3b8;
    --emerald: #10b981;
}

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

body {
    background-color: var(--obsidian);
    color: var(--frost);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px 0;
}

/* --- High-Fidelity Background Mesh --- */
.mesh-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mesh-gradient {
    position: absolute;
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    background-image: 
        radial-gradient(at 10% 10%, rgba(255, 107, 0, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(15, 23, 42, 0.5) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(2, 6, 23, 1) 0px, transparent 100%),
        radial-gradient(at 10% 90%, rgba(15, 23, 42, 0.5) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(255, 107, 0, 0.1) 0px, transparent 50%);
    animation: mesh-float 30s ease-in-out infinite alternate;
}

@keyframes mesh-float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-5%, -5%) rotate(2deg); }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    background: var(--orange);
    filter: blur(100px);
    opacity: 0.15;
    animation: orb-float 20s infinite alternate;
}

@keyframes orb-float {
    from { transform: translate(-10%, -10%) scale(1); }
    to { transform: translate(10%, 10%) scale(1.3); }
}

/* --- Reusable Glass Card --- */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2.5rem;
    padding: 3.5rem;
    text-align: center;
    width: 100%;
    max-width: 480px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.logo-container {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 72px;
    height: 72px;
    background: var(--obsidian);
    border: 2px solid rgba(255, 107, 0, 0.4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--orange-glow);
    margin-bottom: 1rem;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--frost);
}

.brand-name span {
    color: var(--orange);
    text-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 100px;
    color: var(--orange);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

p {
    color: var(--steel);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 500;
}

.divider {
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 2rem auto;
}

.footer-hint {
    font-size: 11px;
    color: var(--steel);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
}

/* --- Shared Components --- */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 107, 0, 0.1);
    border-top: 3px solid var(--orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 16px;
    background: var(--frost);
    color: var(--obsidian);
    text-decoration: none;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
    background: #ffffff;
}
