/* Solar Wind / Kinetic Energy Theme */
:root {
  --primary: #f59e0b; /* Amber 500 */
  --primary-dark: #d97706;
  --secondary: #0ea5e9; /* Sky 500 */
  --accent: #8b5cf6; /* Violet 500 */
  --bg: #fdfbf7;
  --text: #1c1917;
  --text-muted: #57534e;
  --white: #ffffff;
  --gray-50: #fafaf9;
  --gray-100: #f5f5f4;
  --gray-200: #e7e5e4;
  --gray-800: #292524;
  --gray-900: #1c1917;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 1rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

/* Navigation */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(253, 251, 247, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-200); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0.75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: 700; font-size: 1.25rem; color: var(--text); }
.nav-menu { display: flex; gap: 1rem; list-style: none; }
.nav-link { text-decoration: none; color: var(--text-muted); padding: 0.5rem 1.25rem; border-radius: 2rem; font-weight: 500; transition: all 0.3s ease; }
.nav-link:hover { color: var(--primary); background: var(--gray-100); }
.nav-link.active { color: var(--white); background: var(--primary); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.75rem; border-radius: 2rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.3s ease; text-decoration: none; gap: 0.5rem; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--text); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* Sections */
.sec { padding: 5rem 1.5rem; }
.wrap { max-width: 1200px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 4rem; }
.sec-label { display: inline-block; padding: 0.25rem 1rem; background: rgba(245, 158, 11, 0.1); color: var(--primary); border-radius: 2rem; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.sec-title { font-size: 2.5rem; font-weight: 800; color: var(--gray-900); margin-bottom: 1rem; line-height: 1.2; }
.sec-sub { font-size: 1.125rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* Hero Section */
.hero { position: relative; padding: 10rem 1.5rem 6rem; background: radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.15), transparent 50%), radial-gradient(circle at 10% 80%, rgba(14, 165, 233, 0.1), transparent 40%); overflow: hidden; }
.hero-inner { display: flex; align-items: center; gap: 4rem; position: relative; z-index: 2; }
.hero-text { flex: 1; }
.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; color: var(--gray-900); }
.hero-desc { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-visual { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.5; z-index: -1; }
.orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; animation: float 10s infinite alternate; }
.orb-2 { width: 300px; height: 300px; background: var(--secondary); bottom: -50px; left: -50px; animation: float 12s infinite alternate-reverse; }

@keyframes float { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, -30px); } }

/* Stats */
.stats-bar { background: var(--white); border: 1px solid var(--gray-200); padding: 2.5rem; border-radius: var(--radius); margin-top: -4rem; position: relative; z-index: 10; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; box-shadow: var(--shadow); text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; display: block; }
.stat-lbl { color: var(--text-muted); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; }

/* Feature Cards */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feat-card { background: var(--white); padding: 2.5rem; border-radius: var(--radius); border: 1px solid var(--gray-200); transition: all 0.3s ease; position: relative; overflow: hidden; }
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.feat-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); opacity: 0; transition: 0.3s; }
.feat-card:hover::before { opacity: 1; }
.feat-icon { width: 56px; height: 56px; background: rgba(245, 158, 11, 0.1); border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--primary); }
.feat-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--gray-900); }
.feat-desc { color: var(--text-muted); font-size: 0.9375rem; }

/* Platforms */
.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.plat-card { background: var(--white); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--gray-200); text-align: center; transition: 0.3s; }
.plat-card:hover { border-color: var(--secondary); box-shadow: var(--shadow); }
.plat-icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; color: var(--secondary); }
.plat-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.plat-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* Content Sections */
.content-row { display: flex; align-items: center; gap: 4rem; margin-bottom: 6rem; }
.content-row:nth-child(even) { flex-direction: row-reverse; }
.content-info { flex: 1; }
.content-visual { flex: 1; background: var(--gray-100); border-radius: var(--radius); padding: 2rem; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.content-title { font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; }
.content-p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.content-list { list-style: none; }
.content-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-weight: 500; }
.content-item svg { color: var(--primary); flex-shrink: 0; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.rev-card { background: var(--white); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--gray-200); position: relative; }
.rev-stars { color: #fbbf24; margin-bottom: 1rem; display: flex; gap: 0.25rem; }
.rev-text { font-style: italic; color: var(--text-muted); margin-bottom: 1.5rem; }
.rev-user { display: flex; align-items: center; gap: 1rem; }
.rev-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gray-200); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-muted); }

