/* =====================================================
   GoPixel — White / Gray / Blue "Developer" Redesign
   Theme: Light-mode coding aesthetic
   Fonts: Exo 2 (display) + Space Mono (mono/code)
===================================================== */

:root {
  /* ── Palette: white, gray, blue ── */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;          /* section alternating background */
  --bg-code: #f0f4f8;          /* code-block / card background */
  --gray-50: #fafbfc;
  --gray-100: #f5f5f7;
  --gray-200: #e8eaee;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --navy: #0f172a;             /* dark navy for hero terminal + footer */
  --navy-2: #1e293b;

  --blue: #2563eb;
  --blue-2: #3b82f6;
  --blue-3: #60a5fa;
  --blue-dark: #1d4ed8;
  --blue-soft: rgba(37, 99, 235, 0.08);
  --blue-border: rgba(37, 99, 235, 0.2);

  --grad-1: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  --grad-2: linear-gradient(90deg, #2563eb, #3b82f6);
  --grad-3: linear-gradient(90deg, #3b82f6, #60a5fa);

  --font-display: 'Exo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --nav-h: 80px;

  /* Backwards-compatible aliases (legacy references) */
  --dark: #ffffff;
  --dark-2: #f5f7fa;
  --dark-3: #f0f4f8;
  --dark-4: #e8eaee;
  --gray: #6b7280;
  --light-gray: #374151;
  --orange: #2563eb;
  --pink: #3b82f6;
  --purple: #60a5fa;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--gray-900);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--blue-2); border-radius: 3px; }

/* Lock background scroll while mobile menu is open */
body.menu-open { overflow: hidden; }

/* ===== SELECTION ===== */
::selection { background: rgba(37, 99, 235, 0.2); color: var(--gray-900); }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(255,255,255,0.98);
  border-bottom-color: var(--blue-border);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.05);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.nav-logo img { height: 48px; width: 48px; }

.nav-logo-wordmark {
  display: flex; align-items: baseline; gap: 0;
  font-family: 'Exo 2', system-ui, sans-serif;
  font-size: 1.55rem; font-weight: 900;
  letter-spacing: -0.02em; line-height: 1;
  text-decoration: none;
}
.nav-logo-go {
  color: var(--gray-900) !important;
  -webkit-text-fill-color: var(--gray-900) !important;
}
.nav-logo-pixel {
  background: var(--grad-1);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}
@media (max-width: 480px) {
  .nav-logo-wordmark { font-size: 1.25rem; }
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--gray-600); text-decoration: none; font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: color 0.3s ease; position: relative;
  font-family: var(--font-mono);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
  background: var(--grad-2); transform: scaleX(0); transition: transform 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--grad-1); color: var(--white) !important; padding: 10px 22px;
  border-radius: 6px; font-size: 0.8rem !important; letter-spacing: 0.08em !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px) !important; }

.nav-toggle { 
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
  background: none; border: none; z-index: 1001; position: relative;
}
.nav-toggle span { 
  display: block; width: 24px; height: 2px; 
  background: var(--gray-900); border-radius: 2px;
  transition: all 0.3s ease; 
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 40px 5% 80px;
  position: relative; overflow: hidden;
}

/* Soft blue radial glow background */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37, 99, 235, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 60%, rgba(96, 165, 250, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
}

/* Subtle "graph paper" grid — coding blue */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

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

/* Terminal-style badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-code); border: 1px solid var(--blue-border);
  border-radius: 6px; padding: 6px 16px; margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 600; color: var(--blue);
  letter-spacing: 0.06em;
}
.hero-badge::before {
  content: '>';
  color: var(--gray-400);
  font-weight: 700;
  animation: caret-blink 1s step-end infinite;
}

@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.4); } }
@keyframes caret-blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 1.0; letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

/* Typing line — terminal cursor */
.hero-type {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 4.2vw, 3.6rem);
  background: var(--grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-height: 1.25em;
}
.hero-type::after {
  content: '▍';
  -webkit-text-fill-color: var(--blue);
  background: none;
  animation: caret-blink 0.9s step-end infinite;
  margin-left: 2px;
}

.hero p { font-size: 1.15rem; color: var(--gray-600); max-width: 560px; margin-bottom: 2.5rem; line-height: 1.7; }

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--grad-1); color: var(--white);
  padding: 16px 36px; border-radius: 8px; font-size: 1rem;
  font-weight: 700; text-decoration: none; letter-spacing: 0.03em;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(37, 99, 235, 0.4); }

