/* ===================================================
   HOMILOTECH - Premium Dark Tech Theme
   Design System & Global Styles
=================================================== */

/* --- Google Fonts Import (fallback if not loaded via HTML) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Colors */
  --primary:       #4facfe;
  --primary-dark:  #1a6ed8;
  --primary-glow:  rgba(79, 172, 254, 0.25);
  --accent:        #00f2fe;
  --accent-purple: #7c3aed;
  --accent-cyan:   #06b6d4;
  --accent-green:  #22c55e;
  --accent-red:    #ef4444;
  --accent-orange: #f97316;

  /* Backgrounds */
  --bg-base:       #070d1f;
  --bg-section:    #0a1128;
  --bg-card:       #0d1b3e;
  --bg-card-hover: #112247;
  --bg-glass:      rgba(13, 27, 62, 0.8);
  --bg-input:      rgba(255,255,255,0.04);
  --bg-light:      #f0f4ff;

  /* Borders */
  --border:        rgba(79, 172, 254, 0.15);
  --border-strong: rgba(79, 172, 254, 0.35);

  /* Text */
  --text-primary:  #f0f6ff;
  --text-secondary:#94a3c8;
  --text-muted:    #5a6a8a;

  /* Gradients */
  --grad-primary:  linear-gradient(135deg, #4facfe, #00f2fe);
  --grad-brand:    linear-gradient(135deg, #4facfe 0%, #1a6ed8 100%);
  --grad-purple:   linear-gradient(135deg, #7c3aed, #a855f7);
  --grad-green:    linear-gradient(135deg, #22c55e, #16a34a);
  --grad-cyan:     linear-gradient(135deg, #06b6d4, #0891b2);
  --grad-red:      linear-gradient(135deg, #ef4444, #dc2626);
  --grad-orange:   linear-gradient(135deg, #f97316, #ea580c);

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow:   0 0 40px rgba(79, 172, 254, 0.2);
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(79,172,254,0.08);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl:6rem;

  /* Border Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;

  /* Typography */
  --font-sans:   'Outfit', 'Inter', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Light section override --- */
.section-light {
  --bg-section:    #f0f4ff;
  --bg-card:       #ffffff;
  --text-primary:  #111827;
  --text-secondary:#374151;
}

/* ===================================================
   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);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================
   TYPOGRAPHY
=================================================== */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================================
   NAVBAR
=================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(7, 13, 31, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  border-bottom-color: var(--border);
  background: rgba(7, 13, 31, 0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.5));
  transition: filter var(--transition);
}

.logo-icon.small { width: 30px; height: 30px; }

.nav-logo:hover .logo-icon {
  filter: drop-shadow(0 0 18px rgba(79, 172, 254, 0.8));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: #fff;
}

.logo-sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(79, 172, 254, 0.1);
}

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

.btn-login {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.btn-login:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-card);
}

.btn-primary {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  background: var(--grad-brand);
  box-shadow: 0 4px 16px rgba(79, 172, 254, 0.35);
  transition: all var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 172, 254, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===================================================
   NETWORK CANVAS
=================================================== */
.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* ===================================================
   HERO SECTION
=================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  background: var(--bg-base);
}

.hero-bg-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  z-index: 0;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

.hero-glow-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; left: -100px;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 500px; height: 500px;
  background: var(--accent-purple);
  bottom: -100px; right: -100px;
  animation-delay: 3s;
}

@keyframes pulse-glow {
  0%   { opacity: 0.12; transform: scale(1); }
  100% { opacity: 0.22; transform: scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 172, 254, 0.1);
  border: 1px solid rgba(79, 172, 254, 0.25);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  animation: fadeInDown 0.6s ease forwards;
}

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

@keyframes blink-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--primary); }
  50%       { opacity: 0.4; box-shadow: 0 0 4px var(--primary); }
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeInDown 0.7s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.7;
  animation: fadeInDown 0.7s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: var(--grad-brand);
  box-shadow: 0 8px 32px rgba(79, 172, 254, 0.45);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(79, 172, 254, 0.6);
}

