/* HetrixTools-inspired tokens for swiftyvn.com landing */
: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;
  --error: #FF4954;
  --on-primary: #FFFFFF;
  --on-dark: #F8F9FA;
  --footer-bg: #262A37;
  --radius-lg: 8px;
  --radius-pill: 10rem;
  --container: 1140px;
  --section-pad: 88px;
  --hero-pad: 96px;
  --font: "Open Sans", Helvetica, Arial, sans-serif;
}

*,
*::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;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  background: var(--canvas);
}

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

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

a:hover {
  text-decoration: underline;
}

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

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

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

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

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

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

.site-logo span {
  color: var(--muted);
  font-weight: 400;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.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;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  list-style: none;
  margin: 0;
}

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

.nav-mobile li {
  margin-bottom: 12px;
}

.nav-mobile a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: block;
  padding: 8px 0;
}

@media (min-width: 900px) {
  .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: var(--font);
  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);
  text-decoration: none;
}

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

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

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  background: var(--accent-wash);
  border: 1px solid var(--accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

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

.hero__badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--on-primary);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero__product {
  display: block;
  color: var(--primary);
}

.hero__lead {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.55;
  max-width: 540px;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__trust-line {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

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

.term-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.term-preview__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.term-preview__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.term-preview__hint {
  font-size: 13px;
  color: var(--muted);
}

.term-preview__status {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-wash);
  color: var(--ink);
  border: 1px solid var(--border);
}

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

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

.section--alt {
  background: var(--surface-alt);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section__header h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

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

/* Benefits */
.benefits-grid {
  display: grid;
  gap: 24px;
}

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

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

.card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-wash);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
}

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

.card p {
  margin: 0;
  font-size: 16px;
  color: var(--body);
}

/* Topics grid */
.topics-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

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

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

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

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

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

/* Trust */
.trust-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .trust-band {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5L2.5 7.5l1.4-1.4 2.6 2.6 6.6-6.6L14.5 3.5z'/%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 16 16'%3E%3Cpath fill='white' d='M6.5 11.5L2.5 7.5l1.4-1.4 2.6 2.6 6.6-6.6L14.5 3.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.gov-notice {
  font-size: 14px;
  color: var(--body);
  background: var(--surface-soft);
  padding: 20px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.gov-notice strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

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

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

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

.faq-item button::after {
  content: "+";
  font-size: 20px;
  color: var(--primary);
  font-weight: 400;
}

.faq-item.is-open button::after {
  content: "−";
}

.faq-panel {
  display: none;
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--body);
}

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

/* CTA band */
.cta-band {
  text-align: center;
  padding: 64px 24px;
  background: var(--footer-bg);
  color: var(--on-dark);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--on-dark);
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 520px;
  font-size: 17px;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--muted-soft);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.site-footer a {
  color: var(--on-dark);
}

.site-footer__grid {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

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

.site-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-soft);
}

.text-center-cta {
  text-align: center;
  margin-top: 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
