:root {
    --primary: #2AABEE;
    --primary-dark: #229ED9;
    --dark: #1A202C;
    --gray-dark: #2D3748;
    --gray: #718096;
    --gray-light: #E2E8F0;
    --bg-main: #F7FAFC;
    --bg-card: #FFFFFF;
    --text-main: #2D3748;
    --text-muted: #718096;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Spin Animation */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }

/* Button */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 16px; cursor: pointer; transition: all 0.3s ease; border: none; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 14px rgba(42, 171, 238, 0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42, 171, 238, 0.4); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: rgba(42, 171, 238, 0.05); }

/* Navigation */
.navbar { position: sticky; top: 0; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid var(--gray-light); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.nav-brand { display: flex; align-items: center; font-size: 20px; font-weight: bold; color: var(--primary); gap: 10px; }
.nav-menu { display: flex; gap: 30px; }
.nav-link { font-weight: 500; color: var(--gray-dark); transition: color 0.2s; position: relative; }
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { content: ''; position: absolute; bottom: -20px; left: 0; width: 100%; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--dark); cursor: pointer; }

/* Hero Section */
.hero { background: linear-gradient(135deg, #EBF8FF 0%, #FFFFFF 100%); padding: 80px 20px; text-align: center; position: relative; overflow: hidden; }
.hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.hero-title { font-size: 48px; color: var(--dark); margin-bottom: 20px; line-height: 1.2; }
.hero-desc { font-size: 20px; color: var(--text-muted); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 20px; justify-content: center; }

/* Sections */
.section { padding: 80px 20px; }
.section-light { background: #FFFFFF; }
.section-dark { background: var(--dark); color: white; }
.section-title { text-align: center; font-size: 32px; margin-bottom: 16px; color: inherit; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; margin-inline: auto; font-size: 18px; }
.container { max-width: 1200px; margin: 0 auto; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: var(--bg-card); padding: 40px 30px; border-radius: 16px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); border: 1px solid var(--gray-light); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.feature-icon { width: 48px; height: 48px; color: var(--primary); margin-bottom: 20px; }
.feature-title { font-size: 20px; margin-bottom: 12px; color: var(--dark); }

/* Platforms Grid */
.platforms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.platform-card { background: var(--bg-card); padding: 30px; border-radius: 12px; text-align: center; border: 1px solid var(--gray-light); display: flex; flex-direction: column; align-items: center; }
.platform-icon { width: 64px; height: 64px; color: var(--dark); margin-bottom: 16px; }
.platform-name { font-size: 20px; font-weight: bold; margin-bottom: 8px; }
.platform-req { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* Detailed Info */
.info-row { display: flex; align-items: center; gap: 40px; margin-bottom: 60px; }
.info-row:nth-child(even) { flex-direction: row-reverse; }
.info-content { flex: 1; }
.info-content h3 { font-size: 28px; margin-bottom: 16px; color: var(--dark); }
.info-content p { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; }
.info-visual { flex: 1; background: #EBF8FF; border-radius: 20px; padding: 40px; display: flex; justify-content: center; align-items: center; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 24px; }
.review-card { background: var(--bg-card); padding: 24px; border-radius: 12px; border: 1px solid var(--gray-light); }
.review-stars { color: #F6E05E; margin-bottom: 12px; display: flex; gap: 4px; }
.review-text { font-size: 16px; color: var(--text-main); margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: #CBD5E0; display: flex; align-items: center; justify-content: center; font-weight: bold; color: white; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { padding: 30px; }
.stat-num { font-size: 40px; font-weight: bold; color: var(--primary); margin-bottom: 8px; }
.stat-lbl { color: var(--gray-dark); font-size: 16px; }

/* Table */
.table-wrap { overflow-x: auto; background: var(--bg-card); border-radius: 12px; border: 1px solid var(--gray-light); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 16px 20px; border-bottom: 1px solid var(--gray-light); }
th { background: #F7FAFC; font-weight: 600; color: var(--dark); }
.yes { color: #48BB78; } .no { color: #F56565; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--gray-light); border-radius: 8px; overflow: hidden; }
.faq-q { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--dark); user-select: none; }
.faq-chevron { width: 20px; height: 20px; transition: transform 0.3s; color: var(--primary); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; color: var(--text-muted); }
.faq-item.open .faq-q { border-bottom: 1px solid var(--gray-light); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-a { padding: 20px; max-height: 500px; }

/* Download specific */
.dl-hero { background: var(--dark); color: white; padding: 60px 20px; text-align: center; }
.dl-hero-title { font-size: 40px; margin-bottom: 16px; }
.dl-main-card { background: white; color: var(--dark); max-width: 800px; margin: -40px auto 40px; border-radius: 16px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); position: relative; z-index: 10; text-align: center; }
.dl-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; padding: 20px; background: #F7FAFC; border-radius: 12px; }
.dl-spec { display: flex; flex-direction: column; }
.dl-spec-lbl { font-size: 14px; color: var(--text-muted); }
.dl-spec-val { font-size: 16px; font-weight: bold; color: var(--dark); }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.guide-col { background: var(--bg-card); padding: 30px; border-radius: 12px; border: 1px solid var(--gray-light); }
.gstep { display: flex; gap: 16px; margin-bottom: 24px; }
.gstep-num { width: 32px; height: 32px; border-radius: 50%; background: #EBF8FF; color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.gstep-title { font-weight: 600; margin-bottom: 4px; color: var(--dark); }

/* Article */
.art-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.art-body h2 { font-size: 28px; margin: 30px 0 16px; color: var(--dark); }
.art-body p { margin-bottom: 16px; font-size: 16px; line-height: 1.8; color: var(--text-main); }
.sidebar { position: sticky; top: 100px; }
.sbox { background: white; padding: 24px; border-radius: 12px; border: 1px solid var(--gray-light); margin-bottom: 24px; }
.sbox h3 { margin-bottom: 16px; font-size: 18px; border-bottom: 2px solid var(--primary); padding-bottom: 8px; display: inline-block; }
.sidebar-btn { display: flex; align-items: center; gap: 10px; padding: 12px; background: #F7FAFC; border-radius: 8px; margin-bottom: 10px; color: var(--dark); font-weight: 500; transition: background 0.2s; border: 1px solid var(--gray-light); }
.sidebar-btn:hover { background: #EBF8FF; border-color: var(--primary); }

/* Footer */
.footer { background: var(--dark); color: white; padding: 40px 20px; text-align: center; margin-top: 60px; }
.footer-secure { display: flex; align-items: center; justify-content: center; gap: 8px; color: #48BB78; font-weight: 500; margin-bottom: 16px; }
.footer-note { color: var(--text-muted); font-size: 14px; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; flex-direction: column; padding: 20px; border-bottom: 1px solid var(--gray-light); gap: 15px; }
    .nav-menu.show { display: flex; }
    .nav-link.active::after { display: none; }
    .hero-title { font-size: 32px; }
    .hero-actions { flex-direction: column; }
    .info-row, .info-row:nth-child(even) { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .guide-grid, .art-layout { grid-template-columns: 1fr; }
    .dl-specs { grid-template-columns: 1fr; }
}
