/* ============================================================
   styles.css — Cloudenium Website Styles
   All layout, components, animations, and responsive breakpoints
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------- */
:root {
  --bg-primary:     #060F1E;
  --bg-secondary:   #0A1A2E;
  --bg-card:        #0D2137;
  --accent-green:   #00E676;
  --accent-teal:    #26C6DA;
  --text-primary:   #FFFFFF;
  --text-secondary: #B0BEC5;
  --border-subtle:  #1A3A5C;
  --gradient-hero:  linear-gradient(135deg, #060F1E 0%, #0A2A1A 50%, #060F1E 100%);

  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full:9999px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 230, 118, 0.15);
  --shadow-glow-strong: 0 0 32px rgba(0, 230, 118, 0.35);

  --transition-fast:   150ms ease;
  --transition-normal: 280ms ease;
  --transition-slow:   500ms ease;

  --container-max: 1200px;
  --nav-height:    72px;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

button { cursor: pointer; border: none; background: none; }

/* ----------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-secondary); line-height: 1.75; }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------------------------------------------------------
   4. LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ----------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent-green);
  color: #060F1E;
  border: 2px solid var(--accent-green);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-green);
  box-shadow: var(--shadow-glow-strong);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-green);
  border: 2px solid var(--accent-green);
}

.btn-secondary:hover {
  background-color: var(--accent-green);
  color: #060F1E;
  box-shadow: var(--shadow-glow-strong);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Pulse glow on primary CTA */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(0, 230, 118, 0); }
}

.btn-primary-pulse {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* ----------------------------------------------------------
   6. CARDS
   ---------------------------------------------------------- */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-green));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 230, 118, 0.3);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--accent-green);
}

.card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ----------------------------------------------------------
   7. NAVIGATION
   ---------------------------------------------------------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 15, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-logo-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.08);
}

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

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.nav-hamburger.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-hamburger.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay */
#nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 15, 30, 0.7);
  z-index: 999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

#nav-overlay.visible {
  display: block;
  opacity: 1;
}

/* Mobile drawer */
.nav-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100dvh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  z-index: 1001;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.nav-mobile-drawer.open { right: 0; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-mobile-link {
  display: block;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-mobile-link:hover, .nav-mobile-link.active {
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.08);
}

.mobile-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ----------------------------------------------------------
   8. HERO SECTION
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-topo-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-topo-canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Topographic line animations */
@keyframes topoFloat1 {
  0%, 100% { transform: translateY(0px) scaleX(1); opacity: 0.22; }
  33%       { transform: translateY(-14px) scaleX(1.01); opacity: 0.38; }
  66%       { transform: translateY(8px) scaleX(0.99); opacity: 0.18; }
}
@keyframes topoFloat2 {
  0%, 100% { transform: translateY(0px); opacity: 0.15; }
  40%       { transform: translateY(18px); opacity: 0.28; }
  70%       { transform: translateY(-6px); opacity: 0.12; }
}
@keyframes topoFloat3 {
  0%, 100% { transform: translateY(0px); opacity: 0.1; }
  50%       { transform: translateY(-22px); opacity: 0.2; }
}
@keyframes circuitPulse {
  0%, 100% { opacity: 0.04; }
  50%       { opacity: 0.1; }
}
@keyframes scanLine {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100vw); }
}

.topo-path-1 { animation: topoFloat1 7s ease-in-out infinite; }
.topo-path-2 { animation: topoFloat2 9s ease-in-out 1s infinite; }
.topo-path-3 { animation: topoFloat1 11s ease-in-out 2s infinite; }
.topo-path-4 { animation: topoFloat2 8s ease-in-out 0.5s infinite; }
.topo-path-5 { animation: topoFloat3 13s ease-in-out 3s infinite; }
.topo-path-6 { animation: topoFloat1 6s ease-in-out 1.5s infinite; }
.topo-circuit { animation: circuitPulse 4s ease-in-out infinite; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent-green);
  border-radius: 2px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero h1 .highlight {
  color: var(--accent-green);
}

.hero-sub {
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* ----------------------------------------------------------
   9. STATS BAR
   ---------------------------------------------------------- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
}

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

.stat-item {
  text-align: center;
  padding: 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ----------------------------------------------------------
   10. FEATURES SECTION
   ---------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 230, 118, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: var(--radius-md);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--accent-green);
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.625rem;
}

.feature-card p {
  font-size: 0.875rem;
}

/* ----------------------------------------------------------
   11. SERVICES SECTION
   ---------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  display: block;
}

.service-card:hover {
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.service-card:hover .service-arrow { transform: translateX(4px); }

.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.875rem;
  gap: 1rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(38, 198, 218, 0.1);
  border: 1px solid rgba(38, 198, 218, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-teal);
}

.service-arrow {
  color: var(--accent-green);
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.service-card p { font-size: 0.875rem; }

/* ----------------------------------------------------------
   12. CTA STRIP
   ---------------------------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, rgba(0,230,118,0.06) 0%, rgba(38,198,218,0.04) 100%);
  border-top: 1px solid rgba(0, 230, 118, 0.15);
  border-bottom: 1px solid rgba(0, 230, 118, 0.15);
  padding: 5rem 0;
  text-align: center;
}

.cta-strip h2 { margin-bottom: 1rem; }
.cta-strip p { max-width: 580px; margin: 0 auto 2.5rem; font-size: 1.0625rem; }

/* ----------------------------------------------------------
   13. SECTION DIVIDER (wavy SVG)
   ---------------------------------------------------------- */
