/* ============================================================
   F5 Traction – Design System & Styles
   Premium Landing Page · Dark Blue Tech Palette
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif;

  /* Core palette */
  --primary: #070F22;
  --primary-foreground: #FFFFFF;
  --secondary: #0D1F4A;
  --accent: #2B7FFF;
  --accent-glow: #4DA3FF;
  --accent-foreground: #FFFFFF;

  /* Backgrounds */
  --bg-dark: #070F22;
  --bg-dark-2: #0a1630;
  --surface: #0e1a3a;
  --surface-2: #111f45;

  /* Ink / text */
  --ink: #FFFFFF;
  --ink-2: #A3B4CB;
  --ink-3: #929DAF;

  /* Borders */
  --line: rgba(255, 255, 255, 0.08);
  --line-light: rgba(255, 255, 255, 0.12);

  /* Cards */
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.06);

  /* Radius */
  --radius: 0.875rem;

  /* Shadows */
  --shadow-glow: 0 30px 90px -20px rgba(77, 163, 255, 0.35);
  --shadow-card: 0 14px 32px -16px rgba(0, 0, 0, 0.4);

  /* Gradients */
  --gradient-hero: radial-gradient(900px 500px at 85% -10%, rgba(43, 127, 255, 0.25), transparent 60%);
  --gradient-primary: linear-gradient(135deg, #070F22 0%, #0D1F4A 45%, #1C3F86 100%);
  --gradient-metallic: linear-gradient(180deg, #FFFFFF 0%, #EEF2F7 35%, #D9E2EE 65%, #A3B4CB 100%);
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background-color: rgba(43, 127, 255, 0.35);
  color: #fff;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 1.5rem;
}

.section-dark {
  background-color: var(--bg-dark);
}

.section-dark-2 {
  background-color: var(--bg-dark-2);
}

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

@media (min-width: 48rem) {
  .section {
    padding: 6rem 1.5rem;
  }
}

@media (min-width: 64rem) {
  .section {
    padding: 7rem 1.5rem;
  }
}

/* ── Typography ───────────────────────────────────────────── */
.heading-1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.heading-2 {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.heading-3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.text-body {
  font-size: 1rem;
  line-height: 1.625;
  color: var(--ink-2);
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.625;
}

.text-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.text-accent {
  color: var(--accent);
}

.text-ink {
  color: var(--ink);
}

.text-ink-2 {
  color: var(--ink-2);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.text-white-70 {
  color: rgba(255, 255, 255, 0.70);
}

.text-muted {
  color: var(--ink-3);
}

em.highlight {
  font-style: normal;
  color: var(--accent);
}

@media (min-width: 48rem) {
  .text-body {
    font-size: 1.125rem;
  }
}

/* ── Grid ─────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

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

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: 1fr minmax(0, 460px);
    gap: 4rem;
  }
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  background: var(--card-hover);
  border-color: var(--line-light);
}

.card-form {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line-light);
  background: var(--surface);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* ── Badges / Pills ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(43, 127, 255, 0.3);
  background: rgba(43, 127, 255, 0.1);
  padding: 0.375rem 0.875rem;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(43, 127, 255, 0.2);
  background: rgba(43, 127, 255, 0.1);
  padding: 0.375rem 0.875rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 1rem 1.75rem;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 35px 100px -20px rgba(77, 163, 255, 0.45);
}

.btn-primary svg {
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* ── Form ─────────────────────────────────────────────────── */
.form-group {
  display: block;
}

.form-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--ink-2);
}

.form-input,
.form-select {
  width: 100%;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-select::placeholder {
  color: var(--ink-3);
}

.form-input:focus,
.form-select:focus {
  border-color: rgba(43, 127, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 2px rgba(43, 127, 255, 0.2);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23929DAF' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-consent {
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 0.75rem;
}

@media (min-width: 48rem) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Icon Containers ──────────────────────────────────────── */
.icon-box {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(43, 127, 255, 0.1);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(43, 127, 255, 0.2);
}

.icon-box-lg {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-glow), 0 0 0 4px var(--bg-dark);
}

/* ── Check / X Lists ─────────────────────────────────────── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.check-list .icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--accent);
}

.x-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.x-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.x-list .icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--ink-3);
}

/* ── Feature List ─────────────────────────────────────────── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 15px;
  line-height: 1.6;
}

/* ── Timeline ─────────────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.timeline-item {
  position: relative;
  padding-left: 5rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  box-shadow: 0 0 0 4px var(--bg-dark), var(--shadow-glow);
}

.timeline-line {
  position: absolute;
  left: calc(1.75rem - 1px);
  top: 3.5rem;
  width: 2px;
  height: calc(100% + 2.5rem - 3.5rem);
  background: var(--line-light);
}

.timeline-item:last-child .timeline-line {
  display: none;
}

@media (min-width: 48rem) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .timeline-item {
    padding-left: 0;
    text-align: center;
  }

  .timeline-marker {
    position: relative;
    margin: 0 auto 1.25rem;
  }

  .timeline-line {
    display: none;
  }
}

/* ── Accordion ────────────────────────────────────────────── */
.accordion {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--line);
  padding: 0 1rem;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.2s ease;
}

.accordion-trigger:hover {
  color: var(--accent);
}

.accordion-trigger svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--ink-3);
}

