/* ============================================================
   Mytec Global — Design System v2
   Logo palette: Cyan/Sky-blue + Red with circuit motifs
   ============================================================ */

:root {
  /* Primary: sky-blue from logo text */
  --sky-700: #0369A1;
  --sky-600: #0284C7;
  --sky-500: #0EA5E9;
  --sky-400: #38BDF8;
  --sky-300: #7DD3FC;
  --sky-200: #BAE6FD;
  --sky-100: #E0F2FE;
  --sky-50:  #F0F9FF;

  /* Accent: red from logo icon */
  --red-700: #B91C1C;
  --red-600: #DC2626;
  --red-500: #EF4444;
  --red-400: #F87171;
  --red-300: #FCA5A5;
  --red-200: #FECACA;
  --red-50:  #FEF2F2;

  /* Neutrals — cool-tinted to pair with blue */
  --ink-950: #020617;
  --ink-900: #0F172A;
  --ink-800: #1E293B;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;
  --ink-200: #E2E8F0;
  --ink-100: #F1F5F9;
  --ink-50:  #F8FAFC;

  --green-500: #10B981;
  --amber-500: #F59E0B;

  --white: #FFFFFF;
  --border: rgba(15, 23, 42, 0.07);
  --border-strong: rgba(15, 23, 42, 0.12);

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.14);
  --shadow-sky: 0 12px 32px rgba(14, 165, 233, 0.2);
  --shadow-red: 0 12px 32px rgba(220, 38, 38, 0.18);
  --shadow-card-hover: 0 20px 60px rgba(14, 165, 233, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 45%, #0284C7 100%);
  --gradient-brand-hover: linear-gradient(135deg, #0284C7 0%, #0EA5E9 45%, #38BDF8 100%);
  --gradient-accent: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  --gradient-ink: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  --gradient-hero: linear-gradient(135deg, #020617 0%, #0F172A 40%, #1E293B 100%);
  --gradient-soft: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  --gradient-mesh: radial-gradient(800px 500px at 70% 20%, rgba(14, 165, 233, 0.15), transparent 55%),
                   radial-gradient(600px 400px at 20% 80%, rgba(220, 38, 38, 0.1), transparent 55%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --container-wide: 1340px;

  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-900);
}
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 1.2vw + 0.8rem, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--ink-500); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sky-600);
  padding: 0.38rem 0.85rem;
  background: var(--sky-50);
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.15);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}
.eyebrow.light {
  background: rgba(14, 165, 233, 0.08);
  color: var(--sky-300);
  border-color: rgba(14, 165, 233, 0.2);
}
.eyebrow.light::before { background: var(--sky-400); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25); }

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.wide { max-width: var(--container-wide); }
.section { padding: 6rem 0; position: relative; }
.section-sm { padding: 4rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head p { font-size: 1.0625rem; margin-top: 1rem; color: var(--ink-500); }
.section-head.left { text-align: left; margin-left: 0; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--easing);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 2rem;
}

/* Brand with logo image */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.brand-logo {
  height: 38px;
  width: auto;
}
.brand-text {
  display: none; /* hidden when image logo used */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-800);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--sky-600); background: var(--sky-50); }
