@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    background: var(--primary-gradient);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 165, 0, 0.2) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundShift 15s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #1a1a1a;
    padding: 30px 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
    border-bottom: 3px solid transparent;
    border-image: var(--primary-gradient) 1;
}

header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(255, 140, 0, 0.3);
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.language-switcher {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 500;
}

.language-switcher a {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.language-switcher a:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.language-switcher img {
    transition: transform 0.3s ease;
}

.language-switcher a:hover img {
    transform: scale(1.1);
}

main {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

form {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    padding: 0;
}

form label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

form input[type="text"],
form input[type="tel"],
form input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    margin-top: 5px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: #2d3748;
}

form input[type="text"]:focus,
form input[type="tel"]:focus,
form input[type="password"]:focus {
    outline: none;
    border-color: #FFA500;
    box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.1);
    transform: translateY(-2px);
}

form input[type="submit"] {
    margin-top: 30px;
    padding: 16px 32px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

form input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

form input[type="submit"]:active {
    transform: translateY(-1px);
}

#contact {
    animation-delay: 0.2s;
}

#contact p {
    font-size: 1.1rem;
    margin: 15px 0;
    color: #2d3748;
    line-height: 1.6;
}

#contact a {
    color: #FF8C00;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

#contact a:hover {
    color: #FFA500;
    border-bottom-color: #FFA500;
}

section p {
    margin-top: 20px;
    color: #4a5568;
    font-size: 0.95rem;
}

section p a {
    color: #FF8C00;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

section p a:hover {
    color: #FFA500;
    border-bottom-color: #FFA500;
}

section p small a {
    color: #718096;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

section p small a:hover {
    color: #FF8C00;
}

footer {
    background: var(--dark-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 25px 20px;
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

footer p {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    main {
        padding: 40px 20px;
        gap: 30px;
    }

    section {
        padding: 40px 30px;
        border-radius: 20px;
    }

    h2 {
        font-size: 1.6rem;
    }

    form label {
        margin-top: 16px;
        font-size: 0.9rem;
    }

    form input[type="text"],
    form input[type="tel"],
    form input[type="password"],
    form input[type="submit"] {
        font-size: 16px;
    }

    #contact p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.4rem;
    }

    .language-switcher {
        font-size: 0.85rem;
    }
}
