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

:root {
    --bone:        #f5f0eb;
    --soft-linen:  #faf7f4;
    --porcelain:   #fdfcfb;
    --ash-brown:   #5c4042;
    --ash-light:   #8b6b63;
    --ash-muted:   #a08880;
    --gold:        #c9a96e;
    --gold-light:  #dfc9a0;
    --gold-glow:   rgba(201, 169, 110, 0.15);
    --blush:       #e8d5cf;
    --rose-mist:   #f0ddd6;
    --text:        #3d2c2e;
    --text-soft:   #6b5557;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Josefin+Sans:wght@300;400&display=swap');

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    color: var(--text);
    background: var(--soft-linen);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Decorative background ───────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, var(--rose-mist) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 80%, var(--blush) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 50% 50%, var(--gold-glow) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Subtle floating particles */
.particle {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-light);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    animation: particle-float linear infinite;
}
.particle:nth-child(1) { left: 12%; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { left: 28%; animation-duration: 22s; animation-delay: 3s; width: 3px; height: 3px; }
.particle:nth-child(3) { left: 45%; animation-duration: 20s; animation-delay: 7s; }
.particle:nth-child(4) { left: 65%; animation-duration: 25s; animation-delay: 2s; width: 5px; height: 5px; }
.particle:nth-child(5) { left: 82%; animation-duration: 19s; animation-delay: 5s; width: 3px; height: 3px; }
.particle:nth-child(6) { left: 93%; animation-duration: 23s; animation-delay: 10s; }

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

/* ── Navigation ──────────────────────────────────── */
.auth-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    z-index: 100;
    transition: background 0.4s, box-shadow 0.4s;
}

.auth-nav.scrolled {
    background: rgba(250, 247, 244, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(92, 64, 66, 0.06);
}

.auth-nav a {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ash-brown);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.auth-nav a:hover {
    background: rgba(201, 169, 110, 0.12);
    color: var(--gold);
}

.nav-link-btn {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ash-brown);
    background: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    border: none;
    transition: all 0.3s ease;
}
.nav-link-btn:hover {
    background: rgba(201, 169, 110, 0.12);
    color: var(--gold);
}

.auth-nav a.nav-cta,
.nav-link-btn.nav-cta {
    border: 1px solid var(--gold);
    color: var(--gold);
}
.auth-nav a.nav-cta:hover,
.nav-link-btn.nav-cta:hover {
    background: var(--gold);
    color: #fff;
}

/* ── Hero Section ────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

/* Decorative line above title */
.hero::before {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    position: absolute;
    top: 15%;
    animation: line-grow 1s ease-out 0.1s both;
}

@keyframes line-grow {
    from { height: 0; opacity: 0; }
    to   { height: 60px; opacity: 1; }
}

.hero-ornament {
    color: var(--gold);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fade-up 0.8s ease-out 0.3s both;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 5.5rem);
    letter-spacing: 0.06em;
    color: var(--ash-brown);
    line-height: 1.1;
    margin-bottom: 0.25rem;
    opacity: 0;
    animation: fade-up 0.9s ease-out 0.45s both;
}


.hero .tagline {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ash-muted);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fade-up 0.8s ease-out 0.65s both;
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fade-up 0.8s ease-out 1s both;
}

.scroll-hint span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ash-muted);
}

.scroll-line {
    width: 1px;
    height: 32px;
    background: var(--gold-light);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%   { top: -100%; }
    50%  { top: 100%; }
    100% { top: 100%; }
}

/* ── Features Section ────────────────────────────── */
.features {
    padding: 6rem 2rem 8rem;
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 1rem;
}

.features h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--ash-brown);
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    background: rgba(253, 252, 251, 0.6);
    border: 1px solid rgba(201, 169, 110, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(92, 64, 66, 0.08);
    border-color: rgba(201, 169, 110, 0.25);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-glow), rgba(201, 169, 110, 0.08));
    border: 1px solid rgba(201, 169, 110, 0.2);
    color: var(--gold);
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--ash-brown);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-soft);
}

/* ── CTA / Email Section ─────────────────────────── */
.cta-section {
    padding: 6rem 2rem 8rem;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--gold-light);
}

.cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--ash-brown);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.cta-section .subtitle {
    font-size: 0.92rem;
    color: var(--text-soft);
    margin-bottom: 2.5rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* CTA button */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--gold);
    color: #fff;
    border-radius: 3rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #b8944f;
}

/* ── Footer ──────────────────────────────────────── */
.landing-footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(201, 169, 110, 0.12);
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--ash-brown);
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.landing-footer p {
    font-size: 0.72rem;
    color: var(--ash-muted);
    letter-spacing: 0.08em;
}

/* ── Scroll reveal animation ─────────────────────── */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────── */

/* Tablet */
@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
        padding: 5rem 1.5rem 3rem;
    }

    .hero::before {
        height: 40px;
        top: 12%;
    }

    .hero .tagline {
        margin-bottom: 2rem;
    }

    .features {
        padding: 4rem 1.5rem 5rem;
    }

    .features h2 {
        margin-bottom: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 440px;
        margin: 0 auto;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .auth-nav {
        padding: 1rem 1.25rem;
    }

    .auth-nav a,
    .nav-link-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .cta-section {
        padding: 4rem 1.5rem 5rem;
    }

    .cta-section .subtitle {
        max-width: 340px;
        font-size: 0.88rem;
    }

    .scroll-hint {
        bottom: 1.5rem;
    }

    .landing-footer {
        padding: 2rem 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 4rem 1.25rem 2.5rem;
        gap: 0;
    }

    .hero::before {
        display: none;
    }

    .hero-ornament {
        gap: 0.6rem;
        margin-bottom: 0.75rem;
    }

    .hero-ornament svg {
        width: 11px;
        height: 11px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 0.8rem;
        letter-spacing: 0.18em;
        margin-bottom: 1.5rem;
    }

    .features {
        padding: 3rem 1.25rem 4rem;
    }

    .features h2 {
        font-size: 1.7rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        max-width: 100%;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.75rem 1.25rem;
        border-radius: 0.75rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .feature-card h3 {
        font-size: 1.15rem;
    }

    .feature-card p {
        font-size: 0.84rem;
        line-height: 1.6;
    }

    .cta-section {
        padding: 3rem 1.25rem 4rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-section .subtitle {
        font-size: 0.84rem;
        max-width: 300px;
        margin-bottom: 2rem;
    }

    .scroll-hint {
        bottom: 1rem;
    }

    .scroll-hint span {
        font-size: 0.6rem;
    }

    .scroll-line {
        height: 24px;
    }

    .particle:nth-child(5),
    .particle:nth-child(6) {
        display: none;
    }

    .landing-footer {
        padding: 1.5rem 1.25rem;
    }
}

/* Small mobile */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .hero .tagline {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }

    .auth-nav a,
    .nav-link-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }

    .features h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }

}

/* Fix mobile viewport height with address bar */
@supports (min-height: 100svh) {
    .hero {
        min-height: 100svh;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .particle { display: none; }
    .hero::before { animation: none; opacity: 1; height: 60px; }
    .hero-ornament,
    .hero h1,
    .hero .tagline,
    .scroll-hint { animation: none; opacity: 1; transform: none; }
    .feature-card { opacity: 1; transform: none; transition: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .scroll-line::after { animation: none; }
}
