/* =========================================
   SIBYL TECHNOLOGIES - MAIN STYLESHEET
   Dark Blue Enterprise Theme
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=JetBrains+Mono:wght@400;500&display=swap');

/* === CSS VARIABLES === */
:root {
  --primary: #0a1628;
  --primary-deep: #060e1a;
  --primary-mid: #0d1f3c;
  --accent: #0057ff;
  --accent-bright: #2979ff;
  --accent-glow: #4d94ff;
  --accent-light: #e8f0fe;
  --cyan: #00c8ff;
  --cyan-soft: rgba(0, 200, 255, 0.15);
  --white: #ffffff;
  --off-white: #f8faff;
  --gray-100: #f0f4ff;
  --gray-200: #d8e2f8;
  --gray-400: #8899bb;
  --gray-600: #4a5c80;
  --text: #1a2744;
  --text-muted: #5a6b8a;
  --gradient-main: linear-gradient(135deg, #0a1628 0%, #0d2654 50%, #0a1628 100%);
  --gradient-accent: linear-gradient(135deg, #0057ff 0%, #00c8ff 100%);
  --gradient-hero: linear-gradient(160deg, #060e1a 0%, #0a1f44 40%, #0d2654 70%, #0a1628 100%);
  --gradient-card: linear-gradient(145deg, rgba(13,31,60,0.8) 0%, rgba(10,22,40,0.95) 100%);
  --shadow-sm: 0 2px 12px rgba(0, 87, 255, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 87, 255, 0.15);
  --shadow-lg: 0 20px 60px rgba(0, 87, 255, 0.2);
  --shadow-glow: 0 0 40px rgba(0, 87, 255, 0.35);
  --border-glass: 1px solid rgba(255,255,255,0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 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; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-bright); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}
.display-1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; }
.display-2 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; line-height: 1.8; }
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-white { color: var(--white) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-accent { color: var(--accent) !important; }
.text-cyan { color: var(--cyan) !important; }

/* === TOPBAR === */
#topbar {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  padding: 8px 0;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(0, 87, 255, 0.2);
}
.topbar-marquee-wrap {
  overflow: hidden;
  flex: 1;
}
.topbar-marquee {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
}
.topbar-marquee:hover { animation-play-state: paused; }
.topbar-marquee span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-marquee span::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.5rem;
}
.topbar-links a {
  color: rgba(255,255,255,0.6);
  margin-left: 16px;
  font-size: 0.8rem;
}
.topbar-links a:hover { color: var(--cyan); }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === NAVBAR === */
#navbar {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#navbar.scrolled {
  background: rgba(6, 14, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  width: 42px;
  height: 42px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(0, 87, 255, 0.4);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  letter-spacing: -0.5px;
}
.brand-name span { color: var(--cyan); }
.nav-wrapper {
  display: flex;
  align-items: center;
  padding: 14px 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav-item { position: relative; }
.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(0, 87, 255, 0.15);
}
.nav-link .chevron {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Mega Dropdown */
.dropdown-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--primary-mid);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  min-width: 680px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dropdown-simple {
  min-width: 220px;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px;
}
.nav-item:hover .dropdown-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-group-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}
.dropdown-link:hover {
  background: rgba(0, 87, 255, 0.15);
  color: white;
  transform: translateX(4px);
}
.dropdown-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 87, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.dropdown-link-text strong {
  display: block;
  font-weight: 600;
  color: white;
  font-size: 0.88rem;
}
.dropdown-link-text span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-top: 2px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  border: none;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 87, 255, 0.4);
}
.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 87, 255, 0.55);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  color: white;
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-ghost:hover {
  background: var(--accent);
  color: white;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }

/* === HERO SECTION === */
.hero {
  background: var(--gradient-hero);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 87, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 87, 255, 0.25) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: glowPulse 6s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.15) 0%, transparent 70%);
  bottom: -100px;
  left: 20%;
  animation: glowPulse 8s ease-in-out infinite alternate-reverse;
}
@keyframes glowPulse {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.1); }
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 87, 255, 0.15);
  border: 1px solid rgba(0, 87, 255, 0.3);
  color: var(--cyan);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  color: white;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-item { }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-number span { color: var(--cyan); }
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual { position: relative; }
.hero-dashboard {
  background: rgba(13, 31, 60, 0.7);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  animation: floatUp 4s ease-in-out infinite;
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.dashboard-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dd-red { background: #ff5f57; }
.dd-yellow { background: #febc2e; }
.dd-green { background: #28c840; }
.dashboard-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-left: 8px;
}
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.metric-card {
  background: rgba(0, 87, 255, 0.1);
  border: 1px solid rgba(0, 87, 255, 0.2);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.metric-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
  margin-top: 2px;
}
.metric-trend {
  font-size: 0.72rem;
  color: #28c840;
  font-family: var(--font-mono);
  margin-top: 4px;
}
.dashboard-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 16px;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent), var(--cyan));
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
  animation: barRise 1s ease-out both;
}
@keyframes barRise {
  from { height: 0 !important; opacity: 0; }
}
.dashboard-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
}
.node-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.node-pulse {
  width: 8px;
  height: 8px;
  background: #28c840;
  border-radius: 50%;
  animation: nodePulse 2s ease-in-out infinite;
}
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(40, 200, 64, 0); }
}

