/* Global Styles */
:root {
    --primary-color: #ffffff;
    --accent-color: #ff8c42; /* Sunset orange */
    --overlay-color: rgba(10, 25, 47, 0.6); /* Deep navy blue, semi-transparent */
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: var(--font-body);
    color: var(--primary-color);
    background-image: url('assets/images/background.png');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    text-align: center;
}

/* Background Overlay */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), var(--overlay-color));
    z-index: 0;
}

/* Header */
header {
    position: relative;
    z-index: 10;
    padding: 2rem;
    width: 100%;
    display: flex;
    justify-content: center; /* Centered Logo */
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo .dot {
    color: var(--accent-color);
}

/* Main Content */
main {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.hero-content {
    width: 100%;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    animation: fadeInUp 1s ease-out;
}

.glass-card h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.glass-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    background: rgba(255, 140, 66, 0.2);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-box span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.time-box small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Form */
.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.input-group:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--primary-color);
}

.newsletter-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-body);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}

.newsletter-form button svg {
    width: 18px;
    height: 18px;
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .glass-card h1 {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .time-box span {
        font-size: 1.8rem;
    }
    
    .input-group {
        flex-direction: column; /* Stack input and button on very small screens? Maybe just keep them inline but smaller */
        border-radius: 12px;
        background: transparent;
        border: none;
        gap: 1rem;
    }
    
    .newsletter-form input {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50px;
        width: 100%;
        text-align: center;
    }
    
    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }
}
