:root {
  /* Core Brand Colors */
  --primary: #0a2f3d;
  --primary-light: #0e3f52;
  --accent: #00d4e6;
  --accent-dark: #00b8c9;
  --accent-glow: rgba(0, 212, 230, 0.3);

  /* Neutrals */
  --ink: #0f1419;
  --ink-light: #1a2530;
  --muted: #4a5568;
  --muted-light: #6b7280;
  --bg: #ffffff;
  --bg-soft: #fafbfc;
  --panel: #f6f9fc;
  --panel-dark: #e8eef4;
  --border: #e2e8f0;
  --border-light: #f0f4f8;

  /* System */
  --max: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(10, 47, 61, 0.06);
  --shadow: 0 8px 32px rgba(10, 47, 61, 0.1);
  --shadow-lg: 0 16px 48px rgba(10, 47, 61, 0.14);
  --shadow-xl: 0 24px 64px rgba(10, 47, 61, 0.18);

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Typography */
  --font-display: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ========== BASE RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: var(--space-5);
}
h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: var(--space-5);
}
h3 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: var(--space-4);
}
h4 {
  font-size: 20px;
  margin-bottom: var(--space-3);
}

p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
  color: var(--ink-light);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

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

/* ========== LAYOUT ========== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  min-height: 72px;
}

.logo {
  font-weight: 800;
  font-size: 24px;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 32px;
}

nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

nav a {
  position: relative;
  padding: var(--space-2) var(--space-4);
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

nav a:not(.btn):hover {
  background: var(--panel);
  color: var(--primary);
}

nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

nav a.is-active::before,
nav a:hover::before {
  width: 60%;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
  color: white;
  box-shadow: 0 4px 16px var(--accent-glow), var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow), var(--shadow);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  border-color: var(--border);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: var(--space-10) 0;
  background: radial-gradient(
      ellipse 1200px 800px at 20% 0%,
      rgba(0, 212, 230, 0.08),
      transparent 50%
    ),
    radial-gradient(
      ellipse 1000px 700px at 80% 100%,
      rgba(10, 47, 61, 0.06),
      transparent 50%
    ),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, 50px) scale(1.1);
  }
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

.hero h1 {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 50%,
    var(--accent-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.hero p {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.cta-row {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.trust-chips {
  list-style: none;
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.trust-chips li {
  font-size: 13px;
  font-weight: 600;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: var(--space-2) var(--space-4);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--panel) 0%, white 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-7);
}

.hero-media img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
  animation: levitate 6s ease-in-out infinite;
}

@keyframes levitate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ========== GRIDS ========== */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--space-5);
}

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

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ========== CARDS ========== */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.card:hover::before {
  transform: scaleX(1);
}

.card img {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  background: var(--panel);
  border-radius: var(--radius);
}

.card h3 {
  font-size: 20px;
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--space-9) 0;
  position: relative;
}

.section h2 {
  text-align: center;
  margin-bottom: var(--space-7);
  color: var(--primary);
}

/* ========== METRICS ========== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin: var(--space-8) 0;
}

.metric {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.metric:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.metric strong {
  display: block;
  font-size: clamp(32px, 4vw, 48px);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.metric span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 980px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== LOGO STRIP ========== */
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-7) 0;
  opacity: 0.7;
}

