/* New Technology — Dark theme, neon/gradient accents, minimal SaaS */
:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --text: #e4e4e7;
  --text-muted: #a1a1aa;
  --accent: #22c55e;
  --accent-dim: #16a34a;
  --accent-glow: rgba(34, 197, 94, 0.35);
  --border: #27272a;
  --gradient-start: #22c55e;
  --gradient-end: #06b6d4;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --space: 1.5rem;
  --section-padding: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----- Header ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.nav-active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn-ghost {
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn-primary {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #0a0a0f;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ----- Sections (vertical rhythm) ----- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--section-padding) var(--space);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

/* Grids: 1 col mobile, 2 col tablet, 3–4 col desktop */
.grid-2 {
  display: grid;
  gap: var(--space);
  grid-template-columns: 1fr;
}

.grid-3 {
  display: grid;
  gap: var(--space);
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ----- #product: Hero ----- */
.product-section {
  padding-top: 2rem;
}

.hero {
  position: relative;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 2rem 0 3rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.hero-grid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-trust {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* What we do cards */
.what-we-do {
  margin-bottom: 2.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 24px var(--accent-glow);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.feature-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.feature-card li {
  margin-bottom: 0.25rem;
}

.feature-card li::before {
  content: "— ";
  color: var(--accent);
}

/* Outcomes strip */
.outcomes-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space);
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-card {
  text-align: center;
}

.stat-card .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ----- #solutions ----- */
.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.solution-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 20px var(--accent-glow);
}

.solution-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.solution-icon svg {
  width: 100%;
  height: 100%;
}

.solution-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.solution-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.solution-card ul {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.solution-card li {
  margin-bottom: 0.2rem;
}

.link-cta {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-block;
}

.link-cta:hover {
  text-decoration: underline;
}

/* ----- Security ----- */
.security-section {
  border-top: 1px solid var(--border);
}

.security-list {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.security-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----- #pricing ----- */
.pricing-section .section-subtitle {
  margin-bottom: 2rem;
}

.pricing-grid {
  margin-bottom: 1.5rem;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
}

.pricing-card-featured {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 28px var(--accent-glow);
}

.pricing-badge {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.pricing-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
}

.pricing-period {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-card li {
  margin-bottom: 0.35rem;
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ----- #docs ----- */
.docs-grid {
  margin-bottom: 2rem;
}

.docs-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.docs-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 20px var(--accent-glow);
}

.docs-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.docs-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.docs-code {
  max-width: 560px;
  margin: 0 auto;
}

.terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.terminal-bar {
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.4rem;
}

.terminal .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.terminal pre {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  font-family: 'Consolas', 'Monaco', monospace;
  color: var(--accent);
  overflow-x: auto;
}

.terminal code {
  color: inherit;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ----- #company ----- */
.company-intro {
  max-width: 640px;
  margin-bottom: 2rem;
}

.process-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.process-step {
  white-space: nowrap;
}

.process-arrow {
  color: var(--accent);
}

.contact-cta {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}

.contact-cta p {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.contact-cta .btn-ghost,
.contact-cta .btn-primary {
  margin: 0 0.5rem 0.5rem 0;
}

.faq {
  max-width: 640px;
  margin: 0 auto;
}

.faq-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.faq-list {
  margin: 0;
  padding: 0;
}

.faq-list dt {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 1rem 0 0.35rem;
  color: var(--text);
}

.faq-list dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----- Footer ----- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem var(--space) 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ----- Focus & a11y ----- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Skip link (optional, for screen readers) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #0a0a0f;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ----- Responsive ----- */
@media (max-width: 767px) {
  .section {
    padding: 3rem 1rem;
  }

  .nav {
    gap: 1rem;
  }

  .hero {
    margin-bottom: 2rem;
    padding: 1.5rem 0 2rem;
  }

  .outcomes-strip {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .process-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-arrow {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
