:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --accent: #fbbf24;
    --bg-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.15);
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    --glass: blur(16px);
    --glow: rgba(59, 130, 246, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, var(--glow) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1000px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 24px;
    backdrop-filter: var(--glass);
    border: 1px solid var(--card-border);
}

.logo-grid img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo-grid img:hover {
    transform: scale(1.1);
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.main-title {
    background: linear-gradient(to bottom, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.en-title {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(to right, #94a3b8, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.card {
    background: var(--card-bg);
    backdrop-filter: var(--glass);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--card-border);
    margin-top: 10px;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.welcome-box {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 24px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.welcome-box b {
    color: var(--accent);
    font-size: 1.2rem;
}

footer {
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--card-border);
    width: 100%;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--text-main);
    text-decoration: none;
}

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

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

@media (max-width: 640px) {
    h1 { font-size: 1.8rem; }
    .logo-grid { gap: 1rem; }
    .logo-grid img { height: 40px; }
}

.lang-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: var(--card-bg);
    backdrop-filter: var(--glass);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--card-border);
    z-index: 100;
}

.lang-switcher a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.2s;
}

.lang-switcher a.active {
    color: var(--text-main);
}

.lang-switcher a:hover {
    color: var(--primary);
}

.lang-switcher span {
    color: var(--card-border);
}
