/* CSS Variables */
:root {
    --blue-900: #0a1628;
    --blue-800: #0f2444;
    --blue-700: #1a3a5c;
    --blue-600: #1e4d7b;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --blue-300: #60a5fa;
    --blue-200: #93c5fd;
    --blue-100: #dbeafe;
    
    --accent: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.4);
    
    --white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html, body {
    height: 100%;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--white);
    background: var(--blue-900);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Landing Container */
.landing-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--blue-600), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, var(--blue-700), transparent),
        radial-gradient(ellipse 40% 30% at 10% 80%, var(--blue-800), transparent),
        linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 100%);
}

.content-wrapper {
    text-align: center;
    z-index: 10;
    max-width: 600px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

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

/* Hero Section */
.hero-section {
    margin-bottom: 3.5rem;
}

.brand-name {
    font-family: var(--font-display);
    font-size: clamp(5rem, 20vw, 12rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 0.9;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--blue-200) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px var(--accent-glow);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px var(--accent-glow));
    }
    50% {
        filter: drop-shadow(0 0 40px var(--accent-glow));
    }
}

.slogan {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--blue-200);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Subscribe Section */
.subscribe-section {
    max-width: 480px;
    margin: 0 auto;
}

.subscribe-form {
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    padding: 6px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    background: rgba(255, 255, 255, 0.08);
}

#email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--white);
    outline: none;
    min-width: 0;
}

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

#submit-btn {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--accent) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

#submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.4);
}

#submit-btn:active {
    transform: scale(0.98);
}

#submit-btn.loading .btn-text {
    opacity: 0;
}

#submit-btn.loading .btn-loader {
    opacity: 1;
}

.btn-text {
    transition: opacity 0.2s ease;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: var(--white);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Form Message */
.form-message {
    margin-top: 1rem;
    padding: 0 1rem;
    font-size: 0.9rem;
    min-height: 1.5rem;
    transition: all 0.3s ease;
}

.form-message.success {
    color: #34d399;
}

.form-message.error {
    color: #f87171;
}

.form-message.show {
    animation: messageAppear 0.4s ease;
}

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

/* Subscribe Note */
.subscribe-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Decorative Elements */
.decorative-elements {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    opacity: 0.3;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    opacity: 0.2;
    animation-delay: -5s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 20%;
    opacity: 0.15;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-10px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -10px) scale(1.02);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .landing-container {
        padding: 1.5rem;
    }
    
    .hero-section {
        margin-bottom: 2.5rem;
    }
    
    .slogan {
        letter-spacing: 0.15em;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 20px;
        padding: 8px;
    }
    
    #email-input {
        text-align: center;
        padding: 1rem;
    }
    
    #submit-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* Page Footer */
.page-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent);
}

/* Legal Pages (Privacy Policy, Terms, etc.) */
.legal-container {
    min-height: 100vh;
    padding: 2rem;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--blue-600), transparent),
        linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 100%);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

.back-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: var(--blue-200);
    transform: translateX(-4px);
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--blue-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--blue-200);
    margin: 1.5rem 0 0.75rem 0;
}

.legal-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.legal-content li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

.legal-content li strong {
    color: var(--white);
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-info strong {
    color: var(--accent);
}

/* Responsive for Legal Pages */
@media (max-width: 640px) {
    .legal-container {
        padding: 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.2rem;
    }
    
    .legal-content p,
    .legal-content li {
        font-size: 0.95rem;
    }
}

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

