/* ============================================================
   CSS CUSTOM PROPERTIES — Brand palette from logo
============================================================ */
:root {
  --orange:      #F4921A;
  --cyan:        #2EC5E5;
  --navy:        #1B3D72;
  --stone:       #6B7280;
  --red:         #E82B2B;

  --bg-deep:     #050A18;
  --bg-surface:  #0C1425;
  --bg-elevated: #111D35;
  --card-bg:     rgba(11, 20, 42, 0.7);
  --border:      rgba(255, 255, 255, 0.06);
  --border-mid:  rgba(255, 255, 255, 0.10);
  --border-hi:   rgba(46, 197, 229, 0.25);

  --text-primary:   #EDF2FF;
  --text-secondary: #7A8BA8;
  --text-muted:     #3D4F6A;

  --gradient-brand: linear-gradient(135deg, var(--orange), var(--cyan));
  --gradient-blue:  linear-gradient(135deg, var(--cyan), var(--navy));
  --gradient-hero:  linear-gradient(160deg, #0C1E40 0%, #050A18 60%);

  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --glow-orange: 0 0 60px rgba(244, 146, 26, 0.18);
  --glow-cyan:   0 0 60px rgba(46, 197, 229, 0.18);
  --glow-card:   0 0 40px rgba(46, 197, 229, 0.08);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
}
textarea { resize: vertical; }

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-surface);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(27, 61, 114, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(46, 197, 229, 0.06) 0%, transparent 60%);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  padding: 4px 12px;
  border: 1px solid rgba(46, 197, 229, 0.25);
  border-radius: 100px;
  background: rgba(46, 197, 229, 0.06);
}

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

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-orange); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hi);
  background: rgba(46, 197, 229, 0.05);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-nav:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-nav span { font-size: 1rem; }

.btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(46, 197, 229, 0.12);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(46, 197, 229, 0.25);
  transition: var(--transition);
  margin-top: 1.5rem;
}

.btn-sm:hover { background: rgba(46, 197, 229, 0.2); }

.btn-large { padding: 16px 36px; font-size: 1.05rem; }

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 10, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.logo-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.lang-toggle {
  padding: 6px 14px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: var(--transition);
  flex-shrink: 0;
}

.lang-toggle:hover {
  border-color: var(--border-hi);
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(46, 197, 229, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(244, 146, 26, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.6;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 2rem 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content { display: flex; flex-direction: column; gap: 2rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(46, 197, 229, 0.3);
  border-radius: 100px;
  background: rgba(46, 197, 229, 0.06);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.04em;
  width: fit-content;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px; height: 36px;
  background: var(--border-mid);
}

/* --- Hub Diagram --- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hub-diagram {
  position: relative;
  width: 520px;
  height: 520px;
  flex-shrink: 0;
}

/* Orbit rings */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 160px; height: 160px;
  border-color: rgba(46, 197, 229, 0.2);
  animation: spin 25s linear infinite;
}

.orbit-2 {
  width: 360px; height: 360px;
  border-color: rgba(46, 197, 229, 0.1);
  border-style: dashed;
  animation: spin 40s linear infinite reverse;
}

.orbit-3 {
  width: 500px; height: 500px;
  border-color: rgba(255,255,255,0.04);
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hub core — dark background, red border + text */
.hub-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d1f3e, #1a2f55);
  border: 2px solid rgba(232, 43, 43, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 0 32px rgba(232, 43, 43, 0.3);
}

.hub-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(46, 197, 229, 0.25);
  animation: hub-pulse 2.5s ease-in-out infinite;
}

@keyframes hub-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.1); opacity: 1; }
}

.hub-label {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
}

.hub-abbr {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #E82B2B;
  -webkit-text-fill-color: #E82B2B;
}

.hub-name {
  font-size: 0.52rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.2;
}

/* Product nodes */
.hub-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
}

.node-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  cursor: default;
  transition: var(--transition);
  position: relative;
  max-width: 115px;
  width: max-content;
}

.node-body:hover {
  border-color: var(--border-hi);
  background: #162240;
  transform: scale(1.05);
  box-shadow: var(--glow-cyan);
}