.nav-links a.active { color: var(--sky-600); font-weight: 700; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1rem; right: 1rem;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sky);
  transition: transform 0.2s var(--easing), box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(14, 165, 233, 0.28); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ink-50);
  place-items: center;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 280px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.22s var(--easing);
  z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(4px);
}
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  color: var(--ink-800);
}
.dropdown a:hover { background: var(--sky-50); }
.dropdown .dd-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--sky-50);
  color: var(--sky-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.dropdown a:hover .dd-icon {
  background: var(--gradient-brand);
  color: #fff;
}
.dropdown .dd-title { font-weight: 600; font-size: 0.88rem; color: var(--ink-900); }
.dropdown .dd-desc { font-size: 0.76rem; color: var(--ink-400); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.93rem;
  transition: transform 0.25s var(--easing), box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-sky);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.32);
  background: var(--gradient-brand-hover);
}
.btn-accent {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(220, 38, 38, 0.3); }
.btn-dark {
  background: var(--ink-900);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--ink-200);
}
.btn-outline:hover { border-color: var(--sky-500); color: var(--sky-600); background: var(--sky-50); }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-link { color: var(--sky-600); padding: 0; font-weight: 600; font-size: 0.88rem; }
.btn-link:hover { color: var(--sky-700); gap: 0.7rem; }
.btn .arrow { transition: transform 0.25s var(--easing); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  background: var(--gradient-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 450px at 80% 10%, rgba(14, 165, 233, 0.2), transparent 55%),
    radial-gradient(600px 450px at 15% 85%, rgba(220, 38, 38, 0.12), transparent 55%),
    radial-gradient(400px 400px at 50% 50%, rgba(14, 165, 233, 0.06), transparent 60%);
  z-index: -1;
}
/* Circuit-inspired grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 25%, transparent 70%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 { color: #fff; margin-top: 0.5rem; }
.hero h1 .gradient-text {
  background: linear-gradient(135deg, #38BDF8 0%, #7DD3FC 40%, #BAE6FD 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead {
  margin-top: 1.4rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 56ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(14, 165, 233, 0.12);
}
.hero-meta .meta-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-meta .meta-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.15rem;
}

/* Hero visual: floating cards */
.hero-visual { position: relative; height: 520px; }
.visual-card {
  position: absolute;
  background: rgba(14, 165, 233, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.visual-card .vc-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.visual-card .vc-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sky);
}
.visual-card .vc-title { font-size: 0.88rem; font-weight: 600; color: #fff; }
.visual-card .vc-sub { font-size: 0.72rem; color: rgba(255,255,255,0.5); }

.vc-main { position: relative; top: 30px; left: 0; width: 90%; animation: floatA 8s ease-in-out infinite; }
.vc-second { right: -10px; top: 180px; width: 62%; animation: floatB 9s ease-in-out infinite; }
.vc-third { left: 20px; bottom: 0; width: 55%; animation: floatC 7s ease-in-out infinite; }

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@keyframes floatC { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.vc-bar { height: 8px; border-radius: 6px; background: linear-gradient(90deg, rgba(14,165,233,0.3), rgba(14,165,233,0.06)); margin-bottom: 0.55rem; }
.vc-bar.w70 { width: 70%; }
.vc-bar.w50 { width: 50%; }
.vc-bar.w85 { width: 85%; }
.vc-chips { display: flex; gap: 0.35rem; margin-top: 0.8rem; }
.vc-chip {
  padding: 0.25rem 0.55rem;
  background: rgba(14, 165, 233, 0.12);
  color: var(--sky-300);
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid rgba(14, 165, 233, 0.22);
}

/* Logo strip */
.logos { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.logos-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-600);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.logos-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
}
.logos-row span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink-700);
  letter-spacing: -0.01em;
}

/* ============================================================
   Services / Cards
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s, border-color 0.3s;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s var(--easing);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(14, 165, 233, 0.15);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: var(--sky-50);
  color: var(--sky-500);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  transition: transform 0.35s var(--ease-out-expo), background 0.3s, color 0.3s;
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-sky);
}
.service-card h3 { margin-bottom: 0.55rem; }
.service-card p { font-size: 0.93rem; margin-bottom: 1rem; }
.service-card .chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; margin-bottom: 1.5rem; }
.service-card .chips span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  background: var(--ink-50);
  color: var(--ink-600);
  border-radius: 99px;
  border: 1px solid var(--border);
}

/* ============================================================
   Feature / Split sections
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 2rem;
  min-height: 420px;
  box-shadow: var(--shadow-xl);
}
.split-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 300px at 80% 20%, rgba(14, 165, 233, 0.2), transparent 60%);
}

.feature-list { list-style: none; margin-top: 1.5rem; }
.feature-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.75rem 0;
  align-items: flex-start;
}
.feature-list .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 7px;
  background: var(--gradient-brand);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 2px;
  box-shadow: var(--shadow-sky);
}
.feature-list strong { color: var(--ink-900); display: block; margin-bottom: 0.15rem; font-size: 0.98rem; }
.feature-list span { color: var(--ink-500); font-size: 0.9rem; }

/* ============================================================
   Stats
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: left;
  transition: transform 0.3s var(--easing), box-shadow 0.3s, border-color 0.3s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(14, 165, 233, 0.15); }
.stat-card .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-card .label { font-size: 0.9rem; color: var(--ink-500); margin-top: 0.65rem; }

/* ============================================================
   Process / Timeline
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%; right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--sky-200) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--sky-200);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--sky-600);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-out-expo);
}
.process-step:hover .process-num {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--shadow-sky);
}
.process-step h4 { margin-bottom: 0.35rem; }
.process-step p { font-size: 0.88rem; }

/* ============================================================
   Industries
   ============================================================ */