.section-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.section-divider svg { display: block; width: 100%; }

/* ----------------------------------------------------------
   14. ABOUT PAGE
   ---------------------------------------------------------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.mv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-green);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.mv-card h3 {
  color: var(--accent-green);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.875rem;
}

.mv-card p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-primary);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-green), var(--accent-teal), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.125rem;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
}

.timeline-year {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.timeline-event { font-size: 0.9375rem; color: var(--text-secondary); }

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

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

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-primary);
  letter-spacing: 0.02em;
}

.team-card h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.team-role {
  font-size: 0.8125rem;
  color: var(--accent-teal);
  font-weight: 600;
  margin-bottom: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.team-card p { font-size: 0.875rem; line-height: 1.6; }

/* Sectors */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.sector-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.sector-chip:hover {
  border-color: var(--accent-green);
  background: rgba(0, 230, 118, 0.06);
}

.sector-chip svg {
  width: 28px;
  height: 28px;
  fill: var(--accent-teal);
}

.sector-chip span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ----------------------------------------------------------
   15. PRODUCTS PAGE
   ---------------------------------------------------------- */
.category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.category-badge.software  { background: rgba(0,230,118,0.12); color: var(--accent-green); border: 1px solid rgba(0,230,118,0.25); }
.category-badge.analytics { background: rgba(38,198,218,0.12); color: var(--accent-teal); border: 1px solid rgba(38,198,218,0.25); }
.category-badge.hardware  { background: rgba(255,193,7,0.10); color: #FFC107; border: 1px solid rgba(255,193,7,0.25); }
.category-badge.enterprise{ background: rgba(171,71,188,0.12); color: #CE93D8; border: 1px solid rgba(171,71,188,0.25); }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 230, 118, 0.25);
}

.product-tagline {
  font-size: 0.8125rem;
  color: var(--accent-teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.25rem;
}

.product-desc { font-size: 0.9375rem; flex-grow: 1; }

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.product-feature-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ----------------------------------------------------------
   16. TRAINING PAGE
   ---------------------------------------------------------- */
.rpto-badge-card {
  background: linear-gradient(135deg, rgba(0,230,118,0.06) 0%, rgba(38,198,218,0.04) 100%);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.rpto-badge-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 230, 118, 0.1);
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rpto-badge-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--accent-green);
}

.rpto-badge-text h3 { margin-bottom: 0.625rem; }
.rpto-badge-text p { font-size: 0.9375rem; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-normal);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 230, 118, 0.25);
}

.course-meta {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.course-tag {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tag-duration { background: rgba(0,230,118,0.1); color: var(--accent-green); }
.tag-level    { background: rgba(38,198,218,0.1); color: var(--accent-teal); }
.tag-cert     { background: rgba(255,193,7,0.1);  color: #FFC107; }

.course-card h3 { font-size: 1.0625rem; line-height: 1.35; }
.course-card p  { font-size: 0.875rem; flex-grow: 1; }

/* Cities grid */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.city-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-normal);
}

.city-card:hover {
  border-color: var(--accent-green);
  background: rgba(0, 230, 118, 0.04);
}

.city-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
  flex-shrink: 0;
}

.city-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.city-tag {
  font-size: 0.75rem;
  color: var(--accent-teal);
  font-weight: 500;
}

/* ----------------------------------------------------------
   17. CAREERS PAGE
   ---------------------------------------------------------- */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.perk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--transition-normal);
}

.perk-card:hover {
  border-color: rgba(0, 230, 118, 0.25);
  box-shadow: var(--shadow-glow);
}

.perk-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-icon svg { width: 22px; height: 22px; fill: var(--accent-green); }
.perk-card h4 { font-size: 1rem; margin-bottom: 0.375rem; }
.perk-card p  { font-size: 0.875rem; }

/* Roles list */
.roles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  transition: all var(--transition-normal);
}

.role-card:hover {
  border-color: rgba(0, 230, 118, 0.25);
  box-shadow: var(--shadow-glow);
}

.role-title { font-size: 1.125rem; margin-bottom: 0.5rem; }

.role-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.role-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.role-meta-item svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-teal);
  flex-shrink: 0;
}