.node-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(46, 197, 229, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--cyan);
  overflow: hidden;
  flex-shrink: 0;
}

.node-placeholder-icon { font-size: 1rem; }

.node-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.node-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

/* ── Pantone colors per node ────────────────────────────── */
/* PENDULUM — Orange #F4921A */
.node-pendulum .node-icon-wrap {
  background: #F4921A;
  box-shadow: 0 0 16px rgba(244, 146, 26, 0.4);
}
/* KOMPLY — Cyan #2EC5E5 */
.node-komply .node-icon-wrap {
  background: #2EC5E5;
  box-shadow: 0 0 16px rgba(46, 197, 229, 0.4);
}
/* KLIP — Navy #1B3D72 */
.node-klip .node-icon-wrap {
  background: #1B3D72;
  border: 1px solid rgba(46, 197, 229, 0.3);
  box-shadow: 0 0 16px rgba(27, 61, 114, 0.5);
}
/* eProcurement — Stone #6B7280 */
.node-eprocurement .node-icon-wrap {
  background: #6B7280;
  box-shadow: 0 0 16px rgba(107, 114, 128, 0.4);
}

/* All node icons white for contrast */
.node-placeholder-icon {
  color: #fff !important;
  font-size: 1.1rem;
}

/* Hub pulse red */
.hub-pulse {
  border-color: rgba(232, 43, 43, 0.35);
}

/* Node positions — all anchored at diagram center, translated outward 185px */
.hub-node { top: 50%; left: 50%; }
.node-pendulum     { transform: translate(-50%, calc(-50% - 185px)); }
.node-komply       { transform: translate(calc(-50% + 185px), -50%); }
.node-klip         { transform: translate(-50%, calc(-50% + 185px)); }
.node-eprocurement { transform: translate(calc(-50% - 185px), -50%); }

/* Connector lines (SVG overlay approach via pseudo-element on diagram) */
.node-line { display: none; } /* handled by canvas in JS */

/* Node staggered float animations */
.node-pendulum .node-body      { animation: float1 4s ease-in-out infinite; }
.node-komply .node-body        { animation: float2 4.5s ease-in-out infinite; }
.node-klip .node-body          { animation: float3 5s ease-in-out infinite; }
.node-eprocurement .node-body  { animation: float4 4.2s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes float4 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-bar {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.8); }
}

/* ============================================================
   PRODUCTS GRID
============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.8), transparent);
  transition: var(--transition);
}

.product-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(var(--accent-rgb), 0.08);
}

.card-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 120px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12), transparent 70%);
  pointer-events: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 1);
  background: rgba(var(--accent-rgb), 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  white-space: normal;
  line-height: 1.4;
  max-width: 200px;
}

/* Logo placeholder — swap out with <img> when you have the assets */
.product-logo-placeholder {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  border: 2px dashed rgba(var(--accent-rgb), 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.06);
  flex-shrink: 0;
}

.placeholder-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(var(--accent-rgb), 0.6);
}

/* Product card logo — accommodates both square marks and wide wordmarks */
.product-logo {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* Card icon — override hub node-body, colour via --accent */
.product-card .node-body {
  background: transparent;
  border: none;
  padding: 0;
  gap: 0;
  cursor: default;
}
.product-card .node-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.45);
}
.product-card .node-icon-wrap .node-placeholder-icon {
  font-size: 1.3rem;
}

/* Hub diagram node logo */
.node-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.product-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 3px 10px;
  border: 1px solid var(--border-mid);
  border-radius: 100px;
}

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

.service-card {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: var(--glow-card);
}

.service-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border-mid);
  line-height: 1;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card:hover .service-num { color: rgba(46, 197, 229, 0.25); }

.service-icon {
  width: 44px; height: 44px;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.service-card-cta {
  background: linear-gradient(135deg, rgba(46, 197, 229, 0.08), rgba(27, 61, 114, 0.15));
  border-color: rgba(46, 197, 229, 0.2);
}

.service-card-cta h3 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   TIMELINE (APPROACH)
============================================================ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 80px;
}

