/* gongsila.com — HetrixTools-inspired tokens */
: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;
  --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-pad: 88px;
  --hero-pad: 96px;
  --container: min(1140px, 100% - 2rem);
}

*,
*::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(--primary);
}

a:hover {
  color: var(--accent-hover);
}

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

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-hover) 100%);
  display: grid;
  place-items: center;
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 700;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-md);
  z-index: 99;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-drawer a {
  display: block;
  padding: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-lg);
}

.mobile-drawer a:hover {
  background: var(--surface-alt);
}

/* 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;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.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 {
  border-color: var(--primary);
  color: var(--primary);
}

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

/* Hero */
.hero {
  padding: var(--hero-pad) 0 var(--space-xl);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-brand {
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 var(--space-sm);
}

.hero-brand .dot {
  color: var(--primary);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  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;
  background: rgba(60, 212, 88, 0.15);
  color: #1e7a32;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.hero-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--body);
  margin: 0 0 var(--space-md);
  max-width: 32ch;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted-soft);
  margin: 0 0 var(--space-lg);
  max-width: 48ch;
}

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

.hero-trust {
  font-size: 13px;
  color: var(--muted);
}

.hero-visual {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
}

.storage-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.storage-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.badge-sync {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-wash);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 600;
}

.storage-rows {
  padding: var(--space-sm);
}

.storage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.storage-row:nth-child(odd) {
  background: var(--surface-alt);
}

.storage-row .label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.storage-row .state {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.state-up {
  background: var(--success);
  color: var(--on-primary);
}

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

.progress-block {
  padding: 16px;
  border-top: 1px solid var(--border);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--muted);
}

.progress-bar {
  height: 8px;
  background: var(--surface-soft);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 34%;
  background: var(--primary);
  border-radius: var(--radius-pill);
}

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

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

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

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

.benefits-list {
  display: grid;
  gap: var(--space-sm);
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  padding: 0;
  list-style: none;
}

.benefits-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 16px;
  color: var(--body);
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(60, 212, 88, 0.2);
  color: #1e7a32;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.benefits-cta {
  text-align: center;
}

/* Pillar cards */
.pillars {
  background: var(--canvas);
}

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

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

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

.product-card p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--muted-soft);
}

.product-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--body);
}

.product-card li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

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

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--accent-wash);
  display: grid;
  place-items: center;
  color: var(--accent-hover);
  font-size: 20px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  gap: var(--space-sm);
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

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

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

/* Trust */
.trust-section {
  background: var(--surface-soft);
  border-block: 1px solid var(--border);
}

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

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

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

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

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

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

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

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

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 auto var(--space-lg);
  max-width: 520px;
  font-size: 17px;
  opacity: 0.9;
}

/* 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-sm);
  background: var(--surface);
  overflow: hidden;
}

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

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

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--muted);
}

.faq-panel {
  display: none;
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--muted-soft);
  line-height: 1.55;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.faq-item.is-open .faq-icon {
  background: var(--accent-wash);
  border-color: var(--primary);
  color: var(--primary);
}

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

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

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

.footer-grid h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  opacity: 0.95;
}

.footer-grid p,
.footer-grid a {
  font-size: 14px;
  color: rgba(248, 249, 250, 0.75);
  text-decoration: none;
  line-height: 1.6;
}

.footer-grid a:hover {
  color: var(--primary);
}

.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);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
}

.disclaimer {
  font-size: 12px;
  color: var(--muted);
  max-width: 640px;
  margin: var(--space-md) auto 0;
  text-align: center;
  line-height: 1.5;
}