/* Floating cards */
.hero-float-card {
  position: absolute;
  background: rgba(13, 31, 60, 0.9);
  border: var(--border-glass);
  border-radius: 12px;
  padding: 12px 16px;
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  color: white;
}
.hero-float-1 {
  top: -20px;
  right: -20px;
  animation: floatRight 3s ease-in-out infinite;
}
.hero-float-2 {
  bottom: 20px;
  left: -30px;
  animation: floatLeft 4s ease-in-out infinite;
}
@keyframes floatRight {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes floatLeft {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

/* === SECTIONS === */
section { padding: 100px 0; }
.section-dark {
  background: var(--gradient-main);
  color: white;
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5 { color: white; }
.section-alt { background: var(--off-white); }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section-tag.light {
  background: rgba(0, 87, 255, 0.15);
  color: var(--cyan);
}

/* === CARDS === */
.card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 87, 255, 0.08);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 87, 255, 0.2);
}
.card-dark {
  background: var(--gradient-card);
  border: var(--border-glass);
  color: white;
}
.card-dark h3, .card-dark h4 { color: white; }
.card-dark p { color: rgba(255,255,255,0.65); }
.card-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card-glow:hover::after { opacity: 1; }
.card-icon {
  width: 54px;
  height: 54px;
  background: var(--gradient-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.35);
}
.card-icon.light {
  background: var(--accent-light);
  box-shadow: none;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* === ECOSYSTEM SECTION === */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-glass);
}
.eco-category {
  padding: 28px 20px;
  background: rgba(10, 22, 40, 0.5);
  transition: var(--transition);
  cursor: pointer;
}
.eco-category:hover { background: rgba(0, 87, 255, 0.1); }
.eco-cat-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.eco-cat-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.eco-cat-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
}
.eco-items { margin-top: 14px; }
.eco-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  padding: 4px 0;
  transition: var(--transition);
}
.eco-item:hover { color: rgba(255,255,255,0.9); }
.eco-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* === FEATURES/SERVICES === */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* === PROCESS STEPS === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0.3;
}
.process-step { text-align: center; padding: 20px; position: relative; }
.step-number {
  width: 72px;
  height: 72px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 30px rgba(0, 87, 255, 0.4);
  position: relative;
  z-index: 1;
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); }

/* === TESTIMONIALS === */
.testimonials-section { background: var(--primary); }
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.testimonial-quote {
  font-size: 2.5rem;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}
.author-name {
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
}
.author-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.testimonial-stars { color: #ffd700; font-size: 0.8rem; margin-bottom: 14px; }

/* === PRICING === */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.pricing-card.standard {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
}
.pricing-card.featured {
  background: var(--primary);
  border: 2px solid var(--accent);
  color: white;
  transform: scale(1.04);
  box-shadow: var(--shadow-glow);
}
.pricing-card.featured h3, .pricing-card.featured p { color: white; }
.pricing-card.enterprise { background: var(--off-white); border: 1px solid rgba(0,0,0,0.08); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin: 20px 0 8px;
}
.pricing-card.featured .pricing-price { color: white; }
.pricing-price .currency {
  font-size: 1.3rem;
  font-weight: 600;
  vertical-align: super;
  margin-right: 2px;
}
.pricing-price .period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card.featured .pricing-price .period { color: rgba(255,255,255,0.5); }
.pricing-features {
  margin: 28px 0;
  text-align: left;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pricing-card.featured .pricing-feature { border-color: rgba(255,255,255,0.05); color: rgba(255,255,255,0.8); }
.pricing-feature .check { color: #28c840; font-size: 0.85rem; }
.pricing-feature .cross { color: rgba(0,0,0,0.25); }

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid rgba(0, 87, 255, 0.08);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 16px;
}
.faq-question:hover { color: var(--accent); }
.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.active .faq-icon {
  background: var(--accent);
  color: white;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* === CTA SECTION === */
.cta-section {
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 87, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-content h2 { color: white; font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 20px; }
.cta-content p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 560px; margin: 0 auto 40px; }

/* === FORM STYLES === */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 87, 255, 0.12);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.08);
}
.form-control.is-invalid { border-color: #e53e3e; }
.form-control::placeholder { color: rgba(0,0,0,0.3); }
.form-error { font-size: 0.78rem; color: #e53e3e; margin-top: 4px; }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; cursor: pointer; }

/* === SIDEBAR === */
.sidebar-widget {
  background: white;
  border: 1px solid rgba(0, 87, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-widget-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  font-family: var(--font-mono);
}

/* === BLOG === */
.blog-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 87, 255, 0.06);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-image {
  height: 200px;
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card-body { padding: 24px; }
.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}
.blog-card-body h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-body h3 a { color: var(--primary); }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* === PAGINATION === */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.page-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border: 1.5px solid rgba(0, 87, 255, 0.1);
  transition: var(--transition);
  background: white;
}
.page-btn:hover, .page-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* === FOOTER === */
footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { }
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand-logo .logo {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
}
.footer-brand-logo span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
}
.footer-brand-logo span b { color: var(--cyan); }
.footer-desc { font-size: 0.87rem; line-height: 1.8; color: rgba(255,255,255,0.45); margin-bottom: 24px; }
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.04);
}
.social-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-3px);
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}
.footer-contact-item .icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* === WHATSAPP WIDGET === */
.whatsapp-widget {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9999;
}
.whatsapp-btn {
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  cursor: pointer;
  animation: waBounce 3s ease-in-out infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); background: #20bb5c; }