/* Comparison Table */
.cmp-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); }
.cmp-table { width: 100%; border-collapse: collapse; text-align: center; min-width: 600px; }
.cmp-table th { padding: 1.5rem; background: var(--gray-50); border-bottom: 2px solid var(--gray-200); font-weight: 700; }
.cmp-table td { padding: 1.25rem; border-bottom: 1px solid var(--gray-100); }
.cmp-feature { text-align: left; font-weight: 600; padding-left: 2rem !important; }
.cmp-hl { color: var(--primary); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 1rem; border: 1px solid var(--gray-200); border-radius: 1rem; overflow: hidden; background: var(--white); }
.faq-q { padding: 1.25rem 2rem; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 700; background: var(--white); transition: 0.3s; }
.faq-q:hover { background: var(--gray-50); color: var(--primary); }
.faq-chevron { transition: 0.3s; width: 20px; height: 20px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-q { border-bottom: 1px solid var(--gray-100); }
.faq-a { padding: 0; max-height: 0; overflow: hidden; transition: all 0.3s ease-in-out; background: var(--gray-50); }
.faq-item.open .faq-a { padding: 1.5rem 2rem; max-height: 500px; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--primary), var(--accent)); padding: 4rem 2rem; border-radius: 2rem; text-align: center; color: var(--white); margin-top: 4rem; position: relative; overflow: hidden; }
.cta-banner::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2), transparent 40%); }
.cta-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-desc { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cta-btns { position: relative; z-index: 1; }

/* Download Page Specifics */
.dl-hero { padding: 8rem 1.5rem 4rem; text-align: center; background: radial-gradient(circle at top, rgba(14, 165, 233, 0.1), transparent); }
.dl-main-card { max-width: 800px; margin: 0 auto; background: var(--white); border-radius: 2rem; border: 1px solid var(--gray-200); padding: 4rem; box-shadow: var(--shadow); position: relative; }
.dl-main-icon { width: 80px; height: 80px; background: rgba(245, 158, 11, 0.1); border-radius: 1.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem; color: var(--primary); }
.dl-meta { display: flex; justify-content: center; gap: 2rem; margin: 2rem 0; padding: 1.5rem; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.dl-meta-item { text-align: center; }
.dl-meta-val { display: block; font-weight: 700; color: var(--gray-900); }
.dl-meta-lbl { font-size: 0.875rem; color: var(--text-muted); }

/* Steps */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step-item { position: relative; text-align: center; }
.step-num { width: 40px; height: 40px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 1.5rem; z-index: 2; position: relative; }
.step-title { font-weight: 700; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.875rem; color: var(--text-muted); }

/* Version Logs */
.ver-list { border-left: 2px solid var(--gray-200); padding-left: 2rem; margin-left: 1rem; }
.ver-item { position: relative; padding-bottom: 3rem; }
.ver-item::before { content: ""; position: absolute; left: -2.35rem; top: 0.25rem; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 2px solid var(--white); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1); }
.ver-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.ver-num { font-weight: 700; font-size: 1.125rem; }
.ver-date { font-size: 0.875rem; color: var(--text-muted); }
.ver-tag { padding: 0.125rem 0.5rem; background: var(--gray-100); border-radius: 0.25rem; font-size: 0.75rem; font-weight: 600; }

/* SEO Page */
.art-hero { padding: 10rem 1.5rem 6rem; background: var(--gray-900); color: var(--white); position: relative; }
.art-hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(245,158,11,0.1) 0%, transparent 100%); }
.art-layout { display: flex; gap: 4rem; align-items: flex-start; }
.art-body { flex: 2; }
.art-sidebar { flex: 1; position: sticky; top: 100px; background: var(--white); padding: 2.5rem; border-radius: 1.5rem; border: 1px solid var(--gray-200); }
.art-section { margin-bottom: 4rem; }
.art-h2 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--gray-900); display: flex; align-items: center; gap: 0.75rem; }
.art-h2 svg { color: var(--primary); }
.art-p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.art-list { margin-bottom: 1.5rem; list-style: none; }
.art-list li { margin-bottom: 1rem; display: flex; gap: 0.75rem; }
.art-list li svg { color: var(--primary); flex-shrink: 0; margin-top: 0.25rem; }

/* Tag Cloud */
.kw-cloud { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.kw-tag { padding: 0.5rem 1rem; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 0.5rem; font-size: 0.875rem; color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.kw-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Footer */
.footer { padding: 4rem 1.5rem; background: var(--gray-900); color: var(--white); text-align: center; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.security-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; background: rgba(34, 197, 94, 0.1); border: 1px solid #22c55e; color: #22c55e; border-radius: 2rem; margin-bottom: 1.5rem; font-weight: 600; }
.footer-note { font-size: 0.875rem; color: rgba(255,255,255,0.6); max-width: 800px; margin: 1.5rem auto 0; line-height: 1.6; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Mobile Menu Button */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text); }

@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1.5rem; border-bottom: 1px solid var(--gray-200); gap: 0; }
  .nav-menu.show { display: flex; }
  .nav-link { padding: 1rem; border-radius: 0.5rem; width: 100%; }
  .nav-toggle { display: block; }
  .hero-inner { flex-direction: column; text-align: center; padding-top: 2rem; }
  .hero-title { font-size: 2.5rem; }
  .hero-actions { justify-content: center; }
  .content-row, .content-row:nth-child(even) { flex-direction: column; text-align: center; }
  .art-layout { flex-direction: column; }
  .dl-main-card { padding: 2rem; }
  .dl-meta { flex-direction: column; gap: 1rem; }
}
