/* ==========================================================================
   FEER — Custom Styles (complementa Tailwind CDN)
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --bg-base: #0B0F19;
  --bg-card: #1C2438;
  --bg-card-hover: #232b42;
  --primary: #3B82F6;
  --primary-glow: rgba(59, 130, 246, 0.45);
  --secondary: #6366F1;
  --accent: #58DDF5;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --success: #22C55E;
  --danger: #EF4444;
  --glass-bg: rgba(28, 36, 56, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* --- Base Resets --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* --- Glassmorphism Utility --- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 150;
  transition: width 0.1s ease-out;
}

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.3);
}
@media (min-width: 769px) {
  .navbar.floating {
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1200px;
    background: rgba(11, 15, 25, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.05);
    padding: 10px 24px;
  }
}
.nav-logo svg { transition: transform var(--transition); }
.nav-logo:hover svg { transform: scale(1.06); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-main); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(11, 15, 25, 0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.25rem; font-weight: 500; transition: color var(--transition); }
.mobile-menu a:hover { color: var(--primary); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none !important; }
  .nav-cta-desktop { display: none !important; }
}

/* --- CTA Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  background: var(--primary); color: #fff; font-weight: 600; font-size: 0.95rem;
  border: none; transition: var(--transition);
  box-shadow: 0 0 20px var(--primary-glow), 0 4px 12px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  background: #2563EB; transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary-glow), 0 8px 20px rgba(0,0,0,0.4);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-main); font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--glass-border); transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* --- Hero --- */
.hero-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.3;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 500;
  background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--accent); margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse-dot 2s infinite; }
.hero-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.hero-stat .label { font-size: 0.75rem; color: var(--text-muted); }

/* Interactive graph area */
.hero-graph-container {
  position: relative; width: 100%; aspect-ratio: 1;
  max-width: 480px; margin: 0 auto;
}
.hero-graph-container canvas { width: 100%; height: 100%; }

/* --- Problem/Solution Section --- */
.problem-card, .solution-card {
  padding: 20px; border-radius: var(--radius-sm); transition: transform var(--transition);
}
.problem-card {
  background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.15);
}
.solution-card {
  background: rgba(34, 197, 94, 0.06); border: 1px solid rgba(34, 197, 94, 0.15);
}
.problem-card:hover, .solution-card:hover { transform: translateY(-4px); }

/* --- Service Cards --- */
.service-card {
  padding: 32px 24px; border-radius: var(--radius);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.05);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-card.featured {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}
.service-card.featured::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(59, 130, 246, 0.1); color: var(--primary); font-size: 1.5rem; margin-bottom: 20px;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent);
}
.badge-new {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 12px; border-radius: 999px; font-size: 0.7rem; font-weight: 700;
  background: var(--primary); color: #fff; letter-spacing: 0.5px;
}

/* --- Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 32px;
  position: relative;
}
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.process-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.process-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.05);
}
.process-card:hover::after {
  opacity: 1;
}

.process-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: 16px;
  right: 20px;
  font-style: italic;
  pointer-events: none;
  user-select: none;
  transition: var(--transition);
}
.process-card:hover .process-step-num {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition);
}
.process-card:hover .process-icon {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--primary);
  color: var(--accent);
}

/* --- Programa Comercial --- */
.programa-card {
  padding: 36px 28px; border-radius: var(--radius);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); transition: var(--transition);
  position: relative;
}
.programa-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.25); }
.comision-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 700; font-size: 0.85rem;
}

/* --- Client Logos Showcase (Carousel 3D) --- */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.logo-carousel {
  position: relative;
  width: 100%;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-logo-card {
  position: absolute;
  width: 220px;
  height: 100px;
  background: transparent;
  border: none;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  overflow: visible;
  opacity: 0;
  transform: scale(0.6) translateX(0);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Morph background elements inside cards */
@keyframes morph-blob {
  0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  33% { border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%; }
  66% { border-radius: 50% 50% 30% 70% / 40% 60% 30% 70%; }
}

.logo-morph-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  filter: blur(14px);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease, width 0.4s ease, height 0.4s ease;
  animation: morph-blob 8s ease-in-out infinite;
  pointer-events: none;
}

.project-logo-card.type-web .logo-morph-bg {
  background: radial-gradient(circle, var(--accent) 0%, transparent 80%);
}

.project-logo-card.type-bot .logo-morph-bg {
  background: radial-gradient(circle, var(--success) 0%, transparent 80%);
}

.project-logo-card svg, .project-logo-card .project-card-label {
  position: relative;
  z-index: 2;
}

.project-logo-card svg {
  max-width: 120px;
  max-height: 38px;
  width: 100%;
  height: auto;
  fill: currentColor;
  opacity: 0.45;
  transition: all 0.4s;
  color: var(--text-muted);
}

.project-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: absolute;
  bottom: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* --- Carousel Positions --- */

/* Active (Center) Card */
.project-logo-card.active {
  opacity: 1;
  transform: scale(1.15) translateX(0);
  z-index: 10;
  pointer-events: auto;
}

/* Active Cyan Glowing style */
.project-logo-card.active.type-web {
  background: transparent;
}
.project-logo-card.active.type-web svg {
  color: var(--accent);
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(88, 221, 245, 0.5));
}
.project-logo-card.active.type-web .logo-morph-bg {
  opacity: 0.18;
}