.btn-ghost {
  background: transparent; color: var(--gray-900);
  padding: 15px 36px; border-radius: 8px; font-size: 1rem;
  font-weight: 600; text-decoration: none; letter-spacing: 0.03em;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gray-300);
  font-family: var(--font-mono);
  transition: all 0.3s ease;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* ── HERO VISUAL: TERMINAL WINDOW ── */
.hero-visual {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  z-index: 1; display: flex; align-items: center; justify-content: center;
}

.hero-logo-wrap {
  position: relative;
  width: 480px; height: 380px;
  display: flex; align-items: center; justify-content: center;
}

.hero-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad-1);
}
.hero-dot-1 { top: 10%; right: 20%; animation: orb 8s ease-in-out infinite; }
.hero-dot-2 { bottom: 20%; left: 15%; animation: orb 10s ease-in-out infinite reverse; background: var(--grad-3); }
@keyframes orb { 0%,100%{transform:translate(0,0);} 33%{transform:translate(20px,-15px);} 66%{transform:translate(-10px,20px);} }

@media (max-width: 1200px) {
  .hero-logo-wrap { width: 420px; }
  .terminal { width: 380px; }
}

.terminal {
  width: 440px; max-width: 90vw;
  background: var(--navy);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(37, 99, 235, 0.12);
  overflow: hidden;
  font-family: var(--font-mono);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.terminal-dot {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
}
.terminal-dot.red { background: #f87171; }
.terminal-dot.yellow { background: #fbbf24; }
.terminal-dot.green { background: #34d399; }
.terminal-title {
  margin-left: auto;
  font-size: 0.72rem; color: #94a3b8; letter-spacing: 0.08em;
}

.terminal-body {
  padding: 20px 18px;
  font-size: 0.8rem; line-height: 1.9;
  color: #cbd5e1;
}
.terminal-line { display: block; white-space: pre-wrap; }
.terminal-prompt { color: var(--blue-3); }
.terminal-cmd { color: #e2e8f0; }
.terminal-keyword { color: var(--blue-3); font-weight: 700; }
.terminal-string { color: #7dd3fc; }
.terminal-fn { color: #a5b4fc; }
.terminal-comment { color: #64748b; font-style: italic; }
.terminal-cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--blue-3);
  vertical-align: text-bottom;
  animation: caret-blink 1s step-end infinite;
}

/* ── Floating ring decorations (subtle) ── */
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.12);
  animation: spin linear infinite;
}
.hero-ring-1 { width: 100%; height: 100%; animation-duration: 24s; }
.hero-ring-2 { width: 80%; height: 80%; animation-duration: 18s; animation-direction: reverse; border-color: rgba(96, 165, 250, 0.12); }
.hero-ring-3 { width: 60%; height: 60%; animation-duration: 30s; border-color: rgba(30, 64, 175, 0.10); }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ===== MARQUEE (tech strip) ===== */
.marquee-section {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden; padding: 18px 0; background: var(--bg-soft);
}
.marquee-track { display: flex; gap: 0; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 16px; padding: 0 40px;
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gray-500);
}
.marquee-item span { color: var(--blue); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
section { padding: 100px 5%; position: relative; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue);
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-label::before { content: '//'; color: var(--gray-400); }

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.5rem;
  color: var(--gray-900);
}
.section-title .grad-text {
  background: var(--grad-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.section-subtitle { color: var(--gray-600); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }

/* ===== BRAND CHANGE BANNER ===== */
.rebrand-banner {
  background: linear-gradient(135deg, var(--blue-soft), rgba(96, 165, 250, 0.06));
  border: 1px solid var(--blue-border);
  border-radius: 0; padding: 14px 5%;
  text-align: center;
  position: relative; overflow: hidden;
}
.rebrand-banner p { position: relative; font-size: 0.88rem; color: var(--gray-700); }
.rebrand-banner strong { color: var(--gray-900); }
.rebrand-banner .grad-text {
  background: var(--grad-1); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; font-weight: 800;
}

/* ===== TEMPLATE CALLOUT ===== */
.template-callout {
  background: linear-gradient(135deg, var(--blue-soft) 0%, rgba(96, 165, 250, 0.04) 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 30px 5%;
}
.template-callout-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:24px}
.template-callout-icon{font-size:2.2rem;flex-shrink:0;line-height:1}
.template-callout-content{flex:1}
.template-callout-content h3{font-size:1rem;font-weight:800;margin-bottom:4px;color:var(--blue)}
.template-callout-content p{color:var(--gray-600);line-height:1.6;margin-bottom:12px;font-size:0.85rem}
@media(max-width:600px){.template-callout-inner{flex-direction:column;text-align:center;gap:12px}.template-callout-icon{font-size:2rem}}

/* ===== SERVICES (code-editor card look) ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 60px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 36px;
  transition: all 0.4s ease;
  position: relative; overflow: hidden; cursor: default;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-1);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: var(--blue-border); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(37, 99, 235, 0.10); }

.service-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.5rem;
  border: 1px solid var(--blue-border);
  position: relative; z-index: 1;
}

.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; position: relative; z-index: 1; color: var(--gray-900); }
.service-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; position: relative; z-index: 1; }

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.25rem; position: relative; z-index: 1; }
.service-tag {
  padding: 4px 12px; border-radius: 4px;
  background: var(--bg-code); border: 1px solid var(--gray-200);
  font-size: 0.72rem; font-weight: 600; color: var(--blue);
  font-family: var(--font-mono); letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.service-tag:hover { background: var(--blue-soft); border-color: var(--blue-border); }

/* ===== STATS ===== */
.stats-section { background: var(--bg-soft); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1;
  background: var(--grad-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 8px;
}
.stat-label { font-size: 0.85rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

/* ===== PROCESS (terminal step look) ===== */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 60px; }
.process-step { position: relative; }
.step-num {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue);
  margin-bottom: 16px; letter-spacing: 0.1em;
}
.process-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.process-step p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.7; }
.step-line {
  position: absolute; top: 24px; right: -16px;
  width: 32px; height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.4), transparent);
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px; margin-top: 60px;
}
.portfolio-card {
  border-radius: 12px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--gray-200);
  transition: all 0.4s ease; position: relative;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(15, 23, 42, 0.10); border-color: var(--blue-border); }

.portfolio-img {
  height: 220px;
  background: var(--bg-code);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.portfolio-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  font-size: 0.8rem; color: var(--gray-500); letter-spacing: 0.1em;
}
.portfolio-icon { font-size: 2.5rem; opacity: 0.5; }
.portfolio-body { padding: 24px; }
.portfolio-cat {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--blue);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 8px;
}
.portfolio-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.portfolio-card p { color: var(--gray-600); font-size: 0.875rem; }

