/* CSS Reset & Variables */
:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #000000;
    --gray-color: #888888;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Header */
header {
    padding: 2rem 5%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.logo {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--text-color);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
}

.content-wrapper {
    max-width: 800px;
    text-align: center;
    padding: 2rem 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

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

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-color);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form */
.newsletter-form {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.input-container {
    display: flex;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    transition: var(--transition);
}

.input-container:focus-within {
    border-color: var(--accent-color);
}

input[type="email"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
}

input[type="email"]::placeholder {
    color: #cecece;
    transition: var(--transition);
}

input[type="email"]:focus::placeholder {
    opacity: 0.5;
}

button {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1rem;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

button:hover {
    opacity: 0.6;
}

/* Footer */
footer {
    padding: 2rem 5%;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-color);
}

.social-links a {
    color: var(--gray-color);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: var(--transition);
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-links a {
        margin: 0 0.75rem;
    }
}
