﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dim: rgba(201,168,76,0.15);
    --white: #F5F0E8;
    --black: #0A0A0A;
    --red: #C0392B;
    --green: #27632A;
}

html, body {
    height: 100%;
    background: var(--black);
    color: var(--white);
    font-family: 'Cormorant Garamond', Georgia, serif;
    overflow-x: hidden;
}



    /* ── Ambient background ── */
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%), radial-gradient(ellipse 40% 30% at 80% 80%, rgba(192,57,43,0.06) 0%, transparent 60%), radial-gradient(ellipse 40% 30% at 20% 80%, rgba(39,99,42,0.06) 0%, transparent 60%);
        pointer-events: none;
        z-index: 0;
    }

    /* Grain overlay */
    body::after {
        content: '';
        position: fixed;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
        background-size: 200px 200px;
        opacity: 0.5;
        pointer-events: none;
        z-index: 0;
    }



/* ── Layout ── */
.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 60px;
    gap: 0;
}

/* ── Decorative top line ── */
.top-ornament {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

    .top-ornament span {
        font-family: 'Cinzel', serif;
        font-size: 10px;
        letter-spacing: 0.4em;
        color: var(--gold);
        text-transform: uppercase;
    }

.ornament-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── Logo ── */
.logo-wrap {
    opacity: 0;
    animation: fadeDown 1s ease 0.4s forwards;
    margin-bottom: 0;
}

    .logo-wrap img {
        width: min(420px, 88vw);
        height: auto;
        display: block;
        filter: drop-shadow(0 0 40px rgba(201,168,76,0.25));
    }


/* ── Coming Soon headline ── */
.headline {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.9s forwards;
}

    .headline h3 {
        font-family: 'Cinzel', serif;
        font-size: clamp(23px, 5vw, 48px);
        font-weight: 600;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--gold);
        line-height: 1;
        margin-bottom: 10px;
    }

    .headline p {
        font-family: 'Cormorant Garamond', serif;
        font-style: italic;
        font-size: clamp(16px, 2.5vw, 22px);
        color: rgba(245,240,232,0.6);
        letter-spacing: 0.1em;
    }

/* ── Divider ── */
.divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 44px;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.1s forwards;
}

.divider-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5));
}

    .divider-line.r {
        background: linear-gradient(270deg, transparent, rgba(201,168,76,0.5));
    }

.divider-diamond {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

/* ── Form card ── */
.card {
    background: rgba(20,18,14,0.85);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 4px;
    padding: 40px 48px;
    width: min(500px, 92vw);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(201,168,76,0.08);
    opacity: 0;
    animation: fadeUp 1s ease 1.3s forwards;
}

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 8px;
}

.card-sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 15px;
    color: rgba(245,240,232,0.5);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 16px;
}

    .form-group label {
        display: block;
        font-family: 'Cinzel', serif;
        font-size: 9px;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: rgba(201,168,76,0.7);
        margin-bottom: 8px;
    }

.input-wrap {
    position: relative;
}

    .input-wrap .prefix {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-family: 'Cinzel', serif;
        font-size: 13px;
        color: var(--gold);
        pointer-events: none;
    }

input[type="tel"], input[type="text"] {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 2px;
    padding: 14px 16px 14px 42px;
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    letter-spacing: 0.08em;
    outline: none;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

    input[type="tel"]:focus, input[type="text"]:focus {
        border-color: rgba(201,168,76,0.6);
        background: rgba(201,168,76,0.04);
        box-shadow: 0 0 0 3px rgba(201,168,76,0.06);
    }

input::placeholder {
    color: rgba(245,240,232,0.25);
    font-style: italic;
}

.form-note {
    font-size: 12px;
    font-style: italic;
    color: rgba(245,240,232,0.35);
    margin-top: 8px;
    text-align: center;
}

.btn {
    width: 100%;
    margin-top: 24px;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 2px;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s;
}

    .btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gold);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
        z-index: 0;
    }

    .btn:hover::before {
        transform: translateX(0);
    }

    .btn:hover {
        color: var(--black);
    }

    .btn span {
        position: relative;
        z-index: 1;
    }

/* ── Success state ── */
.success-msg {

    display: block;
    text-align: center;
    padding: 20px 0 8px;
}

    .success-msg .check {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .success-msg h3 {
        font-family: 'Cinzel', serif;
        font-size: 13px;
        letter-spacing: 0.25em;
        color: var(--gold);
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    .success-msg p {
        font-style: italic;
        color: rgba(245,240,232,0.5);
        font-size: 14px;
        line-height: 1.6;
    }

/* ── Footer ── */
.footer {
    margin-top: 48px;
    text-align: center;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.6s forwards;
}

    .footer p {
        font-family: 'Cormorant Garamond', serif;
        font-style: italic;
        font-size: 13px;
        color: rgba(245,240,232,0.25);
        letter-spacing: 0.08em;
    }

    .footer .gold-accent {
        color: rgba(201,168,76,0.5);
    }

/* ── Floating particles ── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -10px;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-100vh) translateX(30px);
        opacity: 0;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shimmer on logo */
@keyframes shimmer {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(201,168,76,0.2));
    }

    50% {
        filter: drop-shadow(0 0 60px rgba(201,168,76,0.4));
    }
}

.logo-wrap img {
    animation: shimmer 4s ease-in-out infinite;
}

@media (max-width: 480px) {
    .card {
        padding: 30px 24px;
    }
}
