/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0a0a10;
  color: oklch(0.96 0.004 262);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }

h1, h2, h3 { font-family: 'Poppins', sans-serif; }

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

.accent-text { color: oklch(0.68 0.19 276); }

@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floatGlow { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.85; } }

/* fade-in-on-scroll (see assets/js/main.js) */
.fade-el { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-el.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 14vw, 140px) clamp(20px, 6vw, 80px) clamp(56px, 10vw, 110px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: oklch(0.13 0.015 262);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, oklch(0.32 0.09 271 / 0.55), transparent 65%);
  pointer-events: none;
  animation: floatGlow 7s ease-in-out infinite;
}

.badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: oklch(0.19 0.02 262);
  border: 1px solid oklch(0.3 0.02 262);
  font-size: 13px;
  color: oklch(0.75 0.03 262);
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.68 0.19 276);
  flex-shrink: 0;
}

.hero-title {
  position: relative;
  font-weight: 900;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.hero-subtitle {
  position: relative;
  font-size: clamp(16px, 2vw, 19px);
  color: oklch(0.65 0.02 262);
  max-width: 560px;
  margin-top: 24px;
  line-height: 1.6;
}

.btn-whatsapp {
  position: relative;
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(13px, 3.4vw, 17px) clamp(20px, 5vw, 30px);
  border-radius: 100px;
  background: oklch(0.8 0.22 152);
  color: oklch(0.16 0.02 262);
  font-weight: 700;
  font-size: clamp(14px, 3.6vw, 16px);
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 0 40px oklch(0.8 0.22 152 / 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp svg { flex-shrink: 0; }

.btn-whatsapp:hover {
  transform: scale(1.03);
  box-shadow: 0 0 55px oklch(0.8 0.22 152 / 0.5);
}

.btn-whatsapp-lg {
  padding: clamp(14px, 3.6vw, 18px) clamp(22px, 5.6vw, 32px);
  font-size: clamp(15px, 3.8vw, 17px);
}

.browser-mock {
  position: relative;
  margin-top: 64px;
  width: min(880px, 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid oklch(0.28 0.02 262);
  box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.6);
}

.browser-topbar {
  height: 34px;
  background: oklch(0.17 0.015 262);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  overflow: hidden;
}

.browser-topbar .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(0.4 0.02 262);
  flex-shrink: 0;
}

.browser-url {
  margin-left: 8px;
  font-size: 11px;
  color: oklch(0.55 0.02 262);
  font-family: monospace;
  white-space: nowrap;
}

.browser-body {
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
}

.browser-body img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 100px) clamp(20px, 6vw, 80px); }
.section-tight { padding: clamp(60px, 8vw, 100px) 0; overflow: hidden; }

.section-title {
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-tight .section-title,
.section-tight .section-subtitle { padding: 0 20px; }

.section-subtitle {
  text-align: center;
  color: oklch(0.6 0.02 262);
  max-width: 560px;
  margin: 0 auto 50px;
  font-size: 16px;
}

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: oklch(0.17 0.015 262);
  border: 1px solid oklch(0.26 0.02 262);
  border-radius: 18px;
  padding: 28px 24px;
}

.benefit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: oklch(0.24 0.05 271 / 0.6);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: oklch(0.68 0.19 276);
}

.benefit-card h3 { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.benefit-card p { font-size: 14.5px; color: oklch(0.62 0.02 262); line-height: 1.6; }

/* ---------- Marquee / portfolio ---------- */
.marquee-mask {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.project-card {
  width: 320px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid oklch(0.26 0.02 262);
  background: oklch(0.17 0.015 262);
}

.project-card img { width: 100%; height: 220px; object-fit: cover; }

.project-info { padding: 14px 16px 18px; }
.project-name { font-weight: 600; font-size: 14.5px; }
.project-category { font-size: 12.5px; color: oklch(0.55 0.02 262); margin-top: 2px; }

/* ---------- Steps ---------- */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.step-card {
  flex: 1 1 260px;
  min-width: 220px;
  position: relative;
  padding: 28px 22px;
  background: oklch(0.17 0.015 262);
  border: 1px solid oklch(0.26 0.02 262);
  border-radius: 18px;
}

.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: oklch(0.68 0.19 276);
  color: oklch(0.13 0.02 262);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
}

.step-card h3 { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: oklch(0.62 0.02 262); line-height: 1.6; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  padding: clamp(70px, 10vw, 120px) clamp(20px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  background: oklch(0.1 0.015 262);
}

.cta-glow {
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, oklch(0.3 0.09 271 / 0.5), transparent 65%);
  pointer-events: none;
}

.cta-title {
  position: relative;
  font-weight: 900;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  max-width: 700px;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-subtitle {
  position: relative;
  color: oklch(0.62 0.02 262);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 16px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 44px clamp(20px, 6vw, 80px) 36px;
  border-top: 1px solid oklch(0.22 0.02 262);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  text-align: center;
}

.footer-brand { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 16px; }

.footer-links { display: flex; gap: 24px; font-size: 14px; }
.footer-links a { text-decoration: none; color: oklch(0.65 0.02 262); padding: 8px 0; transition: color 0.2s ease; }
.footer-links a:hover { color: oklch(0.8 0.22 152); }
.footer-links a:last-child:hover { color: oklch(0.68 0.19 276); }

.footer-copy { width: 100%; font-size: 13px; color: oklch(0.48 0.02 262); }
