/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Page Layout */
.page {
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 50%, #fef3c7 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Language Switcher */
.lang-switcher {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(79, 172, 254, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lang-switcher a {
    color: #475569;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
    font-size: 13px;
}

.lang-switcher a:hover {
    color: #4facfe;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 40px;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 280px;
    height: 280px;
    border-radius: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #4facfe;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 12px;
    text-align: left;
}

.hero-title span {
    background: linear-gradient(135deg, #4facfe, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    color: #475569;
    font-size: 15px;
    max-width: 420px;
    line-height: 1.7;
    margin-bottom: 28px;
    text-align: left;
}

.hero-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    text-align: left;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4facfe, #fbbf24);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    color: #fff;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

.btn-ghost {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-ghost:hover {
    color: #4facfe;
}

/* Sections */
.section {
    margin: 4rem 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    color: #1e293b;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #4facfe, #fbbf24);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.link-card {
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(79, 172, 254, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4facfe, #fbbf24);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.link-card:hover::before {
    opacity: 0.05;
}

.link-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.25);
    border-color: rgba(79, 172, 254, 0.4);
}

.link-card.large {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(251, 191, 36, 0.1));
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.link-card.large:hover {
    box-shadow: 0 15px 50px rgba(79, 172, 254, 0.3);
}

.link-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 9rem;
}

.link-icon img {
    width: 9rem;
    height: 9rem;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.link-card:hover .link-icon img {
    transform: scale(1.1);
}

.link-text {
    font-weight: 700;
    font-size: 1.2rem;
}

.description {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 0.25rem;
    color: #64748b;
}

/* Footer */
.footer-section {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(79, 172, 254, 0.2);
    font-size: 0.9rem;
    color: #64748b;
}

.footer-section a {
    color: #4facfe;
}

.footer-section a:hover {
    color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub,
    .hero-meta {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-title {
        text-align: center;
    }

    .hero-sub {
        text-align: center;
    }

    .hero-meta {
        text-align: center;
    }

    .hero-logo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
    }

    .link-card.large {
        grid-column: 1;
    }

    .container {
        padding: 1rem;
    }
}
