:root {
    --primary-color: #e50000;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --bg-dark: #0a0a0a;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

.first-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.second-hero {
position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-image: url(assets/images/second-hero.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 9rem;
    padding-left: 40rem;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    height: 24px;
    width: auto;
}

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

.social-icons a {
    color: var(--text-primary);
    width: 24px;
    height: 24px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.social-icons a svg {
    width: 100%;
    height: 100%;
    display: block;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text-primary);
}

.icons {
    display: flex;
    gap: 1.5rem;
}

.icons button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icons button:hover {
    color: var(--text-primary);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
}

.center-icon {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 4rem;
    letter-spacing: 1px;
}

.countdown {
    display: flex;
    gap: 4rem;
    margin-bottom: 7rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.number {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1;
}

.label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Newsletter Form */
.newsletter {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.early-access {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.input-group {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.2rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

button[type="submit"] {
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 0 2rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background: rgba(255, 255, 255, 0.1);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.85rem;
    min-height: 1.2em;
}

/* Footer Content */
.footer-content {
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
    line-height: 1.6;
    letter-spacing: 1px;
}

.footer-content p {
    color: var(--text-secondary);
}

.footer-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.footer-icon {
    margin-left: 0.5rem;
    height: 1.5rem;
    width: auto;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 1200px) {
    .second-hero {
        padding-left: 20rem;
    }
}

@media (max-width: 1024px) {
    .second-hero {
        padding-left: 5rem;
        padding-top: 5rem;
    }
    
    .countdown {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        padding: 1.5rem 0;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icons a {
        width: 20px;
        height: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .countdown {
        gap: 1.5rem;
        margin-bottom: 4rem;
    }

    .number {
        font-size: 1.8rem;
    }

    .input-group {
        flex-direction: column;
    }

    button[type="submit"] {
        border-left: none;
        border-top: 1px solid var(--border-color);
        width: 100%;
        padding: 1rem;
    }

    .second-hero {
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 4rem;
        justify-content: center;
        align-items: center;
    }
    
    .footer-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 1rem;
    }
    
    .number {
        font-size: 1.5rem;
    }
    
    .label {
        font-size: 0.7rem;
    }
}
