/* ARK TECH — styles.css */

:root {
  --bg: #050711;
  --bg-soft: #080b18;
  --surface: #0e1226;
  --surface-2: #131834;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6ff;
  --muted: #9aa3c4;
  --muted-2: #6b7395;
  --cyan: #22d3ee;
  --violet: #a855f7;
  --magenta: #ec4899;
  --amber: #f59e0b;
  --gradient: linear-gradient(115deg, var(--cyan) 0%, var(--violet) 52%, var(--amber) 100%);
  --gradient-soft: linear-gradient(115deg, rgba(34, 211, 238, 0.16), rgba(168, 85, 247, 0.16) 55%, rgba(245, 158, 11, 0.16));
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

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

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

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; }

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

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.14em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  background: var(--gradient);
  color: #050711;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  box-shadow: 0 10px 30px -8px rgba(168, 85, 247, 0.55);
}
.button:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 36px -8px rgba(168, 85, 247, 0.65); }
.button:active { transform: translateY(0); }
.button .icon { transition: transform 0.25s var(--ease); }
.button:hover .icon { transform: translateX(3px); }

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.button-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.28); }

.button-small { padding: 11px 18px; font-size: 0.88rem; }
.full-button { width: 100%; padding: 17px 20px; font-size: 1rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--cyan);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
  transition: gap 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.text-link:hover { gap: 12px; color: #67e8f9; border-color: rgba(103, 232, 249, 0.6); }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 7, 17, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.topbar.is-scrolled {
  background: rgba(5, 7, 17, 0.86);
  border-bottom-color: var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-size: 1.05rem;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand strong { letter-spacing: 0.02em; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.desktop-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { transform: scaleX(1); }

.desktop-cta { display: inline-flex; }

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.2rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 20px;
  background: rgba(5, 7, 17, 0.98);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a {
  padding: 13px 6px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.is-open { display: flex; }
.mobile-nav .button { margin-top: 10px; }

@media (max-width: 880px) {
  .desktop-nav, .desktop-cta { display: none; }
  .menu-button { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 18% 18%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(55% 55% at 85% 12%, rgba(168, 85, 247, 0.16), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(245, 158, 11, 0.08), transparent 60%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(60% 60% at 50% 30%, black, transparent 85%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-orb.orb-a { width: 420px; height: 420px; background: var(--cyan); top: -120px; right: -80px; }
.hero-orb.orb-b { width: 340px; height: 340px; background: var(--violet); bottom: -140px; left: -100px; }

.hero-content { position: relative; max-width: 760px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 26px;
}
.hero-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  font-weight: 800;
}
.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
}
.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted-2);
}
.hero-notes .icon { color: var(--cyan); }
.hero-notes .dot { width: 8px; height: 8px; border-radius: 50%; }
.hero-notes .dot.magenta { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.hero-notes .dot.amber { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

.explore {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- Sections generic ---------- */
.section { position: relative; padding: 110px 0; }
.dark-band { background: var(--bg-soft); }
.light-band { background: #f5f6fb; color: #10132a; }
.contact-band {
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(55% 60% at 90% 80%, rgba(236, 72, 153, 0.12), transparent 60%),
    var(--bg);
}

.section-heading { max-width: 640px; margin-bottom: 56px; }
.section-heading.light-heading { max-width: 720px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
}
.eyebrow.magenta-color { color: var(--magenta); }
.eyebrow.amber-color { color: var(--amber); }
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  font-weight: 800;
}
.light-band .section-heading h2 { color: #0b0e22; }
.section-heading p { color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.light-band .section-heading p { color: #4b5279; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }

.service-feature {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}
.service-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-feature:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.service-feature:hover::before { opacity: 1; }

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--cyan);
}
.service-top.magenta-color { color: var(--magenta); }
.service-top .icon { width: 30px; height: 30px; }
.service-number {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: var(--cyan);
}
.service-number.magenta-border { border-color: rgba(236, 72, 153, 0.4); color: var(--magenta); }

.service-feature h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.service-feature > p.muted {
  color: var(--muted);
  margin: 0 0 26px;
  font-size: 0.98rem;
}

.channel {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.channel:first-of-type { border-top: 1px solid var(--border); }
.channel .icon {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 3px;
  color: var(--cyan);
}
.channel strong { display: block; font-size: 0.98rem; margin-bottom: 2px; }
.channel p { margin: 0; color: var(--muted-2); font-size: 0.9rem; }

.checks { display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: #dbe0f5;
}
.checks .icon {
  flex: none;
  width: 19px; height: 19px;
  margin-top: 2px;
  padding: 2px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.16);
  color: var(--magenta);
}

/* ---------- Automation band ---------- */
.automation-band { padding: 100px 0; }
.automation-layout { display: flex; flex-direction: column; gap: 46px; }
.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 760px) { .automation-grid { grid-template-columns: 1fr; } }

.automation-grid article {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}
.automation-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.05);
}
.automation-grid .icon {
  width: 30px; height: 30px;
  color: var(--amber);
  margin-bottom: 16px;
}
.automation-grid h3 { margin: 0 0 10px; font-size: 1.2rem; }
.automation-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Differentials ---------- */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .difference-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .difference-grid { grid-template-columns: 1fr; } }

.difference-grid article {
  background: #ffffff;
  border: 1px solid rgba(16, 19, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: 0 10px 30px -14px rgba(16, 19, 42, 0.15);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.difference-grid article:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -14px rgba(16, 19, 42, 0.22); }
.difference-grid .icon {
  width: 24px; height: 24px;
  color: #fff;
  margin-bottom: 16px;
  background: var(--gradient);
  padding: 10px;
  border-radius: 12px;
  box-sizing: content-box;
}
.difference-grid h3 { margin: 0 0 8px; font-size: 1.08rem; color: #0b0e22; }
.difference-grid p { margin: 0; color: #4b5279; font-size: 0.92rem; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

.process-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}
.process-grid span {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.process-grid h3 { margin: 0 0 8px; font-size: 1.08rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  flex: none;
  color: var(--cyan);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 640px;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 940px) { .contact-layout { grid-template-columns: 1fr; gap: 44px; } }

.contact-links { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; }
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  transition: gap 0.25s var(--ease), color 0.25s ease;
}
.contact-links a:hover { gap: 16px; color: var(--cyan); }
.contact-links a .icon:first-child { color: var(--cyan); width: 19px; height: 19px; }
.contact-links a .icon:last-child { margin-left: auto; width: 17px; height: 17px; opacity: 0.6; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}
.contact-form input,
.contact-form select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font-size: 0.96rem;
  font-family: inherit;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.contact-form input::placeholder { color: var(--muted-2); }
.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.05);
}
.contact-form select { appearance: none; cursor: pointer; }
.form-note { margin: 0; font-size: 0.82rem; color: var(--muted-2); text-align: center; }

/* ---------- Footer ---------- */
footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 46px 0; }
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 10px; }
.footer-brand strong { display: block; font-size: 1rem; }
.footer-brand p { margin: 2px 0 0; color: var(--muted-2); font-size: 0.85rem; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
footer nav a:hover { color: var(--text); }
footer > .container > p { width: 100%; margin: 0; color: var(--muted-2); font-size: 0.8rem; text-align: center; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #06210f;
  box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.55);
  animation: pulse-wa 2.6s ease-in-out infinite;
}
.whatsapp-float .icon { width: 28px; height: 28px; }
.whatsapp-float:hover { animation-play-state: paused; transform: scale(1.06); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.55); }
  50% { box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.85), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}

@media (max-width: 600px) {
  .section { padding: 78px 0; }
  .hero { padding-top: 130px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