.timeline-track {
  position: absolute;
  left: 28px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), rgba(46, 197, 229, 0.1));
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 3rem;
}

.timeline-step:last-child { padding-bottom: 0; }

.step-badge {
  position: absolute;
  left: -66px;
  top: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
  transition: var(--transition);
}

.timeline-step:hover .step-badge {
  background: rgba(46, 197, 229, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(46, 197, 229, 0.25);
}

.step-card {
  flex: 1;
  padding: 1.5rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-hi);
  background: rgba(17, 29, 53, 0.8);
}

.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-card p  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

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

.integration-group {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  transition: var(--transition);
}

.integration-group:hover {
  border-color: var(--border-hi);
}

.integration-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.integration-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.integration-items span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.integration-items span:last-child { border-bottom: none; }
.integration-group:hover .integration-items span { color: var(--text-primary); }

/* ============================================================
   CTA BANNER
============================================================ */
.section-cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
  background: var(--bg-surface);
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(46, 197, 229, 0.1) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(244, 146, 26, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.cta-bg-effect {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.015) 60px,
    rgba(255,255,255,0.015) 61px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.015) 60px,
    rgba(255,255,255,0.015) 61px
  );
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 1rem 0;
}

.cta-inner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin: 0.75rem 0 1rem; }

.contact-info p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(46, 197, 229, 0.08);
  border: 1px solid rgba(46, 197, 229, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.contact-icon svg { width: 18px; height: 18px; }

.contact-form-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-hi);
  box-shadow: 0 0 0 3px rgba(46, 197, 229, 0.08);
}

.form-group select option { background: var(--bg-elevated); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  padding: 80px 0 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 320px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  width: fit-content;
}

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

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger delay for grid children */
.products-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.products-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.products-grid .reveal:nth-child(3) { transition-delay: 0.25s; }
.products-grid .reveal:nth-child(4) { transition-delay: 0.35s; }

.services-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.26s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.33s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.40s; }

.integrations-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.integrations-grid .reveal:nth-child(2) { transition-delay: 0.10s; }
.integrations-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.integrations-grid .reveal:nth-child(4) { transition-delay: 0.20s; }
.integrations-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.integrations-grid .reveal:nth-child(6) { transition-delay: 0.30s; }

.timeline .reveal:nth-child(2) { transition-delay: 0.05s; }
.timeline .reveal:nth-child(3) { transition-delay: 0.12s; }
.timeline .reveal:nth-child(4) { transition-delay: 0.19s; }
.timeline .reveal:nth-child(5) { transition-delay: 0.26s; }
.timeline .reveal:nth-child(6) { transition-delay: 0.33s; }

/* ============================================================
   HUB DIAGRAM SVG LINES (canvas overlay in hero)
============================================================ */
#hubLines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ============================================================
   RGPD — Cookie banner + Privacy modal + GDPR checkbox
============================================================ */

/* Link inline discreto (sem underline azul) */
.link-inline {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--cyan); font: inherit; text-decoration: underline;
  text-underline-offset: 2px;
}
.link-inline:hover { color: var(--text-primary); }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: rgba(11, 20, 42, 0.97);
  border-top: 1px solid var(--border-mid);
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  padding: 20px 24px;
}
.cookie-banner--visible  { transform: translateY(0); }
.cookie-banner--hidden   { transform: translateY(100%); }

