/* ============================================
   ELUNÉA - COMING SOON PAGE
   Luxury Minimal Design
   ============================================ */

/* ============================================
   CSS VARIABLES (Color Palette)
   ============================================ */
:root {
    --bg-primary: #F8F5F1;
    --text-primary: #2F2723;
    --text-secondary: #4B4038;
    --accent-line: #C2B280;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    letter-spacing: 0.5px;
    overflow-x: hidden;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* ============================================
   LAYOUT STRUCTURE
   ============================================ */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    position: relative;
}

.main-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.brand-name {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 3px;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent-line);
    margin: var(--spacing-md) auto var(--spacing-lg);
    animation: slideInLine 0.8s ease-out 0.2s both;
}

.tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.subtext-section {
    margin-bottom: var(--spacing-2xl);
}

.subtext {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.9;
    letter-spacing: 0.3px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.countdown-section {
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.countdown-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    font-weight: 500;
}

.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.countdown-value {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    animation: pulse 2s ease-in-out infinite;
}

.countdown-unit {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.countdown-separator {
    color: var(--accent-line);
    font-size: 1.2rem;
    opacity: 0.6;
}

/* ============================================
   EMAIL NOTIFICATION FORM
   ============================================ */
.notify-form {
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.email-input {
    width: 100%;
    max-width: 400px;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: white;
    border: 1px solid var(--accent-line);
    border-radius: 2px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    outline: none;
}

.email-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.email-input:focus {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 2px rgba(47, 39, 35, 0.05);
}

.notify-button {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    background-color: var(--text-primary);
    border: 1px solid var(--text-primary);
    border-radius: 2px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.notify-button:hover {
    background-color: var(--accent-line);
    border-color: var(--accent-line);
    color: var(--text-primary);
}

.notify-button:active {
    transform: scale(0.98);
}

.form-message {
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    min-height: 1.2rem;
    color: var(--accent-line);
    letter-spacing: 0.5px;
}

.form-message.success {
    color: var(--accent-line);
}

.form-message.error {
    color: #c17070;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 0;
    right: 0;
    text-align: center;
    animation: fadeIn 1s ease-out 0.7s both;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
        --spacing-2xl: 3.5rem;
    }
    
    .container {
        padding: var(--spacing-md);
    }
    
    .brand-name {
        margin-bottom: var(--spacing-md);
    }
    
    .countdown-display {
        gap: var(--spacing-sm);
    }
    
    .countdown-separator {
        font-size: 1rem;
    }
    
    .email-input {
        max-width: 100%;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 2.5rem;
    }
    
    .container {
        padding: var(--spacing-md);
        justify-content: flex-start;
        padding-top: var(--spacing-xl);
        min-height: auto;
    }
    
    .brand-name {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: var(--spacing-md);
    }
    
    .tagline {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: var(--spacing-lg);
    }
    
    .subtext {
        font-size: 0.95rem;
    }
    
    .countdown-display {
        gap: var(--spacing-xs);
        flex-wrap: wrap;
    }
    
    .countdown-value {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
    
    .countdown-unit {
        font-size: 0.65rem;
    }
    
    .notify-button {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.85rem;
    }
    
    .footer {
        position: relative;
        bottom: auto;
        margin-top: var(--spacing-xl);
    }
}

/* Extra small devices (under 360px) */
@media (max-width: 360px) {
    .brand-name {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .countdown-separator {
        display: none;
    }
    
    .countdown-display {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: more) {
    .divider {
        height: 2px;
    }
    
    .email-input {
        border-width: 2px;
    }
    
    .notify-button {
        border-width: 2px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a1815;
        --text-primary: #f5f1ed;
        --text-secondary: #d4cfc9;
        --accent-line: #8b7f6f;
    }
    
    .email-input {
        background-color: #2a2420;
        color: var(--text-primary);
    }
    
    .email-input::placeholder {
        color: var(--text-secondary);
    }
}
