:root {
  --bg: #05070d;
  --bg-elevated: #0d1326;
  --bg-card: #10162c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --text-muted: #a7afc7;
  --accent-a: #38f2c8;
  --accent-b: #7c5cff;
  --gradient: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  --whatsapp: #25d366;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1160px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.center { text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.brand-name strong { font-weight: 800; color: var(--accent-a); }

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  background: var(--bg-elevated);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn img { flex-shrink: 0; border-radius: 3px; }

.lang-btn.active {
  background: var(--bg-card);
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
}

.lang-switch-mobile { display: none; }

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn img { flex-shrink: 0; }
.brand-mark { flex-shrink: 0; height: 38px; width: auto; }
.brand-mark-sm { height: 30px; }

.btn-primary {
  background: var(--gradient);
  color: #05070d;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent-a); color: var(--accent-a); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #052e16;
}

.btn-whatsapp:hover { transform: translateY(-2px); }

.btn-small { padding: 9px 16px; font-size: 0.85rem; }

.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 90px 0 70px;
  background:
    radial-gradient(ellipse 900px 500px at 80% -10%, rgba(124, 92, 255, 0.25), transparent),
    radial-gradient(ellipse 700px 400px at 0% 20%, rgba(56, 242, 200, 0.12), transparent);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-highlights li::before {
  content: "◆";
  color: var(--accent-a);
  margin-right: 10px;
  font-size: 0.7rem;
}

.hero-art { display: flex; justify-content: center; }

.hero-art img { animation: heroFloat 6s ease-in-out infinite; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-copy > .eyebrow { animation-delay: 0.05s; }
.hero-copy > h1 { animation-delay: 0.15s; }
.hero-copy > .hero-sub { animation-delay: 0.28s; }
.hero-copy > .hero-cta { animation-delay: 0.4s; }
.hero-copy > .hero-highlights { animation-delay: 0.52s; }

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

/* Magnetic buttons */
.magnetic { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view { opacity: 1; transform: none; }

.strip-inner .reveal:nth-child(2) { transition-delay: 0.1s; }
.strip-inner .reveal:nth-child(3) { transition-delay: 0.2s; }

.cards .reveal:nth-child(2) { transition-delay: 0.12s; }
.cards .reveal:nth-child(3) { transition-delay: 0.24s; }

.why-list .reveal:nth-child(2) { transition-delay: 0.1s; }
.why-list .reveal:nth-child(3) { transition-delay: 0.2s; }
.why-list .reveal:nth-child(4) { transition-delay: 0.3s; }

.steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps .reveal:nth-child(3) { transition-delay: 0.2s; }
.steps .reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .hero-art img { animation: none; }
  .hero-copy > * { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .magnetic { transition: none; }
}

/* Strip */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
}

.strip-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strip-item strong { font-size: 1.02rem; }

.strip-item span { color: var(--text-muted); font-size: 0.9rem; }

/* Services */
.services { padding: 100px 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.4);
}

.card img { margin-bottom: 20px; }

.card h3 { margin: 0 0 12px; font-size: 1.2rem; }

.card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Why */
.why { padding: 90px 0; background: var(--bg-elevated); }

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.why-copy p { color: var(--text-muted); font-size: 1.02rem; max-width: 480px; }

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.95rem;
}

.check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient);
  color: #05070d;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Process */
.process { padding: 100px 0; }

.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
}

.step-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.step h3 { margin: 0 0 8px; font-size: 1.05rem; }

.step p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* CTA */
.cta {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(124, 92, 255, 0.22), transparent),
    var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.cta-text {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.02rem;
}

.cta-actions { display: flex; justify-content: center; }

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-copy { margin: 0; font-size: 0.82rem; opacity: 0.7; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 380px; margin: 0 auto; }
  .why-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 24px;
    gap: 16px;
    display: none;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 6px 0; font-size: 1.02rem; }
  .nav-toggle { display: flex; }

  /* Language switch moves into the mobile menu so the top bar never gets cramped */
  .lang-switch-desktop { display: none; }
  .lang-switch-mobile {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }
  .lang-switch-mobile .lang-btn {
    flex: 1;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.9rem;
    min-height: 44px;
    background: var(--bg-card);
  }
  .lang-switch-mobile .lang-btn.active { outline: 1px solid var(--accent-a); }

  .header-actions .btn-whatsapp span { display: none; }
  .header-actions .btn-whatsapp {
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-inner { height: 66px; }
  .brand-name { font-size: 0.95rem; }
  .brand-mark { height: 30px; width: auto; }
  .header-actions { gap: 8px; }
}

@media (max-width: 520px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .cta-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding: 16px 18px;
    font-size: 0.95rem;
  }
}
