/* Link AI — test website 2 · Oryzo-inspired, mobile-first */
:root {
  --bg: #FFFFFF;
  --bg-deep: #F5EFE6;
  --ink: #1B1B1B;
  --ink-soft: #4A4A4A;
  --accent: #8B5CF6;
  --accent-2: #C084FC;
  --accent-deep: #6D28D9;
  --line: rgba(27, 27, 27, 0.12);
  --max: 1280px;
  --dark: #0C0A14;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
img, canvas, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* NAV (fixed, mix-blend) */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  z-index: 400;
  mix-blend-mode: difference;
  color: #fff;
  pointer-events: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.nav a { pointer-events: auto; }
.nav__brand { font-weight: 900; letter-spacing: 0.02em; font-size: 1rem; }
.nav__links { display: flex; gap: 1.5rem; text-transform: uppercase; }
@media (max-width: 720px) { .nav__links { display: none; } }

/* Vertical side label (Oryzo-style fixed right edge) */
.side-label {
  position: fixed;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--ink-soft);
  mix-blend-mode: difference;
  z-index: 350;
  white-space: nowrap;
  pointer-events: none;
}
.side-label span { display: inline-block; padding: 0 0.5rem; }
@media (max-width: 720px) { .side-label { display: none; } }

/* ═════════════════════════════════════════════════════════ */
/* 1 · HERO scroll-scrub */
/* ═════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 320vh;
  background: var(--bg);
}
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  display: grid;
  place-items: center;
}
.hero__canvas {
  position: relative;
  width: 100%;
  max-width: 100vw;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 92vh;
  background: transparent;
  z-index: 1;
}
@media (max-width: 720px) {
  .hero__canvas {
    max-width: 100vw;
    aspect-ratio: 540 / 960;
    max-height: 92vh;
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: clamp(4rem, 10vh, 7rem);
  pointer-events: none;
  z-index: 2;
}
.hero__wordmark {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 13vw, 10rem);
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 0.9;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero__tagline {
  margin-top: 1rem;
  font-size: clamp(0.9rem, 1.25vw, 1.1rem);
  color: var(--ink-soft);
  max-width: 38rem;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.12s, transform 0.6s ease 0.12s;
}
.hero__wordmark.visible, .hero__tagline.visible {
  opacity: 1; transform: translateY(0);
}
.hero__scroll-hint {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  z-index: 3;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); opacity: 0.45; }
  50% { transform: translate(-50%, 6px); opacity: 0.8; }
}

/* ═════════════════════════════════════════════════════════ */
/* 2 · "ISN'T JUST" reveal */
/* ═════════════════════════════════════════════════════════ */
.isnt-just {
  position: relative;
  height: 300vh;
  background: var(--dark);
  color: #F5EFE6;
}
.isnt-just__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.isnt-just__bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139,92,246,0.12) 0%, transparent 55%), var(--dark);
}
.isnt-just__logo {
  position: absolute;
  width: 46vmin;
  height: 46vmin;
  background: url('assets/hero/link-ai-logo.jpg') no-repeat center / contain;
  filter: drop-shadow(0 0 40px rgba(139,92,246,0.45));
  mix-blend-mode: screen;
  z-index: 1;
  transition: transform 0.3s ease-out;
}
.isnt-just__text-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1.5rem;
  text-align: center;
}
.isnt-just__line {
  display: block;
  font-weight: 900;
  font-size: clamp(2.25rem, 8.5vw, 7rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0.3em 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.isnt-just__line.visible { opacity: 1; transform: translateY(0); }
.isnt-just__faint {
  color: rgba(245, 239, 230, 0.3);
  display: inline-block;
  margin-right: 0.4em;
}
.isnt-just__strong { color: #F5EFE6; }
.isnt-just__caption {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  max-width: 22rem;
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.6);
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.isnt-just__caption.visible { opacity: 1; }
@media (max-width: 720px) {
  .isnt-just__caption { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; text-align: center; font-size: 0.75rem; }
}

/* ═════════════════════════════════════════════════════════ */
/* 3 · POWERED BY AI* (rainbow edge, hover interactive) */
/* ═════════════════════════════════════════════════════════ */
.powered {
  position: relative;
  padding: clamp(5rem, 14vw, 10rem) 1.25rem;
  background: #0A0710;
  color: #F5EFE6;
  overflow: hidden;
  isolation: isolate;
}
.powered__edge-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    conic-gradient(from 180deg at 50% 50%,
      rgba(139, 92, 246, 0.35) 0deg,
      rgba(192, 132, 252, 0.15) 90deg,
      rgba(236, 72, 153, 0.20) 180deg,
      rgba(251, 146, 60, 0.15) 270deg,
      rgba(139, 92, 246, 0.35) 360deg);
  filter: blur(120px);
  opacity: 0.85;
  z-index: 0;
}
.powered__inner {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}
.powered__headline-block {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}
.powered__headline {
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.powered__headline sup {
  font-size: 0.4em;
  color: var(--accent);
  vertical-align: super;
  font-weight: 700;
}
.powered__subtag {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-top: 0.5rem;
}
.powered__stage {
  position: relative;
  width: clamp(16rem, 40vw, 24rem);
  aspect-ratio: 1;
  margin: 0 auto 2rem;
  cursor: none;
}
.powered__halo {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(139,92,246,0.4) 0%, transparent 60%);
  filter: blur(40px);
  transition: transform 0.3s ease-out;
  pointer-events: none;
}
.powered__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 40px rgba(139,92,246,0.5));
  transition: transform 0.3s ease-out;
  mix-blend-mode: screen;
}
.powered__stage[data-active] .powered__logo {
  transform: scale(1.08) rotateY(12deg);
}
.powered__stage[data-active] .powered__halo {
  transform: scale(1.25);
}
.powered__hint {
  position: absolute;
  bottom: -2rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(245,239,230,0.5);
}
.powered__body {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(245,239,230,0.85);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}
.powered__fine {
  display: block;
  margin-top: 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(245,239,230,0.4);
}

