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

:root {
  --bg: #080808;
  --bg2: #111111;
  --white: #ffffff;
  --gray: #888888;
  --border: #1e1e1e;
  --accent: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* NAV */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
#nav.scrolled { border-bottom-color: var(--border); }

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo span { color: #7c3aed; }

.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
}
.lang-btn {
  background: none;
  border: none;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  padding: 0;
}
.lang-btn:hover, .lang-btn.active { color: var(--white); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.nav-cta:hover {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.hero-content { max-width: 1200px; }

.hero-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 48px;
}
.hero-title .outline {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-sub {
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.btn-primary {
  display: inline-block;
  padding: 16px 36px;
  background: var(--white);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #e0e0e0;
}
.btn-large {
  padding: 20px 48px;
  font-size: 16px;
}

.hero-scroll {
  position: absolute;
  right: 48px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--gray);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 64px 48px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

/* SECTION COMMON */
section { border-bottom: 1px solid var(--border); }
.section-header {
  padding: 80px 48px 64px;
}
.section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.section-header h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.service-card {
  padding: 48px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--bg2); }
.service-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.08em;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* CLIENTS */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  padding: 0 48px 80px;
  gap: 0;
}
.client-item {
  padding: 56px 0;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding-left: 48px;
  transition: color 0.3s;
  cursor: default;
}
.client-item:hover { color: var(--white); }
.client-item:nth-child(3n) { border-right: none; }
.client-item:nth-child(4), .client-item:nth-child(5), .client-item:nth-child(6) { border-bottom: none; }

/* PROCESS */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0 48px 80px;
  border-top: 1px solid var(--border);
}
.step {
  flex: 1;
  padding: 48px 48px 48px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.08em;
}
.step h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}
.step-arrow {
  padding-top: 60px;
  font-size: 24px;
  color: var(--border);
  flex-shrink: 0;
}

/* CONTACT */
.contact {
  padding: 120px 48px;
  border-bottom: 1px solid var(--border);
}
.contact-inner {
  max-width: 700px;
}
.contact-inner h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 24px 0;
}
.contact-inner p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 40px;
}
.contact-email {
  font-size: 14px !important;
  color: var(--gray) !important;
  margin-bottom: 0 !important;
  margin-top: 24px;
}

/* FOOTER */
footer {
  padding: 40px 48px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-inner p {
  font-size: 13px;
  color: var(--gray);
}
.footer-links {
  font-size: 13px;
  color: var(--gray);
}

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

/* FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  #nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .hero { padding: 0 24px 64px; }
  .hero-scroll { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 40px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .section-header { padding: 60px 24px 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 24px; }
  .clients-grid { grid-template-columns: 1fr 1fr; padding: 0 24px 60px; }
  .client-item { padding-left: 0; font-size: 28px; }
  .client-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .client-item:nth-child(2n) { border-right: none; }
  .process-steps { flex-direction: column; padding: 0 24px 60px; }
  .step-arrow { display: none; }
  .step { padding: 40px 0; border-bottom: 1px solid var(--border); }
  .contact { padding: 80px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
