/* Telegram Official Site - Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sky-blue: #0088CC;
    --sky-blue-dark: #006daa;
    --white: #FFFFFF;
    --warm-beige: #A19679;
    --tundora: #4D4D4D;
    --cornflower: #64B5EF;
    --cod-gray: #1E1E1E;
    --light-bg: #f5f5f5;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--tundora);
    line-height: 1.6;
    background: var(--white);
}

a {
    color: var(--sky-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--sky-blue-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--tundora);
}

.nav-logo svg {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: var(--tundora);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--sky-blue);
}

.nav-download-btn {
    background: var(--sky-blue);
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 20px;
    font-weight: 600 !important;
    transition: background 0.3s, transform 0.2s !important;
}

.nav-download-btn:hover {
    background: var(--sky-blue-dark);
    color: var(--white) !important;
    transform: scale(1.05);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--tundora);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 20px 80px;
    text-align: center;
    background: linear-gradient(180deg, #f0f8ff 0%, var(--white) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--tundora);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 20px;
    color: #777;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background: var(--sky-blue);
    color: var(--white);
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.hero-cta:hover {
    background: var(--sky-blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.hero-platforms {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: #666;
}

/* Section Common */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--tundora);
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #777;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: #e8f4fd;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--sky-blue);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--tundora);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* Download Section */
.download-section {
    background: linear-gradient(180deg, var(--white) 0%, #f0f8ff 100%);
    padding: 80px 20px;
}

.download-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--tundora);
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    color: var(--sky-blue);
}

.download-card svg {
    width: 40px;
    height: 40px;
}

.download-card .platform-name {
    font-size: 15px;
    font-weight: 600;
}

.download-card .platform-desc {
    font-size: 12px;
    color: #999;
}

/* Blog/News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.news-card-body {
    padding: 24px;
}

.news-date {
    font-size: 13px;
    color: var(--sky-blue);
    font-weight: 500;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--tundora);
    margin-bottom: 10px;
}

.news-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--tundora);
    background: #fafafa;
    border-bottom: 1px solid var(--border-color);
}

.faq-answer {
    padding: 24px;
}

.faq-answer ol {
    padding-left: 20px;
}

.faq-answer ol li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.faq-answer ol li strong {
    color: var(--tundora);
}

/* Footer */
.footer {
    background: var(--cod-gray);
    color: #ccc;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 13px;
    color: #777;
}

/* About Page */
.about-hero {
    padding: 140px 20px 60px;
    text-align: center;
    background: linear-gradient(180deg, #f0f8ff 0%, var(--white) 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-content h2 {
    font-size: 28px;
    color: var(--tundora);
    margin-bottom: 16px;
    margin-top: 40px;
}

.about-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--sky-blue);
}

.stat-label {
    font-size: 14px;
    color: #777;
    margin-top: 4px;
}

/* Privacy Page */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.privacy-content h1 {
    font-size: 36px;
    color: var(--tundora);
    margin-bottom: 8px;
}

.privacy-content .update-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 40px;
}

.privacy-content h2 {
    font-size: 22px;
    color: var(--tundora);
    margin-top: 32px;
    margin-bottom: 12px;
}

.privacy-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.privacy-content ul li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .footer-container {
        grid-template-columns: 1fr;
    }
}
