/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #00d4ff;
    --dark-bg: #0a0e27;
    --text-light: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #00d4ff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0d1535 50%, #0a0e27 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Container */
.container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    z-index: 1;
}

/* Logo Section */
.logo-container {
    margin-bottom: 40px;
    animation: slideDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Section */
.content {
    animation: fadeIn 1s ease-in-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Signup Section */
.signup-section {
    margin: 50px 0;
    padding: 40px 30px;
    background: rgba(0, 102, 204, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signup-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.email-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 600px) {
    .email-form {
        flex-direction: column;
    }
}

.email-form input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-form input::placeholder {
    color: var(--text-secondary);
}

.email-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.email-form button {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
}

.email-form button:active {
    transform: translateY(0);
}

.success-message {
    color: #00ff88;
    font-weight: 600;
    animation: slideUp 0.4s ease-out;
}

/* Social Links */
.social-links {
    margin-top: 40px;
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

.social-links p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.links a:hover {
    color: var(--text-light);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.85rem;
    animation: fadeIn 1s ease-in-out 0.8s both;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .logo {
        max-width: 250px;
    }

    .signup-section {
        margin: 30px 0;
        padding: 30px 20px;
    }

    .email-form input {
        min-width: 150px;
        padding: 12px 14px;
        font-size: 16px;
    }

    .email-form button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .logo-container {
        margin-bottom: 30px;
    }

    .signup-section {
        padding: 25px 15px;
        margin: 25px 0;
    }

    .email-form {
        gap: 8px;
    }

    .email-form input {
        padding: 12px 12px;
    }

    footer {
        font-size: 0.75rem;
        margin-top: 40px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    body::before {
        display: none;
    }

    .email-form input,
    .email-form button {
        display: none;
    }
}
