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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #f5f5f5;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Background image */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Dark overlay for readability */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(20, 20, 20, 0.75) 50%,
        rgba(15, 15, 15, 0.85) 100%
    );
    z-index: 1;
}

/* Subtle grain texture */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 2;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    animation: fadeSlideIn 1s ease-out;
}

.nav-name {
    font-size: 1.125rem;
    color: #f5f5f5;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.rotating-text {
    transition: opacity 0.5s ease-in-out;
    display: inline-block;
    min-width: 80px;
    font-weight: lighter;
}

.nav-spacer {
    flex: 1;
}

.nav-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    color: #d1d1d1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #a855f7;
    transform: translateY(-2px);
}

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

/* Main container */
.container {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Content wrapper with fade-in animation */
.content {
    max-width: 720px;
    text-align: center;
    animation: fadeSlideIn 1.2s ease-out;
    padding: 0 1rem;
}

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

/* Hero title */
.title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #f5f5f5;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Subtitle */
.subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    color: #d1d1d1;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Accent line */
.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #a855f7 0%, #8b5cf6 100%);
    margin: 0 auto 3rem;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    animation: accentPulse 3s ease-in-out infinite;
}

/* Email Section */
.email-section {
    margin-top: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.email-cta {
    font-size: clamp(0.9375rem, 1.8vw, 1rem);
    color: #d1d1d1;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.email-form {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 240px;
    padding: 0.8125rem 1.125rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #f5f5f5;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.email-input:focus {
    outline: none;
    border-color: #a855f7;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.email-button {
    padding: 0.8125rem 1.75rem;
    background: linear-gradient(90deg, #a855f7 0%, #8b5cf6 100%);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.25);
}

.email-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.35);
}

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

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 1.25rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}

.footer-tagline {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    color: #a855f7;
    transform: translateY(-1px);
}

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

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0;
}

@keyframes accentPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.7;
        transform: scaleX(1.1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 1.25rem 1.5rem;
    }

    .nav-name {
        font-size: 1rem;
    }

    .nav-social {
        gap: 1.25rem;
    }

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

    .container {
        padding: 1rem;
        padding-bottom: 4.5rem;
    }

    .content {
        padding: 0 0.5rem;
    }

    .title {
        margin-bottom: 1.25rem;
    }

    .subtitle {
        margin-bottom: 1.75rem;
    }

    .accent-line {
        margin-bottom: 2.5rem;
    }

    .email-section {
        margin-top: 0;
    }

    .email-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .email-input {
        min-width: 100%;
    }

    .email-button {
        width: 100%;
    }

    .footer {
        padding: 1rem 1.5rem;
        gap: 0.5rem;
    }

    .footer-tagline {
        font-size: 0.75rem;
    }

    .footer-social {
        gap: 0.875rem;
    }

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

    .footer-copyright {
        font-size: 0.6875rem;
    }
}
