/* ══════════ RESET & BASE ══════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #0a0a0f;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.6s ease, color 0.6s ease;
}
body *, body *::before, body *::after {
  transition: background 0.6s ease, background-color 0.6s ease, color 0.4s ease,
              border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

/* ══════════ TYPOGRAPHY ══════════ */
.gradient-text {
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ══════════ CODE SYNTAX COLORS ══════════ */
.kw { color: #c792ea; }
.fn { color: #82aaff; }
.str { color: #c3e88d; }
.num { color: #f78c6c; }
.cm { color: #546e7a; }
.bool { color: #f78c6c; }

/* ══════════ NAV ══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: all 0.4s;
  backdrop-filter: blur(0px);
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 500;
  text-decoration: none; letter-spacing: -0.5px;
  background: linear-gradient(90deg, #f093fb, #f5576c, #ffd200, #4facfe, #43e97b, #667eea);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: colorShift 6s ease-in-out infinite;
}
.nav-codeate {
  background: linear-gradient(90deg, #f093fb, #f5576c, #ffd200, #4facfe, #43e97b, #667eea);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: colorShift 6s ease-in-out infinite;
  font-weight: 500;
}
.nav-jd-terminal {
  background: #111;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-weight: 800;
  padding: 2px 8px 3px;
  border-radius: 6px;
  margin-left: 3px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: #fff; }
.lang-toggle {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; padding: 6px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.3s;
}
.lang-toggle:hover { background: rgba(102, 126, 234, 0.2); border-color: #667eea; }
.theme-toggle {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; width: 36px; height: 36px; border-radius: 8px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: all 0.3s;
}
.theme-toggle:hover { background: rgba(102, 126, 234, 0.2); border-color: #667eea; }
.nav-menu { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-menu span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 5px 0; transition: all 0.3s; border-radius: 2px;
}

/* ══════════ HERO ══════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  background: linear-gradient(160deg, #0a0a0f 0%, #1a1a3e 40%, #2d1b69 70%, #0a0a0f 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(118, 75, 162, 0.06) 0%, transparent 50%);
}

/* Floating code snippets */
.code-float {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; line-height: 1.6;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px 20px;
  opacity: 0.4;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.code-float pre { margin: 0; }
.code-float code { font-size: 11px; }
.code-float-1 { top: 15%; left: 5%; animation-delay: 0s; }
.code-float-2 { top: 20%; right: 3%; animation-delay: -3s; }
.code-float-3 { bottom: 20%; left: 8%; animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content { position: relative; z-index: 2; max-width: 700px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.25);
  border-radius: 50px; padding: 8px 20px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 30px; color: #a5b4fc;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.hero-logo-big {
  margin-bottom: 24px;
  display: flex; align-items: baseline; justify-content: center;
}
.logo-codeate {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 600;
  background: linear-gradient(90deg, #f093fb, #f5576c, #ffd200, #4facfe, #43e97b, #667eea);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  animation: colorShift 6s ease-in-out infinite;
}
@keyframes colorShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.logo-jd {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(40px, 8vw, 60px);
  font-weight: 900;
  color: #fff;
  -webkit-text-fill-color: #fff;
  letter-spacing: -2px;
  background: #111;
  padding: 8px 18px 12px;
  border-radius: 16px;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
}
.logo-jd .terminal-prompt {
  font-size: 0.55em;
  color: #4ade80;
  -webkit-text-fill-color: #4ade80;
  margin-right: 4px;
  font-weight: 500;
}
.nav-jd-terminal .terminal-prompt {
  font-size: 0.8em;
  color: #4ade80;
  -webkit-text-fill-color: #4ade80;
  margin-right: 2px;
  font-weight: 500;
}
.hero-domain {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-typing {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  margin-bottom: 20px;
  min-height: 28px;
}
.typing-text {
  background: linear-gradient(90deg, #00ff88, #ffee00, #ff6600, #00ff88);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: typingColors 3s linear infinite;
  font-weight: 700;
  filter: brightness(1.2);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}
@keyframes typingColors {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.typing-prefix { color: #667eea; }
.typing-cursor { animation: blink 0.7s step-end infinite; color: #667eea; }

.hero-desc {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  margin: 0 auto 40px;
  letter-spacing: -0.3px;
  text-align: center;
  text-wrap: balance;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 14px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: all 0.4s;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(102, 126, 234, 0.5);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.08);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.scroll-mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-dot {
  width: 4px; height: 10px; border-radius: 4px;
  background: rgba(255,255,255,0.4);
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ══════════ SECTIONS ══════════ */
.section { padding: 100px 24px; }
.section-light { background: #fff; color: #1a1a1a; }
.section-dark {
  background: #0a0a0f;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(102, 126, 234, 0.04) 0%, transparent 60%);
}
.section-gradient {
  background: linear-gradient(160deg, #1a1a3e 0%, #2d1b69 50%, #1a1a3e 100%);
}
.container { max-width: 1000px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 600;
  color: #667eea; text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 12px;
}
.section-tag.light { color: #a5b4fc; }
.section-header h2 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 900; letter-spacing: -1.5px;
}
.section-light .section-header h2 { color: #1a1a1a; }

/* ══════════ SERVICES GRID ══════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.5s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.12);
  border-color: transparent;
}
.service-icon-wrap { margin-bottom: 20px; }
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #667eea;
}
.service-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.service-card p { color: #777; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.service-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: #1a1a2e;
  color: #a5b4fc;
  padding: 10px 14px;
  border-radius: 10px;
}

/* ══════════ PROCESS ══════════ */
.process-timeline { max-width: 600px; margin: 0 auto; }
.process-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s;
}
.process-step:hover { padding-left: 12px; }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px; font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 60px;
}
.step-content { flex: 1; }
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-content p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.6; }
.step-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: #546e7a;
  margin-top: 8px;
}

/* ══════════ CLIENTS ══════════ */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}
.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.4s;
  opacity: 0.6;
  filter: grayscale(100%);
}
.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-4px);
}
.client-logo img {
  height: 50px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
.client-logo img[alt="ImpriRap"] {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.client-logo span {
  font-size: 12px;
  font-weight: 600;
  color: #999;
}
.client-logo:hover span { color: #555; }

/* Custom client icons */
.client-icon {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
}
.client-icon.paramo {
  width: 50px; height: 50px;
  background: #C02931;
  border-radius: 50%;
}
.paramo-p {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  font-family: 'Inter', sans-serif;
}
.client-icon.invupos {
  font-size: 18px;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
}
.invupos-pos {
  color: #0066cc;
  font-weight: 900;
}
.client-icon.ranking {
  flex-direction: column;
  gap: 0;
  line-height: 1;
}
.ranking-num {
  font-size: 22px;
  font-weight: 900;
  color: #e63946;
}
.ranking-fm {
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 3px;
}

.client-icon.imprirap {
  font-size: 18px;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.imprirap-rap {
  color: #e63946;
  font-weight: 900;
}

/* ══════════ PROJECTS GRID ══════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.12);
  border-color: transparent;
}
.project-preview {
  height: 180px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f7ff, #eef2ff);
}
.project-screen {
  width: 100%;
  max-width: 280px;
  background: #1e1e2e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.project-screen.dark { background: #0d1117; }
.screen-bar {
  display: flex; gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
}
.screen-body {
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.7;
  color: #e0e0e0;
  min-height: 100px;
}

/* Infra card */
.infra-preview {
  background: linear-gradient(135deg, #0a0a1a, #1a1a3e);
}
.infra-icons {
  display: flex;
  align-items: center;
  gap: 0;
}
.infra-node {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #a5b4fc;
  transition: all 0.4s;
}
.project-card:hover .infra-node {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}
.infra-line {
  width: 30px; height: 2px;
  background: linear-gradient(90deg, rgba(102,126,234,0.3), rgba(102,126,234,0.6));
}

.project-info { padding: 24px; }
.project-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 12px;
}
.project-tags span {
  background: #f5f3ff;
  color: #5b21b6;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.project-info h3 {
  font-size: 18px; font-weight: 800;
  margin-bottom: 8px; color: #1a1a1a;
}
.project-info p {
  color: #777; font-size: 14px; line-height: 1.6;
}

/* ══════════ TECH GRID ══════════ */
.tech-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-bottom: 50px;
}
.tech-pill {
  background: #f5f3ff;
  color: #5b21b6;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px; font-weight: 600;
  transition: all 0.3s;
  border: 1px solid transparent;
}
.tech-pill:hover {
  background: #ede9fe;
  border-color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

/* ══════════ CODE BLOCK ══════════ */
.code-block {
  background: #1a1a2e;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.code-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.code-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }
.code-filename {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: rgba(255,255,255,0.4);
  margin-left: 8px;
}
.code-body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; line-height: 1.8;
  color: #e0e0e0;
  overflow-x: auto;
}

/* ══════════ CONTACT ══════════ */
.contact-sub {
  color: rgba(255,255,255,0.5);
  font-size: 16px; margin-top: 12px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; max-width: 700px; margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px; text-align: center;
  text-decoration: none; color: #fff;
  transition: all 0.4s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.contact-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: #667eea;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(102, 126, 234, 0.2);
}
.contact-icon {
  width: 50px; height: 50px;
  background: rgba(102, 126, 234, 0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #a5b4fc;
}
.contact-icon.whatsapp { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.contact-icon.github { background: rgba(255,255,255,0.08); color: #fff; }
.contact-card span { font-weight: 700; font-size: 16px; }
.contact-card small { color: rgba(255,255,255,0.4); font-size: 13px; }

/* ══════════ FOOTER ══════════ */
.footer {
  padding: 30px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: #0a0a0f;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px; font-weight: 500;
  background: linear-gradient(90deg, #f093fb, #f5576c, #ffd200, #4facfe, #43e97b, #667eea);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: colorShift 6s ease-in-out infinite;
}
.footer-logo .gradient-text { font-weight: 800; }
.footer p { color: rgba(255,255,255,0.3); font-size: 13px; }

/* ══════════ MOBILE MENU ══════════ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  color: #fff; text-decoration: none;
  font-size: 28px; font-weight: 700;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: #667eea; }

/* ══════════ REVEAL ANIMATION ══════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .hero-title { letter-spacing: -2px; }
  .code-float { display: none; }
  .hero { padding: 80px 20px 60px; }
  .section { padding: 70px 20px; }
  .process-step { flex-direction: column; gap: 12px; }
  .step-num { font-size: 28px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .code-body { font-size: 12px; padding: 16px; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ══════════ LIGHT MODE ══════════ */
body.light { background: #f0f9ff; color: #1a1a1a; }

body.light .hero {
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
}
body.light .hero-desc { color: rgba(0,0,0,0.7); }
body.light .logo-codeate {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #374151 !important;
  color: #374151 !important;
  animation: none !important;
}
body.light .typing-text {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #4338ca !important;
  color: #4338ca !important;
  animation: none !important;
  filter: none !important;
  text-shadow: none !important;
}
body.light .typing-prefix { color: #6366f1; }
body.light .typing-cursor { color: #6366f1; }
body.light .hero-badge { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.2); color: #4338ca; }
body.light .badge-dot { background: #22c55e; }
body.light .hero-badge { background: rgba(102,126,234,0.12); border-color: rgba(102,126,234,0.3); color: #4338ca; }
body.light .hero-domain { color: rgba(0,0,0,0.25); }
body.light .hero-typing { color: #16a34a; }
body.light .typing-prefix { color: #4338ca; }
body.light .typing-cursor { color: #4338ca; }
body.light .logo-codeate { color: #1a1a1a; }
body.light .logo-jd { background: #1a1a1a; }
body.light .btn-outline { color: #1a1a1a; border-color: rgba(0,0,0,0.2); }
body.light .btn-outline:hover { background: rgba(102,126,234,0.08); }
body.light .scroll-mouse { border-color: rgba(0,0,0,0.2); }
body.light .scroll-dot { background: rgba(0,0,0,0.3); }

body.light .code-float {
  background: #1a1a2e;
  border-color: rgba(255,255,255,0.08);
  opacity: 1;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.15);
}
body.light .code-float code { color: #e0e0e0; }

/* Servicios light */
body.light .section-light { background: #f0f9ff; }
body.light .service-card { background: #fff; border-color: #e0f2fe; }
body.light .service-card:hover { box-shadow: 0 20px 50px rgba(56, 189, 248, 0.12); }
body.light .service-code { background: #1a1a2e; color: #a5b4fc; }

/* Tech light */
body.light .tech-pill { background: #e0f2fe; color: #0369a1; }
body.light .tech-pill:hover { background: #bae6fd; border-color: #38bdf8; }
body.light .code-block { border-color: rgba(0,0,0,0.08); }

/* Clients light */
body.light .client-logo { opacity: 0.5; filter: grayscale(0%); }
body.light .client-logo:hover { opacity: 1; }
body.light .client-logo span { color: #64748b; }
body.light .client-logo:hover span { color: #0369a1; }

/* Process light */
body.light .section-dark h3 { color: #1a1a1a; }
body.light .step-num {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
}

body.light .nav { color: #1a1a1a; }
body.light .nav.scrolled { background: rgba(248,248,252,0.9); border-bottom-color: rgba(0,0,0,0.06); }
body.light .nav-links a { color: rgba(0,0,0,0.5); }
body.light .nav-links a:hover { color: #1a1a1a; }
body.light .nav-logo { color: #1a1a1a; }
body.light .nav-menu span { background: #1a1a1a; }
body.light .lang-toggle { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: #1a1a1a; }
body.light .theme-toggle { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: #1a1a1a; }

body.light .section-dark {
  background: #e0f2fe;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(102,126,234,0.06) 0%, transparent 60%);
  color: #1a1a1a;
}
body.light .section-dark .step-content p { color: rgba(0,0,0,0.5); }
body.light .section-dark .step-code { color: #999; }
body.light .process-step { border-bottom-color: rgba(0,0,0,0.06); }

body.light .section-gradient {
  background: linear-gradient(160deg, #e0f2fe 0%, #bae6fd 50%, #e0f2fe 100%);
}
body.light .contact-sub { color: rgba(0,0,0,0.5); }
body.light .contact-card { background: rgba(255,255,255,0.6); border-color: rgba(0,0,0,0.08); color: #1a1a1a; }
body.light .contact-card:hover { background: rgba(255,255,255,0.9); }
body.light .contact-card small { color: rgba(0,0,0,0.4); }
body.light .contact-icon { background: rgba(102,126,234,0.1); color: #4338ca; }

body.light .footer { background: #e0f2fe; border-top-color: rgba(0,0,0,0.06); }
body.light .footer p { color: rgba(0,0,0,0.35); }

body.light .mobile-menu { background: rgba(248,248,252,0.97); }
body.light .mobile-menu a { color: #1a1a1a; }
body.light .mobile-menu a:hover { color: #667eea; }