.cookie-banner-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text strong { display: block; color: var(--text-primary); margin-bottom: 4px; font-size: .9rem; }
.cookie-text p { font-size: .8rem; color: var(--text-secondary); margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-cookie-essential {
  padding: 9px 18px; border-radius: 8px; font-size: .82rem; font-weight: 600; cursor: pointer;
  background: transparent; border: 1px solid var(--border-mid); color: var(--text-secondary);
  transition: var(--transition);
}
.btn-cookie-essential:hover { border-color: var(--border-hi); color: var(--text-primary); }

.btn-cookie-accept {
  padding: 9px 18px; border-radius: 8px; font-size: .82rem; font-weight: 600; cursor: pointer;
  background: var(--cyan); border: none; color: #050A18;
  transition: var(--transition);
}
.btn-cookie-accept:hover { background: #fff; }

/* Privacy modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(5, 10, 24, 0.85);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  max-width: 680px; width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 40px 40px 32px;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: 1px solid var(--border-mid);
  color: var(--text-secondary); border-radius: 6px;
  width: 32px; height: 32px; cursor: pointer; font-size: .9rem;
  transition: var(--transition);
}
.modal-close:hover { border-color: var(--border-hi); color: var(--text-primary); }

.modal-body h2 { font-size: 1.5rem; margin-bottom: 6px; }
.modal-body h3 { font-size: .95rem; color: var(--cyan); margin: 24px 0 8px; text-transform: uppercase; letter-spacing: .06em; }
.modal-body p, .modal-body li { font-size: .88rem; color: var(--text-secondary); line-height: 1.7; }
.modal-body ul { padding-left: 20px; margin: 8px 0; }
.modal-body a { color: var(--cyan); }
.modal-body .pp-updated { font-size: .75rem; color: var(--text-muted); margin-bottom: 24px; }

/* GDPR form checkbox — custom styled */
.form-gdpr { margin-top: 4px; }
.gdpr-label {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
}
.gdpr-label input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border: 2px solid var(--border-mid);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.gdpr-label input[type="checkbox"]:hover {
  border-color: var(--cyan);
}
.gdpr-label input[type="checkbox"]:checked {
  background: var(--cyan);
  border-color: var(--cyan);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7l4 4 6-6' stroke='%23050A18' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.gdpr-label input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(46,197,229,0.3);
}
.gdpr-label span { font-size: .8rem; color: var(--text-secondary); line-height: 1.6; }

.gdpr-pp-btn {
  display: inline-block;
  margin-top: 6px;
  margin-left: 26px;
  font-size: .75rem;
  color: var(--cyan);
  text-decoration: none;
}

/* Footer link-inline (reset list style) */
.footer li .link-inline { color: var(--text-muted); text-decoration: none; }
.footer li .link-inline:hover { color: var(--text-secondary); }

/* ============================================================
   WHATSAPP — inline link + floating button
============================================================ */
.contact-wa-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  width: 100%;
}
.contact-wa-link:hover { color: #25D366; }
.contact-wa-link:hover .contact-icon-wa { background: #25D366; color: #fff; }

.contact-icon-wa {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border-radius: 10px;
  transition: var(--transition);
}
.contact-wa-link small { opacity: 0.7; font-size: 0.75em; }

.wa-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wa-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}
.wa-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wa-status-dot.online  { background: #25D366; box-shadow: 0 0 6px #25D366; animation: wa-pulse 2s ease-in-out infinite; }
.wa-status-dot.offline { background: var(--stone); }
.wa-status-text { font-size: 0.72rem; font-weight: 600; }
.wa-status-text.online  { color: #25D366; }
.wa-status-text.offline { color: var(--text-muted); }
.wa-schedule { color: var(--text-muted); }

@keyframes wa-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-subtitle { max-width: 600px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .hero-visual  { display: none; }

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

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links { display: none; }
  .btn-nav   { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(5, 10, 24, 0.97);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .products-grid        { grid-template-columns: repeat(2, 1fr); }
  .services-grid        { grid-template-columns: 1fr; }
  .integrations-grid    { grid-template-columns: repeat(2, 1fr); }
  .contact-grid         { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top           { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links         { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom        { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row             { grid-template-columns: 1fr; }
  .timeline             { padding-left: 64px; }
  .timeline-track       { left: 22px; }
  .step-badge           { left: -54px; width: 38px; height: 38px; font-size: 0.75rem; }

  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
}

@media (max-width: 480px) {
  .integrations-grid { grid-template-columns: 1fr; }
  .products-grid     { grid-template-columns: 1fr; }
  .hero-stats        { flex-direction: column; gap: 1rem; align-items: center; }
  .stat-divider      { width: 40px; height: 1px; }
  .contact-form-wrap { padding: 1.5rem; }
  .cta-actions       { flex-direction: column; }
  .cta-actions .btn-ghost { text-align: center; }
}
