*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #060810;
  --surface: #0c1120;
  --surface2: #111828;
  --cyan: #00e5ff;
  --cyan-dim: #00b8cc;
  --cyan-glow: rgba(0, 229, 255, 0.12);
  --cyan-border: rgba(0, 229, 255, 0.25);
  --magenta: #ff2d78;
  --mag-dim: rgba(255, 45, 120, 0.15);
  --text: #e8edf5;
  --muted: #6b7a99;
  --mono: "Share Tech Mono", monospace;
  --sans: "Syne", sans-serif;
  --grid-line: rgba(0, 229, 255, 0.06);
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

* {
  position: relative;
  z-index: 1;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  border-bottom: 1px solid var(--cyan-border);
  background: rgba(6, 8, 16, 0.85);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--magenta);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  border: none;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--cyan-dim);
}


.btn-link{
  display: block;
  a{
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bg);
    background: var(--cyan);
    border: none;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    transition: background 0.2s;
    &:hover{
      background: var(--cyan-dim);
    }
  }
}
/* HERO */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
  padding: 0.35rem 1rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 1100px;
  text-align: center;
}

.hero h1 .accent {
  color: var(--cyan);
}

.hero h1 .accent-mag {
  color: var(--magenta);
}

.hero-sub {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.pill {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 1px solid var(--cyan-border);
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}

.btn-primary {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  border: none;
  padding: 0.9rem 2rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #00ccee;
}

.btn-ghost {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--cyan-border);
  padding: 0.9rem 2rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  background: var(--cyan-glow);
}

/* TERMINAL */
.terminal {
  background: var(--surface);
  border: 1px solid var(--cyan-border);
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  text-align: left;
  max-width: 680px;
  width: 100%;
  line-height: 2;
  margin: 0 auto;
}

.terminal-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--cyan-border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-r {
  background: #ff5f57;
}

.dot-y {
  background: #febc2e;
}

.dot-g {
  background: #28c840;
}

.t-muted {
  color: var(--muted);
}

.t-cyan {
  color: var(--cyan);
}

.t-mag {
  color: var(--magenta);
}

.t-green {
  color: #3ddc84;
}

.t-white {
  color: var(--text);
}

/* STATS */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--cyan-border);
  border-bottom: 1px solid var(--cyan-border);
  background: var(--surface);
}

.stat {
  flex: 1;
  text-align: center;
  padding: 2.5rem 1rem;
  border-right: 1px solid var(--cyan-border);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--mono);
  font-size: 2.5rem;
  color: var(--cyan);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* THREE PILLARS */
.pillars {
  background: var(--surface2);
  border-top: 1px solid var(--cyan-border);
  border-bottom: 1px solid var(--cyan-border);
}

.pillars-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pillar {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--cyan-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pillar:last-child {
  border-right: none;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
}

.pillar-icon {
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: block;
}

.pillar h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.pillar p {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.9;
}

.pillar .highlight {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
  padding: 0.3rem 0.8rem;
  display: inline-block;
  margin-top: 1rem;
}

/* SECTION */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-sub {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cyan-border);
  border: 1px solid var(--cyan-border);
}

.feature-card {
  background: var(--surface);
  padding: 2rem;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--surface2);
}

.feature-icon {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-icon::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

.feature-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-card p {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.9;
}

/* API SECTION */
.api-section {
  background: var(--surface);
  border-top: 1px solid var(--cyan-border);
  border-bottom: 1px solid var(--cyan-border);
}

.api-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.api-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--cyan-border);
}

.api-tab {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s;
}

.api-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.code-block {
  background: var(--bg);
  border: 1px solid var(--cyan-border);
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 2;
  overflow-x: auto;
  display: none;
}

.code-block.active {
  display: block;
}

.c-key {
  color: var(--cyan);
}

.c-str {
  color: #a8ff78;
}

.c-num {
  color: #febc2e;
}

.c-cmnt {
  color: var(--muted);
}

.c-fn {
  color: var(--magenta);
}

.endpoint-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.endpoint {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--cyan-border);
  font-family: var(--mono);
  font-size: 0.78rem;
  background: var(--bg);
  transition: border-color 0.2s;
  cursor: pointer;
}

.endpoint:hover {
  border-color: var(--cyan);
  background: var(--cyan-glow);
}

.method {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.method-post {
  background: var(--mag-dim);
  color: var(--magenta);
  border: 1px solid rgba(255, 45, 120, 0.3);
}

.method-get {
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
}

.method-del {
  background: rgba(255, 80, 80, 0.1);
  color: #ff5050;
  border: 1px solid rgba(255, 80, 80, 0.3);
}

.endpoint-path {
  color: var(--text);
  flex: 1;
}

.endpoint-desc {
  color: var(--muted);
  font-size: 0.7rem;
}

/* USE CASES */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.usecase {
  border: 1px solid var(--cyan-border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.usecase:hover {
  border-color: var(--cyan);
}

.usecase::before {
  content: attr(data-num);
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-family: var(--mono);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(0, 229, 255, 0.04);
  line-height: 1;
  pointer-events: none;
}

.usecase h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.usecase p {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.9;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cyan-border);
  border: 1px solid var(--cyan-border);
  margin-top: 3rem;
}

.plan {
  background: var(--surface);
  padding: 2.5rem 2rem;
}

.plan.featured {
  background: var(--surface2);
}

.plan-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--magenta);
  padding: 0.25rem 0.75rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.plan-name {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.plan-price {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 3rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.plan-price sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 0.5rem;
  color: var(--muted);
}

.plan-unit {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.plan-features li {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.plan-features li::before {
  content: "›";
  color: var(--cyan);
  font-size: 1rem;
  line-height: 1;
}

.plan-features li.bold-feat {
  color: var(--cyan);
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(
    ellipse,
    rgba(0, 229, 255, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

footer {
  border-top: 1px solid var(--cyan-border);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

footer a {
  color: var(--cyan);
  text-decoration: none;
}

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100vh);
  }
}

.scanline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    transparent,
    rgba(0, 229, 255, 0.04),
    transparent
  );
  animation: scanline 8s linear infinite;
  pointer-events: none;
  z-index: 200;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.cursor {
  animation: blink 1s step-end infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero > * {
  animation: fadeUp 0.6s ease both;
}

.hero .badge {
  animation-delay: 0.1s;
}

.hero h1 {
  animation-delay: 0.2s;
}

.hero .hero-sub {
  animation-delay: 0.3s;
}

.hero .hero-pills {
  animation-delay: 0.35s;
}

.hero .hero-actions {
  animation-delay: 0.4s;
}

.hero .terminal {
  animation-delay: 0.5s;
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    width: 100%;
    font-size: 2.2rem;
  }

  .pillars-inner {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-right: none;
    border-bottom: 1px solid var(--cyan-border);
  }

  .pillar:last-child {
    border-bottom: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .api-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .usecases-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-wrap: wrap;
  }

  .stat {
    min-width: 50%;
    border-bottom: 1px solid var(--cyan-border);
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 2rem 1.25rem;
  }
}
