:root {
  --primary: #1e293b;
  --primary-light: #334155;
  --accent: #14b8a6;
  --accent-light: #2dd4bf;
  --highlight: #0ea5e9;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

.text-center { text-align: center; }
.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  text-align: center;
}
.section-desc {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo svg {
  margin-right: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: white;
}

.btn-accent:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--border);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent);
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-platforms {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
}

.hero-platforms span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.hero-visual {
  position: relative;
}

.visual-box {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Features Grid */
.features {
  padding: 6rem 0;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feat-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.feat-icon {
  width: 60px;
  height: 60px;
  background: rgba(20, 184, 166, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.feat-card h3 {
  margin-bottom: 1rem;
}

.feat-card p {
  color: var(--text-muted);
}

/* FAQ */
.faq {
  padding: 6rem 0;
  background: #ffffff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
}

.faq-q svg {
  transition: transform 0.3s;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-a p {
  padding-bottom: 1.5rem;
  color: var(--text-muted);
}

.faq-item.active .faq-a {
  max-height: 200px;
}

.faq-item.active .faq-q svg {
  transform: rotate(180deg);
}

/* Testimonials */
.reviews {
  padding: 6rem 0;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.review-content {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 48px;
  height: 48px;
  background: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
}

/* Footer */
footer {
  padding: 4rem 0 2rem;
  background: var(--primary);
  color: white;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  color: white;
  margin-bottom: 2rem;
}

.footer-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 184, 166, 0.2);
  color: var(--accent-light);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Download Page Specific */
.dl-hero { padding: 4rem 0; text-align: center; }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.plat-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.plat-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.plat-card.featured {
  background: var(--primary);
  color: white;
  border: none;
  transform: scale(1.05);
}

.plat-card.featured h3 { color: white; }
.plat-card.featured p { color: rgba(255, 255, 255, 0.7); }

.plat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--accent);
}

.plat-card.featured .plat-icon { color: var(--accent-light); }

/* Article Page Specific */
.article-wrap {
  padding: 4rem 0;
  background: white;
}

.article-header {
  text-align: center;
  margin-bottom: 4rem;
}

.article-content {
  max-width: 900px;
  margin: 0 auto;
}

.article-content h2 { margin: 3rem 0 1.5rem; }
.article-content p { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--primary-light); }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.comparison-table th, .comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.comparison-table th { background: var(--bg); color: var(--primary); }

.cta-box {
  background: var(--bg);
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  margin: 4rem 0;
  border: 1px solid var(--border);
}

/* Animations */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Download Page - Windows Showcase */
.win-showcase {
  background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
  color: white;
  border-radius: 24px;
  padding: 4rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.win-showcase::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.win-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.win-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.win-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.win-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.win-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.win-feature-item svg {
  color: var(--accent);
}

.win-dl-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.win-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.win-stat-val {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-light);
}

.win-stat-lbl {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

@media (max-width: 992px) {
  .win-grid { grid-template-columns: 1fr; gap: 3rem; }
  .win-showcase { padding: 3rem 2rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-platforms { justify-content: center; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .win-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.show { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 2.5rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}