.btn-hero-primary:hover::after { opacity: 1; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: transparent;
  transition: all var(--transition);
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(79, 172, 254, 0.06);
  transform: translateY(-2px);
}

.hero-microcopy {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
  animation: fadeInUp 0.7s ease 0.4s both;
}

/* --- Dashboard Mockup --- */
.hero-dashboard {
  margin-top: 56px;
  animation: fadeInUp 0.9s ease 0.5s both;
}

.dashboard-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  max-width: 820px;
  margin: 0 auto;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.dashboard-frame:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(79,172,254,0.3);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.dashboard-title-bar {
  flex: 1;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 260px;
}

.db-sidebar {
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.db-sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.db-sidebar-item:hover,
.db-sidebar-item.active {
  background: rgba(79,172,254,0.12);
  color: var(--primary);
}

.db-icon { font-size: 0.9rem; }

.db-main {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.db-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.db-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: all var(--transition);
}

.db-stat-card:hover {
  border-color: var(--border-strong);
  background: rgba(79,172,254,0.05);
}

.db-stat-card.accent {
  background: linear-gradient(135deg, rgba(79,172,254,0.15), rgba(0,242,254,0.05));
  border-color: rgba(79,172,254,0.3);
}

.stat-label { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 4px; }
.stat-value { font-size: 1.2rem; font-weight: 800; font-family: var(--font-sans); }
.stat-badge { font-size: 0.65rem; font-weight: 700; margin-top: 4px; }
.stat-badge.up { color: var(--accent-green); }

.db-chart-area {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  flex: 1;
}

.db-chart-label { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 10px; }

.db-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.db-bar {
  flex: 1;
  height: var(--h);
  background: rgba(79,172,254,0.25);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.db-bar span { font-size: 0.55rem; color: var(--text-muted); padding-bottom: 2px; position: absolute; bottom: -16px; }
.db-bar.accent { background: var(--grad-primary); }

.db-ai-widget {
  background: linear-gradient(135deg, rgba(79,172,254,0.08), rgba(124,58,237,0.05));
  border: 1px solid rgba(79,172,254,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.ai-widget-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.ai-dot {
  width: 7px; height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: blink-dot 1.5s ease-in-out infinite;
}

.ai-message { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5; }
.ai-message strong { color: var(--primary); }

/* ===================================================
   LOGOS BAND
=================================================== */
.logos-band {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.logos-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-inner {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: logos-scroll 35s linear infinite;
}

@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}

.tech-badge:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

/* ===================================================
   SECTIONS - Generic
=================================================== */
.section {
  padding: var(--space-2xl) 0;
  background: var(--bg-base);
}

.section-dark {
  background: var(--bg-section);
}

.section-tag {
  display: inline-block;
  background: rgba(79, 172, 254, 0.1);
  border: 1px solid rgba(79, 172, 254, 0.25);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* Center alignment helper */
.section .container > .section-tag,
.section .container > .section-title,
.section .container > .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

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

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

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(79,172,254,0.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(79,172,254,0.1);
}

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

.service-card.featured {
  border-color: rgba(79,172,254,0.4);
  background: linear-gradient(135deg, rgba(79,172,254,0.08), rgba(13,27,62,0.9));
  box-shadow: 0 0 40px rgba(79,172,254,0.12);
}

.featured-badge {
  display: inline-block;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: white;
}

.gradient-blue   { background: var(--grad-brand); box-shadow: 0 4px 16px rgba(79,172,254,0.3); }
.gradient-purple { background: var(--grad-purple); box-shadow: 0 4px 16px rgba(124,58,237,0.3); }
.gradient-cyan   { background: var(--grad-cyan);   box-shadow: 0 4px 16px rgba(6,182,212,0.3); }
.gradient-green  { background: var(--grad-green);  box-shadow: 0 4px 16px rgba(34,197,94,0.3); }
.gradient-red    { background: var(--grad-red);    box-shadow: 0 4px 16px rgba(239,68,68,0.3); }
.gradient-orange { background: var(--grad-orange); box-shadow: 0 4px 16px rgba(249,115,22,0.3); }

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.service-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), color var(--transition);
}

.service-cta:hover { gap: 8px; color: var(--accent); }

/* ===================================================
   STEPS
=================================================== */
.steps-container {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  flex: 1;
  max-width: 320px;
  position: relative;
  transition: all var(--transition-slow);
}

.step-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.step-card.featured {
  border-color: rgba(79,172,254,0.4);
  background: linear-gradient(135deg, rgba(79,172,254,0.1), var(--bg-card));
  box-shadow: 0 0 50px rgba(79,172,254,0.15);
  transform: scale(1.04);
  z-index: 1;
}

.step-card.featured:hover { transform: scale(1.04) translateY(-8px); }

.step-number {
  font-family: var(--font-sans);
  font-size: 3rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.step-icon {
  width: 56px; height: 56px;
  background: rgba(79,172,254,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: all var(--transition);
}

.step-card:hover .step-icon,
.step-card.featured .step-icon {
  background: rgba(79,172,254,0.15);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(79,172,254,0.25);
}

.step-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

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

.step-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(79,172,254,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  padding: 0 8px;
  flex-shrink: 0;
  flex-direction: column;
  gap: 4px;
}

.connector-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--border), var(--primary), var(--border));
  margin-bottom: 4px;
}

/* ===================================================
   FEATURES SHOWCASE
=================================================== */
.features-showcase {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

.features-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.feature-item:hover {
  background: rgba(79,172,254,0.05);
  border-color: var(--border);
}

.feature-item.active {
  background: rgba(79,172,254,0.1);
  border-color: rgba(79,172,254,0.3);
}

.feature-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79,172,254,0.08);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.feature-item.active .feature-item-icon {
  background: rgba(79,172,254,0.2);
  box-shadow: 0 0 16px rgba(79,172,254,0.2);
}

.feature-item-content h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  transition: color var(--transition);
}

.feature-item.active .feature-item-content h4 { color: var(--primary); }

.feature-item-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature Panels */
.features-right { position: relative; min-height: 380px; }

.feature-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition-slow);
}