.industries {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.industry-tile {
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s var(--easing);
}
.industry-tile:hover {
  border-color: var(--sky-300);
  background: var(--sky-50);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-tile .ind-icon { width: 40px; height: 40px; margin: 0 auto 0.65rem; color: var(--sky-500); }
.industry-tile:hover .ind-icon { color: var(--sky-600); }
.industry-tile .ind-label { font-size: 0.85rem; font-weight: 600; color: var(--ink-800); }

/* ============================================================
   Testimonial
   ============================================================ */
.testimonial {
  background: var(--gradient-hero);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.testimonial::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 90% 100%, rgba(14, 165, 233, 0.18), transparent),
    radial-gradient(300px 200px at 10% 10%, rgba(220, 38, 38, 0.1), transparent);
  z-index: -1;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 840px;
}
.testimonial-quote::before { content: '\201C'; font-size: 4rem; color: var(--sky-400); line-height: 0; vertical-align: -0.5em; margin-right: 0.35rem; }
.testimonial-meta { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-brand); display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); }
.testimonial-name { color: #fff; font-weight: 600; }
.testimonial-role { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--gradient-hero);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 10% 0%, rgba(14, 165, 233, 0.25), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(220, 38, 38, 0.12), transparent 60%);
  z-index: -1;
}
/* Circuit dots in CTA */
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 1.5px, rgba(14, 165, 233, 0.12) 100%, transparent 100%);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000 20%, transparent 70%);
  z-index: -1;
}
.cta-band h2 { color: #fff; max-width: 700px; margin: 0 auto 1rem; }
.cta-band p { color: rgba(255,255,255,0.65); max-width: 580px; margin: 0 auto 2rem; font-size: 1.0625rem; }
.cta-band .hero-actions { justify-content: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink-950);
  color: rgba(255,255,255,0.65);
  padding: 5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer h5 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.25rem; font-weight: 700; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--sky-400); }
.footer-about p { font-size: 0.88rem; color: rgba(255,255,255,0.5); max-width: 340px; margin-top: 1rem; }
.footer .brand-logo { height: 30px; filter: brightness(10); }

.social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  transition: all 0.25s var(--easing);
}
.social a:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sky);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: var(--sky-400); }

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.page-header {
  background: var(--gradient-hero);
  color: #fff;
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 75% 25%, rgba(14, 165, 233, 0.18), transparent 60%),
    radial-gradient(400px 300px at 25% 80%, rgba(220, 38, 38, 0.08), transparent 55%);
  z-index: -1;
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 25%, transparent 70%);
  z-index: -1;
}
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--sky-300); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }
.page-header h1 { color: #fff; max-width: 16ch; }
.page-header p.lead { font-size: 1.1rem; color: rgba(255,255,255,0.68); max-width: 60ch; margin-top: 1.25rem; }

/* Platform preview card */
.platform-preview {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  margin-top: -4rem;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
}

/* Feature cards */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s var(--easing);
}
.feature-card:hover { border-color: var(--sky-300); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .fc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gradient-soft);
  color: var(--sky-500);
  display: grid; place-items: center;
  margin-bottom: 1rem;
  transition: all 0.3s var(--easing);
}
.feature-card:hover .fc-icon { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-sky); }
.feature-card h4 { margin-bottom: 0.45rem; color: var(--ink-900); }
.feature-card p { font-size: 0.9rem; }

