/* ============================================================
   DEV BLUE TECH — Premium Design System
   Inspired by Vercel, Stripe, Linear, Framer, Supabase
   ============================================================ */

/* ===== GOOGLE FONTS (loaded in HTML) ===== */
/* Inter: 300,400,500,600,700,800,900 */
/* JetBrains Mono: 400,500,700 */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --bg-primary: #020617;
  --bg-secondary: #0F172A;
  --bg-tertiary: #1E293B;
  --bg-elevated: rgba(15, 23, 42, 0.8);

  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --accent: #60A5FA;
  --accent-soft: rgba(96, 165, 250, 0.1);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dim: #475569;

  --border: rgba(37, 99, 235, 0.12);
  --border-hover: rgba(37, 99, 235, 0.3);
  --border-card: rgba(148, 163, 184, 0.08);

  --glow-blue: rgba(37, 99, 235, 0.25);
  --glow-accent: rgba(96, 165, 250, 0.15);

  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;
  --whatsapp: #25D366;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--glow-blue);
  --shadow-glow-lg: 0 0 80px var(--glow-blue);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(37, 99, 235, 0.3);
  color: var(--text-primary);
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 2;
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-24) 0;
  position: relative;
  z-index: 2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent), #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-16);
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), #1eb558);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

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

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.06) 1px, transparent 0);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.bg-orb--1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -15%;
  right: -10%;
  animation: orbFloat1 20s ease-in-out infinite;
}

.bg-orb--2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -10%;
  left: -5%;
  animation: orbFloat2 25s ease-in-out infinite;
}

.bg-orb--3 {
  width: 300px;
  height: 300px;
  background: #818CF8;
  top: 40%;
  left: 30%;
  opacity: 0.15;
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-40px, 30px); }
  66% { transform: translate(20px, -20px); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -40px); }
  66% { transform: translate(-20px, 20px); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.1); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.navbar__logo:hover {
  transform: scale(1.03);
}

.navbar__logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding: var(--space-1) 0;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s var(--ease-out);
  border-radius: 1px;
}

.navbar__link:hover {
  color: var(--text-primary);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: 1001;
}

.navbar__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

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

.mobile-menu__link {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-menu__link:hover {
  color: var(--accent);
  transform: scale(1.05);
}

.mobile-menu__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-menu__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

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

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -5%, rgba(37, 99, 235, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(96, 165, 250, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 10% 70%, rgba(129, 140, 248, 0.06) 0%, transparent 50%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-16) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-10);
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto var(--space-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-20);
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  padding: var(--space-8) var(--space-12);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero__stat-number span {
  color: var(--accent);
}

.hero__stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-indicator svg {
  opacity: 0.5;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== TRUSTED / MARQUEE ===== */
.trusted {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: rgba(15, 23, 42, 0.3);
}

.trusted__label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

.marquee__track {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.marquee__item:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.marquee__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  transform-origin: left;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(96, 165, 250, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: all 0.3s var(--ease-out);
  position: relative;
  z-index: 1;
  color: var(--accent);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(96, 165, 250, 0.15));
  transform: scale(1.08);
  box-shadow: 0 4px 16px var(--glow-accent);
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== WHY CHOOSE US ===== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.why-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.why-card:hover::after {
  opacity: 1;
}

.why-card__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(96, 165, 250, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--accent);
  font-size: 22px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  z-index: 1;
}

.why-card:hover .why-card__icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 4px 16px var(--glow-accent);
}

.why-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}

.why-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== PROCESS / TIMELINE ===== */
.process__timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: var(--space-16);
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
}

.process__step {
  position: relative;
  padding-bottom: var(--space-12);
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__step-marker {
  position: absolute;
  left: calc(-1 * var(--space-16) + 12px);
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--bg-primary);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all 0.4s var(--ease-out);
}

.process__step-marker-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  transition: all 0.3s var(--ease-out);
}

.process__step:hover .process__step-marker {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--glow-accent);
  transform: scale(1.15);
}

.process__step:hover .process__step-marker-dot {
  background: var(--accent);
}

.process__step-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  transition: all 0.3s var(--ease-out);
}

.process__step:hover .process__step-content {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.06);
}

.process__step-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}

.process__step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.process__step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== PORTFOLIO ===== */
.portfolio__filters {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.portfolio__filter {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio__filter:hover,
.portfolio__filter.is-active {
  color: var(--text-primary);
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--border-hover);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.portfolio-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.portfolio-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.1);
}