.feature-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.panel-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  height: 100%;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px; height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: blink-dot 1.5s ease-in-out infinite;
}

.mockup-dot.red { background: var(--accent-red); box-shadow: 0 0 8px var(--accent-red); }

.mockup-title {
  flex: 1;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mockup-status { font-size: 0.72rem; color: var(--accent-green); font-weight: 600; }

/* --- AI Chat Mockup --- */
.chat-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.chat-msg.user {
  background: rgba(79,172,254,0.15);
  border: 1px solid rgba(79,172,254,0.2);
  color: var(--text-primary);
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
}

.chat-msg.ai {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  align-self: flex-start;
  background: transparent;
  padding: 0;
  max-width: 90%;
}

.ai-avatar {
  width: 30px; height: 30px;
  background: var(--grad-brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.ai-text {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: 4px 12px 12px 12px;
}

.ai-text strong { color: var(--primary); }

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  align-self: flex-start;
}

.typing-indicator span {
  width: 7px; height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%       { transform: translateY(-4px); opacity: 1; }
}

/* --- Flow Mockup --- */
.flow-canvas {
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  min-width: 80px;
  text-align: center;
}

.flow-node.trigger { background: rgba(79,172,254,0.1); border-color: rgba(79,172,254,0.3); color: var(--primary); }
.flow-node.process { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3); color: #a855f7; }
.flow-node.action  { background: rgba(34,197,94,0.1);  border-color: rgba(34,197,94,0.3); color: var(--accent-green); }

.flow-node-icon { font-size: 1.2rem; }
.flow-arrow { font-size: 1rem; color: var(--text-muted); }

.flow-row-2 {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}

.flow-stats {
  width: 100%;
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.flow-stats span {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* --- Analytics Mockup --- */
.analytics-body { padding: 16px; }

.analytics-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.kpi-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}

.kpi-val { font-size: 1.1rem; font-weight: 800; font-family: var(--font-sans); }
.kpi-label { font-size: 0.65rem; color: var(--text-muted); margin: 2px 0; }
.kpi-delta { font-size: 0.65rem; color: var(--accent-green); font-weight: 700; }

.analytics-chart { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; }

.chart-bars-mini {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
}

.chart-bar-mini {
  flex: 1;
  height: var(--h);
  background: var(--grad-primary);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: height 0.8s ease, opacity var(--transition);
}

.chart-bar-mini:hover { opacity: 1; }

/* --- Web Mockup --- */
.web-preview { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.web-nav-bar { height: 24px; background: rgba(255,255,255,0.04); border-radius: 6px; }
.web-hero-bar {
  height: 80px;
  background: linear-gradient(135deg, rgba(79,172,254,0.15), rgba(124,58,237,0.08));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
}
.web-hero-text { width: 60%; height: 16px; background: rgba(255,255,255,0.15); border-radius: 4px; }
.web-hero-cta  { width: 28%; height: 28px; background: var(--grad-brand); border-radius: 20px; }
.web-content-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.web-card { height: 60px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; }
.web-metrics { display: flex; gap: 10px; flex-wrap: wrap; }
.web-metrics span { font-size: 0.7rem; color: var(--text-muted); background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 3px 10px; border-radius: var(--radius-full); }

/* --- Security Mockup --- */
.security-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.security-score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.score-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 4px solid var(--accent-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(34,197,94,0.3);
}
.score-val { font-size: 1.5rem; font-weight: 900; color: var(--accent-green); font-family: var(--font-sans); }
.score-label { font-size: 0.6rem; color: var(--text-muted); }
.score-text { font-size: 0.75rem; color: var(--text-muted); }
.security-alerts { display: flex; flex-direction: column; gap: 6px; }
.alert-item { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; padding: 8px 10px; border-radius: var(--radius-sm); }
.alert-item.ok      { background: rgba(34,197,94,0.07); border: 1px solid rgba(34,197,94,0.2); color: var(--text-secondary); }
.alert-item.warning { background: rgba(234,179,8,0.07); border: 1px solid rgba(234,179,8,0.2); color: #eab308; }

/* ===================================================
   DEMO SECTION
=================================================== */
.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.form-group { margin-bottom: 20px; }

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

.form-group select,
.form-group textarea,
.form-group input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group select:focus,
.form-group textarea:focus,
.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,172,254,0.12);
}

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

.size-options { display: flex; gap: 8px; }

.size-btn {
  flex: 1;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-input);
  transition: all var(--transition);
}

.size-btn:hover { border-color: var(--primary); color: var(--primary); }
.size-btn.active { border-color: var(--primary); color: var(--primary); background: rgba(79,172,254,0.1); }

.btn-generate {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--grad-brand);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(79,172,254,0.35);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(79,172,254,0.5);
}

.btn-generate.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.demo-note { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 10px; }

.demo-result-area {
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  transition: all var(--transition);
}

.demo-result-placeholder {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
}

.placeholder-icon {
  width: 64px; height: 64px;
  background: rgba(79,172,254,0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
}

.demo-result-placeholder h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-secondary); }
.demo-result-placeholder p  { font-size: 0.82rem; line-height: 1.6; }

