/* HERO */
.hero {
  position: relative;
  padding: 80px 0 72px;
  background: linear-gradient(160deg, #eef5ff 0%, #f8faff 60%, #edf4ff 100%);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--steel-dark) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(59, 130, 246, 0.12);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 360px;
  height: 360px;
  background: rgba(6, 182, 212, 0.1);
  bottom: -80px;
  left: -60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-content {
  animation: fadeSlideUp 0.65s ease-out both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 86, 219, 0.08);
  border: 1px solid rgba(26, 86, 219, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--signal);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  animation: fadeScaleIn 0.4s ease-out 0.1s both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.06;
  font-weight: 800;
  max-width: 560px;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--signal) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-brand-badge {
  background: var(--white);
  border: 1px solid var(--steel-dark);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

/* HERO VISUAL (illustration replacing the OS card) */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroVisualIn 0.65s ease-out 0.2s both;
}

@keyframes heroVisualIn {
  from { opacity: 0; transform: translateX(30px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.hero-illustration {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 20px 40px rgba(6, 16, 42, 0.12));
}

/* OS CARD */
.os-card {
  background: var(--white);
  border-radius: 20px;
  padding: 35px 32px;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(6, 16, 42, 0.06);
  border: 1px solid var(--steel);
  position: relative;
  overflow: hidden;
}

.os-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--signal), var(--cyan));
}

.os-card-header {
  margin-bottom: 20px;
}

.os-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-family: var(--font-mono);
}

.os-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse 2s ease-out infinite;
}

.os-card-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}

.os-card-sub {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.os-card-question {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}

.os-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.84rem;
}

.os-result {
  margin-top: 16px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  padding: 12px 16px;
  background: var(--steel);
  border-radius: 10px;
  animation: fadeIn 0.2s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.os-result.success {
  color: var(--success);
  background: rgba(16, 185, 129, 0.08);
}

.os-result a {
  color: var(--signal);
  font-weight: 700;
  text-decoration: underline;
}

/* OS DETECT MODAL */
.os-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 16, 42, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.os-modal-overlay.open {
  display: flex;
}

.os-modal-overlay.show {
  opacity: 1;
}

.os-modal-card {
  width: 100%;
  max-width: 490px;
  margin: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.os-modal-overlay.show .os-modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.os-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--steel);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.os-modal-close:hover {
  background: var(--steel-dark);
  color: var(--ink);
}

/* STATS */
.stats-strip {
  background: var(--ink);
  padding: 32px 0;
  margin: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  color: var(--cyan);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* SECTION BASE */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-top: 16px;
  max-width: 620px;
  font-weight: 800;
}

.section-title.light {
  color: var(--white);
}

.section-sub {
  margin-top: 14px;
  color: var(--muted);
  max-width: 560px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.section-sub.light {
  color: rgba(255, 255, 255, 0.6);
}

/* STEPS */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  position: relative;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.step-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: var(--signal-bright);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  color: var(--signal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(26, 86, 219, 0.15);
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.step-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* BRANDS */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.brand-card {
  background: var(--white);
  border: 1.5px solid var(--steel);
  border-radius: var(--radius);
  padding: 28px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: all 0.22s ease;
  min-height: 110px;
  justify-content: center;
}

.brand-card:hover {
  border-color: var(--signal-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.brand-logo {
  max-height: 36px;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.2s;
}

.brand-card:hover .brand-logo {
  filter: none;
}

.brand-name-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
}

.brand-cta {
  font-size: 0.76rem;
  color: var(--signal);
  font-weight: 600;
}

/* CONNECT */
.connect-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0f1f4a 50%, #0b1830 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.connect-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.eyebrow-light {
  color: var(--cyan);
}

.eyebrow-light::before {
  background: var(--cyan);
}

.connect-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.connect-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.85);
}

.connect-check {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.connect-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.connect-visual img {
  max-width: 400px;
  width: 100%;
  max-height: 500px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.steps-list-card {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.steps-list-card h3 {
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.numbered-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.numbered-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.6;
}

.step-bullet {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--signal), var(--cyan));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}

/* OFFLINE SECTION */
.offline-section {
  background: linear-gradient(180deg, var(--paper) 0%, #eef3ff 100%);
  padding: 80px 0;
}

.offline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.offline-card {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.offline-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--signal-bright);
}

.offline-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--signal);
  font-weight: 500;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.offline-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* CTA BANNER */
.cta-banner {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner-text h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.cta-banner-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.96rem;
}

.cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    max-width: 100%;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .connect-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    padding: 32px;
  }
}

@media (max-width: 580px) {
  .offline-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-actions {
    justify-content: center;
  }
}