/* ═════════════════════════════════════════════════════════ */
/* 4 · FEATURES gallery */
/* ═════════════════════════════════════════════════════════ */
.features {
  padding: clamp(5rem, 12vw, 9rem) 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}
.features__header {
  margin-bottom: clamp(2rem, 6vw, 5rem);
}
.features__header h2 {
  margin-top: 0.5rem;
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.feature.visible { opacity: 1; transform: translateY(0); }
.feature--reverse .feature__art { order: 2; }
.feature--reverse .feature__text { order: 1; }
.feature__art {
  aspect-ratio: 16 / 10;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px -20px rgba(139,92,246,0.2);
  transition: transform 0.6s cubic-bezier(.2,.9,.3,1), box-shadow 0.4s ease;
}
.feature:hover .feature__art {
  transform: scale(1.015);
  box-shadow: 0 30px 60px -20px rgba(139,92,246,0.35);
}
.feature__art--whatsapp { background-image: url('assets/services/service-01.jpg'); }
.feature__art--voice { background-image: url('assets/services/service-02.jpg'); }
.feature__art--sites { background-image: url('assets/services/service-03.jpg'); }
.feature__art--leads { background-image: url('assets/services/service-04.jpg'); }
.feature__art--ads { background-image: url('assets/services/service-05.jpg'); }
.feature__art--seo { background-image: url('assets/services/service-06.jpg'); }
.feature__text { max-width: 38ch; }
.feature__num {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.feature__text h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.feature__text p {
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
}
@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; gap: 1.25rem; }
  .feature--reverse .feature__art { order: 0; }
  .feature--reverse .feature__text { order: 0; }
}

/* ═════════════════════════════════════════════════════════ */
/* 5 · SPOTLIGHT */
/* ═════════════════════════════════════════════════════════ */
.spotlight {
  padding: clamp(5rem, 14vw, 10rem) 1.25rem;
  background: var(--accent);
  color: var(--bg);
}
.spotlight__inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
.spotlight__eyebrow { color: rgba(245,239,230,0.65); margin-bottom: 1rem; }
.spotlight__heading {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.spotlight__body {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: rgba(245,239,230,0.88);
  max-width: 48ch;
  margin: 0 auto;
}

/* ═════════════════════════════════════════════════════════ */
/* 6 · CONTACT */
/* ═════════════════════════════════════════════════════════ */
.contact {
  padding: clamp(5rem, 12vw, 9rem) 1.25rem;
  border-top: 1px solid var(--line);
}
.contact__inner { max-width: var(--max); margin: 0 auto; }
.contact__heading {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.75rem 0 1.25rem;
}
.contact__body {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent); }
.btn--secondary { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn--secondary:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* FOOTER */
.footer {
  position: relative;
  padding: 2.5rem 1.25rem;
  background: var(--dark);
  color: rgba(245,239,230,0.6);
  font-size: 0.85rem;
  overflow: hidden;
}
.footer__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__links { display: flex; gap: 1rem; }
.footer__links a:hover { color: var(--accent-2); }
.footer__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero, .isnt-just { height: 100vh !important; }
  .hero__sticky, .isnt-just__sticky { position: relative; }
  .hero__wordmark, .hero__tagline, .isnt-just__line, .isnt-just__caption, .feature {
    opacity: 1 !important; transform: none !important;
  }
}