.ai-result {
  padding: 24px;
  text-align: left;
  animation: fadeInUp 0.5s ease both;
}

.ai-result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.ai-result-title { font-weight: 700; font-size: 0.95rem; }
.ai-result-score {
  margin-left: auto;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  font-size: 1.1rem;
}

.ai-result-section { margin-bottom: 14px; }
.ai-result-section h5 { font-size: 0.78rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.ai-result-section ul { display: flex; flex-direction: column; gap: 5px; }
.ai-result-section li { font-size: 0.8rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 6px; }

/* ===================================================
   TESTIMONIALS
=================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-slow);
}

.testimonial-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testimonial-card.featured {
  background: linear-gradient(135deg, rgba(79,172,254,0.1), var(--bg-card));
  border-color: rgba(79,172,254,0.35);
  box-shadow: var(--shadow-glow);
}

.stars { font-size: 1rem; color: #f59e0b; margin-bottom: 14px; letter-spacing: 2px; }

.testimonial-card > p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; font-size: 0.85rem; font-weight: 700; }
.testimonial-author span   { font-size: 0.75rem; color: var(--text-muted); }

/* Stats Band */
.stats-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 48px;
  box-shadow: var(--shadow-glow);
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.stat-item > div { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.stat-num {
  font-family: var(--font-sans);
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item > span:nth-child(2) {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===================================================
   PRICING
=================================================== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.toggle-label { font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); }

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  cursor: pointer;
  transition: all var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition);
}

.toggle-switch input:checked + .toggle-slider { background: rgba(79,172,254,0.2); border-color: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); background: var(--primary); box-shadow: 0 0 10px rgba(79,172,254,0.5); }