/* ===== TECH STACK ===== */
.tech-marquee {
  overflow: hidden; margin-top: 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tech-marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: techMarquee 28s linear infinite;
}
.tech-marquee:hover .tech-marquee-track { animation-play-state: paused; }
@keyframes techMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tech-item {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap;
  background: var(--bg); border: 1px solid var(--gray-200);
  border-radius: 6px; padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 0.875rem; font-weight: 600;
  color: var(--gray-700);
  transition: all 0.3s ease; cursor: default;
}
.tech-item:hover { border-color: var(--blue-border); background: var(--blue-soft); color: var(--blue); }
.tech-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-1); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 60px; }
.testimonial-card {
  background: var(--bg); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 32px;
  transition: all 0.3s ease;
}
.testimonial-card:hover { border-color: var(--blue-border); box-shadow: 0 10px 30px rgba(37, 99, 235, 0.06); }
.testimonial-stars { color: var(--blue); font-size: 0.9rem; margin-bottom: 16px; }
.testimonial-text { color: var(--gray-700); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-1); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: var(--white);
}
.author-name { font-weight: 700; font-size: 0.95rem; color: var(--gray-900); }
.author-title { color: var(--gray-500); font-size: 0.8rem; }

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--gray-200);
}
.cta-box {
  max-width: 700px; margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 24px; padding: 64px 48px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.05);
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(37, 99, 235, 0.05), transparent 70%);
}
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 1rem; position: relative; color: var(--gray-900); }
.cta-box p { color: var(--gray-600); font-size: 1.05rem; margin-bottom: 2rem; position: relative; }
.cta-box .btn-primary { position: relative; font-size: 1.05rem; padding: 18px 44px; }

/* ===== FOOTER (dark navy — coding terminal look) ===== */
footer {
  background: var(--navy);
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 5% 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand-desc { color: #94a3b8; font-size: 0.9rem; line-height: 1.7; margin-top: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 16px; }
.footer-logo img { height: 44px; }
.footer-logo span {
  font-size: 1.3rem; font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-col h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #94a3b8; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #cbd5e1; text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--blue-3); }

.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 0.9rem; color: #cbd5e1;
  transition: all 0.3s ease;
}
.social-link:hover { background: var(--grad-1); border-color: transparent; color: var(--white); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { color: #94a3b8; font-size: 0.85rem; }
.footer-bottom a { color: #94a3b8; text-decoration: none; }
.footer-bottom a:hover { color: var(--blue-3); }
.rebrand-note {
  font-size: 0.8rem; color: #94a3b8;
  background: rgba(37, 99, 235, 0.12); border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 100px; padding: 4px 14px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9000;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 1.6rem; color: white;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: wa-bounce 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6); animation: none; }
@keyframes wa-bounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }

.whatsapp-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--navy); border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px; padding: 8px 14px; white-space: nowrap;
  font-size: 0.8rem; font-weight: 600; color: var(--white);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.whatsapp-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--navy);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 5% 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--blue-soft), transparent 70%);
  text-align: center; border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; margin-bottom: 16px; color: var(--gray-900); }

