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

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --accent: #c8f04a;
  --accent2: #4af0b8;
  --text: #e8e8f0;
  --muted: #6a6a80;
  --border: rgba(200, 240, 74, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

.cursor {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.3s, height 0.3s;
  opacity: 0.5;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95), transparent);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.25s;
}

.nav-cta:hover {
  background: var(--accent2);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(200, 240, 74, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(200, 240, 74, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 240, 74, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 240, 184, 0.06) 0%, transparent 70%);
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  display: block;
}

.hero-sub {
  max-width: 520px;
  margin-top: 32px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-actions {
  margin-top: 52px;
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 16px 36px;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background 0.25s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
}

.btn-secondary {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--text);
}

.hero-stats {
  margin-top: 80px;
  display: flex;
  gap: 60px;
  opacity: 0;
  animation: fadeUp 0.9s 1s forwards;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
  background: var(--surface);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  flex-shrink: 0;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

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

.section {
  padding: 100px 60px;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--surface);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover {
  background: #16161e;
}

.service-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-section {
  padding: 100px 60px;
  background: var(--surface);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 0;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg);
}

.portfolio-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.5s ease;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transform: translateY(20px);
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.portfolio-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.p1 {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.p2 {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
}

.p3 {
  background: linear-gradient(135deg, #0d0d0d, #1a0a00, #331a00);
}

.p4 {
  background: linear-gradient(135deg, #000428, #004e92);
}

.p1 .portfolio-card-inner::after,
.p2 .portfolio-card-inner::after,
.p3 .portfolio-card-inner::after,
.p4 .portfolio-card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
}

.portfolio-mockup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-browser {
  width: 75%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.mock-bar {
  height: 24px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
}

.mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mock-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-line.accent {
  background: var(--accent);
  opacity: 0.6;
  width: 40%;
}

.mock-line.half {
  width: 60%;
}

.mock-line.third {
  width: 35%;
}

.mock-cols {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.mock-col {
  flex: 1;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
}

.process-section {
  padding: 100px 60px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 0;
}

.process-step {
  padding: 40px 28px;
  background: var(--surface);
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
  z-index: 2;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 24px;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.cta-section {
  padding: 120px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(200, 240, 74, 0.07), transparent);
}

.cta-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
}

.cta-headline em {
  font-style: normal;
  color: var(--accent);
}

.cta-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 18px 44px;
  clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
  transition: background 0.25s, transform 0.2s;
}

.btn-whatsapp:hover {
  background: var(--accent2);
  transform: translateY(-3px);
}

.phone-display {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

footer {
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--accent);
}

.footer-rights {
  font-size: 0.8rem;
  color: var(--muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  nav {
    padding: 20px 24px;
  }
  .hero {
    padding: 120px 24px 60px;
  }
  .section, .portfolio-section, .process-section, .cta-section {
    padding: 72px 24px;
  }
  footer {
    padding: 32px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .services-grid, .process-steps {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 36px;
    flex-wrap: wrap;
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
}