.discount-badge {
  display: inline-block;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--accent-green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition-slow);
  overflow: hidden;
}

.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.pricing-card.popular {
  border-color: rgba(79,172,254,0.5);
  background: linear-gradient(160deg, rgba(79,172,254,0.12), var(--bg-card) 70%);
  box-shadow: 0 0 60px rgba(79,172,254,0.2);
}

.pricing-card.popular:hover { transform: translateY(-8px) scale(1.01); }

.popular-badge {
  position: absolute;
  top: 0; left: 0; right: 0;
  text-align: center;
  background: var(--grad-brand);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px;
  letter-spacing: 0.04em;
}

.plan-badge-tag {
  position: absolute;
  top: 16px; right: -10px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 14px 4px 10px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8% 50%);
  letter-spacing: 0.04em;
}

.plan-name { font-family: var(--font-sans); font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; margin-top: 28px; }
.plan-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 2px;
}

.price-amount {
  font-family: var(--font-sans);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.price-currency { font-size: 1rem; font-weight: 700; color: var(--text-secondary); }
.price-period   { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 24px; display: block; }

.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.855rem;
  color: var(--text-secondary);
}

.plan-features li.disabled { color: var(--text-muted); }

.btn-plan {
  width: 100%;
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  background: transparent;
  transition: all var(--transition);
}

.btn-plan:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(79,172,254,0.06);
  transform: translateY(-1px);
}

.btn-plan.popular {
  background: var(--grad-brand);
  border-color: transparent;
  color: white;
  box-shadow: 0 6px 24px rgba(79,172,254,0.4);
}

.btn-plan.popular:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(79,172,254,0.55);
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 32px;
  background: rgba(79,172,254,0.06);
  border: 1px solid rgba(79,172,254,0.15);
  border-radius: var(--radius-full);
}

.pricing-guarantee p { font-size: 0.875rem; color: var(--text-secondary); }
.pricing-guarantee p strong { color: var(--text-primary); }

/* ===================================================
   FAQ
=================================================== */
.faq-container { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open   { border-color: rgba(79,172,254,0.35); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}

.faq-item.open .faq-question { color: var(--primary); }

.faq-arrow {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height var(--transition-slow);
}

.faq-answer p {
  padding: 0 22px 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================
   CTA / CONTACT SECTION
=================================================== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79,172,254,0.12), transparent 70%);
  pointer-events: none;
}

.contact-form-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .form-group { margin-bottom: 16px; }

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--grad-brand);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(79,172,254,0.4);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(79,172,254,0.6);
}

.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-note { text-align: center; font-size: 0.76rem; color: var(--text-muted); margin-top: 10px; }

/* ===================================================
   FOOTER
=================================================== */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; }

