/* ==========================================================================
   Simplify EdTech™ / Nexify Technology — Apple-Inspired Design System
   Pure CSS3 | Zero Framework Bloat | Responsive & Accessible
   ========================================================================== */

:root {
  --bg-white: #FFFFFF;
  --bg-light: #F5F5F7;
  --bg-subtle: #FBFBFD;
  --bg-dark: #0B0F19;
  --bg-dark-card: rgba(255, 255, 255, 0.045);

  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-tertiary: #86868B;
  --text-dark-primary: #F5F5F7;
  --text-dark-secondary: #A1A1AA;

  --cyan: #0E7490;
  --teal: #14B8A6;
  --sky: #0284C7;
  --gradient-brand: linear-gradient(135deg, #0E7490 0%, #0284C7 55%, #14B8A6 100%);

  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.12);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 28px 70px rgba(11, 15, 25, 0.14);

  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 60px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

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

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(14, 116, 144, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow--dark {
  color: var(--teal);
  background: rgba(20, 184, 166, 0.14);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

h1, .h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}
h2, .h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
h3, .h3 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.55;
  margin: 0;
}
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-apple), background 0.25s, box-shadow 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--text-primary);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: #000000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.btn-accent {
  background: var(--gradient-brand);
  color: #FFFFFF;
}
.btn-accent:hover {
  box-shadow: 0 12px 28px rgba(14, 116, 144, 0.28);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.18);
}
.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}
.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
}
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sky);
  font-weight: 600;
  font-size: 15px;
}
.btn-link:hover { text-decoration: underline; }

/* ==========================================================================
   Sticky Header & Frosted-Glass Mega Menu
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.brand-lockup img {
  height: 30px;
  width: auto;
}
.brand-lockup .brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: static; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav-trigger:hover, .nav-trigger.is-active, .nav-item.open > .nav-trigger {
  background: rgba(0, 0, 0, 0.05);
  color: var(--cyan);
}
.nav-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease-apple);
}
.nav-item.open > .nav-trigger svg { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Full-width Frosted-Glass Mega Menu */
.mega-panel {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  padding: 34px 0 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease-apple), transform 0.3s var(--ease-apple), visibility 0.25s;
  z-index: 999;
}
.nav-item.open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 40px;
}
.mega-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin: 0 0 14px;
}
.mega-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mega-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.mega-card:hover {
  background: var(--bg-light);
  border-color: var(--border-light);
  transform: translateY(-1px);
}
.mega-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(14, 116, 144, 0.09);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mega-card strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.mega-card span {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.mega-highlight {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.mega-highlight h4 { margin: 0; font-size: 17px; font-weight: 700; }
.mega-highlight p { margin: 0; font-size: 13.5px; color: var(--text-dark-secondary); }

.mega-backdrop {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(11, 15, 25, 0.22);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
  z-index: 990;
}
.mega-backdrop.is-visible { opacity: 1; visibility: visible; }

/* Mobile Menu */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 20px 24px 40px;
  overflow-y: auto;
  z-index: 998;
}
.mobile-drawer.is-open { display: block; }
.mobile-group { border-bottom: 1px solid var(--border-light); padding: 12px 0; }
.mobile-group-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.mobile-link {
  display: block;
  padding: 9px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   Sections & Layout Rhythm
   ========================================================================== */
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--light { background: var(--bg-light); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-dark-primary);
  position: relative;
  overflow: hidden;
}
.section--dark .lead { color: var(--text-dark-secondary); }
.section--dark::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.16) 0%, rgba(2, 132, 199, 0.08) 40%, transparent 72%);
  pointer-events: none;
}

