/**
 * Hazel Jewels – Coming Soon
 * Luxury, feminine, premium styling. Soft blush, charcoal, gold accents.
 */

:root {
    --blush: #FBDAFE;
    --blush-deep: #FBDAFE;
    --charcoal: #2c2c2c;
    --black: #1a1a1a;
    --gold: #b8860b;
    --gold-light: #d4a84b;
    --gold-hover: #9a7309;
    --text-muted: #5c5c5c;
    --white: #fefefe;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--sans);
    font-weight: 400;
    color: var(--charcoal);
    background: var(--blush);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(251, 218, 254, 0.6), transparent),
        radial-gradient(ellipse 100% 60% at 80% 100%, rgba(240, 200, 244, 0.5), transparent);
    line-height: 1.6;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 1.5rem;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Hero */
.hero {
    width: 100%;
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
}

.hero-inner {
    opacity: 0;
    transform: translateY(20px);
}

.hero-inner.animate-in {
    animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrap {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 320px;
    min-height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.headline {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 500;
    color: var(--black);
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.subtext {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 2.5rem;
    font-weight: 300;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* Form */
.subscribe-form {
    margin-bottom: 0;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: stretch;
}

.subscribe-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    padding: 0.95rem 1.25rem;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--charcoal);
    background: var(--white);
    border: 1px solid var(--blush-deep);
    border-radius: 0;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.subscribe-form input[type="email"]::placeholder {
    color: #999;
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15);
}

.btn-notify {
    padding: 0.95rem 1.75rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--gold);
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.btn-notify:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(184, 134, 11, 0.35);
}

.btn-notify:active {
    transform: translateY(0);
}

.btn-notify:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.form-message.success {
    color: #2d5a2d;
}

.form-message.error {
    color: #8b3a3a;
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 2.5rem;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* Loader (used by JS) */
.btn-notify.loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.btn-notify.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 1.75rem 1.25rem 1.25rem;
    }
    .hero {
        max-width: 100%;
    }
    .logo {
        max-height: 260px;
        min-height: 120px;
    }
    .logo-wrap {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .page-wrapper {
        padding: 1.5rem 1rem 1rem;
    }
    .form-row {
        flex-direction: column;
        align-items: stretch;
    }
    .subscribe-form input[type="email"] {
        min-width: 100%;
        max-width: none;
    }
    .logo-wrap {
        margin-bottom: 1.75rem;
    }
    .logo {
        max-height: 200px;
        min-height: 100px;
    }
    .subtext {
        margin-bottom: 2rem;
    }
}
