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

:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --accent: #00d9ff;
    --bg-dark: #0a0e27;
    --bg-darker: #050811;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border-color: #1a2847;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Animated Background Stars */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.stars::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 60px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 50px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 10px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.content {
	margin-top: 150px;
    width: 100%;
    max-width: 900px;
    text-align: center;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    animation: slideDown 0.8s ease-out;
}

.logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    animation: rotate 6s linear infinite;
}

.logo svg {
    width: 88px;
    height: 88px;
}

.brand {
	margin-left: 20px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hero Section */
.hero {
    margin-bottom: 50px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.headline {
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

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

/* Email Form */
.cta-section {
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.email-form {
    display: flex;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.email-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.submit-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

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

.form-message {
    font-size: 14px;
    min-height: 20px;
    color: var(--accent);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.feature {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.08);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Countdown Timer */
.countdown {
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.countdown-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.timer {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.time-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.time-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    animation: fadeIn 0.8s ease-out 1s both;
}

.social-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 16px;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 640px) {
    .headline {
        font-size: 36px;
    }

    .description {
        font-size: 16px;
    }

    .email-form {
        flex-direction: column;
    }

    .email-input,
    .submit-btn {
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .timer {
        gap: 12px;
    }

    .time-value {
        font-size: 28px;
    }
}

/* Dark Mode Smooth Transitions */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
