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

:root {
    --color-primary: #2C2C2C;
    --color-accent: #000000;
    --color-background: #FAFAFA;
    --color-text: #2C2C2C;
    --text-secondary: rgba(44, 44, 44, 0.7);
    --text-muted: rgba(44, 44, 44, 0.5);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-background);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Background Animation - Subtle */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    opacity: 0.02;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 40s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-primary), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-primary), transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: 13s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 26s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.08);
    }
    66% {
        transform: translate(-25px, 25px) scale(0.92);
    }
}

/* Logo */
.logo {
    color: var(--color-primary);
    margin-bottom: var(--spacing-2xl);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInDown 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo svg {
    filter: none;
    width: 100%;
    max-width: 450px;
    height: auto;
    transition: var(--transition);
}

.logo:hover svg {
    transform: scale(1.02);
}

.logo text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-xl);
    position: relative;
    z-index: 10;
}

.content-wrapper {
    text-align: center;
    max-width: 650px;
    width: 100%;
    animation: fadeInUp 1.2s ease-out 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

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

.title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
    font-family: 'Inter', sans-serif;
    color: var(--color-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
    font-weight: 300;
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease-out 0.7s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Newsletter Form */
.newsletter-form {
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 1s ease-out 0.9s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.form-group {
    display: flex;
    gap: var(--spacing-md);
    max-width: 520px;
    margin: 0 auto;
    align-items: flex-end;
    position: relative;
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(44, 44, 44, 0.2);
    color: var(--color-text);
    font-size: 1rem;
    padding: 1rem 0;
    outline: none;
    font-family: inherit;
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.email-input:focus {
    border-bottom-color: var(--color-primary);
    border-bottom-width: 2px;
    padding-bottom: 0.9rem;
}

.email-input::placeholder {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.email-input:focus::placeholder {
    opacity: 0.5;
}

.submit-btn {
    background: var(--color-primary);
    border: none;
    padding: 1rem 2.75rem;
    color: var(--color-background);
    font-weight: 400;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.submit-btn:hover::before {
    left: 0;
}

.submit-btn span,
.submit-btn svg {
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.submit-btn:hover {
    color: var(--color-background);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 44, 44, 0.15);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(44, 44, 44, 0.1);
}

.submit-btn svg {
    transition: var(--transition);
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

.form-message {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    min-height: 24px;
    transition: var(--transition);
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(-10px);
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    color: var(--color-primary);
}

.form-message.error {
    color: var(--color-primary);
    opacity: 0.7;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s ease-out 1.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 2rem;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    position: relative;
}

.instagram-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.instagram-link:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

.instagram-link:hover::after {
    width: 100%;
}

.instagram-link:active {
    transform: scale(0.98);
}

.instagram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.instagram-link:hover .instagram-icon {
    transform: translateX(2px);
}

.instagram-text {
    transition: var(--transition-fast);
}

/* Footer */
.footer {
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    position: relative;
    z-index: 10;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-lg);
    }

    .email-input {
        width: 100%;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .logo svg {
        max-width: 320px;
    }

    .orb-1,
    .orb-2,
    .orb-3 {
        width: 300px;
        height: 300px;
    }

    .content-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .instagram-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-lg);
    }

    .title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: var(--spacing-md);
    }

    .subtitle {
        margin-bottom: var(--spacing-xl);
    }

    .logo {
        margin-bottom: var(--spacing-xl);
    }

    .logo svg {
        max-width: 260px;
    }

    .newsletter-form {
        margin-bottom: var(--spacing-xl);
    }

    .instagram-text {
        display: none;
    }

    .instagram-link {
        padding: 0.875rem;
        width: 50px;
        height: 50px;
        justify-content: center;
        font-size: 0;
    }

    .instagram-link::after {
        display: none;
    }
}
