/* ===== Tokens ===== */
:root {
    --blush: #D4919A;
    --blush-light: #E8C4C8;
    --blush-bg: #FFF0F3;
    --cream: #FFF8F0;
    --warm-white: #FFFAF8;
    --gold: #C9A96E;
    --gold-light: #E8D5B0;
    --text: #5C4033;
    --text-light: #8B7367;
    --white: #FFFFFF;

    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Poppins', system-ui, sans-serif;

    --max-width: 640px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; border: none; outline: none; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: 3rem 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 25% 40%, rgba(212,145,154,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 25%, rgba(212,145,154,0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 55% 80%, rgba(201,169,110,0.08) 0%, transparent 45%),
        linear-gradient(175deg, var(--blush-bg) 0%, var(--cream) 100%);
    text-align: center;
}

/* Decorative floating flowers */
.hero-decor { position: absolute; inset: 0; pointer-events: none; }

.decor-flower {
    position: absolute;
    color: var(--blush-light);
    opacity: 0.35;
}

.decor-flower--1 {
    width: 48px; top: 12%; left: 8%;
    animation: drift 8s ease-in-out infinite;
}
.decor-flower--2 {
    width: 32px; top: 25%; right: 10%;
    animation: drift 10s ease-in-out 2s infinite;
}
.decor-flower--3 {
    width: 40px; bottom: 15%; left: 15%;
    animation: drift 9s ease-in-out 4s infinite;
}

@keyframes drift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(8deg); }
}

/* Logo */
.hero-content { position: relative; z-index: 1; }

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.logo-flower {
    width: 36px;
    height: 36px;
    color: var(--blush);
}

.logo-text {
    font-family: var(--font-script);
    font-size: 4rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1;
}

.tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.6rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blush);
    border: 1.5px solid var(--blush-light);
    border-radius: 100px;
}

/* ===== Brand Story ===== */
.story {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0.75rem;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--blush-light);
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: var(--blush-light);
}

.divider svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.story p {
    text-align: center;
    max-width: 480px;
    margin: 0 auto 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.story p:last-child { margin-bottom: 0; }

/* ===== Email Signup ===== */
.signup {
    padding: 5rem 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212,145,154,0.08) 0%, transparent 60%),
        var(--blush-bg);
}

.signup .section-title { margin-bottom: 0.5rem; }

.signup-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.signup-form { max-width: 420px; margin: 0 auto; }

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.signup-form input[type="email"] {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--blush-light);
    border-radius: 100px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-form input[type="email"]::placeholder {
    color: var(--blush-light);
}

.signup-form input[type="email"]:focus {
    border-color: var(--blush);
    box-shadow: 0 0 0 3px rgba(212,145,154,0.15);
}

.signup-form button {
    width: 100%;
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--blush);
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.signup-form button:hover {
    background: #C47E88;
    box-shadow: 0 4px 16px rgba(212,145,154,0.3);
}

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

/* Thank you state */
.signup-form.is-hidden { display: none; }

.thank-you {
    display: none;
    text-align: center;
}

.thank-you.is-visible {
    display: block;
    animation: fadeUp 0.5s ease;
}

.thank-you-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    color: var(--blush);
    animation: spin-in 0.6s ease;
}

@keyframes spin-in {
    from { transform: rotate(-90deg) scale(0); opacity: 0; }
    to { transform: rotate(0deg) scale(1); opacity: 1; }
}

.thank-you p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
    padding: 3rem 0;
    background: var(--cream);
    text-align: center;
}

.social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.social a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: color 0.2s;
}

.social a:hover { color: var(--blush); }

.social svg {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.copyright {
    font-size: 0.8rem;
    color: var(--blush-light);
}

/* ===== Animations ===== */
.anim-fade-in > * {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s ease forwards;
}

.anim-fade-in > :nth-child(1) { animation-delay: 0.1s; }
.anim-fade-in > :nth-child(2) { animation-delay: 0.35s; }
.anim-fade-in > :nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (min-width: 520px) {
    .form-row {
        flex-direction: row;
    }

    .signup-form input[type="email"] {
        flex: 1;
    }

    .signup-form button {
        width: auto;
        flex-shrink: 0;
    }

    .social {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .logo-text { font-size: 5rem; }
    .logo-flower { width: 44px; height: 44px; }
    .tagline { font-size: 1.3rem; }
    .section-title { font-size: 2rem; }

    .decor-flower--1 { width: 64px; }
    .decor-flower--2 { width: 44px; }
    .decor-flower--3 { width: 56px; }
}
