:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --secondary: #1e1b4b;
  --accent: #f59e0b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-md: 12px;
  --radius-lg: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--secondary);
}

.logo svg {
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}

/* Sections */
section {
  padding: 80px 0;
}

.sec-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.sec-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.sec-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.sec-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 100px 0 120px;
  background: radial-gradient(circle at top right, #e0f2fe 0%, #f8fafc 40%);
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-visual {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.browser-frame {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.frame-top {
  height: 40px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c940; }

.frame-url {
  flex: 1;
  height: 24px;
  background: white;
  border-radius: 4px;
  margin: 0 40px;
}

.frame-body {
  height: 500px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Features Grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feat-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.feat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feat-ico {
  width: 56px;
  height: 56px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.feat-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.feat-desc {
  color: var(--text-muted);
}

/* Platforms */
.plat-sec {
  background-color: var(--secondary);
  color: white;
}

.plat-sec .sec-title { color: white; }
.plat-sec .sec-desc { color: #94a3b8; }

.plat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.plat-sec .plat-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.plat-sec:not(.sec-white) .plat-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.plat-sec:not(.sec-white) .plat-card .btn-outline:hover {
  background: white;
  color: var(--secondary);
  border-color: white;
}

.sec-white {
  background-color: white !important;
  color: var(--text-main) !important;
}

.sec-white .sec-title { color: var(--secondary) !important; }
.sec-white .sec-desc { color: var(--text-muted) !important; }

.sec-white .plat-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
}

.sec-white .plat-name { color: var(--secondary); }
.sec-white .plat-icon { color: var(--text-main); }

.plat-list {
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  list-style: none;
}

.plat-icon {
  margin-bottom: 20px;
  color: var(--primary);
}

.plat-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plat-sub {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

/* Deep Dives */
.deep-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
}

.deep-row:nth-child(even) {
  flex-direction: row-reverse;
}

.deep-info {
  flex: 1;
}

.deep-visual {
  flex: 1;
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.deep-h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
}

.deep-p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Reviews */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.rev-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.rev-stars {
  color: #fbbf24;
  margin-bottom: 16px;
}

.rev-text {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 24px;
}

.rev-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rev-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

/* Stats */
.stat-sec {
  background: #f1f5f9;
  padding: 60px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-weight: 600;
  color: var(--secondary);
}

/* Comparison Table */
.cmp-wrap {
  overflow-x: auto;
  margin-top: 40px;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cmp-table th, .cmp-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.cmp-table th {
  background: #f8fafc;
  color: var(--secondary);
  font-weight: 700;
}

.cmp-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--secondary);
}

.check { color: #10b981; }
.cross { color: #ef4444; }

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.faq-q {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-q::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #fdfdfd;
}

.faq-item.open .faq-a {
  max-height: 500px;
}

.faq-a-inner {
  padding: 0 24px 24px;
  color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: white;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

/* Download Page Specific */
.dl-hero {
  padding: 80px 0;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.dl-main-box {
  background: white;
  border: 1px solid var(--border-light);
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: -40px auto 0;
  position: relative;
  z-index: 10;
  text-align: center;
}

.dl-main-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
}

.dl-main-info {
  margin-bottom: 40px;
}

.dl-main-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}

.dl-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dl-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dl-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.dl-step {
  text-align: left;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Version Log */
.ver-list {
  margin-top: 40px;
}

.ver-item {
  padding: 24px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.ver-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ver-tag {
  background: #ecfdf5;
  color: #059669;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 80px 0 40px;
}

.footer-inner {
  text-align: center;
}

.footer-security {
  color: #10b981;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-disclaimer {
  font-size: 0.875rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-title { font-size: 2.75rem; }
  .sec-title { font-size: 2rem; }
  .deep-row { flex-direction: column !important; gap: 40px; }
  .dl-main-box { padding: 40px 24px; margin-top: 20px; }
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