.logos img {
  max-height: 32px;
  width: auto;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.logos img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

@media (max-width: 980px) {
  .logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== STRIPES / ALTERNATING SECTIONS ========== */
.stripe {
  padding: var(--space-8) 0;
  position: relative;
}

.stripe:nth-child(even) {
  background: var(--bg-soft);
}

.stripe h3 {
  margin-top: 0;
  color: var(--primary);
}

/* ========== TILES (Industries) ========== */
.tile {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.tile:hover::after {
  opacity: 1;
}

.tile img {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.tile h3 {
  font-size: 22px;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.tile p {
  color: var(--muted);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ========== BANDS ========== */
.band {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ========== FORMS ========== */
.lead-form form {
  display: grid;
  gap: var(--space-4);
  max-width: 600px;
  margin: 0 auto;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
  background: white;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--muted-light);
  text-align: center;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow);
  padding: var(--space-7);
}

.track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  padding: var(--space-5);
}

.slide blockquote {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
  margin: 0;
  color: var(--ink-light);
  font-style: italic;
}

.slide blockquote::before {
  content: '"';
  font-size: 48px;
  color: var(--accent);
  opacity: 0.3;
  line-height: 0;
  display: block;
  margin-bottom: var(--space-3);
}

.slide cite {
  display: block;
  margin-top: var(--space-4);
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

.dots {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-5);
}

.dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--panel-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dots button:hover {
  background: var(--accent-dark);
}

.dots button.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ========== CTA STRIP ========== */
.cta-strip {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  padding: var(--space-7) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(0, 212, 230, 0.2),
      transparent 50%
    ),
    radial-gradient(circle at 80% 50%, rgba(0, 212, 230, 0.15), transparent 50%);
}

.cta-strip .container {
  position: relative;
  z-index: 1;
}

.cta-strip h2,
.cta-strip p {
  color: white;
  margin-bottom: var(--space-4);
}

.cta-strip .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-strip .btn-primary:hover {
  background: var(--accent);
  color: white;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-8) 0 var(--space-5);
  margin-top: var(--space-9);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: var(--space-6);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: white;
}

.site-footer h4 {
  color: white;
  font-size: 16px;
  margin-bottom: var(--space-3);
  font-weight: 700;
}

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

.site-footer ul li {
  margin-bottom: var(--space-2);
}

.tiny {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

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

/* ========== UTILITIES ========== */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ANCHOR OFFSET ========== */
:target::before {
  content: "";
  display: block;
  height: 90px;
  margin-top: -90px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .hero-media {
    order: -1;
  }

  .hero {
    padding: var(--space-8) 0;
  }

  nav {
    gap: var(--space-1);
  }

  nav a {
    padding: var(--space-2) var(--space-3);
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

/* ========== INTL TEL INPUT ========== */
.iti__country-list,
.iti__country {
  list-style: none;
}

.iti__country-list {
  z-index: 99999 !important;
  max-height: 260px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.iti__country-list li {
  list-style: none;
  background: white;
}

/* ========== ROI CALCULATOR ========== */
.roi-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.roi-form label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
  color: var(--ink);
}

.roi-form input {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  margin-bottom: var(--space-4);
  transition: all 0.2s ease;
}

.roi-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  outline: none;
}

.roi-result {
  margin-top: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

/* ========== PILL BADGES ========== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== TIMELINE ========== */
.timeline {
  list-style: none;
  position: relative;
  padding-left: var(--space-6);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline li {
  position: relative;
  padding: var(--space-4) 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-6) - 1px);
  top: var(--space-5);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--accent);
}

/* ========== FEATURE GRID ========== */
.grid-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
  margin: var(--space-8) 0;
}

.grid-feature img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 980px) {
  .grid-feature {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ========== LOADING STATES ========== */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  animation: shimmer 2s infinite;
  background: linear-gradient(
    90deg,
    var(--panel) 0%,
    var(--panel-dark) 50%,
    var(--panel) 100%
  );
  background-size: 1000px 100%;
}

/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform-origin: left;
  z-index: 101;
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ========== PRINT STYLES ========== */
@media print {
  .site-header,
  .site-footer,
  .cta-strip,
  nav,
  .btn {
    display: none;
  }

  body {
    background: white;
  }

  .card,
  .tile {
    break-inside: avoid;
  }
}

/* Professional Industrial Design */
.industrial-header {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: white;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.industrial-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.value-proposition {
  background: var(--bg-soft);
  padding: var(--space-8) 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.value-card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-card h3 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.value-icon {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-specs {
  background: white;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  text-align: center;
}

.spec-item {
  padding: var(--space-5);
}

.spec-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.spec-label {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.industrial-cta {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: white;
  padding: var(--space-8) 0;
  text-align: center;
}

.industrial-cta h2 {
  color: white;
  margin-bottom: var(--space-4);
}

.industrial-cta .btn {
  margin: 0 var(--space-2);
}

/* Professional form enhancements */
.professional-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-success {
  background: #d4edda;
  color: #155724;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid #c3e6cb;
  margin: var(--space-4) 0;
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid #f5c6cb;
  margin: var(--space-4) 0;
}

/* Solution Trio Styles */
.solution-trio {
  padding: var(--space-9) 0;
  background: var(--bg-soft);
}

.trio-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-8);
}

.trio-header h2 {
  color: var(--primary);
  margin-bottom: var(--space-4);
  font-size: clamp(28px, 4vw, 36px);
}

.trio-header p {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.trio-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  height: 100%;
}

.trio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.trio-content {
  padding: var(--space-7);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.trio-card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
  font-weight: 700;
}

.trio-subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-4);
  text-transform: none;
  letter-spacing: 0;
}

.trio-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  flex-grow: 1;
}

.trio-button {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
  padding: var(--space-2) 0;
}

.trio-button:hover {
  color: var(--accent-dark);
  transform: translateX(4px);
}

.trio-button::after {
  content: "→";
  margin-left: var(--space-2);
  transition: transform 0.2s ease;
}

.trio-button:hover::after {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 980px) {
  .trio-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    max-width: 500px;
    margin: 0 auto;
  }

  .trio-content {
    padding: var(--space-6);
  }
}

