/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(66, 242, 155, 0.16), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(24, 181, 255, 0.18), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(24, 181, 255, 0.16), transparent 55%),
    #020608;
  color: #f4f6fb;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  background-attachment: fixed;
}


/* Color system */
:root {
  --bg: #020608;
  --bg-alt: #050e10;
  --bg-elevated: #07141a;
  --border-subtle: rgba(96, 255, 209, 0.12);
  --accent: #42f29b;
  --accent-soft: rgba(66, 242, 155, 0.16);
  --accent-secondary: #18b5ff;
  --text-main: #f4f6fb;
  --text-muted: #9aa6bf;
  --danger: #ff5d7a;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --transition-fast: 150ms ease-out;
}

/* Layout utilities */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 8, 0.94), rgba(2, 6, 8, 0.8), transparent);
  border-bottom: 1px solid rgba(66, 242, 155, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(66, 242, 155, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background:
    radial-gradient(circle at top left, rgba(66, 242, 155, 0.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(24, 181, 255, 0.35), transparent 55%),
    #010305;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  color: #f7f9ff;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  transition: width var(--transition-fast);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-list a:hover {
  color: var(--text-main);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(130deg, var(--accent), var(--accent-secondary));
  color: #041013;
  box-shadow: 0 12px 32px rgba(24, 181, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(24, 181, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(66, 242, 155, 0.3);
}

.btn-ghost:hover {
  background: rgba(5, 17, 20, 0.95);
  border-color: rgba(66, 242, 155, 0.6);
}

.btn-small {
  padding-inline: 14px;
  font-size: 11px;
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(66, 242, 155, 0.16), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(24, 181, 255, 0.14), transparent 55%),
    radial-gradient(circle at 50% 95%, rgba(66, 242, 155, 0.12), transparent 55%);
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-subtitle {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Hero preview card */
.hero-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.preview-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at 0 0, rgba(66, 242, 155, 0.16), transparent 60%),
    rgba(4, 13, 18, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 14px;
}

.preview-card.secondary {
  background:
    radial-gradient(circle at 0 0, rgba(24, 181, 255, 0.16), transparent 60%),
    rgba(5, 13, 19, 0.96);
  padding: 14px 14px 12px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.badge {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(2, 10, 10, 0.9);
  border: 1px solid rgba(66, 242, 155, 0.45);
  color: #dfffed;
}

.preview-badge {
  font-size: 11px;
  color: var(--text-muted);
}

.preview-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.preview-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.preview-price {
  font-size: 26px;
  font-weight: 600;
}

.preview-unit {
  font-size: 12px;
  margin-left: 4px;
  color: var(--text-muted);
}

.preview-pill {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(24, 181, 255, 0.35);
  color: #dbefff;
  background: rgba(3, 17, 26, 0.9);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.preview-value {
  font-size: 13px;
}

.preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid rgba(66, 242, 155, 0.16);
  padding-top: 8px;
}

.preview-toggle {
  cursor: default;
}

.preview-mode {
  opacity: 0.85;
}

.preview-mini-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.preview-chart-placeholder {
  position: relative;
  height: 56px;
  border-radius: 999px;
  border: 1px dashed rgba(24, 181, 255, 0.35);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.preview-chart-line {
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  border-radius: 999px;
  opacity: 0.5;
}

.preview-chart-line:first-of-type {
  background: linear-gradient(90deg, rgba(66, 242, 155, 0.2), rgba(24, 181, 255, 0.85));
  transform: translateY(-5px);
}

.preview-chart-line:last-of-type {
  background: linear-gradient(90deg, rgba(66, 242, 155, 0.05), rgba(24, 181, 255, 0.6));
  transform: translateY(6px);
}

.preview-chart-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffffff, #42f29b);
  right: 23%;
  top: 38%;
  box-shadow: 0 0 14px rgba(66, 242, 155, 0.6);
}

.preview-mini-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: transparent;
}

.section-header {
  text-align: left;
  max-width: 640px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(66, 242, 155, 0.14);
  background: radial-gradient(circle at 0 0, rgba(66, 242, 155, 0.06), transparent 55%), #050f11;
  padding: 16px 16px 14px;
  font-size: 14px;
  color: var(--text-muted);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-main);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(66, 242, 155, 0.4);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 181, 255, 0.16);
  background: radial-gradient(circle at 100% 0, rgba(24, 181, 255, 0.12), transparent 60%), #050b11;
  padding: 18px 16px 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.step-card h3 {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-main);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(24, 181, 255, 0.6);
  font-size: 12px;
}

/* Trust section */
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.trust-grid h2 {
  margin-bottom: 10px;
}

.trust-grid p {
  color: var(--text-muted);
  font-size: 14px;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(66, 242, 155, 0.35);
  background: rgba(5, 18, 17, 0.9);
  font-size: 14px;
  color: var(--text-main);
}

.trust-list li + li {
  margin-top: 6px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(66, 242, 155, 0.16);
  background: #050f13;
  padding: 10px 14px;
  font-size: 14px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
}

.faq-item summary::marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 16px;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 8px;
  color: var(--text-muted);
}

.section-cta {
  background: transparent;
}

.cta-inner {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(66, 242, 155, 0.24);
  padding: 24px 18px;
  background: radial-gradient(circle at 20% 0, rgba(66, 242, 155, 0.24), transparent 60%), radial-gradient(circle at 100% 100%, rgba(24, 181, 255, 0.24), transparent 60%), #050d10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-soft);
}

.cta-inner p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Legal pages */
.page-legal main {
  min-height: calc(100vh - 160px);
}

.legal-main {
  padding-top: 40px;
}

.legal-container {
  max-width: 720px;
}

.legal-container h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.legal-container h2 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 6px;
}

.legal-container p,
.legal-container li {
  font-size: 14px;
  color: var(--text-muted);
}

.legal-container ul {
  margin: 8px 0 0 18px;
}

.legal-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(66, 242, 155, 0.12);
  background: #020608;
  padding: 16px 0 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 16px;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a.active {
  color: var(--text-main);
}

/* Links general */
a {
  color: var(--accent-secondary);
}

a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-preview {
    max-width: 360px;
    margin-inline: auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .features-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    gap: 10px;
  }

  .nav-list {
    position: fixed;
    top: 58px;
    right: 16px;
    width: 180px;
    flex-direction: column;
    padding: 12px 14px;
    border-radius: 16px;
    background: #050c11;
    border: 1px solid rgba(66, 242, 155, 0.18);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .nav-list.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header .btn-small {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