.social-link {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(79,172,254,0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a,
.footer-col ul li span {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

.footer-legal {
  display: flex;
  gap: 20px;
}

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

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

/* ===================================================
   TOAST NOTIFICATION
=================================================== */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid rgba(34,197,94,0.4);
  color: var(--accent-green);
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ===================================================
   ANIMATIONS
=================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1100px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .features-showcase { grid-template-columns: 320px 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav-links        { display: none; }
  .hamburger        { display: flex; }
  .steps-container  { flex-direction: column; align-items: stretch; gap: 16px; }
  .step-card.featured { transform: none; }
  .step-card.featured:hover { transform: translateY(-8px); }
  .step-connector   { flex-direction: row; padding: 0; }
  .connector-line   { width: 60px; }
  .features-showcase { grid-template-columns: 1fr; }
  .features-right   { min-height: 300px; }
  .demo-container   { grid-template-columns: 1fr; }
  .stats-band       { flex-wrap: wrap; gap: 24px; padding: 24px; }
  .stat-divider     { display: none; }
  .pricing-grid     { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 32px; }
  .dashboard-body   { grid-template-columns: 1fr; }
  .db-sidebar       { display: none; }
  .stats-band       { padding: 24px 16px; }
}

@media (max-width: 640px) {
  .hero             { padding: 120px 20px 60px; }
  .services-grid    { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom    { flex-direction: column; gap: 12px; text-align: center; }
  .dashboard-body   { min-height: auto; }
  .db-stats         { grid-template-columns: 1fr; }
  .hero-cta         { flex-direction: column; align-items: stretch; }
  .btn-hero-primary,
  .btn-hero-secondary { justify-content: center; }
  .nav-actions .btn-login { display: none; }
  .contact-form-card { padding: 24px 20px; }
  .demo-container   { padding: 20px; }
}

/* Mobile nav open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 13, 31, 0.98);
  backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

.nav-links.open .nav-link {
  font-size: 1.3rem;
  font-weight: 700;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(79,172,254,0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(79,172,254,0.45); }

/* --- Contact Form Extra Fields --- */
.form-row-phone {
  display: flex;
  gap: 15px;
}
.form-group-code {
  flex: 0 0 130px;
}
.form-group-tel {
  flex: 1;
}
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.contact-form select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(26,110,216,0.1);
}
.captcha-group {
  margin-top: 10px;
}
.captcha-group label {
  color: var(--text-primary);
  font-weight: 500;
}
.captcha-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 5px;
}

/* --- Privacy Modal --- */
.privacy-modal {
  display: none; 
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.privacy-modal.show {
  display: flex;
  opacity: 1;
}
.privacy-modal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px 40px;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  color: var(--text-primary);
}
.privacy-modal.show .privacy-modal-content {
  transform: translateY(0);
}
.privacy-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.privacy-close:hover {
  color: var(--accent-blue);
}
.privacy-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}
.privacy-modal-content h4 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--accent-blue);
}
.privacy-modal-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* --- Theme Toggle --- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-primary);
  background-color: transparent;
  transition: all 0.3s ease;
  margin-right: 10px;
}
.theme-toggle:hover {
  background-color: var(--bg-hover);
  color: var(--accent-blue);
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .theme-toggle {
    margin-right: 15px;
  }
}

/* AI Chat Widget */
.ai-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.chat-window {
  width: 380px;
  height: 600px;
  max-height: calc(100vh - 120px);
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
  transform-origin: bottom right;
}

.chat-window.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  background: var(--grad-primary);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
}

.chat-avatar {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  padding: 0;
}

.chat-close:hover {
  opacity: 1;
}

.chat-iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: var(--bg-main);
}

/* Floating Button */
.ai-chat-bubble {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #128C7E, #25D366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  padding: 0;
  pointer-events: auto;
}

.ai-chat-bubble:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  color: white;
}

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

.chat-bubble-tooltip {
  position: absolute;
  right: 75px;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  pointer-events: none;
}

.ai-chat-bubble:hover .chat-bubble-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .ai-chat-widget {
    bottom: 20px;
    right: 20px;
  }
  .ai-chat-bubble {
    width: 55px;
    height: 55px;
  }
  .chat-bubble-tooltip {
    display: none;
  }
  .chat-window {
    width: calc(100vw - 40px);
    height: calc(100vh - 100px);
    position: fixed;
    bottom: 85px;
    right: 20px;
    margin-bottom: 0;
  }
}