/* Terminal caret after page + article titles — coding flavour everywhere */
.page-hero h1::after,
.article-hero h1::after {
  content: '▍';
  color: var(--blue);
  margin-left: 8px;
  animation: caret-blink 1s step-end infinite;
}

/* Code-comment style section intros on light bg */
.section-subtitle::before {
  content: '> ';
  font-family: var(--font-mono);
  color: var(--blue);
}
.page-hero p { color: var(--gray-600); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; margin-top: 60px; align-items: start; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
.contact-icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: 12px;
  background: var(--blue-soft); border: 1px solid var(--blue-border);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-info-item h4 { font-size: 0.8rem; color: var(--gray-600); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.contact-info-item p, .contact-info-item a { color: var(--gray-900); font-size: 1rem; text-decoration: none; display: block; }
.contact-info-item a:hover { color: var(--blue); }

.contact-form { background: var(--bg); border: 1px solid var(--gray-200); border-radius: 20px; padding: 40px; box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; letter-spacing: 0.05em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: 14px 18px; color: var(--gray-900);
  font-family: var(--font-display); font-size: 0.95rem;
  transition: all 0.3s ease; outline: none; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: var(--bg);
}
.form-group textarea { min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group select option { background: var(--bg); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 60px; }
.about-visual {
  position: relative; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.about-logo-bg {
  width: 100%; height: 100%; border-radius: 24px;
  background: var(--bg-code); border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-logo-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, var(--blue-soft), transparent 70%);
}
.about-logo-bg img { width: 75%; position: relative; z-index: 1; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.value-item {
  background: var(--bg); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 20px;
  transition: all 0.3s ease;
}
.value-item:hover { border-color: var(--blue-border); }
.value-emoji { font-size: 1.5rem; margin-bottom: 8px; }
.value-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--gray-900); }
.value-item p { font-size: 0.8rem; color: var(--gray-600); }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 60px; }
.team-card {
  background: var(--bg); border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 32px; text-align: center;
  transition: all 0.4s ease;
}
.team-card:hover { border-color: var(--blue-border); transform: translateY(-6px); box-shadow: 0 15px 40px rgba(37, 99, 235, 0.08); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--grad-1); display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: var(--white);
}
.team-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--gray-900); }
.team-card .role { color: var(--blue); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 12px; font-family: var(--font-mono); }
.team-card p { color: var(--gray-600); font-size: 0.85rem; line-height: 1.6; }

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px; margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 5% 80px;
}
.legal-content h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: 8px; color: var(--gray-900); }
.legal-date { color: var(--gray-500); font-size: 0.875rem; margin-bottom: 48px; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 40px 0 16px; color: var(--blue); }
.legal-content p, .legal-content li { color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content a { color: var(--blue); }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 60px; }
.pricing-card {
  background: var(--bg); border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 36px; position: relative; transition: all 0.4s ease;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--blue-soft), var(--bg) 40%);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad-1); color: white; padding: 4px 20px;
  border-radius: 100px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  white-space: nowrap;
}
.pricing-name { font-size: 1.1rem; font-weight: 700; color: var(--gray-600); margin-bottom: 8px; }
.pricing-price { font-size: 2.2rem; font-weight: 900; margin-bottom: 4px; color: var(--gray-900); }
.pricing-price span { font-size: 1rem; color: var(--gray-500); font-weight: 400; }
.pricing-desc { color: var(--gray-600); font-size: 0.875rem; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; flex: 1; }
.pricing-features li {
  padding: 8px 0; font-size: 0.875rem; color: var(--gray-700);
  display: flex; gap: 10px; align-items: flex-start;
  border-bottom: 1px solid var(--gray-100);
}
.pricing-features li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* =====================================================
   BEFORE vs AFTER