@media (max-width: 640px) {
  .trio-content {
    padding: var(--space-5);
  }

  .trio-header {
    margin-bottom: var(--space-6);
  }
}

/* Form Validation Styles */
input.invalid,
select.invalid,
textarea.invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
}

.form-success {
  background: #d4edda;
  color: #155724;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid #c3e6cb;
  margin-top: var(--space-4);
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid #f5c6cb;
  margin-top: var(--space-4);
}

/* Phone input styling */
.iti {
  width: 100%;
}

.iti__flag-container {
  padding: 0 8px;
}

/* Form Validation Styles */
input.invalid,
select.invalid,
textarea.invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-success {
  background: #d4edda;
  color: #155724;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid #c3e6cb;
  margin: var(--space-4) 0;
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid #f5c6cb;
  margin: var(--space-4) 0;
}

/* Phone input styling */

/* 1) Make the wrapper own the border & radius */
.lead-form .iti {
  position: relative;
  background: #fff;
  border: 1.5px solid #d8e3ea;
  border-radius: 12px;
  overflow: visible; /* don't clip the country list */
}

/* 2) Input becomes borderless, with left padding for flag/dial code */
.lead-form .iti input[type="tel"] {
  height: 56px;
  border: 0;
  border-radius: 12px; /* harmless; keeps caret clipping nice */
  padding-left: 88px; /* adjust to your flag width */
  background: transparent;
  box-shadow: none;
}

