/* ========================================
   Design System & CSS Variables
   ======================================== */
:root {
    /* Color Palette */
    --color-primary: hsl(243, 75%, 59%);
    --color-primary-light: hsl(243, 75%, 65%);
    --color-primary-dark: hsl(243, 75%, 53%);
    --color-secondary: hsl(283, 79%, 63%);
    --color-accent: hsl(197, 71%, 52%);
    
    /* Dark Theme Colors */
    --color-bg-dark: hsl(240, 18%, 8%);
    --color-bg-darker: hsl(240, 20%, 5%);
    --color-surface: hsl(240, 15%, 12%);
    --color-surface-elevated: hsl(240, 12%, 16%);
    
    /* Text Colors */
    --color-text-primary: hsl(0, 0%, 98%);
    --color-text-secondary: hsl(240, 5%, 70%);
    --color-text-muted: hsl(240, 5%, 50%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-surface: linear-gradient(135deg, hsl(240, 15%, 14%) 0%, hsl(240, 12%, 10%) 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, hsla(243, 75%, 59%, 0.15) 0%, transparent 70%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', var(--font-primary);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========================================
   Background & Animations
   ======================================== */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, hsla(243, 75%, 59%, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, hsla(283, 79%, 63%, 0.1) 0%, transparent 50%);
    z-index: -2;
    animation: pulseGradient 15s ease-in-out infinite;
}

@keyframes pulseGradient {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.animated-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-primary);
    top: 60%;
    left: 60%;
    animation-delay: 10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.content-wrapper {
    text-align: center;
    animation: fadeInUp 1s var(--transition-base);
}

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

/* ========================================
   Logo Section
   ======================================== */
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s var(--transition-base) 0.2s both;
}

.logo-icon {
    width: 80px;
    height: 80px;
    animation: rotateGlow 10s linear infinite;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

@keyframes rotateGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.7));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
    }
}

.brand-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.brand-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 1s var(--transition-base) 0.4s both;
}

.coming-soon-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-glow);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 50px rgba(99, 102, 241, 0.5);
    }
}

.headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   Features Grid
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 1s var(--transition-base) 0.6s both;
}

.feature-card {
    background: var(--gradient-surface);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
    position: relative;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    position: relative;
}

/* ========================================
   Notify Section
   ======================================== */
.notify-section {
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 1s var(--transition-base) 0.8s both;
}

.notify-form {
    max-width: 500px;
    margin: 0 auto var(--spacing-sm);
}

.input-group {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-surface-elevated);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
}

.email-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

.notify-button {
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.notify-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.notify-button:active {
    transform: translateY(0);
}

.button-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.notify-button:hover .button-icon {
    transform: translateX(4px);
}

.form-message {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
    min-height: 1.5rem;
}

.form-message.success {
    color: hsl(142, 76%, 56%);
}

.form-message.error {
    color: hsl(0, 84%, 60%);
}

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

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    padding: var(--spacing-xl);
    background: var(--gradient-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeInUp 1s var(--transition-base) 1s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-value::after {
    content: '+';
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    animation: fadeInUp 1s var(--transition-base) 1.2s both;
}

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

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-elevated);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-md);
    }
    
    .logo-section {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .email-input,
    .notify-button {
        width: 100%;
    }
    
    .stat-divider {
        display: none;
    }
    
    .footer {
        flex-direction: column;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .stats-section {
        gap: var(--spacing-lg);
    }
}

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

@media print {
    .animated-shapes,
    .background-gradient {
        display: none;
    }
}