===================================================== */
.ba-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 60px;
}
.ba-card {
  background: var(--bg); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 36px;
  transition: all 0.4s ease;
}
.ba-card.after { border-color: var(--blue-border); box-shadow: 0 10px 40px rgba(37, 99, 235, 0.06); }
.ba-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06); }
.ba-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-600); margin-bottom: 16px;
}
.ba-label .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ba-label .dot.red { background: var(--gray-400); }
.ba-label .dot.green { background: var(--blue); }
.ba-icon { font-size: 2.4rem; margin-bottom: 16px; }
.ba-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; color: var(--gray-900); }
.ba-card > p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.7; margin-bottom: 24px; }
.ba-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.ba-metric { text-align: center; padding: 14px 8px; background: var(--bg-code); border-radius: 8px; border: 1px solid var(--gray-200); }
.ba-metric .val { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 800; }
.ba-metric .val.red { color: var(--gray-500); }
.ba-metric .val.green { color: var(--blue); }
.ba-metric .val.grad {
  background: var(--grad-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ba-metric .lbl { font-size: 0.7rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.ba-list { list-style: none; }
.ba-list li {
  padding: 8px 0; font-size: 0.9rem; color: var(--gray-700);
  display: flex; gap: 10px; align-items: flex-start;
  border-bottom: 1px solid var(--gray-100);
}
.ba-list li:last-child { border-bottom: none; }
.ba-list .cross { color: var(--gray-400); font-weight: 700; }
.ba-list .check { color: var(--blue); font-weight: 700; }
.ba-cta { text-align: center; margin-top: 48px; }
.separator-line { width: 80px; height: 2px; background: var(--grad-2); margin: 0 auto 24px; }

/* ===== TRUST BADGES ===== */
.trust-badges-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 48px;
}
.trust-badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-code); border: 1px solid var(--gray-200);
  border-radius: 8px; padding: 16px 20px;
  font-size: 0.9rem; font-weight: 600; color: var(--gray-700);
  transition: all 0.3s ease;
}
.trust-badge:hover { border-color: var(--blue-border); background: var(--blue-soft); color: var(--gray-900); }
.trust-icon {
  width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
  background: var(--grad-1); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}

/* =====================================================
   FAQ — coding-style
===================================================== */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width:100%; background:none; border:none; color:var(--gray-900);
  font-family:var(--font-display); font-size:1rem; font-weight:700;
  padding:20px 0; text-align:left; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq-q:hover { color:var(--blue); }
.faq-q::before { content: '$ '; color: var(--blue); font-family: var(--font-mono); font-weight: 700; }
.faq-icon { font-size:1.4rem; color:var(--blue); flex-shrink:0; transition:transform 0.3s ease; }
.faq-q.open .faq-icon { transform:rotate(45deg); }
.faq-a { display:none; padding-bottom:20px; }
.faq-a.open { display:block; }
.faq-a p { color:var(--gray-600); line-height:1.8; font-size:0.95rem; }

/* =====================================================
   CITIES SERVED — pill badges
===================================================== */
.city-pill {
  display:inline-flex; align-items:center; gap:6px;
  background: var(--bg-code); border: 1px solid var(--gray-200);
  border-radius: 100px; padding: 8px 20px;
  font-size: 0.85rem; font-weight: 600; color: var(--gray-700);
  font-family: var(--font-mono);
  transition: all 0.3s ease;
}
.city-pill:hover { border-color: var(--blue-border); color: var(--blue); background: var(--blue-soft); }
.city-pill.active { background: var(--blue-soft); border-color: var(--blue-border); color: var(--blue); font-weight: 700; }

/* =====================================================
   BLOG PAGE
===================================================== */
.blog-page-hero {
  padding: calc(var(--nav-h) + 48px) 5% 90px;
  min-height: auto;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}
.blog-page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 32%, var(--blue-soft) 0%, transparent 60%),
    radial-gradient(ellipse 65% 60% at 75% 58%, rgba(96, 165, 250, 0.06) 0%, transparent 52%);
}
.blog-page-hero .hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 18%, transparent 72%);
}
.blog-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.blog-page-hero .section-label { justify-content: center; }
.blog-page-hero .section-subtitle { margin: 0 auto; }
.blog-hero-actions { justify-content: center; margin-top: 2.5rem; }
.blog-stats .stat-num { font-size: clamp(2rem, 5vw, 3.2rem); }
.blog-posts-section { background: var(--bg); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; margin-bottom: 3rem; }
.filter-btn {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 0.7rem 1.1rem;
  color: var(--gray-600);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active {
  color: var(--blue);
  border-color: var(--blue-border);
  background: var(--blue-soft);
}
.unified-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 0; }
.blog-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; }
.blog-card:hover { border-color: var(--blue-border); box-shadow: 0 15px 40px rgba(37, 99, 235, 0.08); transform: translateY(-4px); }
.blog-card .card-thumb { height: 220px; position: relative; overflow: hidden; background: var(--bg-code); }
.blog-card .card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.18), transparent 35%),
    radial-gradient(circle at 70% 70%, rgba(96, 165, 250, 0.15), transparent 35%),
    linear-gradient(135deg, var(--blue-soft), rgba(30, 64, 175, 0.08));
}
.thumb-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--blue);
  opacity: 0.9;
  z-index: 1;
}
.blog-card .card-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
}
.blog-card .card-body { display: flex; flex-direction: column; gap: 0.85rem; flex: 1; padding: 24px; }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--gray-500);
  font-size: 0.74rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-card h2, .blog-card h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 0; color: var(--gray-900); }