@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.whatsapp-widget:hover .whatsapp-tooltip { opacity: 1; }
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: white;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 9998;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.97);
  border-top: 1px solid rgba(0, 87, 255, 0.2);
  backdrop-filter: blur(20px);
  z-index: 10000;
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { font-size: 0.85rem; color: rgba(255,255,255,0.7); max-width: 700px; }
.cookie-text a { color: var(--cyan); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* === ALERTS / MESSAGES === */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.alert-success { background: rgba(40, 200, 64, 0.08); border: 1px solid rgba(40, 200, 64, 0.2); color: #166534; }
.alert-error { background: rgba(229, 62, 62, 0.08); border: 1px solid rgba(229, 62, 62, 0.2); color: #991b1b; }
.alert-info { background: rgba(0, 87, 255, 0.06); border: 1px solid rgba(0, 87, 255, 0.15); color: var(--accent); }

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb-sep { color: rgba(0,0,0,0.2); }

/* === PAGE HERO (subpages) === */
.page-hero {
  background: var(--gradient-hero);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 87, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.05rem; max-width: 600px; }

/* === TABS === */
.tabs-nav {
  display: flex;
  gap: 4px;
  background: rgba(0, 87, 255, 0.04);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--text); background: rgba(0, 87, 255, 0.06); }
.tab-btn.active { background: white; color: var(--accent); box-shadow: var(--shadow-sm); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* === LOGO STRIP / PARTNERS === */
.partners-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.partner-logo {
  opacity: 0.35;
  filter: grayscale(1);
  transition: var(--transition);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
}
.partner-logo:hover { opacity: 0.8; filter: none; }

/* === CAREER PAGE === */
.job-card {
  background: white;
  border: 1px solid rgba(0, 87, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: rgba(0, 87, 255, 0.2); }
.job-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.job-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.job-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-mono);
}

/* === ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-left { opacity: 0; transform: translateX(-24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-left.visible { opacity: 1; transform: none; }
.fade-in-right { opacity: 0; transform: translateX(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-right.visible { opacity: 1; transform: none; }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Number counter animation */
.counter-number { font-variant-numeric: tabular-nums; }

/* === UTILITY === */
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; }
.grid { display: grid; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.gap-5 { gap: 48px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.d-none { display: none; }
.d-flex { display: flex; }
.hidden-mobile { }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 87, 255, 0.15), transparent);
  margin: 20px 0;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .ecosystem-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  section { padding: 70px 0; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-deep);
    align-items: flex-start;
    padding: 80px 24px 40px;
    overflow-y: auto;
    z-index: 999;
    gap: 4px;
  }
  .nav-link { width: 100%; padding: 14px 16px; font-size: 1rem; }
  .dropdown-mega {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: unset;
    width: 100%;
    grid-template-columns: 1fr;
    padding: 8px;
    margin-top: 4px;
    display: none;
  }
  .nav-item.open .dropdown-mega { display: grid; }
  .hero { min-height: auto; padding: 60px 0; }
  .hero-visual { margin-top: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .topbar-links { display: none; }
  .hero-float-1, .hero-float-2 { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .dashboard-metrics { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
}
