/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background-color: #f4f6fa;
    color: #3c4043;
    line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; }

/* ========== Container ========== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ========== Header ========== */
.header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; text-decoration: none; color: #202124; font-size: 20px; font-weight: 700; gap: 10px; }
.logo svg { width: 30px; height: 30px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.nav a {
    text-decoration: none; color: #5f6368; font-size: 15px; font-weight: 500;
    padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s;
}
.nav a:hover { color: #1a73e8; }
.nav a.active { color: #1a73e8; border-bottom-color: #1a73e8; }

/* ========== Section Titles ========== */
.section-title { text-align: center; font-size: 32px; font-weight: 700; color: #202124; margin-bottom: 12px; }
.section-subtitle { text-align: center; font-size: 17px; color: #5f6368; max-width: 620px; margin: 0 auto 40px; }

/* ========== Hero (Gradient) ========== */
.hero {
    text-align: center;
    padding: 90px 24px 70px;
    background: linear-gradient(135deg, #e8f0fe 0%, #fff 50%, #fef7e0 100%);
    border-radius: 16px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(26,115,232,0.12) 0%, transparent 70%);
    top: -80px; right: -60px;
    border-radius: 50%;
}
.hero h1 { font-size: 46px; font-weight: 800; margin-bottom: 18px; color: #202124; position: relative; }
.hero p { font-size: 19px; max-width: 580px; margin: 0 auto 32px; color: #5f6368; position: relative; }
.hero .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ========== Buttons ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #1a73e8; color: #fff; padding: 13px 30px; font-size: 15px; font-weight: 600;
    text-decoration: none; border-radius: 8px; border: none; cursor: pointer;
    transition: background .25s, box-shadow .25s, transform .15s; text-align: center;
}
.btn:hover { background: #1557b0; box-shadow: 0 6px 20px rgba(26,115,232,0.25); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-secondary { background: #fff; color: #1a73e8; border: 1.5px solid #1a73e8; }
.btn-secondary:hover { background: #e8f0fe; box-shadow: none; }
.btn-outline { background: transparent; color: #5f6368; border: 1.5px solid #dadce0; }
.btn-outline:hover { border-color: #1a73e8; color: #1a73e8; background: #f8fbff; }
.btn-large { padding: 16px 40px; font-size: 17px; border-radius: 10px; }

/* ========== Stats Bar ========== */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-bottom: 50px;
}
.stat-item {
    background: #fff; border-radius: 12px; padding: 28px 16px; text-align: center;
    border: 1px solid #e8eaed; transition: box-shadow .25s;
}
.stat-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.stat-number { font-size: 36px; font-weight: 800; color: #1a73e8; display: block; }
.stat-label { font-size: 14px; color: #5f6368; margin-top: 4px; }

/* ========== Features Grid ========== */
.features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px; margin-bottom: 50px;
}
.feature-item {
    background: #fff; padding: 32px 24px; border-radius: 12px; text-align: center;
    border: 1px solid #e8eaed; transition: transform .25s, box-shadow .25s;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.feature-item svg { width: 44px; height: 44px; margin-bottom: 16px; color: #1a73e8; }
.feature-item h3 { font-size: 20px; margin: 0 0 8px; color: #202124; }
.feature-item p { font-size: 14px; color: #5f6368; margin: 0; }

/* ========== Platform Showcase ========== */
.platform-section { margin-bottom: 50px; }
.platform-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.platform-card {
    background: #fff; border-radius: 12px; padding: 32px 20px; text-align: center;
    border: 1px solid #e8eaed; transition: transform .25s, box-shadow .25s; cursor: pointer;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.platform-card svg { width: 40px; height: 40px; margin-bottom: 14px; color: #1a73e8; }
.platform-card h4 { margin: 0 0 6px; font-size: 18px; }
.platform-card p { margin: 0 0 16px; font-size: 13px; color: #5f6368; }

/* ========== Testimonials ========== */
.testimonials { margin-bottom: 50px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
    background: #fff; border-radius: 12px; padding: 28px; border: 1px solid #e8eaed;
    position: relative;
}
.testimonial-card::before {
    content: "\201C"; font-size: 60px; color: #1a73e8; opacity: 0.15;
    position: absolute; top: 10px; left: 20px; font-family: Georgia, serif; line-height: 1;
}
.testimonial-text { font-size: 15px; color: #3c4043; margin-bottom: 16px; padding-top: 10px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #1a73e8, #34a853);
    display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 13px; color: #5f6368; }

/* ========== Why Switch Section ========== */
.why-switch { margin-bottom: 50px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-item {
    background: #fff; border-radius: 12px; padding: 28px; border: 1px solid #e8eaed;
    display: flex; gap: 18px; align-items: flex-start;
}
.why-item svg { width: 36px; height: 36px; color: #1a73e8; flex-shrink: 0; margin-top: 2px; }
.why-item h4 { margin: 0 0 6px; font-size: 17px; }
.why-item p { margin: 0; font-size: 14px; color: #5f6368; }

/* ========== FAQ Section ========== */
.faq-section { background: #fff; padding: 40px; border-radius: 12px; margin-bottom: 50px; }
.faq-section h2 { text-align: center; font-size: 32px; margin-bottom: 30px; }
.faq-item { border-bottom: 1px solid #e8eaed; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    width: 100%; background: none; border: none; text-align: left;
    font-size: 16px; padding: 18px 0; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #202124;
}
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s; color: #5f6368; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease-out; padding: 0 8px; }
.faq-answer p { margin: 0 0 18px; font-size: 15px; color: #5f6368; }

/* ========== CTA Banner ========== */
.cta-banner {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 16px; padding: 50px 30px; text-align: center; margin-bottom: 50px;
    color: #fff; position: relative; overflow: hidden;
}
.cta-banner::after {
    content: ""; position: absolute; width: 200px; height: 200px;
    background: rgba(255,255,255,0.06); border-radius: 50%; bottom: -60px; right: -40px;
}
.cta-banner h2 { font-size: 30px; margin: 0 0 12px; font-weight: 700; }
.cta-banner p { font-size: 17px; opacity: 0.9; margin: 0 0 28px; }
.cta-banner .btn { background: #fff; color: #1a73e8; }
.cta-banner .btn:hover { background: #e8f0fe; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

/* ========== Download Page ========== */
.download-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 50px; }
.download-card {
    background: #fff; padding: 28px; border-radius: 12px; border: 1px solid #e8eaed;
    display: flex; align-items: center; justify-content: space-between;
    transition: box-shadow .25s;
}
.download-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.download-card.main-download { background: linear-gradient(135deg, #e8f0fe 0%, #fff 100%); border-color: #1a73e8; border-width: 2px; }
.download-info { display: flex; align-items: center; gap: 18px; }
.download-info svg { width: 44px; height: 44px; color: #1a73e8; flex-shrink: 0; }
.download-info h3 { margin: 0; font-size: 22px; }
.download-info p { margin: 2px 0 0; color: #5f6368; font-size: 14px; }

/* ========== Install Steps ========== */
.install-steps { margin-bottom: 50px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
    background: #fff; border-radius: 12px; padding: 32px 24px; text-align: center;
    border: 1px solid #e8eaed; position: relative;
}
.step-number {
    width: 48px; height: 48px; border-radius: 50%; background: #1a73e8; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; margin-bottom: 16px;
}
.step-card h4 { margin: 0 0 8px; font-size: 18px; }
.step-card p { margin: 0; font-size: 14px; color: #5f6368; }

/* ========== System Requirements ========== */
.sys-req { margin-bottom: 50px; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.req-card { background: #fff; border-radius: 12px; padding: 28px; border: 1px solid #e8eaed; }
.req-card h4 { margin: 0 0 14px; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.req-card svg { width: 24px; height: 24px; color: #1a73e8; }
.req-card ul { margin: 0; padding-left: 20px; }
.req-card li { font-size: 14px; color: #5f6368; margin-bottom: 6px; }

/* ========== Version Info ========== */
.version-info { margin-bottom: 50px; }
.version-card {
    background: #fff; border-radius: 12px; padding: 32px; border: 1px solid #e8eaed;
}
.version-badge {
    display: inline-block; background: #e6f4ea; color: #1e8e3e; padding: 4px 14px;
    border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.version-card h3 { margin: 0 0 12px; font-size: 22px; }
.version-card p { font-size: 15px; color: #5f6368; margin-bottom: 10px; }
.changelog-list { padding-left: 20px; }
.changelog-list li { font-size: 14px; color: #5f6368; margin-bottom: 8px; }

/* ========== SEO Article ========== */
.article-content { background: #fff; padding: 44px; border-radius: 12px; margin-bottom: 50px; }
.article-content h1 { font-size: 32px; margin-bottom: 16px; }
.article-content h2 { font-size: 26px; margin-top: 36px; margin-bottom: 14px; color: #202124; }
.article-content h3 { font-size: 20px; margin-top: 28px; margin-bottom: 10px; }
.article-content p { font-size: 16px; margin-bottom: 16px; line-height: 1.8; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { font-size: 15px; margin-bottom: 8px; line-height: 1.7; }

/* ========== Comparison Table ========== */
.compare-table { width: 100%; border-collapse: collapse; margin: 24px 0; border-radius: 8px; overflow: hidden; }
.compare-table th {
    background: #1a73e8; color: #fff; padding: 14px 16px; text-align: left; font-size: 15px; font-weight: 600;
}
.compare-table td { padding: 12px 16px; border-bottom: 1px solid #e8eaed; font-size: 14px; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) { background: #f8f9fa; }
.compare-table .check { color: #1e8e3e; font-weight: 700; }
.compare-table .cross { color: #d93025; }

/* ========== Tip Cards ========== */
.tip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 24px 0; }
.tip-card {
    background: #f8f9fa; border-radius: 10px; padding: 24px; border-left: 4px solid #1a73e8;
}
.tip-card h4 { margin: 0 0 8px; font-size: 16px; color: #202124; }
.tip-card p { margin: 0; font-size: 14px; color: #5f6368; }
.tip-card code { background: #e8eaed; padding: 2px 6px; border-radius: 4px; font-size: 13px; }

/* ========== CTA Section (inline) ========== */
.cta-section { text-align: center; padding: 40px 0; }

/* ========== Footer ========== */
.footer {
    text-align: center; padding: 28px 0; border-top: 1px solid #e0e0e0;
    font-size: 13px; color: #5f6368; background: #fff;
}
.footer p { margin: 4px 0; }

/* ========== Animations ========== */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .req-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 12px; }
    .hero { padding: 60px 20px 50px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-number { font-size: 28px; }
    .platform-grid { grid-template-columns: 1fr 1fr; }
    .download-card { flex-direction: column; text-align: center; gap: 16px; }
    .download-info { flex-direction: column; }
    .article-content { padding: 24px; }
    .article-content h1 { font-size: 26px; }
    .section-title { font-size: 26px; }
}