.blog-card p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.7; flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--blue);
  font-weight: 700;
  font-family: var(--font-mono);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: gap 0.3s ease, color 0.3s ease;
}
.card-link:hover { gap: 0.75rem; color: var(--blue-dark); }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
  .blog-page-hero { padding: calc(var(--nav-h) + 36px) 5% 70px; }
  .blog-filters { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .blog-page-hero .section-title { font-size: 2.35rem; }
  .blog-hero-actions { flex-direction: column; }
  .filter-btn { width: 100%; justify-content: center; }
}

/* =====================================================
   BLOG — Article & Sidebar
===================================================== */
.article-hero { padding: 110px 5% 56px; max-width: 860px; margin: 0 auto; }
.breadcrumb {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.article-cat {
  display: inline-block; font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--grad-1); color: #fff;
  padding: 0.25rem 0.7rem; border-radius: 4px; margin-bottom: 1rem;
}
.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
  line-height: 1.15; margin-bottom: 1rem;
  color: var(--gray-900);
}
.article-hero h1 span {
  background: var(--grad-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--gray-500);
  padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200); margin-bottom: 2.5rem;
}

.content-wrap {
  max-width: 1180px; margin: 0 auto; padding: 0 5% 5rem;
  display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start;
}

.article-body { max-width: none; padding: 0; margin: 0; }
.article-body h2 { font-size: 1.35rem; font-weight: 800; margin: 2.5rem 0 0.8rem; color: var(--gray-900); }
.article-body h2 .num {
  background: var(--grad-1); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; margin-right: 0.4rem;
}
.article-body h2 .step {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em;
  color: var(--blue);
  display: block; margin-bottom: 0.3rem;
}
.article-body h3 { font-size: 1.05rem; font-weight: 800; margin: 1.8rem 0 0.6rem; color: var(--blue); }
.article-body p { color: var(--gray-700); margin-bottom: 1.1rem; font-size: 1rem; }
.article-body ul,
.article-body ol { padding-left: 1.4rem; color: var(--gray-700); margin-bottom: 1.1rem; }
.article-body li { margin-bottom: 0.5rem; font-size: 1rem; }
.article-body strong { color: var(--gray-900); }

.callout {
  background: var(--bg-code); border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0; padding: 1.2rem 1.5rem; margin: 2rem 0; color: var(--gray-800);
}
.callout .label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.5rem;
}

.highlight-box {
  background: var(--bg-code); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: 1.5rem; margin: 2rem 0;
}
.highlight-box h3 {
  font-size: 1rem; font-weight: 800; margin-bottom: 1rem;
  color: var(--blue);
}

.cta-block {
  background: var(--bg-code); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 2.5rem; text-align: center; margin: 3rem 0;
}
.cta-block h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.7rem; color: var(--gray-900); }
.cta-block p { color: var(--gray-600); margin-bottom: 1.5rem; }
.cta-btn {
  display: inline-block; background: var(--grad-1); color: #fff;
  font-family: var(--font-mono); font-weight: 700;
  padding: 0.8rem 2rem; border-radius: 8px; text-decoration: none; font-size: 0.95rem;
  transition: all 0.3s ease;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3); }

.sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 90px; }
.side-card {
  background: var(--bg); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 1.5rem; overflow: hidden; position: relative;
}
.side-cta {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.side-cta::before {
  content: ''; position: absolute; top: -40%; right: -40%;
  width: 140%; height: 140%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
  border-radius: 50%;
}
.side-cta .icon { font-size: 1.8rem; margin-bottom: 0.6rem; position: relative; }
.side-cta h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; position: relative; line-height: 1.3; color: var(--white); }
.side-cta p { font-size: 0.85rem; color: #94a3b8; margin-bottom: 1.2rem; position: relative; line-height: 1.5; }
.side-cta-btn {
  display: block; text-align: center; background: var(--grad-1); color: #fff;
  font-family: var(--font-mono); font-weight: 700; padding: 0.7rem 1rem;
  border-radius: 8px; text-decoration: none; font-size: 0.88rem; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.side-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3); }
