/* ============================================
   NEXAFLOW — Premium Agency CSS
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo: #6366f1;
  --purple: #a855f7;
  --violet: #7c3aed;
  --cyan: #00f0ff;
  --neon-pink: #ff0055;
  --bg-dark: #02040a;
  --bg-card: rgba(10, 15, 30, 0.4);
  --bg-card-hover: rgba(20, 25, 45, 0.6);
  --border: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(0, 240, 255, 0.6);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --gradient: linear-gradient(135deg, var(--indigo), var(--cyan));
  --gradient-text: linear-gradient(135deg, #00f0ff, #a855f7, #6366f1);
  --shadow-glow: 0 0 80px rgba(0, 240, 255, 0.2);
  --radius: 20px;
  --radius-sm: 12px;
}

html { scroll-behavior: smooth; }

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

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: 3px; }

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

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

.accent { color: var(--indigo); -webkit-text-fill-color: var(--indigo); }

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

.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  color: #818cf8;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ====== BUTTONS ====== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(99,102,241,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(99,102,241,0.5);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  border-color: var(--indigo);
  background: rgba(99,102,241,0.08);
  transform: translateY(-2px);
}

/* ====== NAVBAR ====== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}
#navbar.scrolled {
  background: rgba(5,8,22,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  background: var(--gradient);
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(99,102,241,0.12) 0%, rgba(5,8,22,0.95) 70%);
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: #a5b4fc;
  font-weight: 500;
  margin-bottom: 28px;
  animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(99,102,241,0.3); }
  50% { border-color: rgba(99,102,241,0.7); }
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-plus {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--indigo);
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--indigo);
  border-radius: 2px;
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ====== MARQUEE ====== */
.marquee-section {
  background: rgba(99,102,241,0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}
.marquee-track { overflow: hidden; }
.marquee-content {
  display: flex;
  gap: 40px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.marquee-content .dot { color: var(--indigo); font-size: 0.6rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====== SERVICES ====== */
.services { padding: 120px 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured {
  border-color: rgba(99,102,241,0.4);
  background: rgba(99,102,241,0.06);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-link {
  color: #818cf8;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}
.service-link:hover { color: #a5b4fc; }

/* ====== PROCESS ====== */
.process {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04), transparent);
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.process-step:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.process-arrow {
  font-size: 2rem;
  color: var(--indigo);
  opacity: 0.5;
}

/* ====== PORTFOLIO ====== */
.portfolio { padding: 120px 0; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.result-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}
.result-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.result-metric {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.result-label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
}

.result-client {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.result-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.result-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  animation: fillBar 1.5s ease forwards;
  transform-origin: left;
}
@keyframes fillBar {
  from { width: 0 !important; }
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ====== PRICING ====== */
.pricing {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04), transparent);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.toggle-label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.3s;
}
.toggle-label.active { color: var(--text-primary); }
.save-badge {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.3);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: rgba(99,102,241,0.2);
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--border);
  transition: background 0.3s;
}
.toggle-switch.on { background: var(--indigo); }
.toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.toggle-switch.on .toggle-knob { transform: translateX(24px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.pricing-card.popular {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.08);
  transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-6px); }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 16px;
}
.currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding-bottom: 6px;
}
.amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.period {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding-bottom: 8px;
}

.plan-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 60px;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.check { font-size: 0.9rem; color: #4ade80; flex-shrink: 0; }
.check.muted { color: #475569; }
.muted-text { text-decoration: line-through; opacity: 0.5; }

.btn-plan {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  transition: all 0.3s;
}
.btn-plan:hover {
  border-color: var(--indigo);
  background: rgba(99,102,241,0.1);
}

.btn-plan-primary {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: var(--gradient);
  color: #fff;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(99,102,241,0.3);
}
.btn-plan-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(99,102,241,0.5);
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.pricing-note strong { color: #4ade80; }

/* ====== CTA BAND ====== */
.cta-band {
  padding: 100px 0;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.15) 0%, transparent 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-content { text-align: center; }
.cta-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25d366;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-whatsapp:hover {
  background: rgba(37,211,102,0.2);
  border-color: rgba(37,211,102,0.6);
  transform: translateY(-2px);
}

/* ====== CONTACT ====== */
.contact { padding: 120px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s;
}
.contact-method:hover { border-color: var(--border-hover); }
.method-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-method strong { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.contact-method span { font-size: 0.88rem; color: var(--text-secondary); }

.contact-form-wrap {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(148,163,184,0.5); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--indigo);
  background: rgba(99,102,241,0.06);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.form-group select option { background: #1e1b4b; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: var(--gradient);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(99,102,241,0.3);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(99,102,241,0.5);
}
.btn-submit:active { transform: translateY(0); }

.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 10px;
  color: #4ade80;
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: var(--text-secondary); font-size: 0.85rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--text-primary); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: rgba(5,8,22,0.98);
    padding: 40px 24px;
    gap: 24px;
    z-index: 999;
    align-items: flex-start;
  }
  .nav-links.open a { font-size: 1.3rem; }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
  .pricing-card.popular { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .results-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ====== PARTICLE ====== */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}


/* ====== AUTONOMOUS AGENT FLEET ====== */
.agent-fleet {
  padding: 100px 0;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.05) 0%, var(--bg-dark) 70%);
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.agent-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

.agent-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.pulse-glow {
  animation: softPulse 3s infinite alternate;
}

@keyframes softPulse {
  0% { box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }
  100% { box-shadow: 0 0 25px rgba(0, 240, 255, 0.6); }
}

.agent-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}

.agent-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ====== BOT ANALYTICS ====== */
.bot-analytics {
  padding: 100px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.analytics-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.case-studies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.cs-item {
  background: rgba(168, 85, 247, 0.05);
  border-left: 3px solid var(--purple);
  padding: 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.cs-item h4 {
  font-size: 24px;
  color: var(--cyan);
  margin-bottom: 8px;
}

.cs-item p {
  font-size: 14px;
  line-height: 1.5;
}

.analytics-graph {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.analytics-graph::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--cyan);
  filter: blur(80px);
  opacity: 0.2;
  z-index: 0;
}

.graph-container {
  position: relative;
  z-index: 1;
}

.graph-container h4 {
  font-size: 20px;
  margin-bottom: 30px;
}

.graph-bar-wrapper {
  margin-bottom: 20px;
}

.graph-bar-wrapper span {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.graph-track {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.graph-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 6px;
  font-size: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  font-weight: bold;
}

.pulse-bg {
  animation: widthPulse 2s infinite alternate;
}

@keyframes widthPulse {
  0% { box-shadow: 0 0 10px var(--cyan); }
  100% { box-shadow: 0 0 20px var(--cyan); filter: brightness(1.2); }
}

@media(max-width: 900px) {
  .analytics-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ====== DEMO VIDEOS ====== */
.demo-videos {
  padding: 100px 0;
  background: var(--bg-dark);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

@media(max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  text-align: center;
}

.video-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=800&q=80') center/cover;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.video-thumbnail:nth-child(2) {
  background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=800&q=80') center/cover;
}

.thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 10, 0.6);
  transition: background 0.3s ease;
}

.video-thumbnail:hover .thumbnail-overlay {
  background: rgba(2, 4, 10, 0.4);
}

.play-button {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  transition: transform 0.3s ease;
}

.video-thumbnail:hover .play-button {
  transform: scale(1.1);
  background: var(--indigo);
  border-color: var(--cyan);
}

.video-card h4 {
  font-size: 22px;
  margin-bottom: 8px;
}

.video-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ====== HOT PRESALE BUTTON ====== */
.presale-btn-hot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff4500, #ff8c00);
  color: #fff !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-right: 15px;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
  animation: firePulse 1.5s infinite alternate;
  transition: transform 0.2s ease;
}

.presale-btn-hot:hover {
  transform: scale(1.05) translateY(-2px);
  animation: fireShake 0.4s infinite;
}

.fire-gif {
  width: 18px;
  height: 18px;
  object-fit: contain;
  mix-blend-mode: screen;
}

@keyframes firePulse {
  0% { box-shadow: 0 0 10px rgba(255, 69, 0, 0.4), inset 0 0 5px rgba(255,255,255,0.2); }
  100% { box-shadow: 0 0 25px rgba(255, 69, 0, 0.9), inset 0 0 10px rgba(255,255,255,0.5); filter: brightness(1.1); }
}

@keyframes fireShake {
  0% { transform: scale(1.05) translateY(-2px) rotate(0deg); }
  25% { transform: scale(1.05) translateY(-2px) rotate(-2deg); }
  50% { transform: scale(1.05) translateY(-2px) rotate(2deg); }
  75% { transform: scale(1.05) translateY(-2px) rotate(-1deg); }
  100% { transform: scale(1.05) translateY(-2px) rotate(1deg); }
}

.agent-cost {
  margin-top: 15px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.05);
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-agent-link {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background: var(--indigo);
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-agent-link:hover {
  background: var(--cyan);
  box-shadow: 0 0 15px rgba(0,240,255,0.4);
}