/* Hero */
.hero {
  padding: 78px 0 88px;
  background: radial-gradient(circle at 50% 0%, rgba(14, 116, 144, 0.07) 0%, transparent 55%), var(--bg-white);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.hero-cta--left { justify-content: flex-start; }

/* Subpage Hero Split */
.subhero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.device-frame {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.device-frame img {
  border-radius: 18px;
  width: 100%;
  object-fit: cover;
}

/* Interactive Showcase (Home Hero) */
.showcase-wrap { margin-top: 52px; }
.segmented-control {
  display: inline-flex;
  background: var(--bg-light);
  padding: 5px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  margin-bottom: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.seg-btn {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}
.seg-btn.is-active {
  background: var(--bg-white);
  color: var(--text-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.mockup-shell {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  color: #FFFFFF;
}
.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mockup-dots { display: flex; gap: 7px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.mockup-dots span:nth-child(1) { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #27C93F; }
.mockup-url { font-size: 12px; color: var(--text-dark-secondary); background: rgba(255,255,255,0.06); padding: 4px 14px; border-radius: 999px; }

.mockup-pane { display: none; animation: fadeIn 0.35s var(--ease-apple); }
.mockup-pane.is-active { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: center; }
.mockup-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.m-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 16px;
}
.m-stat .label { font-size: 12px; color: var(--text-dark-secondary); }
.m-stat .val { font-size: 24px; font-weight: 800; margin-top: 4px; color: #FFFFFF; }
.m-stat .delta { font-size: 12px; color: var(--teal); margin-top: 4px; font-weight: 600; }
.mockup-visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111827;
}
.mockup-visual img { width: 100%; height: 290px; object-fit: cover; object-position: top; }

/* Partner Logos Strip */
.partners-strip {
  padding: 42px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}
.partners-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 22px;
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 42px;
}
.partners-row img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.75);
  transition: filter 0.25s, transform 0.25s;
}
.partners-row img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.06); }

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.bento-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s var(--ease-apple);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-12 { grid-column: span 12; }

.bento-card--dark {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.1);
}
.bento-card--dark p { color: var(--text-dark-secondary); }
.bento-card p { margin: 0; color: var(--text-secondary); font-size: 15px; }
.bento-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 8px;
}
.bento-card--dark .bento-badge { color: var(--teal); }
.bento-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  max-height: 240px;
}
.bento-img img { width: 100%; height: 100%; object-fit: cover; }

/* Glass Cards (Dark Section) */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.glass-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 30px;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, transform 0.25s var(--ease-apple);
}
.glass-card:hover {
  border-color: rgba(20, 184, 166, 0.45);
  transform: translateY(-4px);
}
.glass-card p { color: var(--text-dark-secondary); font-size: 15px; margin: 0; }
.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(20, 184, 166, 0.14);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-box--light {
  background: rgba(14, 116, 144, 0.09);
  color: var(--cyan);
}

/* Feature Cards (Light) */
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card p { color: var(--text-secondary); margin: 0; font-size: 15px; }