.side-cta .whatsapp-link {
  display: block; text-align: center; margin-top: 0.6rem;
  font-size: 0.8rem; color: #94a3b8; text-decoration: none; position: relative;
}
.side-cta .whatsapp-link:hover { color: #25D366; }
.side-card h4 {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem;
}
.side-posts { display: flex; flex-direction: column; gap: 0.9rem; }
.side-post { display: flex; gap: 0.7rem; text-decoration: none; align-items: flex-start; }
.side-post .sp-icon {
  font-size: 1.3rem; flex-shrink: 0; width: 36px; height: 36px;
  border-radius: 8px; background: var(--bg-code); display: flex; align-items: center; justify-content: center;
}
.side-post .sp-text { flex: 1; }
.side-post .sp-title {
  font-size: 0.85rem; font-weight: 700; color: var(--gray-800);
  line-height: 1.35; margin-bottom: 0.15rem; transition: color .2s;
}
.side-post:hover .sp-title { color: var(--blue); }
.side-post .sp-meta { font-size: 0.7rem; color: var(--gray-500); font-family: var(--font-mono); }
.side-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.side-tag {
  background: var(--blue-soft); border: 1px solid var(--blue-border);
  border-radius: 20px; padding: 0.3rem 0.85rem; font-size: 0.78rem;
  color: var(--blue); text-decoration: none; transition: all .2s;
}
.side-tag:hover { background: rgba(37, 99, 235, 0.15); border-color: var(--blue); }

/* ── TABLE OF CONTENTS ── */
.toc {
  background: var(--bg-code);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  position: static !important;
  height: auto !important;
  display: block !important;
  z-index: auto !important;
  inset: auto !important;
}
.toc-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin: 0 0 0.9rem;
  line-height: 1;
}
.toc-list { padding-left: 1.3rem; margin: 0; }
.toc-list li { margin-bottom: 0.5rem; font-size: 0; }
.toc-list a {
  font-size: 0.88rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: color .2s;
  line-height: 1.4;
}
.toc-list a:hover { color: var(--blue); }

/* ── FAQ SECTION (article) ── */
.faq-list { margin: 1.5rem 0 2rem; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 1rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3.faq-q,
.faq-q {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--gray-900) !important;
  margin: 0 0 0.4rem !important;
  line-height: 1.4;
}
.faq-a {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

/* ── AUTHOR BIO ── */
.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--bg-code);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.3rem;
  margin: 2.5rem 0;
}
.author-bio img {
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}
.author-bio-text { display: flex; flex-direction: column; gap: 0.2rem; }
.author-bio-name { font-size: 0.95rem; font-weight: 800; color: var(--gray-900); }
.author-bio-role {
  font-size: 0.78rem; color: var(--gray-600); margin-bottom: 0.4rem;
  font-family: var(--font-mono); letter-spacing: 0.05em;
}
.author-bio-text p { font-size: 0.86rem; color: var(--gray-700); margin: 0; line-height: 1.6; }
@media (max-width: 600px) {
  .author-bio { flex-direction: column; }
  .author-bio img { width: 56px; height: 56px; }
}

