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

html, body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

.container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.content {
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 300;
    color: white;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: letterSpacing 3s ease-in-out infinite alternate;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: lineGlow 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    animation: subtitleFade 2s ease-out 0.5s both;
}

.address {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 200;
    letter-spacing: 0.1em;
    line-height: 1.6;
    animation: addressSlide 2s ease-out 1s both;
}

.address p {
    margin: 0.3rem 0;
}

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

@keyframes letterSpacing {
    0% {
        letter-spacing: 0.3em;
    }
    100% {
        letter-spacing: 0.4em;
    }
}

@keyframes lineGlow {
    0% {
        opacity: 0.5;
        width: 60%;
    }
    100% {
        opacity: 1;
        width: 80%;
    }
}

@keyframes subtitleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

@keyframes addressSlide {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background: 
            radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    }
    50% {
        background: 
            radial-gradient(circle at 80% 20%, rgba(120, 119, 198, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 60% 60%, rgba(120, 219, 255, 0.15) 0%, transparent 50%);
    }
}

/* Contact trigger */
.contact-trigger {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.6rem 1rem;
    z-index: 2;
    transition: color 0.4s ease;
    animation: addressSlide 2s ease-out 1.5s both;
}

.contact-trigger::after {
    content: '';
    display: block;
    margin: 0.5rem auto 0;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: width 0.4s ease, opacity 0.4s ease;
    opacity: 0.6;
}

.contact-trigger:hover { color: rgba(255, 255, 255, 0.95); }
.contact-trigger:hover::after { width: 65%; opacity: 1; }
.contact-trigger:focus-visible { outline: none; color: rgba(255, 255, 255, 0.95); }
.contact-trigger:focus-visible::after { width: 65%; opacity: 1; }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal.open {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 40, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 3rem 2.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: modalScaleIn 0.4s ease-out;
}

.grecaptcha-badge { visibility: hidden !important; }
.contact-form .recaptcha-disclaimer {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1.25rem;
    letter-spacing: 0.05em;
}
.contact-form .recaptcha-disclaimer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.modal-close {
    position: absolute;
    top: 0.85rem;
    right: 1.1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.6rem;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.modal-close:hover, .modal-close:focus-visible { color: rgba(255, 255, 255, 1); outline: none; }

#modal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: 2rem;
    color: white;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form .field { margin-bottom: 1.25rem; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.75rem 0;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form textarea { resize: none; min-height: 100px; }

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 200;
}

.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: rgba(255, 255, 255, 0.85); }

.contact-form button.g-recaptcha {
    display: block;
    margin: 2rem auto 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 0.8rem 2.25rem;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-form button.g-recaptcha:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.95);
}

.contact-form button.g-recaptcha:disabled { opacity: 0.6; cursor: not-allowed; }

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalScaleIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        letter-spacing: 0.2em;
        margin-bottom: 0.5rem;
    }
    
    .subtitle {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 0 1rem;
    }

    .logo {
        letter-spacing: 0.15em;
    }

    .address {
        font-size: 1rem;
    }

    .modal-card { padding: 2.5rem 1.5rem 2rem; }
    #modal-title { font-size: 1.6rem; margin-bottom: 1.5rem; }
    .contact-trigger { font-size: 0.8rem; bottom: 1.5rem; letter-spacing: 0.25em; }
}