/* Active Green Glowing style */
.project-logo-card.active.type-bot {
  background: transparent;
}
.project-logo-card.active.type-bot svg {
  color: var(--success);
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
}
.project-logo-card.active.type-bot .logo-morph-bg {
  opacity: 0.18;
}

/* Active hover shows label and elevates morph glow */
.project-logo-card.active:hover svg {
  transform: translateY(-6px) scale(1.02);
}
.project-logo-card.active.type-web:hover .project-card-label {
  bottom: 8px;
  opacity: 1;
  color: var(--accent);
}
.project-logo-card.active.type-bot:hover .project-card-label {
  bottom: 8px;
  opacity: 1;
  color: var(--success);
}
.project-logo-card.active:hover .logo-morph-bg {
  opacity: 0.28;
  width: 100px;
  height: 100px;
  filter: blur(10px);
}

/* Prev (Left) Card */
.project-logo-card.prev {
  opacity: 0.55;
  transform: scale(0.9) translateX(-185px);
  z-index: 7;
  pointer-events: auto;
}

/* Next (Right) Card */
.project-logo-card.next {
  opacity: 0.55;
  transform: scale(0.9) translateX(185px);
  z-index: 7;
  pointer-events: auto;
}

/* Prev 2 (Far Left) Card */
.project-logo-card.far-prev {
  opacity: 0.22;
  transform: scale(0.7) translateX(-340px);
  z-index: 4;
  pointer-events: auto;
}

/* Next 2 (Far Right) Card */
.project-logo-card.far-next {
  opacity: 0.22;
  transform: scale(0.7) translateX(340px);
  z-index: 4;
  pointer-events: auto;
}

/* Hidden Cards */
.project-logo-card.hidden-card {
  opacity: 0;
  transform: scale(0.5) translateX(0);
  z-index: 1;
  pointer-events: none;
}

/* Adjust translateX for responsiveness */
@media (max-width: 920px) {
  .project-logo-card.far-prev {
    opacity: 0;
    transform: scale(0.6) translateX(-220px);
    pointer-events: none;
  }
  .project-logo-card.far-next {
    opacity: 0;
    transform: scale(0.6) translateX(220px);
    pointer-events: none;
  }
  .project-logo-card.prev {
    transform: scale(0.8) translateX(-160px);
    opacity: 0.45;
  }
  .project-logo-card.next {
    transform: scale(0.8) translateX(160px);
    opacity: 0.45;
  }
}

@media (max-width: 640px) {
  .project-logo-card {
    width: 170px;
    height: 85px;
  }
  .project-logo-card.prev {
    transform: scale(0.75) translateX(-110px);
    opacity: 0.4;
  }
  .project-logo-card.next {
    transform: scale(0.75) translateX(110px);
    opacity: 0.4;
  }
  .project-logo-card.active {
    transform: scale(1.05) translateX(0);
  }
}

/* --- Testimonios --- */
.testimonial-card {
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); transition: var(--transition);
  position: relative; overflow: hidden;
}
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(99, 102, 241, 0.05);
}
.testimonial-card:hover::after {
  opacity: 1;
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: #fff;
}
.stars { color: #FBBF24; display: flex; gap: 2px; }

/* --- FAQ Accordion --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-item.active {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 4px 30px rgba(59, 130, 246, 0.05);
}

.faq-header {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--text-main);
  transition: color var(--transition);
}

.faq-question {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition);
  color: var(--text-muted);
}

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

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-content-inner {
  overflow: hidden;
}

.faq-answer {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Form Multi-Step --- */
.form-container {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 40px 32px; max-width: 640px; margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.progress-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; margin-bottom: 32px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; transition: width 0.5s ease; }
.step-indicator { display: flex; justify-content: center; gap: 12px; margin-bottom: 28px; }
.step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.1); transition: var(--transition);
}
.step-dot.active { background: var(--primary); box-shadow: 0 0 10px var(--primary-glow); }
.step-dot.completed { background: var(--success); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeInUp 0.4s ease; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  color: var(--text-main); font-family: inherit; font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-group select option { background: var(--bg-card); color: var(--text-main); }

/* Radio group */
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-option {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.02); cursor: pointer; transition: var(--transition);
}
.radio-option:hover { border-color: rgba(59,130,246,0.3); }
.radio-option input[type="radio"] { display: none; }
.radio-option .radio-circle {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
  flex-shrink: 0;
}
.radio-option input[type="radio"]:checked ~ .radio-circle {
  border-color: var(--primary);
}
.radio-option input[type="radio"]:checked ~ .radio-circle::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--primary);
}
.radio-option input[type="radio"]:checked ~ span:last-child { color: var(--primary); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 6px; display: none; }
.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success i { font-size: 3rem; color: var(--success); margin-bottom: 16px; }

/* --- Scroll Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Section Divider Glow --- */
.section-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(80px); opacity: 0.15; pointer-events: none;
}

/* --- Footer --- */
.footer-link { transition: color var(--transition); }
.footer-link:hover { color: var(--primary); }

/* --- Keyframes --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
  50% { box-shadow: 0 0 35px var(--primary-glow), 0 0 60px rgba(59,130,246,0.2); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- Responsive Fine-Tuning --- */
@media (max-width: 640px) {
  .form-container { padding: 24px 16px; }
  .hero-stats { gap: 16px; justify-content: center; }
}
