/* ==========================================
   Inner Haven — Styling Foundations
   Brand Vibe: Calm, Restorative, Emotionally Safe, Elegant, Spacious, Warm
   ========================================== */

:root {
    /* Color Palette */
    --bg-dark: #0A0D14;          /* Deep nocturnal dark slate background */
    --accent-gold: #E5C384;      /* Soft, warm glow champagne gold */
    --accent-gold-pale: rgba(229, 195, 132, 0.15);
    
    --text-primary: #F0F4F8;     /* Warm off-white */
    --text-secondary: #9AA6B8;   /* Soft slate gray for lower readability priority */
    --text-muted: #505E72;       /* Dimmed, low contrast elegant notes */
    
    /* Elegant gradients portraying soft horizons */
    --glow-one: radial-gradient(circle at 10% 80%, rgba(229, 195, 132, 0.04) 0%, rgba(0, 0, 0, 0) 50%);
    --glow-two: radial-gradient(circle at 90% 20%, rgba(135, 180, 203, 0.05) 0%, rgba(0, 0, 0, 0) 60%);
    
    /* Spacing & Sizing Scale */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;

    /* Transition timings */
    --transition-calm: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-hover: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Core Layout */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Instrument Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Ambient twilight horizon glows */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glow-one);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-two {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glow-two);
    pointer-events: none;
    z-index: 0;
}

/* Main Container */
.page-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header Options */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-md);
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 5px;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(229, 195, 132, 0.2);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 40px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-gold);
    animation: breathing 3s infinite ease-in-out;
}

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

/* Main Grid Template */
.main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-xl);
    align-items: center;
    width: 100%;
}

/* Column Left: Copy + Signups */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.main-tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 300;
    line-height: 1.25;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.description {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 540px;
    margin-bottom: 8px;
}

/* Waitlist Component Styling */
.waitlist-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md) var(--spacing-md);
    border-radius: 12px;
    max-width: 520px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.waitlist-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.waitlist-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
}

/* Signup Inputs Form styling */
.waitlist-form {
    transition: var(--transition-calm);
}

.input-group {
    display: flex;
    gap: 10px;
}

.waitlist-form input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-hover);
}

.waitlist-form input:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(229, 195, 132, 0.08);
}

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

.submit-button {
    background: #E5C384;
    color: #0A0D14;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-hover);
}

.submit-button:hover {
    background: #eed8ab;
    box-shadow: 0 0 20px rgba(229, 195, 132, 0.25);
    transform: translateY(-1px);
}

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

.arrow-icon {
    transition: var(--transition-hover);
}

.submit-button:hover .arrow-icon {
    transform: translateX(3px);
}

/* Succes State Styling */
.form-success {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition-calm);
    opacity: 0;
    transform: translateY(10px);
}

.success-icon-container {
    padding: var(--spacing-sm);
    background: var(--accent-gold-pale);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-message {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 300;
}

.hidden {
    display: none !important;
}

/* Column Right: Visual Haven Presence */
.hero-right {
    display: flex;
    justify-content: center;
    position: relative;
}

.image-showcase {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.image-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(229, 195, 132, 0.05) 0%, rgba(0,0,0,0) 70%);
    top: -10%;
    left: -10%;
    z-index: -1;
    pointer-events: none;
}

.portrait-frame {
    width: 100%;
    aspect-ratio: 0.85 / 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    filter: brightness(0.9) contrast(1.02);
    transition: var(--transition-calm);
}

.image-showcase:hover .portrait-image {
    transform: scale(1.02);
    opacity: 0.95;
    filter: brightness(0.95) contrast(1.03);
}

.portrait-caption {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 4px;
}

.caption-label {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    font-weight: 500;
    text-transform: uppercase;
}

.caption-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Footer Section Styling */
.site-footer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    margin-bottom: var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.copyright {
    letter-spacing: 0.2px;
}

.footer-status {
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Breathing Animation for Dot Indicator */
@keyframes breathing {
    0% {
        box-shadow: 0 0 4px var(--accent-gold);
        opacity: 0.7;
    }
    50% {
        box-shadow: 0 0 12px var(--accent-gold);
        opacity: 1;
    }
    100% {
        box-shadow: 0 0 4px var(--accent-gold);
        opacity: 0.7;
    }
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .hero-right {
        order: -1;  /* Put Haven visual first on mobile */
        margin-bottom: var(--spacing-sm);
    }
    
    .image-showcase {
        max-width: 320px;
    }
    
    .main-tagline {
        font-size: 2.2rem;
    }
    
    .page-container {
        padding: var(--spacing-sm);
    }

    .site-header {
        padding: var(--spacing-sm) 0;
    }
}

@media (max-width: 500px) {
    .input-group {
        flex-direction: column;
    }
    
    .submit-button {
        justify-content: center;
    }
}

