/* ============================================
   ELEVYO TEASER - Full Screen Pro Design
   Brand: Blue (#3B82F6) → Teal (#14B8A6)
============================================ */

:root {
    /* Brand Gradient */
    --grad-cyan: #22D3EE;
    --grad-teal: #14B8A6;
    --grad-blue: #3B82F6;
    --grad-dark: #1E40AF;
    --gradient: linear-gradient(135deg, var(--grad-blue) 0%, var(--grad-teal) 100%);
    --gradient-text: linear-gradient(135deg, var(--grad-blue) 0%, var(--grad-cyan) 100%);
    
    /* Backgrounds */
    --bg: #0B0F17;
    --bg-card: rgba(15, 21, 34, 0.6);
    
    /* Text */
    --text: #EEF2FF;
    --text-dim: rgba(238, 242, 255, 0.6);
    --text-muted: rgba(238, 242, 255, 0.35);
    
    /* Effects */
    --glow-teal: rgba(20, 184, 166, 0.2);
    --glow-blue: rgba(59, 130, 246, 0.2);
    --border: rgba(255, 255, 255, 0.06);
    
    /* Typography */
    --font-display: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Background Effects - Full Screen */
.bg-effects {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.glow-1 {
    width: 800px;
    height: 800px;
    background: var(--glow-teal);
    top: -300px;
    right: -200px;
    animation: drift 25s ease-in-out infinite;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: var(--glow-blue);
    bottom: -200px;
    left: -200px;
    animation: drift 30s ease-in-out infinite reverse;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: var(--glow-teal);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(40px, -30px); }
    50% { transform: translate(-20px, 40px); }
    75% { transform: translate(30px, 20px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

/* Page Layout - Full Screen */
.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 24px 48px;
}

@media (min-width: 1200px) {
    .page {
        padding: 32px 80px;
    }
}

@media (min-width: 1600px) {
    .page {
        padding: 40px 120px;
    }
}

/* Navigation - Full Width */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wordmark {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.tagline {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Language Switch */
.lang-switch {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: 999px;
    backdrop-filter: blur(20px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: var(--text-dim);
}

.lang-btn.active {
    background: var(--gradient);
    color: white;
}

/* Hero - Centered, Full Space */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

/* Headline */
.headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* COMING SOON - The Star */
.coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient);
    padding: 16px 32px;
    border-radius: 999px;
    margin-bottom: 32px;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    box-shadow: 
        0 8px 32px rgba(20, 184, 166, 0.3),
        0 4px 16px rgba(59, 130, 246, 0.2);
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 10px transparent; }
}

.coming-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: white;
}

/* Subtext */
.subtext {
    font-size: 1.125rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

/* Signup Form */
.signup-form {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.input-group {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 8px;
    backdrop-filter: blur(20px);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group:focus-within {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    min-width: 0;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    padding: 16px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

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

.submit-btn svg {
    transition: transform 0.2s;
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

.privacy {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Success State */
.success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.success-state.show {
    display: flex;
}

.signup-form.hidden {
    display: none;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.success-text {
    font-size: 1.25rem;
    color: var(--text-dim);
}

/* Footer */
.footer {
    text-align: center;
    padding: 16px 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

/* Responsive */
@media (max-width: 768px) {
    .page {
        padding: 20px 24px;
    }
    
    .brand-text {
        display: none;
    }
    
    .headline {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 24px;
    }
    
    .coming-soon {
        padding: 12px 24px;
        margin-bottom: 24px;
    }
    
    .coming-text {
        font-size: 1rem;
    }
    
    .subtext {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .input-group {
        flex-direction: column;
        padding: 12px;
    }
    
    .input-group input {
        text-align: center;
        padding: 14px 16px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 16px;
    }
    
    .logo {
        width: 36px;
        height: 36px;
    }
    
    .headline {
        font-size: 1.875rem;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .headline {
        font-size: 5rem;
    }
    
    .coming-soon {
        padding: 20px 40px;
    }
    
    .coming-text {
        font-size: 1.25rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

::selection {
    background: var(--grad-blue);
    color: white;
}