/* 3) Style the flag pane so it visually belongs inside the wrapper */
.lead-form .iti .iti__flag-container {
  height: 100%;
  background: #f7fafb;
  border-right: 1px solid #e7eef3;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

/* 4) Focus & error states mirror from the input to the wrapper */
.lead-form .iti:has(input[type="tel"]:focus) {
  border-color: #b42318; /* if you want green on focus, change here */
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}
.lead-form .iti:has(input[type="tel"].invalid) {
  border-color: #b42318 !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1) !important;
}

/* 5) Keep the dropdown above neighbors */
.lead-form .iti .iti__country-list {
  z-index: 9999;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Move border from input to .iti container */
.lead-form .iti {
  position: relative;
  border: 1.5px solid #d8e3ea;
  border-radius: 12px;
  height: 56px;
  background: white; /* Match your form background */
}

/* Remove border from input - let parent handle it */
.lead-form .iti input[type="tel"] {
  border: none !important;
  height: 100%;
  padding-left: 88px;
}

/* Error states on the container */
.lead-form .iti.invalid {
  border-color: #b42318;
}

/* Make flag container respect the rounded corners */
.lead-form .iti .iti__flag-container {
  border-radius: 12px 0 0 12px;
  height: 100%;
}

/* Fix error message alignment without CSS variables */
.lead-form .error {
  display: block;
  margin-top: 6px;
  margin-left: 88px; /* Match input padding-left */
  font-size: 12px;
  color: #b42318;
  text-align: left;
  min-height: 16px;
}

/* Ensure dropdown isn't clipped */

.lead-form .error {
  display: block;
  margin-top: 6px;
  margin-left: 88px;
  font-size: 12px;
  color: #b42318;
  min-height: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lead-form .invalid + .error,
.lead-form input:invalid + .error {
  opacity: 1;
}

/* Make the media box flush inside its black panel */
.hero .hero-media {
  background: #000; /* your black area */
  border-radius: 16px; /* keep your card radius */
  overflow: hidden; /* clip inner corners */
  padding: 0 !important; /* kill any inner padding on this box only */
  border: 0; /* no inner border */
}

/* Ensure the frame fills the box */
.hero .hero-media .media-frame {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9; /* or remove if parent dictates height */
}

/* Make the video touch all edges of the media box */
.hero .hero-media .hero-video {
  display: block; /* no inline gaps */
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover; /* fills the black area */
  object-position: center;
  background: #000;
}

.hero .hero-media {
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}
.hero .hero-media .media-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.hero .hero-media .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* won’t crop when ratios match */
}

/* Black box that holds the video */
.hero .hero-media {
  background: #000;
  border-radius: 16px;
  overflow: hidden; /* keep rounded corners */
  padding: 0 !important;
  border: 0;
}

/* Give the box a 16:9 shape (1080p is 1920×1080 = 16:9) */
.hero .hero-media .media-frame {
  width: 100%;
  aspect-ratio: 16/9 !important; /* ensures non-zero height, no squeeze */
}

/* Show the entire video (no cropping), centered */
.hero .hero-media .hero-video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* <-- no crop (may letterbox) */
  object-position: center center !important;
  max-width: none !important;
  transform: none !important;
}

/* INPUT owns the only border */
.lead-form .iti input[type="tel"] {
  height: 56px;
  border: 1.5px solid #d8e3ea; /* your normal border */
  border-radius: 12px;
  padding-left: 88px; /* room for flag/dial code */
  outline: none;
  box-shadow: none; /* kill extra ring */
  background: #fff;
}

/* No borders on wrapper (prevents second rounded outline) */
.lead-form .iti {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent;
}

/* Keep just the vertical divider between flag and input */
.lead-form .iti .iti__flag-container {
  background: #f7fafb;
  border-right: 1px solid #e7eef3;
}

/* Focus/error states: still a SINGLE border (no glow ring) */
.lead-form .iti input[type="tel"]:focus {
  border-color: #0ea35a; /* brand green on focus */
  box-shadow: none; /* prevent double outline */
}
.lead-form .iti input[type="tel"].invalid {
  border-color: #b42318 !important; /* red on error */
  box-shadow: none !important; /* no second ring */
}

/* Remove native outlines that can appear on Windows */
.lead-form .iti input[type="tel"]::-ms-reveal,
.lead-form .iti input[type="tel"]::-ms-clear {
  display: none;
}
.lead-form .iti input[type="tel"]::-moz-focus-inner {
  border: 0;
}

.support-hero {
  padding: clamp(24px, 4vw, 40px) 0;
}
.support-hero h1 {
  margin: 0 0 8px;
}
.support-hero .sub {
  color: var(--muted);
}

.support-card {
  background: #fff;
  border: 1px solid #e6eef2;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 8px;
}
.support-card .btn {
  justify-self: start;
}

.faq details {
  background: #fff;
  border: 1px solid #e6eef2;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq .a {
  color: var(--c-ink, #0b1f2a);
  opacity: 0.9;
  margin-top: 8px;
}

.downloads {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.downloads li {
  background: #fff;
  border: 1px solid #e6eef2;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.downloads .muted {
  color: var(--muted);
}

/* Header logo sizing */
.site-header .site-logo img,
.site-header .logo img,
.header .logo img,
.navbar-brand img {
  height: clamp(28px, 6.2vw, 42px); /* was smaller; bump max to ~42px */
  width: auto; /* keep aspect ratio */
}

/* If you're using an inline SVG logo */
.site-header .site-logo svg,
.header .logo svg {
  height: clamp(28px, 6.2vw, 42px);
  width: auto;
}

/* Give the header row a touch more room so the bigger logo doesn't crowd */
.site-header,
.header,
.navbar {
  min-height: 64px; /* adjust if your header is taller */
  align-items: center;
}

/* Prevent layout jump on load (reserve space for the bigger logo) */
.site-header .site-logo {
  display: inline-flex;
  align-items: center;
}

:root {
  /* brand core */
  --primary: #6090f0; /* Cygnas blue */
  --primary-600: #3d78e8; /* darker hover */
  --primary-300: #90b0f0; /* light ui */
  --primary-200: #80a0e0; /* chips/badges */
  --primary-100: #eaf2ff;

  /* neutrals from logo swoosh */
  --ink: #0b1f2a; /* headings */
  --muted: #5b717c; /* body */
  --border: #e6eef2;
  --silver-300: #d0d0d0;
  --silver-400: #c0c0c0;

  /* focus ring */
  --focus: rgba(96, 144, 240, 0.35);
}

/* links & buttons */
a {
  color: var(--primary);
}
a:hover {
  color: var(--primary-600);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

/* inputs focus ring in Cygnas blue */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--focus);
  outline: 0;
}

/* chips/badges */
.trust-chips li,
.badge {
  background: var(--primary-100);
  color: var(--primary);
  border: 1px solid var(--primary-300);
}

/* icons (inline SVGs) */
.value-icon svg,
.card-ico svg {
  stroke: var(--primary);
  fill: none;
}
/* alternative: simple border underline */
.site-header .site-nav a[href^="#"] {
  border-bottom: 2px solid transparent;
}
.site-header .site-nav a.is-active {
  border-bottom-color: var(--accent);
}

.site-header .site-nav a.active::after,
.site-header .site-nav a.current::after {
  transform: scaleX(1);
}
.site-header .site-nav a.active,
.site-header .site-nav a.current {
  color: var(--accent);
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.88) !important;
  margin: 0;
}