.role-dept {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  background: rgba(38,198,218,0.1);
  color: var(--accent-teal);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.role-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* ----------------------------------------------------------
   18. CONTACT PAGE
   ---------------------------------------------------------- */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.office-card:hover {
  border-color: rgba(0, 230, 118, 0.25);
  box-shadow: var(--shadow-glow);
}

.office-city {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.office-city svg { width: 18px; height: 18px; fill: var(--accent-green); }

.office-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.office-detail svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.office-detail span {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.office-detail a { color: var(--accent-teal); text-decoration: none; transition: color var(--transition-fast); }
.office-detail a:hover { color: var(--accent-green); }

/* Contact form + social layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

/* Form styles */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.form-card h2 { margin-bottom: 1.75rem; }

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(176, 190, 197, 0.4); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.08);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef5350;
}

.form-error-msg {
  font-size: 0.8125rem;
  color: #ef5350;
  margin-top: 0.375rem;
  display: none;
}

.form-error-msg.visible { display: block; }

.form-group textarea { resize: vertical; min-height: 130px; }

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

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: var(--radius-sm);
  color: var(--accent-green);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 1rem;
  align-items: center;
  gap: 0.625rem;
}

.form-success.visible { display: flex; }

/* Social / quick contact panel */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.social-card h3 { margin-bottom: 1.25rem; }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.social-link-item:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.04);
}

.social-link-item svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ----------------------------------------------------------
   19. CAREER APPLICATION FORM (inline on careers page)
   ---------------------------------------------------------- */
.apply-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0;
}

/* ----------------------------------------------------------
   20. PAGE HERO (inner pages)
   ---------------------------------------------------------- */
.page-hero {
  background: var(--gradient-hero);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  opacity: 0.3;
}

.page-hero .eyebrow { margin-bottom: 1rem; display: block; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero p { max-width: 620px; font-size: 1.0625rem; }

/* Decorative grid dots */
.hero-dots {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(0,230,118,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.4), transparent 80%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.4), transparent 80%);
}

/* ----------------------------------------------------------
   21. FOOTER
   ---------------------------------------------------------- */
#site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-logo img { width: 44px; height: 44px; object-fit: contain; }

.footer-logo-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-contact-info { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-item:hover { color: var(--accent-green); }
.footer-contact-item svg { width: 14px; height: 14px; fill: var(--accent-teal); }

.footer-col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--accent-green); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright { font-size: 0.8125rem; color: var(--text-secondary); }

.footer-socials { display: flex; gap: 0.75rem; }

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-social-link:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.06);
}

.footer-social-link svg { width: 17px; height: 17px; fill: currentColor; }

/* ----------------------------------------------------------
   22. SCROLL ANIMATIONS
   ---------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.visible { opacity: 1; transform: translateX(0); }

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

.text-green  { color: var(--accent-green); }
.text-teal   { color: var(--accent-teal); }
.text-muted  { color: var(--text-secondary); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }

.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2rem; }

/* Green accent hr */
.accent-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-teal), transparent);
  margin: 2rem 0;
  border-radius: 2px;
}

/* Quick info strip */
.info-strip {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.info-strip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.info-strip-item svg { width: 16px; height: 16px; fill: var(--accent-green); }

/* ----------------------------------------------------------
   24. RESPONSIVE — TABLET (768px – 1023px)
   ---------------------------------------------------------- */
@media (max-width: 1023px) {

  :root { --nav-height: 64px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger        { display: flex; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid  { grid-template-columns: repeat(3, 1fr); }
  .perks-grid    { grid-template-columns: repeat(2, 1fr); }
  .cities-grid   { grid-template-columns: repeat(2, 1fr); }

  .footer-grid   {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .social-card { flex: 1; min-width: 260px; }

  .rpto-badge-card { flex-direction: column; text-align: center; }
  .rpto-badge-icon { margin: 0 auto; }

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

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }

  .role-card { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   25. RESPONSIVE — MOBILE (≤ 767px)
   ---------------------------------------------------------- */
@media (max-width: 767px) {

  :root { --nav-height: 60px; }

  .container { padding: 0 1rem; }

  .section { padding: 3.5rem 0; }

  h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 2rem); }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding: 3rem 0; }
  .hero-sub { font-size: 1rem; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .btn-group .btn { width: 100%; justify-content: center; }

  /* Grids → single column */
  .features-grid,
  .services-grid,
  .products-grid,
  .courses-grid,
  .team-grid,
  .sectors-grid,
  .perks-grid,
  .offices-grid { grid-template-columns: 1fr; }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .stat-item::after { display: none !important; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .rpto-badge-card {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
    gap: 1.25rem;
  }
  .rpto-badge-icon { margin: 0 auto; }

  .section-header { margin-bottom: 2.5rem; }

  .role-card {
    grid-template-columns: 1fr;
  }

  .product-features { grid-template-columns: 1fr; }

  .info-strip { gap: 1rem; }

  /* Tablet drawer width */
  .nav-mobile-drawer { width: 85vw; }
}

/* ----------------------------------------------------------
   26. VERY SMALL SCREENS (≤ 380px)
   ---------------------------------------------------------- */
@media (max-width: 380px) {
  .cities-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
}

/* ----------------------------------------------------------
   27. PAGE LOADER (subtle)
   ---------------------------------------------------------- */
@keyframes fadeInPage {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body { animation: fadeInPage 0.3s ease forwards; }
