:root {
  --bg: #07080c;
  --bg-elev: #0f1118;
  --bg-card: #11141d;
  --border: #1f2330;
  --border-strong: #2a3142;
  --text: #e8ecf3;
  --text-dim: #a4adbf;
  --text-mute: #6b7488;
  --accent: #4160e9;        /* HyperAI brand blue */
  --accent-2: #00d4ff;
  --accent-hover: #5a76ee;
  --accent-warm: #ff6b35;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Background effects ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, black 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.bg-glow {
  position: fixed;
  top: -240px;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(65, 96, 233, 0.10), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ===== Header ===== */
.site-header {
  padding: 22px 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 12, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-logo {
  display: block;
  height: 32px;
  width: auto;
}
.brand-logo-sm { height: 26px; }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-signin {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
  transition: color .15s ease;
}
.nav-signin:hover { color: var(--text); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
  font-family: inherit;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-primary {
  background: var(--accent);
  color: #07080c;
}
.btn-primary { color: #ffffff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Hero ===== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(65, 96, 233, 0.08);
  border: 1px solid rgba(65, 96, 233, 0.25);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 0%, #b8c0d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 920px;
  margin: 0 auto;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 24px;
  border-right: 1px solid var(--border);
  text-align: left;
}
.hero-stats > div:last-child { border-right: none; }
.hero-stats strong {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-stats span {
  color: var(--text-mute);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ===== Trust strip ===== */
.trust-strip {
  padding: 40px 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}
.trust-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 18px;
  font-weight: 500;
}
.trust-industries {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
}
.trust-industries .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
}

/* ===== Section heads ===== */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
}
.section-head p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== GPU grid ===== */
.gpus { padding: 80px 0; }
.gpu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.gpu-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card) 0%, #0c0f17 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.gpu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(65, 96, 233, 0.3), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.gpu-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.gpu-card:hover::before { opacity: 1; }
.gpu-card.featured {
  border-color: rgba(65, 96, 233, 0.35);
  background:
    radial-gradient(circle at top right, rgba(65, 96, 233, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-card) 0%, #0c0f17 100%);
}
.gpu-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.badge-hot {
  background: rgba(65, 96, 233, 0.12);
  color: var(--accent);
  border-color: rgba(65, 96, 233, 0.35);
}
.gen {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
}
.gpu-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.gpu-tag {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.spec-list span {
  color: var(--text-mute);
}
.spec-list b {
  color: var(--text);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.use {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

.gpu-card-foot {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.price-chip span {
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-chip b {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.price-chip em {
  font-style: normal;
  font-size: 13px;
  color: var(--text-dim);
}
.card-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color .15s ease;
}
.card-link:hover { color: var(--accent-hover); }
.card-link-pdf {
  color: var(--text-dim);
}
.card-link-pdf:hover { color: var(--text); }

/* ===== Pricing section ===== */
.pricing {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top, rgba(65, 96, 233, 0.05), transparent 60%);
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab {
  flex: 1;
  min-width: 140px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  text-align: center;
}
.tab:hover { color: var(--text); }
.tab.active {
  background: var(--accent);
  color: #ffffff;
}

.tab-panel {
  background: linear-gradient(180deg, var(--bg-card) 0%, #0c0f17 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.tab-panel:not(.active) { display: none; }
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .panel-grid { grid-template-columns: 1fr; gap: 32px; }
  .tab-panel { padding: 28px; }
}
.panel-meta .meta-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.panel-meta h3 {
  margin: 0 0 12px;
  font-size: 26px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.panel-meta > p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0 0 24px;
  line-height: 1.6;
}
.meta-specs {
  margin: 0 0 24px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.meta-specs > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.meta-specs dt {
  color: var(--text-mute);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.meta-specs dd {
  margin: 0;
  color: var(--text);
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tier-table thead th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  font-weight: 600;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}
.tier-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  padding: 16px;
  font-size: 14px;
}
.tier-table tbody td {
  padding: 16px;
  color: var(--text-dim);
  font-size: 14px;
}
.tier-table tbody tr {
  border-bottom: 1px solid var(--border);
}
.tier-table tbody tr:last-child { border-bottom: none; }
.price-col {
  text-align: right;
}
.tier-table .price-col b {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}
.tier-table .tier-popular {
  background: rgba(65, 96, 233, 0.06);
}
.tier-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(65, 96, 233, 0.18);
  color: var(--accent);
  border: 1px solid rgba(65, 96, 233, 0.35);
}
.vat-note {
  margin: 14px 0 0;
  color: var(--text-mute);
  font-size: 12.5px;
  font-style: italic;
}

/* ===== Includes section ===== */
.includes {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.include-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.include-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(65, 96, 233, 0.10);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.include-icon svg { width: 22px; height: 22px; }
.include-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}
.include-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.55;
}

.addons {
  background: linear-gradient(180deg, var(--bg-card) 0%, #0c0f17 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.addons-head { margin-bottom: 28px; }
.addons-head .kicker { margin-bottom: 10px; }
.addons-head h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.addons-head p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
}
.addons-tables {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 760px) {
  .addons { padding: 28px; }
  .addons-tables { grid-template-columns: 1fr; gap: 24px; }
}
.addons-table {
  width: 100%;
  border-collapse: collapse;
}
.addons-table tr { border-bottom: 1px solid var(--border); }
.addons-table tr:last-child { border-bottom: none; }
.addons-table th {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  padding: 14px 0;
  font-size: 14px;
}
.addons-table td {
  text-align: right;
  color: var(--text-dim);
  padding: 14px 0;
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
}
.addons-note {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.addons-note h5 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.addons-note p {
  margin: 0 0 8px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}
.addons-note p:last-child { margin-bottom: 0; }

/* ===== Why section ===== */
.why { padding: 80px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(65, 96, 233, 0.10);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.feature h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}
.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

/* ===== Security section ===== */
.security {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top, rgba(65, 96, 233, 0.04), transparent 60%);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.security-item {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.security-item:nth-child(4n) { border-right: none; }
.security-item:nth-last-child(-n+1) { border-bottom: none; }
@media (max-width: 980px) {
  .security-item { border-right: none; }
}
.security-item h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.security-item h4::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.security-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ===== Contact ===== */
.contact {
  padding: 80px 0 100px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  background: linear-gradient(180deg, var(--bg-card) 0%, #0c0f17 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.contact-inner h2 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
}
.contact-inner p {
  color: var(--text-dim);
  margin: 0;
}
.contact-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.contact-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 14px;
}
.contact-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.contact-form {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .15s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-msg {
  color: var(--accent);
  font-size: 14px;
  margin: 4px 0 0;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  background: rgba(0, 0, 0, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.55;
}
.footer-col h5 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
}
.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-dim);
  font-size: 14px;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
}
.footer-bottom p {
  margin: 0;
  color: var(--text-mute);
  font-size: 12.5px;
}
.footer-tm { text-align: right; }
@media (max-width: 760px) {
  .footer-tm { text-align: left; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats > div:nth-child(2) { border-right: none; }
  .hero-stats > div:nth-child(1), .hero-stats > div:nth-child(2) {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-signin { display: none; }
  .hero { padding: 64px 0 56px; }
  .contact-inner {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }
}