.portfolio-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__image img {
  transform: scale(1.05);
}

.portfolio-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2, 6, 23, 0.9) 100%);
  pointer-events: none;
}

.portfolio-card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.portfolio-card__badge--active {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.portfolio-card__badge--completed {
  background: rgba(96, 165, 250, 0.15);
  color: var(--accent);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.portfolio-card__body {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.portfolio-card__category {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.portfolio-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.portfolio-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.portfolio-card__tech {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.portfolio-card__tech-tag {
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid rgba(100, 116, 139, 0.1);
}

.portfolio-card__links {
  display: flex;
  gap: var(--space-3);
}

.portfolio-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: all 0.2s ease;
}

.portfolio-card__link:hover {
  gap: var(--space-3);
  color: var(--text-primary);
}

.portfolio-card__link svg {
  width: 14px;
  height: 14px;
}

/* ===== TESTIMONIALS ===== */
.testimonials__slider {
  overflow: hidden;
  position: relative;
}

.testimonials__track {
  display: flex;
  gap: var(--space-6);
  animation: testimonialScroll 30s linear infinite;
}

.testimonials__track:hover {
  animation-play-state: paused;
}

@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  min-width: 400px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.06);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--warning);
  font-size: 16px;
}

.testimonial-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 15px;
  font-weight: 600;
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== TEAM ===== */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.team-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.08);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  position: relative;
}

.team-card__avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.team-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.team-card__bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.team-card__socials {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

.team-card__social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.3s ease;
}

.team-card__social:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--border-hover);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ===== CONTACT ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-16);
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact__info-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
}

.contact__info-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(96, 165, 250, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact__info-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.contact__info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact__info-value a {
  color: var(--text-primary);
  transition: color 0.2s;
}

.contact__info-value a:hover {
  color: var(--accent);
}

.contact__map {
  margin-top: var(--space-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  height: 200px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) brightness(0.7) contrast(1.2);
  transition: filter 0.3s ease;
}

.contact__map:hover iframe {
  filter: grayscale(0.3) brightness(0.8) contrast(1.1);
}

.contact__socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.contact__social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.contact__social-link:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--border-hover);
  color: var(--accent);
  transform: translateY(-3px);
}

.contact__form {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  backdrop-filter: blur(8px);
}

.contact__form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.contact__form-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px var(--space-4);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: #010410;
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: var(--space-4);
  max-width: 300px;
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.footer__social:hover {
  border-color: var(--border-hover);
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-3px);
}

.footer__col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

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

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__copy span {
  color: var(--accent);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer__bottom-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__bottom-link:hover {
  color: var(--text-primary);
}

/* ===== WHATSAPP FAB ===== */
.wa-fab {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--whatsapp), #1eb558);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease-out);
  animation: fabFloat 3s ease-in-out infinite;
  color: #fff;
}

@keyframes fabFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
  animation: none;
}

.wa-fab svg {
  width: 28px;
  height: 28px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.04), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
  position: relative;
}

.cta__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  line-height: 1.7;
  position: relative;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  position: relative;
}

/* ===== ANIMATION CLASSES (GSAP driven) ===== */
.gs-reveal {
  opacity: 0;
  visibility: hidden;
}

.gs-reveal.is-revealed {
  opacity: 1;
  visibility: visible;
}

/* ===== RESPONSIVE ===== */

/* Laptop */
@media (max-width: 1200px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .section {
    padding: var(--space-20) 0;
  }

  .navbar__links {
    display: none;
  }

  .navbar__actions .btn {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .container {
    padding: 0 var(--space-5);
  }

  .section-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .hero__content {
    padding: var(--space-10) 0;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-6);
    padding: var(--space-6);
  }

  .hero__stat-divider {
    display: none;
  }

  .hero__stat {
    flex: 1;
    min-width: 100px;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .team__grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-card {
    min-width: 300px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer__bottom-links {
    justify-content: center;
  }

  .process__timeline {
    padding-left: var(--space-12);
  }

  .process__step-marker {
    left: calc(-1 * var(--space-12) + 12px);
  }

  .process__timeline::before {
    left: 24px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .team__grid {
    grid-template-columns: 1fr;
  }

  .wa-fab {
    bottom: var(--space-5);
    right: var(--space-5);
    width: 52px;
    height: 52px;
  }
}
