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

:root {
  --blue: #0a1628;
  --blue-mid: #0d2040;
  --teal: #0e7490;
  --teal-bright: #06b6d4;
  --cyan: #22d3ee;
  --cyan-light: #67e8f9;
  --accent: #00fff0;
  --surface: #0f172a;
  --surface-2: #1e293b;
  --surface-3: #263347;
  --text-primary: #f0f9ff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(6, 182, 212, 0.15);
  --glow-sm: 0 0 20px rgba(6, 182, 212, 0.2);
  --glow-md: 0 0 40px rgba(6, 182, 212, 0.3);
  --glow-lg: 0 0 80px rgba(6, 182, 212, 0.2);
  --gradient-primary: linear-gradient(135deg, #0a1628 0%, #0d2040 50%, #0e4d6c 100%);
  --gradient-accent: linear-gradient(135deg, #0e7490 0%, #06b6d4 50%, #22d3ee 100%);
  --gradient-card: linear-gradient(135deg, rgba(14, 116, 144, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display-text {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: var(--gradient-accent);
  -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;
  transition: all 0.4s ease;
  padding: 1.25rem 0;
}

#navbar.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  box-shadow: var(--glow-sm);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active { color: var(--cyan); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--gradient-accent);
  color: var(--blue);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(6, 182, 212, 0.35);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #22d3ee, #0e7490);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(6, 182, 212, 0.5);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--cyan);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  border: 1.5px solid rgba(6, 182, 212, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--cyan);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.45);
}

/* ── CARDS ── */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--glow-md);
}

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

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.3), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(6, 182, 212, 0.2);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  color: var(--cyan);
}

.card:hover .card-icon {
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.5), rgba(6, 182, 212, 0.25));
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

/* ── SECTION BADGE ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ── HERO ── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow-1 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: float-glow 8s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.15) 0%, transparent 70%);
  bottom: 0; left: -100px;
  animation: float-glow 10s ease-in-out infinite reverse;
}

@keyframes float-glow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-stat-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: var(--glow-sm);
}

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.section-alt { background: rgba(255,255,255,0.015); }

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

/* ── PROCESS STEPS ── */
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}

.step-number {
  width: 52px; height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blue);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: var(--glow-sm);
  transform: translateY(-4px);
}

.stars { color: #fbbf24; letter-spacing: 2px; }

.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
}

/* ── FORM ── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

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

.form-input:focus {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
  background: rgba(6, 182, 212, 0.03);
}

.form-input.error { border-color: #f87171; }
.error-msg { font-size: 0.8rem; color: #f87171; margin-top: 0.35rem; display: none; }
.error-msg.show { display: block; }

/* ── FLOATING WHATSAPP ── */
.float-whatsapp {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-wa 3s ease-in-out infinite;
}

.float-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.7); }
}

/* ── MOBILE NAV ── */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

#mobile-menu.open { display: flex; }

.mobile-nav-link {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover { color: var(--cyan); }

/* ── DIVIDER ── */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), transparent);
  margin: 0;
}

/* ── SKILL BARS ── */
.skill-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-top: 0.5rem;
}

.skill-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient-accent);
  width: 0;
  transition: width 1.5s ease;
}

/* ── COUNTER ANIMATION ── */
.counter { font-variant-numeric: tabular-nums; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 10rem 0 5rem;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── FOOTER ── */
.footer {
  background: var(--blue);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.6rem;
}

.footer-link:hover { color: var(--cyan); }

.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-sm);
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── USP ITEM ── */
.usp-item {
  display: flex; gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(6, 182, 212, 0.04);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.usp-item:hover {
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.07);
}

.check-icon {
  width: 28px; height: 28px; min-width: 28px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  margin-top: 2px;
}

/* ── MAP PLACEHOLDER ── */
.map-placeholder {
  background: rgba(6, 182, 212, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero-section { padding-top: 6rem; }
  .display-text { font-size: 2.6rem; }
}

@media (max-width: 480px) {
  .display-text { font-size: 2.1rem; }
  .section-title { font-size: 1.75rem; }
  .btn-primary, .btn-outline { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
  .container { padding: 0 1rem; }
}
