/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Nunito:wght@400;500;700;800&display=swap');

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #ff6b35;
  --blue-dark: #1255c0;
  --blue-light: #e8f0fd;
  --accent: #ff6b35;
  --text: #1a1a2e;
  --text-muted: #5a6478;
  --border: #e2e8f0;
  --bg: #f7f9fc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26,111,232,0.10);
  --shadow-lg: 0 8px 40px rgba(26,111,232,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-weight: 700;
  font-size: 15px; cursor: pointer; border: none; transition: all .2s;
  font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #e55a28; color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: 10px; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; }
.nav-logo span { font-size: 20px; font-weight: 800; color: var(--blue); letter-spacing: -0.5px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 17px; font-weight: 500; color: var(--text);
  padding: 8px 16px; border-radius: 8px; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-light); }

.nav-cta { margin-left: 12px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--text); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1a6fe8 50%, #42a5f5 100%);
  color: #fff; padding: 90px 0 80px; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1400&q=60') center/cover no-repeat;
  opacity: 0.08;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; padding: 5px 14px; font-size: 13px; margin-bottom: 20px; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.hero h1 span { color: #ffd54f; }
.hero p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stat strong { display: block; font-size: 28px; font-weight: 800; }
.hero-stat span { font-size: 13px; opacity: 0.8; }
.hero-img { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.hero-img img { width: 100%; }

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.tag { display: inline-block; background: var(--blue-light); color: var(--blue); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }

/* ===== Feature Cards ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: all .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.feature-icon { width: 52px; height: 52px; background: var(--blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--blue); margin-bottom: 18px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== Download Cards ===== */
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.download-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all .25s;
}
.download-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); }
.download-card.featured { border-color: var(--blue); background: linear-gradient(135deg, #f0f6ff, #fff); }
.dl-platform { display: flex; align-items: center; gap: 14px; }
.dl-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.dl-icon.win { background: #e3f2fd; color: #1565c0; }
.dl-icon.mac { background: #f3e5f5; color: #6a1b9a; }
.dl-icon.android { background: #e8f5e9; color: #2e7d32; }
.dl-icon.ios { background: #fff3e0; color: #e65100; }
.dl-platform h3 { font-size: 20px; font-weight: 700; }
.dl-platform p { font-size: 13px; color: var(--text-muted); }
.dl-meta { display: flex; gap: 20px; }
.dl-meta span { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.dl-meta i { color: var(--blue); }

/* ===== Stats Bar ===== */
.stats-bar { background: var(--blue); color: #fff; padding: 48px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong { display: block; font-size: 36px; font-weight: 800; }
.stat-item span { font-size: 14px; opacity: 0.85; }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.testimonial-stars { color: #ffc107; margin-bottom: 12px; font-size: 14px; }
.testimonial-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { font-size: 14px; font-weight: 700; display: block; }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #1a6fe8, #0d47a1);
  color: #fff; padding: 72px 0; text-align: center;
}
.cta-banner h2 { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.cta-banner p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #0d47a1, #1a6fe8);
  color: #fff; padding: 64px 0; text-align: center;
}
.page-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 17px; opacity: 0.9; max-width: 560px; margin: 0 auto; }

/* ===== Features Detail ===== */
.feature-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 80px; }
.feature-detail:last-child { margin-bottom: 0; }
.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }
.feature-detail-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.feature-detail-text p { color: var(--text-muted); margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.feature-list li i { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.feature-detail-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-detail-img img { width: 100%; }

/* ===== About ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-intro h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.about-intro p { color: var(--text-muted); margin-bottom: 16px; }
.about-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }

.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--blue); }
.timeline-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.timeline-item .year { font-size: 13px; color: var(--blue); font-weight: 700; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: var(--text-muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--blue-light); }
.team-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--text-muted); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; }
.contact-card i { font-size: 28px; color: var(--blue); margin-bottom: 12px; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-muted); }

/* ===== Version / Changelog ===== */
.version-box { background: var(--bg); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 24px; border-left: 4px solid var(--blue); }
.version-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.version-box .v-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.version-box ul { display: flex; flex-direction: column; gap: 8px; }
.version-box ul li { font-size: 14px; display: flex; align-items: flex-start; gap: 8px; }
.version-box ul li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

.sysreq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sysreq-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.sysreq-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sysreq-card h3 i { color: var(--blue); }
.sysreq-card ul { display: flex; flex-direction: column; gap: 8px; }
.sysreq-card ul li { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.sysreq-card ul li i { color: var(--blue); font-size: 12px; }

/* ===== Footer ===== */
.site-footer { background: #0d1b2e; color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo span { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 14px; line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.55); }
.footer-bottom-links a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .feature-detail { grid-template-columns: 1fr; }
  .feature-detail.reverse { direction: ltr; }
  .about-intro { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .sysreq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  .nav-toggle { display: block; }
  .section-header h2 { font-size: 26px; }
  .page-hero h1 { font-size: 28px; }
}
