/* ══════════════════════════════════════════════
   Bella Veda — Premium Landing Page
   Palette: warm ivory · aged gold · terracotta · sage
   ══════════════════════════════════════════════ */

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

/* ── Custom properties ─────────────────────── */
:root {
    --gold:         #c9a87c;
    --gold-light:   #e8d5b0;
    --gold-deep:    #8a5c3f;
    --ivory:        #faf6f0;
    --ivory-2:      #f5ede0;
    --sage:         #7a9a82;
    --text-primary: #2d1f14;
    --text-muted:   #8a7565;
    --glass-bg:     rgba(255,252,246, 0.55);
    --glass-border: rgba(201,168,124, 0.3);
    --shadow:       0 32px 80px rgba(90,50,20,0.18), 0 8px 24px rgba(90,50,20,0.12);
}

/* ── Body & base ───────────────────────────── */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    background: linear-gradient(135deg, #f5e8d5 0%, #ede0c8 30%, #e8d5b5 60%, #f0e6d2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    overflow: hidden;
    position: relative;
}

/* ── Animated background orbs ─────────────── */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: drift ease-in-out infinite alternate;
    z-index: 0;
}

.orb-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(201,168,124,0.45) 0%, transparent 70%);
    top: -160px; left: -160px;
    animation-duration: 12s;
}
.orb-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(138,92,63,0.3) 0%, transparent 70%);
    bottom: -120px; right: -120px;
    animation-duration: 15s;
    animation-delay: -5s;
}
.orb-3 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(122,154,130,0.28) 0%, transparent 70%);
    top: 40%; left: 60%;
    animation-duration: 18s;
    animation-delay: -8s;
}
.orb-4 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(232,213,176,0.5) 0%, transparent 70%);
    top: 55%; left: 10%;
    animation-duration: 10s;
    animation-delay: -3s;
}

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(40px, 30px) scale(1.08); }
}

/* ── Floating particles ────────────────────── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    color: var(--gold);
    animation: float linear infinite;
    user-select: none;
}

@keyframes float {
    0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* ── Layout container ──────────────────────── */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    width: 100%;
}

/* ── Glass card ────────────────────────────── */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-radius: 28px;
    padding: 3.5rem 3.5rem 2.8rem;
    max-width: 580px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow);
    animation: cardIn 1s cubic-bezier(0.22,1,0.36,1) both;
    position: relative;
    overflow: hidden;
}

/* subtle shimmer line at top */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,124,0.8), transparent);
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}


/* ── Brand heading ─────────────────────────── */
.brand-name {
    font-family: 'Italiana', serif;
    font-weight: 400;
    font-size: clamp(3rem, 9vw, 5.5rem);
    letter-spacing: 0.08em;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    animation: fadeUp 0.9s 0.15s ease both;
}

/* ── Tagline ───────────────────────────────── */
.tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.9s 0.25s ease both;
}

/* ── Divider ───────────────────────────────── */
.divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.9s 0.3s ease both;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.divider-leaf {
    color: var(--gold);
    font-size: 0.75rem;
}

/* ── Description ───────────────────────────── */
.description {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeUp 0.9s 0.35s ease both;
}

.description em {
    color: var(--gold-deep);
    font-style: italic;
}

/* ── Coming Soon badge ─────────────────────── */
.coming-soon-badge {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.5rem 1.8rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: rgba(201,168,124,0.12);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    animation: fadeUp 0.9s 0.45s ease both;
}

/* ── Email form ────────────────────────────── */
.email-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    animation: fadeUp 0.9s 0.55s ease both;
}

.email-form input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: rgba(255,252,246,0.7);
    backdrop-filter: blur(8px);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

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

.email-form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,124,0.15);
}

.email-form input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── CTA button ────────────────────────────── */
.cta {
    padding: 0.85rem 1.6rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--ivory);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.25s, box-shadow 0.25s, background 0.4s;
    box-shadow: 0 4px 20px rgba(138,92,63,0.35);
}

.cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(138,92,63,0.45);
}

.cta:active { transform: scale(0.98); }

.cta:disabled { cursor: not-allowed; }

/* ── Privacy note ──────────────────────────── */
.privacy-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
    opacity: 0.7;
    animation: fadeUp 0.9s 0.6s ease both;
}

/* ── Pillars ───────────────────────────────── */
.pillars {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeUp 0.9s 0.7s ease both;
}

.pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: default;
    transition: color 0.3s, transform 0.3s;
}

.pillar:hover {
    color: var(--gold-deep);
    transform: translateY(-3px);
}

.pillar-icon {
    font-size: 1.5rem;
}

/* ── Footer ────────────────────────────────── */
.footer-line {
    margin-top: 1.4rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: rgba(138,92,63,0.45);
    text-transform: uppercase;
    animation: fadeUp 0.9s 0.8s ease both;
}

/* ── Shake animation ───────────────────────── */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

.shake { animation: shake 0.4s ease; }

/* ── Reveal animation ──────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 540px) {
    .glass-card {
        padding: 2.5rem 1.8rem 2.2rem;
        border-radius: 20px;
    }

    .countdown-wrap {
        gap: 0.6rem;
    }

    .countdown-item {
        min-width: 52px;
        padding: 0.6rem 0.7rem;
    }

    .countdown-num { font-size: 1.5rem; }

    .email-form {
        flex-direction: column;
    }

    .cta {
        width: 100%;
    }
}