/* HitNSpin landing — HetrixTools design tokens */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Dosis:wght@600&display=swap");

:root {
  --primary: #50a1ff;
  --accent-hover: #3a8ae6;
  --accent-soft: #96c7ff;
  --accent-wash: #eaf0ff;
  --ink: #191919;
  --body: #323d47;
  --muted: #757575;
  --muted-soft: #868e96;
  --canvas: #f8f9fa;
  --surface: #ffffff;
  --surface-alt: #f1f2f3;
  --surface-soft: #eaeff4;
  --border: #dee2e6;
  --border-strong: #c9ccce;
  --link: #50a1ff;
  --success: #3cd458;
  --warning: #ffba00;
  --error: #ff4954;
  --on-primary: #ffffff;
  --on-dark: #f8f9fa;
  --footer-bg: #262a37;
  --dark-navy: #09203f;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --radius-pill: 10rem;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 64px;
  --section: 88px;
  --hero-pad: 96px;
  --container: 1140px;
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  background: var(--canvas);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-xs);
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-md);
}

.skip-link:focus {
  left: var(--space-sm);
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--space-sm);
}

.logo {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--primary);
}

.logo strong {
  font-weight: 700;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-md);
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-sm) 0 var(--space-md);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

.nav-mobile a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px var(--space-sm);
  text-decoration: none;
}

.nav-mobile a:hover {
  background: var(--accent-wash);
  text-decoration: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.header-cta {
  flex-shrink: 0;
}

/* Hero */
.hero {
  padding: var(--hero-pad) 0 var(--space-xl);
  background: linear-gradient(180deg, var(--accent-wash) 0%, var(--canvas) 55%);
}

.hero-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--on-primary);
  background: var(--success);
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--on-primary);
  opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
  .status-pill::before {
    animation: pulse-dot 2s ease-in-out infinite;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title {
  margin: 0 0 var(--space-sm);
  font-size: clamp(2.5rem, 8vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-title .brand {
  display: block;
  font-size: clamp(3rem, 12vw, 3.75rem);
  color: var(--dark-navy);
}

.hero-lead {
  margin: 0 0 var(--space-md);
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--body);
}

.hero-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.hero-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: 0 4px 24px rgba(9, 32, 63, 0.06);
}

.dashboard-preview {
  display: grid;
  gap: var(--space-sm);
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.preview-bar .label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-bar .badge-up {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: var(--success);
  color: var(--on-primary);
}

.preview-bar .badge-warn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: var(--warning);
  color: var(--ink);
}

.uptime-strip {
  display: flex;
  gap: 3px;
  height: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 4px;
}

.uptime-strip span {
  flex: 1;
  background: var(--success);
}

.uptime-strip span.gap {
  background: var(--surface-alt);
}

.uptime-strip span.warn {
  background: var(--warning);
}

.preview-caption {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

/* Sections */
.section {
  padding: var(--section) 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

.section-head h2 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section-head .display-alt {
  font-family: Dosis, "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.section-head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  height: 100%;
}

.section-alt .product-card {
  background: var(--canvas);
}

.product-card h3 {
  margin: 0 0 var(--space-xs);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.product-card p {
  margin: 0 0 var(--space-sm);
  font-size: 15px;
  color: var(--body);
}

.product-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--body);
}

.product-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-wash);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  color: var(--primary);
  font-size: 22px;
}

/* Feature tiles */
.feature-tile {
  padding: var(--space-sm);
}

.feature-tile h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.feature-tile p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Trust */
.trust-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.testimonial-card blockquote {
  margin: 0 0 var(--space-sm);
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  font-style: normal;
}

.testimonial-card cite {
  font-size: 13px;
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
}

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.stat-box {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  background: var(--accent-wash);
  border-radius: var(--radius-lg);
  min-width: 140px;
}

.stat-box strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.2;
}

.stat-box span {
  font-size: 13px;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  background: var(--dark-navy);
  color: var(--on-dark);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--on-dark);
}

.cta-band p {
  margin: 0 auto var(--space-md);
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(248, 249, 250, 0.85);
}

.cta-band .btn-primary {
  box-shadow: 0 4px 16px rgba(80, 161, 255, 0.35);
}

.cta-note {
  margin-top: var(--space-sm);
  font-size: 13px;
  color: rgba(248, 249, 250, 0.65);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xs);
  background: var(--surface);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-item button:hover {
  background: var(--surface-alt);
}

.faq-item button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.faq-panel {
  padding: 0 var(--space-md) var(--space-sm);
  font-size: 15px;
  color: var(--body);
  line-height: 1.55;
}

.faq-panel[hidden] {
  display: none;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: 48px 0 var(--space-md);
}

.footer-grid {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 var(--space-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--on-dark);
}

.site-footer p,
.site-footer li {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(248, 249, 250, 0.75);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--accent-soft);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: var(--on-dark);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(248, 249, 250, 0.55);
  text-align: center;
}

.disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(248, 249, 250, 0.5);
  margin-top: var(--space-sm);
}