/* ── BLOG RESPONSIVE ── */
@media (max-width: 980px) {
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
  .side-cta { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  .sidebar { grid-template-columns: 1fr; }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { z-index: 10000; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 9998;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 10001; }
  .nav-links a { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  section { padding: 70px 5%; }
  .cta-box { padding: 48px 28px; }
}

@media (max-width: 480px) {
  .hero { padding-bottom: 60px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
   WHATSAPP FLOAT — restored + animated
===================================================== */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  display: flex; align-items: center;
  cursor: pointer; text-decoration: none;
  animation: riseIn 0.7s ease 1.2s both;
}
.wa-bubble {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; z-index: 2; flex-shrink: 0;
}
.wa-bubble svg { width: 30px; height: 30px; display: block; }
.wa-float:hover .wa-bubble {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6), 0 2px 12px rgba(0,0,0,0.15);
}
.wa-label {
  background: #25D366;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0 1.1rem 0 1.4rem;
  height: 40px; line-height: 40px;
  border-radius: 0 20px 20px 0;
  margin-left: -22px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease, opacity 0.3s;
  opacity: 0; pointer-events: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.wa-float:hover .wa-label { transform: scaleX(1); opacity: 1; }
/* Pulse ring */
.wa-bubble::before {
  content: '';
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* =====================================================
   ANIMATION LAYER — coding-flavoured motion
===================================================== */

/* ── Keyframes ── */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(48px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes lineIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes iconPop {
  0% { transform: scale(1) rotate(0deg); }
  40% { transform: scale(1.14) rotate(-5deg); }
  70% { transform: scale(0.97) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.35); }
  50% { box-shadow: 0 0 0 9px rgba(37,99,235,0); }
}
@keyframes statGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(37,99,235,0)); }
  50% { filter: drop-shadow(0 6px 16px rgba(37,99,235,0.35)); }
}
@keyframes terminalGlow {
  0%, 100% { box-shadow: 0 20px 60px rgba(15,23,42,0.25), 0 0 0 1px rgba(37,99,235,0.12); }
  50% { box-shadow: 0 20px 60px rgba(15,23,42,0.25), 0 0 24px rgba(37,99,235,0.25); }
}

/* ── Nav drops in on load ── */
nav { animation: navDrop 0.55s ease both; }
@keyframes navDrop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ── Hero entrance: staggered rise ── */
.hero-content > * { animation: riseIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero-content > *:nth-child(1) { animation-delay: 0.10s; }
.hero-content > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content > *:nth-child(3) { animation-delay: 0.34s; }
.hero-content > *:nth-child(4) { animation-delay: 0.46s; }
.hero-content > *:nth-child(5) { animation-delay: 0.58s; }

/* ── Terminal slides in + breathing glow ── */
.terminal {
  animation: slideInRight 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s both,
             float 6s ease-in-out 1.2s infinite,
             terminalGlow 4s ease-in-out infinite;
}

/* ── Terminal boot sequence: lines type in one by one ── */
.terminal-line { opacity: 0; animation: lineIn 0.3s ease forwards; }
.terminal-line:nth-child(1) { animation-delay: 0.9s; }
.terminal-line:nth-child(2) { animation-delay: 1.3s; }
.terminal-line:nth-child(3) { animation-delay: 1.7s; }
.terminal-line:nth-child(4) { animation-delay: 2.1s; }
.terminal-line:nth-child(5) { animation-delay: 2.5s; }
.terminal-line:nth-child(6) { animation-delay: 2.9s; }

/* ── Gradient text slowly drifts ── */
.hero-type,
.section-title .grad-text,
.grad-text {
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
}

/* ── Button shine sweep ── */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 140%; }

/* ── Nav CTA pulse ring ── */
.nav-cta { animation: ctaPulse 3s ease-in-out infinite; }

/* ── Service icon pops on card hover ── */
.service-card:hover .service-icon { animation: iconPop 0.5s ease; }

/* ── Portfolio image zoom on hover ── */
.portfolio-img img { transition: transform 0.6s ease; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.06); }

/* ── Stat numbers breathe ── */
.stat-num { animation: statGlow 3.2s ease-in-out infinite; }

/* ── Process step lines draw in when revealed ── */
.step-line { transform: scaleX(0); transform-origin: left; transition: transform 0.6s ease 0.35s; }
.process-step.visible .step-line { transform: scaleX(1); }

/* ── Section label blinks its slashes subtly ── */
.section-label::before { animation: caret-blink 2.4s step-end infinite; }

/* ── Testimonial cards lift with accent border ── */
.testimonial-card { transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(37,99,235,0.10); }

/* ── Tech chips lift on hover ── */
.tech-item:hover { transform: translateY(-3px); }

/* =====================================================
   NAV DROPDOWN — Free Tools menu
===================================================== */
.nav-dd-wrap { position: relative; display: flex; align-items: center; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.dd-caret { font-size: 0.55rem; transition: transform 0.3s ease; }

.nav-dd {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 8px);
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  padding: 8px;
  min-width: 250px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  /* small close-delay so the menu survives quick mouse movements */
  transition: opacity 0.22s ease 0.15s, transform 0.22s ease 0.15s, visibility 0s linear 0.4s;
  z-index: 1001;
}
/* invisible hover bridge over the gap between toggle and panel —
   keeps :hover alive while the cursor travels down to the menu */
.nav-dd::before {
  content: '';
  position: absolute;
  top: -18px; left: -14px; right: -14px; height: 18px;
}
.nav-dd-wrap:hover .nav-dd,
.nav-dd-wrap:focus-within .nav-dd {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.nav-dd-wrap:hover .dd-caret { transform: rotate(180deg); }

.nav-dd a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  color: var(--gray-800);
}
.nav-dd a::after { display: none !important; }
.nav-dd a b { color: var(--gray-900); font-weight: 700; font-size: 0.82rem; }
.nav-dd a span {
  color: var(--gray-500);
  font-size: 0.68rem;
  font-family: var(--font-mono);
  text-transform: none;
  letter-spacing: 0;
}
.nav-dd a:hover { background: var(--blue-soft); }
.nav-dd a:hover b { color: var(--blue); }

@media (max-width: 768px) {
  .nav-dd {
    position: static;
    transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; background: transparent;
    padding: 0 0 0 18px;
    min-width: 0;
    gap: 10px;
  }
  .nav-dd a { font-size: 1rem; }
  .nav-dd a b { font-size: 1rem; }
  .nav-dd a span { font-size: 0.75rem; }
}

/* ── Reduced motion: calm everything ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
