/* ============================================================
   RESET & BASE
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: #fff;
    color: #000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

/* ============================================================
   LOGO
   ============================================================ */

.logo-wrapper {
    margin-bottom: 3rem;
}

.logo {
    width: 120px;
    height: auto;
    display: inline-block;
    border-radius: 50%;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.headline em {
    font-style: italic;
    font-weight: 400;
}

.tagline {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    margin-bottom: 3rem;
    color: #333;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   EMAIL FORM
   ============================================================ */

.email-form {
    margin-bottom: 4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 1rem;
}

.form-group input {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder {
    color: #666;
}

.form-group input:focus {
    border-color: #000;
    background: #f5f5f5;
}

.btn-submit {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border: 2px solid #000;
    background: #000;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn-submit:hover {
    background: #fff;
    color: #000;
}

.btn-submit:active {
    transform: scale(0.98);
}

.success-message {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    color: #000;
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.success-message.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.animate-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-item[data-delay="0"] {
    animation-delay: 0.1s;
}

.animate-item[data-delay="1"] {
    animation-delay: 0.3s;
}

.animate-item[data-delay="2"] {
    animation-delay: 0.5s;
}

.animate-item[data-delay="3"] {
    animation-delay: 0.7s;
}

.animate-item[data-delay="4"] {
    animation-delay: 0.9s;
}

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

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .animate-item {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .btn-submit:active {
        transform: none;
    }

    * {
        transition: none !important;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 768px) {
    .form-group {
        flex-direction: row;
        gap: 0;
    }

    .form-group input {
        flex: 1;
        border-right: none;
    }

    .btn-submit {
        padding: 1rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    .logo {
        width: 100px;
    }

    .logo-wrapper {
        margin-bottom: 2rem;
    }

    .tagline {
        margin-bottom: 2rem;
    }

    .email-form {
        margin-bottom: 3rem;
    }
}
