:root {
  --bg: #080810;
  --bg-light: #0f0f18;
  --surface: #15151f;
  --border: rgba(255,255,255,0.08);
  --accent: #34d399;
  --accent-dim: rgba(52,211,153,0.15);
  --accent-glow: rgba(52,211,153,0.3);
  --text: #f0f0f5;
  --text-2: #8888a0;
  --text-3: #555570;
  --font: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: inherit; text-decoration: none; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.875rem 1.5rem;
  background: rgba(8,8,16,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1rem;
}

.brand-icon {
  width: 26px;
  height: 26px;
  background: var(--accent);
  border-radius: 4px;
  position: relative;
}

.brand-icon::before {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--bg);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 0.5rem 1.125rem;
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: #2cb882;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s;
}

.hero-img.loaded { opacity: 0.4; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,16,0.7) 0%, rgba(8,8,16,0.5) 40%, rgba(8,8,16,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 580px;
  padding: 0 1.5rem;
}

.hero-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--accent-dim);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-content p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-primary {
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-ghost {
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.25s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.section {
  padding: 4rem 0;
}

.section-dark {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto;
}

.about-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.about-intro h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-intro p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 0.875rem;
}

.about-intro .highlight {
  color: var(--accent);
  font-weight: 600;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}

.feature:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  color: var(--accent);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.compare-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.compare-col h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}

.compare-col:first-child h3 { color: var(--text-3); }
.compare-col:last-child h3 { color: var(--accent); }

.compare-col ul {
  list-style: none;
}

.compare-col li {
  padding: 0.375rem 0;
  font-size: 0.85rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.compare-col li .x { color: #ef4444; font-weight: 700; }
.compare-col li .check { color: var(--accent); font-weight: 700; }

.abilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ability {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s;
}

.ability:hover {
  border-color: var(--accent);
}

.ability-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.5rem;
}

.ability h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.ability p {
  font-size: 0.75rem;
  color: var(--text-2);
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8,8,16,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-overlay p {
  font-size: 0.8rem;
  color: var(--text-2);
}

.gallery-main {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-main .gallery-overlay {
  opacity: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(8,8,16,0.85) 100%);
}

.reasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.reason {
  text-align: center;
  padding: 1.5rem 0.875rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}

.reason:hover {
  border-color: var(--accent);
}

.reason-icon {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 0.75rem;
}

.reason h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.reason p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.5;
}

.faq {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--accent);
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

.section-cta {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-light) 100%);
  padding: 5rem 0;
}

.cta-content {
  text-align: center;
  max-width: 460px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 1.25rem;
}

.cta-content h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-content > p {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}

.cta-form {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.cta-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.cta-form input:focus {
  border-color: var(--accent);
}

.cta-form input::placeholder {
  color: var(--text-3);
}

.cta-form button {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.cta-form button:hover {
  background: #2cb882;
}

.cta-success {
  display: block;
  padding: 1rem;
  background: var(--accent-dim);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-3);
}

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-2);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-3);
}

@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .abilities { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-main {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-item {
    height: 200px;
  }
  .gallery-main .gallery-overlay {
    opacity: 1;
  }
}

@media (max-width: 580px) {
  .nav-links { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }
  .abilities { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-main {
    grid-column: span 1;
  }
  .gallery-item {
    height: 220px;
  }
  .gallery-overlay {
    opacity: 1;
  }
}