/* Training Switcher */
.training-box {
  margin-top: 32px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.training-pane { display: none; animation: fadeIn 0.35s var(--ease-apple); }
.training-pane.is-active { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-primary);
}
.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.15);
  color: var(--cyan);
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.meta-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
}
.meta-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.meta-row:last-of-type { border-bottom: 0; }
.meta-row span { display: block; font-size: 12px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.meta-row strong { font-size: 15px; color: var(--text-primary); }

/* Metrics Strip */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.metric-item {
  text-align: center;
  padding: 28px 18px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.metric-val {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-label { font-size: 14px; color: var(--text-secondary); margin-top: 6px; font-weight: 500; }

/* Pricing Grid */
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pricing-card--featured {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
}
.pricing-card--featured .check-list li { color: #E5E7EB; }
.pricing-price { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 4px; }
.pricing-sub { font-size: 13px; color: var(--text-secondary); }
.pricing-card--featured .pricing-sub { color: var(--text-dark-secondary); }

/* Closing CTA Banner */
.cta-banner {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.22), transparent 55%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner p { color: var(--text-dark-secondary); max-width: 580px; margin: 0 auto 28px; font-size: 17px; }

/* Forms (Internship & Modal) */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 14.5px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
}
.field textarea { min-height: 100px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.alert {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  display: none;
}
.alert.is-visible { display: block; }
.alert--success { background: rgba(20, 184, 166, 0.12); color: #0F766E; border: 1px solid rgba(20, 184, 166, 0.3); }
.alert--error { background: rgba(239, 68, 68, 0.1); color: #B91C1C; border: 1px solid rgba(239, 68, 68, 0.25); }

/* Multi-Step Demo Booking Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 15, 25, 0.56);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-dialog {
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease-apple);
}
.modal-overlay.is-open .modal-dialog { transform: translateY(0) scale(1); }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-light);
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
}
.step-pills { display: flex; gap: 8px; margin-bottom: 22px; }
.step-pill {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--bg-light);
  transition: background 0.3s;
}
.step-pill.is-done { background: var(--cyan); }
.modal-step { display: none; }
.modal-step.is-active { display: block; animation: fadeIn 0.25s var(--ease-apple); }

.interest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.interest-opt {
  text-align: left;
  padding: 16px;
  border-radius: 16px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-subtle);
  cursor: pointer;
  transition: all 0.2s;
}
.interest-opt strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.interest-opt span { font-size: 12.5px; color: var(--text-secondary); }
.interest-opt.is-selected {
  border-color: var(--cyan);
  background: rgba(14, 116, 144, 0.06);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}
.modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 36px;
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}
.footer-col h5 {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-apple), transform 0.65s var(--ease-apple);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
  .subhero-grid, .mockup-pane.is-active, .training-pane.is-active, .mega-grid { grid-template-columns: 1fr; }
  .cards-3, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .span-7, .span-5, .span-6, .span-4 { grid-column: span 12; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .cards-3, .cards-2, .form-grid, .interest-grid, .footer-grid { grid-template-columns: 1fr; }
  .training-box, .form-card, .modal-dialog { padding: 24px; }
  .cta-banner { padding: 44px 22px; }
}


/* ==========================================================================
   V3 Enhancements: Thin Wave Patterns (No Dots), Animated Caption,
   Hardware Mockups, Multi-Select Ethiopian Regions, Support & Pricing Table
   ========================================================================== */

/* Home Hero Thin Flowing Wave Pattern (No Dots) */
.hero--waved {
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='360' viewBox='0 0 1440 360' fill='none'%3E%3Cpath d='M-40 120C220 30 480 210 740 120C1000 30 1240 200 1480 110' stroke='%230E7490' stroke-opacity='0.14' stroke-width='1.1'/%3E%3Cpath d='M-40 165C240 75 500 255 760 165C1020 75 1260 245 1480 155' stroke='%2314B8A6' stroke-opacity='0.13' stroke-width='1'/%3E%3Cpath d='M-40 215C260 125 520 300 780 210C1040 120 1280 285 1480 200' stroke='%230284C7' stroke-opacity='0.11' stroke-width='1'/%3E%3Cpath d='M-40 265C280 180 540 340 800 255C1060 170 1300 325 1480 245' stroke='%230E7490' stroke-opacity='0.08' stroke-width='0.9'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center 40px;
  background-size: 1440px 360px;
}
.hero--waved::before,
.hero--waved::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero--waved::before {
  width: 540px;
  height: 540px;
  top: -200px;
  left: -140px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.16) 0%, rgba(2, 132, 199, 0.06) 55%, transparent 75%);
  animation: floatOrb 14s ease-in-out infinite alternate;
}
.hero--waved::after {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -140px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.14) 0%, rgba(14, 116, 144, 0.06) 55%, transparent 75%);
  animation: floatOrb 16s ease-in-out infinite alternate-reverse;
}
.hero--waved > .container { position: relative; z-index: 1; }

.section--wave-light {
  background-color: var(--bg-light);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='220' viewBox='0 0 1440 220' fill='none'%3E%3Cpath d='M0 70C320 10 620 130 960 70C1180 30 1340 95 1440 70' stroke='%230E7490' stroke-opacity='0.09' stroke-width='1'/%3E%3Cpath d='M0 120C340 60 640 180 980 120C1200 80 1360 145 1440 120' stroke='%2314B8A6' stroke-opacity='0.08' stroke-width='0.9'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center bottom;
}

@keyframes floatOrb {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.06); }
}