.accordion-trigger.active svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.open {
  max-height: 500px;
}

.accordion-content-inner {
  padding: 0 0 1.25rem;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ── Guarantee Card ───────────────────────────────────────── */
.guarantee-card {
  border-radius: 32px;
  border: 2px solid rgba(43, 127, 255, 0.5);
  background: var(--bg-dark-2);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.guarantee-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(43, 127, 255, 0.12);
  filter: blur(64px);
  pointer-events: none;
}

.guarantee-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(43, 127, 255, 0.08);
  filter: blur(64px);
  pointer-events: none;
}

@media (min-width: 48rem) {
  .guarantee-card {
    padding: 4rem;
  }
}

/* ── CTA Strip ────────────────────────────────────────────── */
.cta-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (min-width: 48rem) {
  .cta-strip {
    flex-direction: row;
    padding: 2rem;
  }
}

/* ── WhatsApp CTA ─────────────────────────────────────────── */
.wpp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: #fff;
  border-radius: 9999px;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-sans);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.wpp-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px -15px rgba(37, 211, 102, 0.4);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  padding: 2.5rem 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 48rem) {
  .footer-inner {
    flex-direction: row;
  }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dark);
  padding: 4rem 1.5rem 5rem;
  color: #fff;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(43, 127, 255, 0.2);
  filter: blur(64px);
  pointer-events: none;
}

.hero .heading-1 {
  max-width: 22ch;
}

@media (min-width: 48rem) {
  .hero {
    padding: 6rem 1.5rem 7rem;
  }
}

/* ── About Section ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  max-width: 360px;
}

.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 64rem) {
  .about-grid {
    grid-template-columns: 1fr auto;
  }
}

/* ── Glow Effects ─────────────────────────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

/* ── Form Glow Container ─────────────────────────────────── */
.form-glow {
  position: relative;
}

.form-glow::before {
  content: '';
  position: absolute;
  inset: -1.5rem;
  border-radius: 28px;
  background: rgba(43, 127, 255, 0.15);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

/* ── Reveal Animation ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Lightbox / Modal ─────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Success State ────────────────────────────────────────── */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  color: var(--accent);
  font-weight: 800;
}

/* ── Scroll Dots ──────────────────────────────────────────── */
.dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--line);
  transition: width 0.3s ease, background 0.3s ease;
}

.dot.active {
  width: 32px;
  background: var(--accent);
}

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

/* ── Utility: Text Align ──────────────────────────────────── */
.text-center {
  text-align: center;
}

/* ── Utility: Spacing ─────────────────────────────────────── */
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mx-auto {
  margin-inline: auto;
}

/* ── Utility: Width ───────────────────────────────────────── */
.w-full {
  width: 100%;
}

.max-w-prose {
  max-width: 60ch;
}

/* ── Utility: Flexbox ─────────────────────────────────────── */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

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

.rounded-full {
  border-radius: 9999px;
}
