/* ============================================
   LUCAS MACHADO — DEVELOPER PORTFOLIO
   style.css
   ============================================ */

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

:root {
  --bg:        #0f172a;
  --bg2:       #1e293b;
  --bg3:       #0d1526;
  --surface:   rgba(255,255,255,0.04);
  --surface2:  rgba(255,255,255,0.07);
  --border:    rgba(255,255,255,0.08);
  --border2:   rgba(255,255,255,0.14);
  --text:      #f8fafc;
  --muted:     #94a3b8;
  --muted2:    #475569;
  --accent:    #6366f1;
  --accent2:   #8b5cf6;
  --blue:      #3b82f6;
  --cyan:      #22d3ee;
  --green:     #4ade80;
  --amber:     #f59e0b;
  --red:       #ef4444;
  --glow:      rgba(99,102,241,0.4);
  --glow2:     rgba(139,92,246,0.3);
  --radius:    16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

/* ---- SELECTION ---- */
::selection { background: rgba(99,102,241,0.3); color: var(--text); }

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


/* ---- LOADER ---- */
.loader {
  position: fixed; inset: 0;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  z-index: 9000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader-logo {
  font-size: 32px; font-weight: 900; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.loader-bar {
  width: 160px; height: 2px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  animation: loadProgress 1.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loadProgress {
  0%   { width: 0%; }
  100% { width: 100%; }
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 8px 12px; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 0 20px var(--glow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.nav-links .nav-cta:hover { box-shadow: 0 0 30px var(--glow); transform: translateY(-1px); background: var(--accent); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
#particlesCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; opacity: 0.5;
}
.hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.18;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 500px; height: 500px; background: var(--accent2); bottom: -100px; left: -150px; animation-delay: 2s; }
.blob-3 { width: 400px; height: 400px; background: var(--blue); top: 30%; left: 40%; animation-delay: 4s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-content { max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc;
  font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6366f1;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(99,102,241,0); }
}
.hero-title { margin-bottom: 20px; }
.hero-name {
  display: block;
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 500; color: var(--muted);
  letter-spacing: 0.05em; margin-bottom: 8px;
}
.hero-headline {
  display: block;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; background-size: 200% 200%;
  animation: gradShift 4s ease infinite;
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cursor-blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-sub {
  font-size: 17px; font-weight: 400; color: var(--muted); line-height: 1.7;
  margin-bottom: 36px; max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600;
  padding: 12px 24px; border-radius: 10px;
  text-decoration: none; border: none;
  cursor: pointer; transition: all var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px var(--glow); background: #5558e8; }
.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover { background: var(--surface); transform: translateY(-2px); }
.btn-sm { font-size: 13px; padding: 8px 16px; border-radius: 8px; }
.btn-lg { font-size: 16px; padding: 14px 28px; border-radius: 12px; }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-n { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--text); }
.stat-l { font-size: 12px; color: var(--muted); font-weight: 400; }
.stat-div { width: 1px; height: 36px; background: var(--border2); }

/* ---- HERO MOCKUP ---- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-mockup {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  border-radius: 16px;
  overflow: hidden;
  width: 100%; max-width: 460px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px var(--border);
  backdrop-filter: blur(10px);
  animation: mockupFloat 6s ease-in-out infinite;
}
@keyframes mockupFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.mockup-header {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #22c55e; }
.mockup-url { font-size: 12px; color: var(--muted2); flex: 1; text-align: center; }
.mockup-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mockup-line {
  height: 10px; border-radius: 5px;
  background: linear-gradient(90deg, var(--surface2), rgba(255,255,255,0.04));
  animation: shimmer 2s infinite;
}
.mockup-line.w80 { width: 80%; }
.mockup-line.w60 { width: 60%; }
.mockup-line.w40 { width: 40%; }
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.mockup-blocks { display: flex; gap: 10px; margin: 8px 0; }
.mockup-block {
  height: 70px; border-radius: 10px; flex: 1;
  background: var(--surface2);
}
.mockup-block.b1 { background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(99,102,241,0.05)); border: 1px solid rgba(99,102,241,0.2); }
.mockup-block.b2 { background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.05)); border: 1px solid rgba(139,92,246,0.2); }
.mockup-block.b3 { background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(34,211,238,0.03)); border: 1px solid rgba(34,211,238,0.2); }
.mockup-btn-fake {
  height: 36px; width: 140px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  opacity: 0.8;
  box-shadow: 0 0 20px var(--glow);
}

.hero-float {
  position: absolute;
  background: rgba(15,23,42,0.85);
  border: 1px solid var(--border2);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 12px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hero-float.f1 { top: 20%; right: -20px; animation: floatBadge 3s ease-in-out infinite; }
.hero-float.f2 { bottom: 30%; right: -30px; animation: floatBadge 3s ease-in-out infinite 1s; }
.hero-float.f3 { bottom: 15%; left: -20px; animation: floatBadge 3s ease-in-out infinite 2s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted2); font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--muted2), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.3; }
}

/* ---- SECTIONS ---- */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}

/* ---- SERVICES ---- */
.services-section { background: var(--bg3); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative; overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(99,102,241,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.service-card:hover::before { opacity: 1; }
.sc-icon {
  width: 44px; height: 44px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 16px;
}
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.sc-tag {
  font-size: 11px; font-weight: 600;
  background: rgba(99,102,241,0.1);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,0.2);
  padding: 3px 10px; border-radius: 100px;
}

/* ---- WHY SECTION ---- */
.why-section {
  background: var(--bg);
  position: relative;
}
.why-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(99,102,241,0.04), transparent);
  pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; gap: 16px;
  transition: border-color var(--transition), background var(--transition);
}
.why-card:hover { border-color: var(--border2); background: var(--surface2); }
.wc-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(99,102,241,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.why-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---- PORTFOLIO ---- */
.portfolio-section { background: var(--bg3); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.3); border-color: var(--border2); }
.pcard-img {
  height: 200px;
  background: linear-gradient(135deg, var(--g1, #1e293b), var(--g2, #0f172a));
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.portfolio-card:hover .pcard-img img {
  transform: scale(1.05);
}
.pcard-overlay {
  position: absolute; inset: 0;
  background: rgba(15,23,42,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.portfolio-card:hover .pcard-overlay { opacity: 1; }
.pcard-info { padding: 20px; }
.pcard-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.pcard-info p { font-size: 13px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-tags span {
  font-size: 11px; font-weight: 500;
  background: var(--surface2); color: var(--muted);
  border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px;
}

/* Mockup components inside portfolio cards */
.pm {
  width: 85%; background: rgba(15,23,42,0.8);
  border: 1px solid var(--border2);
  border-radius: 8px; overflow: hidden;
}
.pm-bar {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid var(--border);
  padding: 8px 10px; display: flex; gap: 4px;
}
.pm-bar span {
  width: 7px; height: 7px; border-radius: 50%;
}
.pm-bar span:nth-child(1) { background: #ef4444; }
.pm-bar span:nth-child(2) { background: #f59e0b; }
.pm-bar span:nth-child(3) { background: #22c55e; }
.pm-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.pml { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.12); }
.pml.w80 { width: 80%; }
.pml.w70 { width: 70%; }
.pml.w60 { width: 60%; }
.pml.w55 { width: 55%; }
.pml.w50 { width: 50%; }
.pml.w40 { width: 40%; }
.pml.w35 { width: 35%; }
.pm-row { display: flex; gap: 6px; margin-top: 4px; }
.pmb { height: 30px; border-radius: 4px; flex: 1; }
.pmb.c1 { background: rgba(99,102,241,0.25); }
.pmb.c2 { background: rgba(139,92,246,0.25); }
.pm-hero-b { height: 45px; border-radius: 6px; background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(139,92,246,0.2)); margin-bottom: 4px; }
.pm-grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.pmb2 { height: 35px; border-radius: 4px; background: rgba(255,255,255,0.08); }
.pm-dash { flex-direction: row; gap: 8px; }
.pm-sidebar { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.psn { height: 6px; width: 36px; border-radius: 3px; background: rgba(255,255,255,0.1); }
.psn.act { background: rgba(99,102,241,0.5); }
.pm-main { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.pm-chart-fake { height: 30px; border-radius: 4px; background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(34,211,238,0.1)); }
.pm-products { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.pmp { height: 28px; border-radius: 4px; background: rgba(255,255,255,0.08); }
.pm-cta-f { height: 20px; width: 80px; border-radius: 4px; background: linear-gradient(135deg, var(--accent), var(--accent2)); opacity: 0.7; }

/* ---- PRICING ---- */
.pricing-section { background: var(--bg); }
.pricing-group { margin-bottom: 40px; }
.pricing-group-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted2); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.pricing-group-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.pricing-cards { display: flex; flex-direction: column; gap: 10px; }
.pc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: start;
  position: relative; overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}
.pc::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(99,102,241,0.05), transparent 40%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.pc:hover { border-color: var(--border2); background: var(--surface2); }
.pc:hover::before { opacity: 1; }
.pc.featured {
  border-color: rgba(99,102,241,0.35);
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, var(--surface) 100%);
}
.pc-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  margin-top: 10px;
}
.pc-left h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.pc-left p { font-size: 13px; color: var(--muted); line-height: 1.65; max-width: 500px; margin-bottom: 12px; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pct {
  font-size: 11px; font-weight: 500;
  padding: 3px 10px; border-radius: 100px;
}
.pct.neutral { background: var(--surface2); color: var(--muted); border: 1px solid var(--border); }
.pct.green { background: rgba(74,222,128,0.08); color: #86efac; border: 1px solid rgba(74,222,128,0.2); }
.pct.amber { background: rgba(245,158,11,0.1); color: #fcd34d; border: 1px solid rgba(245,158,11,0.2); }
.pc-right { text-align: right; min-width: 160px; }
.pc-price {
  font-size: 18px; font-weight: 800;
  color: var(--text); white-space: nowrap; line-height: 1.3;
}
.pc.featured .pc-price { color: #a5b4fc; }
.pc-type { font-size: 11px; color: var(--muted2); margin-top: 4px; }

.maintenance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.mc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: border-color var(--transition);
}
.mc:hover { border-color: var(--border2); }
.mc-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2); margin-bottom: 10px; }
.mc-price {
  font-size: 24px; font-weight: 800; color: var(--cyan); margin-bottom: 8px; line-height: 1.1;
}
.mc-price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.mc-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

.pricing-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.pnote {
  border-radius: var(--radius-sm); padding: 20px 22px;
  font-size: 13px; line-height: 1.7;
}
.pnote strong {
  display: block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 8px; opacity: 0.8;
}
.pnote.green {
  background: rgba(74,222,128,0.05);
  border: 1px solid rgba(74,222,128,0.15);
  color: #bbf7d0;
}
.pnote.amber {
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.15);
  color: #fde68a;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--bg3); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
}
.tc:hover { border-color: var(--border2); transform: translateY(-4px); }
.tc-quote { color: var(--accent); opacity: 0.6; }
.tc p { font-size: 14px; color: var(--muted); line-height: 1.75; flex: 1; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.tc-author strong { display: block; font-size: 14px; font-weight: 700; }
.tc-author span { font-size: 12px; color: var(--muted); }

/* ---- CTA SECTION ---- */
.cta-section { background: var(--bg); }
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.15), transparent 70%);
  pointer-events: none;
}
.cta-box .eyebrow { display: block; margin-bottom: 16px; }
.cta-box h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-box p { font-size: 17px; color: var(--muted); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.cta-trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.cta-trust span { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  margin-bottom: 14px;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.soc-link {
  width: 38px; height: 38px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.soc-link:hover { color: var(--text); border-color: var(--accent); background: rgba(99,102,241,0.1); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--text); }
.footer-contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 13px; color: var(--muted2); }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 500;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.wa-tooltip {
  position: absolute; right: 70px;
  background: rgba(15,23,42,0.9);
  border: 1px solid var(--border2);
  color: var(--text);
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px;
  white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .navbar { padding: 16px 0; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    height: 100vh; width: 280px;
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center;
    gap: 8px; padding: 40px 24px;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 16px; border-radius: 10px; font-size: 16px; }
  .hamburger { display: flex; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .maintenance-grid { grid-template-columns: 1fr; }
  .pricing-notes { grid-template-columns: 1fr; }
  .pc { grid-template-columns: 1fr; }
  .pc-right { text-align: left; }
  .cta-box { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
  .btn { cursor: pointer; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-stats { gap: 12px; }
  .stat-div { display: none; }
}