/* Bold Animated Text on Hero Caption */
.animated-caption {
  display: inline-block;
  font-weight: 900;
  background: linear-gradient(90deg, #0E7490, #0284C7, #14B8A6, #0E7490);
  background-size: 240% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGrad 5s linear infinite;
  transition: opacity 0.35s var(--ease-apple), transform 0.35s var(--ease-apple);
}
.animated-caption.is-swapping {
  opacity: 0;
  transform: translateY(10px);
}
@keyframes shimmerGrad {
  0%   { background-position: 0% center; }
  100% { background-position: 240% center; }
}

/* Realistic Laptop / Tablet / Mobile Mockups */
.device-laptop { position: relative; max-width: 820px; margin: 0 auto; }
.device-laptop__lid {
  background: #0F172A;
  border-radius: 20px 20px 6px 6px;
  padding: 14px 14px 12px;
  border: 2px solid #334155;
  box-shadow: 0 28px 65px rgba(11, 15, 25, 0.22);
}
.device-laptop__cam { width: 7px; height: 7px; border-radius: 50%; background: #334155; margin: 0 auto 10px; }
.device-laptop__screen { border-radius: 8px; overflow: hidden; background: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.08); }
.device-laptop__screen img { width: 100%; height: auto; display: block; }
.device-laptop__base {
  height: 16px;
  background: linear-gradient(180deg, #E2E8F0 0%, #94A3B8 100%);
  border-radius: 0 0 18px 18px;
  margin: 0 -22px;
  position: relative;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}
.device-laptop__base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 5px;
  background: #64748B;
  border-radius: 0 0 6px 6px;
}
.device-tablet {
  background: #0F172A;
  border-radius: 28px;
  padding: 16px;
  border: 2px solid #334155;
  box-shadow: 0 24px 55px rgba(11, 15, 25, 0.2);
  max-width: 720px;
  margin: 0 auto;
}
.device-tablet__screen { border-radius: 14px; overflow: hidden; background: #FFFFFF; }
.device-tablet__screen img { width: 100%; height: auto; display: block; }
.device-mobile {
  width: 285px;
  max-width: 100%;
  margin: 0 auto;
  background: #0F172A;
  border-radius: 38px;
  padding: 12px;
  border: 3px solid #334155;
  box-shadow: 0 26px 60px rgba(11, 15, 25, 0.26);
  position: relative;
}
.device-mobile__notch {
  width: 86px;
  height: 18px;
  background: #0F172A;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.device-mobile__screen { border-radius: 26px; overflow: hidden; background: #FFFFFF; }
.device-mobile__screen img { width: 100%; height: auto; display: block; }

.trio-stage {
  display: grid;
  grid-template-columns: 1.55fr 0.65fr;
  gap: 28px;
  align-items: end;
  margin-top: 36px;
}

/* Dedicated Support Cards (Home Page) */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.support-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s, border-color 0.3s;
}
.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 116, 144, 0.28);
}
.support-card p { margin: 0; font-size: 14.5px; color: var(--text-secondary); }
.support-sla-bar {
  margin-top: 32px;
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Multi-Select Region Dropdown (Ethiopian Regions) */
.multi-select { position: relative; }
.multi-select__trigger {
  width: 100%;
  min-height: 46px;
  padding: 8px 38px 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--bg-subtle);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  position: relative;
}
.multi-select__trigger:focus {
  outline: none;
  border-color: var(--cyan);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
}
.multi-select__arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  pointer-events: none;
}
.multi-select__placeholder { color: var(--text-tertiary); font-size: 14.5px; }
.region-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 116, 144, 0.1);
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
}
.multi-select__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-height: 270px;
  overflow-y: auto;
  padding: 10px;
  z-index: 60;
}
.multi-select.is-open .multi-select__menu { display: block; animation: fadeIn 0.2s var(--ease-apple); }
.multi-select__actions {
  display: flex;
  justify-content: space-between;
  padding: 4px 8px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
  font-size: 12.5px;
}
.multi-select__actions button {
  background: none;
  border: 0;
  color: var(--cyan);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.region-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}
.region-option:hover { background: var(--bg-light); }
.region-option input { width: 16px; height: 16px; accent-color: var(--cyan); cursor: pointer; }

/* Pricing Comparison Table */
.compare-wrap {
  margin-top: 44px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 14.5px;
}
.compare-table thead th {
  background: var(--bg-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-check { color: var(--cyan); font-weight: 800; }
.compare-dash { color: var(--text-tertiary); }

@media (max-width: 980px) {
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .trio-stage { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .support-grid { grid-template-columns: 1fr; }
  .device-laptop__base { margin: 0 -8px; }
}


/* Social Media Icon Buttons (Footer) */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s var(--ease-apple), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }
.social-btn:hover { transform: translateY(-3px); color: #FFFFFF; border-color: transparent; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14); }
.social-btn--linkedin:hover { background: #0A66C2; }
.social-btn--facebook:hover { background: #1877F2; }
.social-btn--tiktok:hover   { background: #0B0F19; }
.social-btn--youtube:hover  { background: #FF0000; }


/* Single Unified Mega Menu (2 Clean Columns: Ecosystem + Services) */
.mega-grid--unified {
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.mega-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
