/* ==================== 
   ROOT VARIABLES 
   ==================== */
:root {
    --color-dark: #0a0a0a;
    --color-darker: #050505;
    --color-gold: #d4af37;
    --color-gold-light: #f4d56c;
    --color-gold-dark: #b8941f;
    --color-text: #e8e8e8;
    --color-text-muted: #a0a0a0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Work Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== 
   RESET & BASE 
   ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-darker);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ==================== 
   BACKGROUND LAYERS 
   ==================== */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1619856699906-09e1f58c98b1?q=80&w=2940&auto=format&fit=crop') center center/cover no-repeat;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.9) 50%,
        rgba(10, 10, 10, 0.85) 100%
    );
    z-index: -1;
}

/* ==================== 
   CONTAINER 
   ==================== */
.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==================== 
   HEADER 
   ==================== */
.header {
    padding: 1rem 0;
    animation: fadeInDown 1s ease-out;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.logo-image {
    width: 300px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

.logo-image:hover {
    opacity: 1;
}

/* ==================== 
   MAIN CONTENT 
   ==================== */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

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

.main-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.heading-line {
    display: block;
}

.gold-text {
    color: var(--color-gold);
    font-style: italic;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 200;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    letter-spacing: 0.08em;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* ==================== 
   CTA SECTION 
   ==================== */
.cta-section {
    margin: 4rem 0;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.email-form {
    display: flex;
    gap: 0;
    max-width: 600px;
    margin: 0 auto 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
}

.email-form:focus-within {
    border-color: var(--color-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.email-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.02em;
    outline: none;
    transition: var(--transition);
}

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

.email-input:focus {
    background: rgba(255, 255, 255, 0.05);
}

.submit-button {
    padding: 1.25rem 2.5rem;
    background: var(--color-gold);
    border: none;
    color: var(--color-darker);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--color-gold-light);
    transform: translateX(2px);
}

.submit-button:active {
    transform: translateX(1px);
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* ==================== 
   FEATURES 
   ==================== */
.features {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 5rem;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    color: var(--color-gold);
    font-size: 1.5rem;
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ==================== 
   FOOTER 
   ==================== */
.footer {
    padding: 2rem 0 1rem;
    text-align: center;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* ==================== 
   ANIMATIONS 
   ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==================== 
   RESPONSIVE 
   ==================== */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .logo-image {
        width: 240px;
    }
    
    .main-heading {
        margin-bottom: 1.5rem;
    }
    
    .subtitle {
        margin-bottom: 2rem;
    }
    
    .email-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .submit-button:hover {
        transform: translateY(-2px);
    }
    
    .features {
        flex-direction: column;
        gap: 2rem;
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 200px;
    }
    
    .email-input,
    .submit-button {
        padding: 1rem 1.25rem;
    }
}
