@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1f3d;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ── Container ── */
.hc-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ── Header / Nav ── */
.hc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e8eaf0;
}

.hc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.hc-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1.25rem;
  color: #1a1f3d;
  letter-spacing: -0.02em;
}

.hc-logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.hc-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hc-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #5a5f7a;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.hc-nav-link:hover {
  color: #1a1f3d;
  background-color: #f2f3f8;
}

.hc-nav-cta {
  margin-left: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  background: #9b4dff;
  padding: 0.55rem 1.35rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.hc-nav-cta:hover {
  background: #8a3de6;
  transform: translateY(-1px);
}

.hc-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hc-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1f3d;
  border-radius: 2px;
  transition: 0.2s ease;
}

/* ── Hero ── */
.hc-hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hc-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(155, 77, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hc-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  font-weight: 500;
  color: #9b4dff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1a1f3d;
  margin-bottom: 1.5rem;
}

.hero-title .hc-accent {
  background: linear-gradient(135deg, #9b4dff, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #5a5f7a;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background: #9b4dff;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(155, 77, 255, 0.25);
}

.btn-primary:hover {
  background: #8a3de6;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(155, 77, 255, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1f3d;
  background: #f2f3f8;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: 1px solid #e2e5ef;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: #eaebee;
  border-color: #d0d4e4;
  transform: translateY(-1px);
}

/* ── Section ── */
.hc-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.hc-section--alt {
  background: #f7f8fb;
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #1a1f3d;
  margin-bottom: 1rem;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: #00d4aa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.lead-paragraph {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #5a5f7a;
  line-height: 1.7;
  max-width: 640px;
}

.body-text {
  font-size: 0.975rem;
  color: #5a5f7a;
  line-height: 1.75;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.card:hover {
  border-color: #d0d4e4;
  box-shadow: 0 8px 32px rgba(26, 31, 61, 0.06);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.card-icon--purple {
  background: rgba(155, 77, 255, 0.1);
  color: #9b4dff;
}

.card-icon--teal {
  background: rgba(0, 212, 170, 0.1);
  color: #00d4aa;
}

.card-icon--blue {
  background: rgba(26, 31, 61, 0.08);
  color: #1a1f3d;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1f3d;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.card-text {
  font-size: 0.9rem;
  color: #5a5f7a;
  line-height: 1.65;
}

/* ── Hero Image / Terminal ── */
.hero-image {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: 16px;
  border: 1px solid #e8eaf0;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(26, 31, 61, 0.08);
}

.hero-terminal {
  background: #0f1729;
  border-radius: 16px;
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  box-shadow: 0 16px 56px rgba(26, 31, 61, 0.12);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #141d33;
  border-bottom: 1px solid #1e2a45;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot--red { background: #ff5f57; }
.terminal-dot--yellow { background: #ffbd2e; }
.terminal-dot--green { background: #28c840; }

.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #5a6080;
  margin-left: 8px;
}

.terminal-body {
  padding: 1.5rem 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  line-height: 1.8;
  color: #c8cad4;
  overflow-x: auto;
}

.terminal-body .t-key { color: #9b4dff; }
.terminal-body .t-str { color: #00d4aa; }
.terminal-body .t-num { color: #ffbd2e; }
.terminal-body .t-comment { color: #4a5070; }

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid #e8eaf0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #1a1f3d;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.825rem;
  color: #5a5f7a;
  margin-top: 0.25rem;
}

/* ── Code Block ── */
.code-block {
  background: #0f1729;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
  overflow-x: auto;
}

.code-block code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #c8cad4;
  line-height: 1.8;
  display: block;
}

/* ── Footer ── */
.hc-footer {
  background: #0f1729;
  color: #8a8fb0;
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-brand-text {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 300px;
}

.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: #5a6080;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: #8a8fb0;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid #1e2a45;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .hc-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid #e8eaf0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    gap: 0.25rem;
  }

  .hc-nav.is-open {
    display: flex;
  }

  .hc-nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .hc-mobile-toggle {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .hc-header-inner {
    height: 64px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
