/* Global Styles */

:root {
    --primary-blue: #0066cc;
    --secondary-cyan: #00d4ff;
    --accent-orange: #ff6b35;
    --dark-bg: #0a1929;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border-light: #e8e8e8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: white;
}

html[lang="zh-CN"] body {
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Heiti SC", "SimHei", sans-serif;
}

html[lang="ru"] body {
    font-family: "Noto Sans", "Segoe UI", "Arial", sans-serif;
}

html[lang="ja"] body {
    font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

html[lang="ko"] body {
    font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

html[lang="hi"] body {
    font-family: "Noto Sans Devanagari", "Mangal", "Kokila", sans-serif;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: #0a1929;
    color: #fff;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    z-index: 2000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Headers */
.section-header {
    width: min(100%, 900px);
    text-align: center;
    margin: 0 auto 3.5rem;
}

.section-header .section-title,
.section-header h1,
.section-header h2,
.section-header h3 {
    margin: 0;
    font-size: clamp(2rem, 2.2vw + 1.2rem, 3.1rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 0.9rem;
    letter-spacing: -0.5px;
}

.section-header .section-subtitle,
.section-header p {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(1.02rem, 0.45vw + 0.9rem, 1.26rem);
    line-height: 1.72;
    color: var(--text-light);
}

/* Button Styles */
.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #25d366, #1da851);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0066cc, #00d4ff);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0052a3, #00a3b8);
}

/* Floating WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #1da851);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-button svg {
    width: 35px;
    height: 35px;
}

.whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Section Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .section-header {
        margin-bottom: 3rem;
    }

    .section-header .section-title,
    .section-header h1,
    .section-header h2,
    .section-header h3 {
        letter-spacing: -0.35px;
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2.4rem;
    }

    .section-header .section-title,
    .section-header h1,
    .section-header h2,
    .section-header h3 {
        font-size: clamp(1.65rem, 7.2vw, 2.15rem);
    }

    .section-header .section-subtitle,
    .section-header p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button svg {
        width: 30px;
        height: 30px;
    }
}