/* Module grid */
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.module-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.25s var(--easing);
}
.module-card:hover { background: var(--sky-50); border-color: var(--sky-300); transform: translateY(-2px); }
.module-card .mc-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--sky-50);
  color: var(--sky-500);
  display: grid; place-items: center;
  margin-bottom: 0.75rem;
  transition: all 0.25s var(--easing);
}
.module-card:hover .mc-icon { background: var(--gradient-brand); color: #fff; }
.module-card h5 { font-size: 0.95rem; color: var(--ink-900); margin-bottom: 0.3rem; font-weight: 600; }
.module-card p { font-size: 0.78rem; color: var(--ink-400); }

/* Comparison */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.compare-box { padding: 2rem; border-radius: var(--radius-lg); border: 1.5px solid; }
.compare-box.bad { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.compare-box.good { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.compare-box h4 { margin-bottom: 1rem; color: inherit; font-size: 1.1rem; }
.compare-box ul li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; font-size: 0.92rem; }
.compare-box.bad ul li::before { content: '✕'; position: absolute; left: 0; color: #dc2626; font-weight: bold; }
.compare-box.good ul li::before { content: '✓'; position: absolute; left: 0; color: #059669; font-weight: bold; }

/* ============================================================
   Form
   ============================================================ */
.form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.15rem; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-800); margin-bottom: 0.4rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}
.form-field textarea { min-height: 130px; resize: vertical; }

/* Contact info */
.contact-info { display: grid; gap: 1.25rem; }
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.25s var(--easing);
}
.contact-info-row:hover { border-color: var(--sky-300); box-shadow: var(--shadow-sm); }
.contact-info-row .ci-icon {
  width: 44px; height: 44px;
  background: var(--sky-50);
  color: var(--sky-500);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info-row strong { color: var(--ink-900); display: block; font-weight: 600; font-size: 0.95rem; }
.contact-info-row span { font-size: 0.88rem; color: var(--ink-500); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .industries { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 1rem; right: 1rem;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    align-items: stretch;
  }
  .nav-links.open a { width: 100%; padding: 0.75rem 1rem; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; opacity: 1; pointer-events: auto; transform: none; min-width: 0; }
  .nav-cta { display: none; }

  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .hero h1 { font-size: 2.15rem; }
  .services-grid, .services-grid.cols-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial, .cta-band { padding: 2.25rem; }
  .process { grid-template-columns: 1fr; }
  .platform-preview { padding: 1.5rem; margin-top: -2rem; }
  .brand-logo { height: 30px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   AI Showcase
   ============================================================ */
.ai-section {
  background: var(--gradient-hero);
  color: #fff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ai-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 75% 20%, rgba(14, 165, 233, 0.2), transparent 55%),
    radial-gradient(500px 350px at 20% 75%, rgba(124, 58, 237, 0.12), transparent 55%),
    radial-gradient(400px 300px at 50% 50%, rgba(14, 165, 233, 0.06), transparent 60%);
  z-index: -1;
}
.ai-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 1px, rgba(14, 165, 233, 0.08) 100%, transparent 100%);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 20%, transparent 70%);
  z-index: -1;
}
.ai-section .section-head p { color: rgba(255,255,255,0.6); }
.ai-section h2 { color: #fff; }
.ai-section .eyebrow { background: rgba(14, 165, 233, 0.1); border-color: rgba(14, 165, 233, 0.22); color: var(--sky-300); }
.ai-section .eyebrow::before { background: var(--sky-400); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25); }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ai-card {
  background: rgba(14, 165, 233, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s;
}
.ai-card:hover {
  transform: translateY(-6px);
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.15);
}
.ai-card:hover::before { opacity: 1; }

.ai-card .ai-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--sky-400);
  display: grid; place-items: center;
  margin-bottom: 1.15rem;
  transition: all 0.35s var(--ease-out-expo);
}
.ai-card:hover .ai-icon {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-sky);
  transform: scale(1.06) rotate(-3deg);
}
.ai-card h4 { color: #fff; margin-bottom: 0.5rem; font-size: 1.05rem; }
.ai-card p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.55; }
.ai-card .ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  padding: 0.25rem 0.6rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sky-300);
}
.ai-card .ai-tag .pulse {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sky-400);
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
}

/* AI demo panel */
.ai-demo {
  background: rgba(14, 165, 233, 0.03);
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.ai-msg {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  margin-bottom: 0.65rem;
}
.ai-msg.user {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.ai-msg.assistant {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(14, 165, 233, 0.18);
}
.ai-msg .msg-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.ai-msg.user .msg-label { color: rgba(255,255,255,0.45); }
.ai-msg.assistant .msg-label { color: var(--sky-400); }
.ai-msg .msg-text { font-size: 0.92rem; color: rgba(255,255,255,0.88); line-height: 1.55; }
.ai-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}
.ai-actions button {
  padding: 0.3rem 0.7rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 8px;
  color: var(--sky-300);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.ai-actions button:hover {
  background: rgba(14, 165, 233, 0.2);
  color: #fff;
}

/* Future-ready badges */
.future-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 2rem;
}
.future-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: all 0.25s var(--easing);
}
.future-badge:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.25);
  color: var(--sky-300);
  transform: translateY(-2px);
}
.future-badge svg { color: var(--sky-400); flex-shrink: 0; }

@media (max-width: 1024px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-section { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
