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

:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --cream: #e8e0d0;
  --cream-dim: #a09880;
  --blue: #f0a91e;
  --blue-bright: #ffc94d;
  --blue-dim: #b8790a;
  --blue-glow: rgba(240, 169, 30, 0.15);
  --border: rgba(232, 224, 208, 0.08);
  --border-blue: rgba(240, 169, 30, 0.25);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.cursor {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}

.cursor-ring.hovered {
  width: 50px;
  height: 50px;
  border-color: var(--blue-bright);
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-dim);
  border-radius: 2px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1.25rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

nav.scrolled {
  padding: 1rem 5vw;
  background: rgba(13, 13, 13, 0.95);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.nav-logo-text span {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--blue) !important;
  color: var(--bg) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5vw 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 169, 30, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 169, 30, 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;
  top: 10%;
  left: 60%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 169, 30, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-blue);
  background: rgba(240, 169, 30, 0.05);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--blue-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--cream);
  animation: fadeUp 0.8s 0.1s ease both;
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  color: var(--blue);
}

.hero-title .line2 {
  display: block;
  color: var(--cream-dim);
  font-weight: 400;
  font-style: italic;
  font-size: 0.85em;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--cream-dim);
  max-width: 540px;
  line-height: 1.75;
  animation: fadeUp 0.8s 0.2s ease both;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240, 169, 30, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--cream);
  padding: 0.875rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--cream-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 0.8s 0.5s ease both;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--cream-dim);
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MARQUEE */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
  background: var(--bg2);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 22s linear infinite;
  width: max-content;
  align-items: center;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.marquee-item::before {
  content: '◆';
  color: var(--blue);
  font-size: 0.5rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* SECTIONS */
section {
  padding: 6rem 5vw;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--blue);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--cream-dim);
  max-width: 520px;
  line-height: 1.75;
  font-weight: 300;
}

/* SERVICES */
.services {
  background: var(--bg2);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}

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

.service-card {
  background: var(--bg2);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  background: var(--bg3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-glow);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s, border-color 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(240, 169, 30, 0.2);
  border-color: var(--blue);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.7;
  font-weight: 300;
}

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(25% / 2);
  right: calc(25% / 2);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-blue), var(--blue), var(--border-blue), transparent);
}

.process-step {
  padding: 0 2rem 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-step:nth-child(2) {
  transition-delay: 0.1s;
}

.process-step:nth-child(3) {
  transition-delay: 0.2s;
}

.process-step:nth-child(4) {
  transition-delay: 0.3s;
}

.step-dot {
  width: 56px;
  height: 56px;
  background: var(--bg2);
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--cream-dim);
  line-height: 1.65;
  font-weight: 300;
}

/* TECH */
.tech {
  background: var(--bg2);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--cream-dim);
  font-weight: 400;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tech-pill:hover {
  border-color: var(--blue);
  color: var(--cream);
  background: var(--blue-glow);
}

.tech-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-dim);
  flex-shrink: 0;
  transition: background 0.2s;
}

.tech-pill:hover .dot {
  background: var(--blue-bright);
}

/* WHY US */
.whyus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.whyus-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.whyus-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg2);
  transition: border-color 0.3s, background 0.3s;
}

.whyus-item:hover {
  border-color: var(--border-blue);
  background: rgba(240, 169, 30, 0.03);
}

.whyus-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue-glow);
  border: 1px solid var(--border-blue);
}

.whyus-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whyus-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.375rem;
}

.whyus-desc {
  font-size: 0.875rem;
  color: var(--cream-dim);
  line-height: 1.65;
  font-weight: 300;
}

.whyus-visual {
  position: relative;
  height: 420px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.code-block {
  padding: 1.5rem;
  width: 100%;
  height: 100%;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--cream-dim);
  position: relative;
  overflow: hidden;
}

.code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}

.code-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dot.r {
  background: #ff5f56;
}

.code-dot.y {
  background: #ffbd2e;
}

.code-dot.g {
  background: #27c93f;
}

.code-filename {
  font-size: 0.75rem;
  color: var(--cream-dim);
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
}

.code-content {
  margin-top: 2.5rem;
}

.kw {
  color: #ffc94d;
}

.fn {
  color: #e8c87a;
}

.str {
  color: #7dc98f;
}

.cm {
  color: #5a5a5a;
}

.num {
  color: #e89870;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--blue);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* CONTACT CTA */
.cta-section {
  background: var(--bg2);
  text-align: center;
  padding: 8rem 5vw;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 169, 30, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section .section-label {
  justify-content: center;
}

.cta-section .section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.cta-section .section-desc {
  margin: 0 auto 2.5rem;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
}

.btn-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #1877f2;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-facebook:hover {
  background: #1464d3;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(24, 119, 242, 0.3);
}

.btn-facebook svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}

.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--cream);
  padding: 1rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--blue);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-email:hover {
  background: var(--blue-glow);
  transform: translateY(-2px);
}

.btn-email svg {
  width: 20px;
  height: 20px;
  fill: var(--cream);
  flex-shrink: 0;
}

/* FOOTER */
footer {
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cream);
}

.footer-logo span {
  color: var(--blue);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--cream-dim);
  opacity: 0.6;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

/* MOBILE */
body {
  cursor: none;
}

@media (max-width: 900px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }

  .services-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .whyus-grid {
    grid-template-columns: 1fr;
  }

  .whyus-visual {
    height: 280px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    padding: 1.5rem 5vw;
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.4rem;
  }
}
