/* ============================================================
   ArtermisX — Dark infra-tech UI
   ============================================================ */

:root {
  --bg: #07090d;
  --bg-2: #0b0f15;
  --bg-3: #10161f;
  --surface: #0f1520;
  --surface-2: #131a26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #e8edf3;
  --ink-soft: #b6c0cc;
  --muted: #7c8794;
  --mint: #5ee0c1;
  --teal: #2dd4bf;
  --teal-2: #14b8a6;
  --gold: #f5c46a;
  --danger: #ef6b6b;
  --grad-1: linear-gradient(135deg, #2dd4bf 0%, #5ee0c1 50%, #f5c46a 100%);
  --grad-cta: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 60%, #5ee0c1 100%);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(45, 212, 191, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(94, 224, 193, 0.06), transparent 60%);
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(45, 212, 191, 0.35); color: #fff; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ----------------------- Header ----------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  transition: background 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.main-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 200ms ease;
}
.main-nav a:hover::after { width: 100%; }

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  transition: all 200ms ease;
}
.header-cta:hover {
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.4);
  color: #fff;
}
.header-cta .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(94, 224, 193, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  margin: 3.5px auto;
  background: var(--ink);
  border-radius: 2px;
}

/* ----------------------- Buttons ----------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
  text-align: center;
}
.btn-primary {
  background: var(--grad-cta);
  color: #04201d;
  box-shadow: 0 14px 40px rgba(45, 212, 191, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(45, 212, 191, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-full { width: 100%; }
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

/* ----------------------- Eyebrows / Headings ----------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 999px;
}
.eyebrow .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(94, 224, 193, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(94, 224, 193, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(94, 224, 193, 0); }
}

h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 22px;
  color: #fff;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}
h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}

.grad-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 1.04rem;
  margin: 0;
}

/* ----------------------- Hero ----------------------- */

.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.glow-a {
  top: -10%;
  right: -10%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.5), transparent 70%);
}
.glow-b {
  bottom: -20%;
  left: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245, 196, 106, 0.25), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.hero-lede {
  max-width: 580px;
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
}
.hero-trust li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.hero-trust strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-trust span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Hero panel — terminal */

.hero-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--muted);
  font-size: 0.78rem;
}
.dots { display: inline-flex; gap: 6px; }
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2d3845;
  display: block;
}
.dots i:nth-child(1) { background: #ff5f56; }
.dots i:nth-child(2) { background: #ffbd2e; }
.dots i:nth-child(3) { background: #27c93f; }

.panel-body {
  padding: 18px 18px 14px;
  color: var(--ink-soft);
  min-height: 360px;
}
.panel-body p {
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel-body em {
  color: var(--mint);
  font-style: normal;
}
.prompt { color: var(--teal); font-weight: 600; margin-right: 6px; }
.ok { color: var(--ink); }
.ok::first-letter { color: var(--mint); }

.caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  vertical-align: -2px;
  background: var(--mint);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.panel-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink-soft);
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(94, 224, 193, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

/* ----------------------- Trust strip ----------------------- */

.trust-strip {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  justify-content: space-between;
}
.trust-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  color: var(--ink-soft);
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.7;
}
.logo-row span { font-size: 0.95rem; }

/* ----------------------- Sections (generic) ----------------------- */

.services,
.compare,
.why,
.process,
.usecases,
.faq,
.contact {
  padding: 110px 0;
  position: relative;
}

/* ----------------------- Services ----------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(180deg, transparent, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background 300ms ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
}
.service-card:hover::before {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.5), transparent 70%);
}
.service-card[data-accent="mint"]:hover::before { background: linear-gradient(180deg, rgba(94, 224, 193, 0.6), transparent 70%); }
.service-card[data-accent="teal"]:hover::before { background: linear-gradient(180deg, rgba(45, 212, 191, 0.7), transparent 70%); }
.service-card[data-accent="gold"]:hover::before { background: linear-gradient(180deg, rgba(245, 196, 106, 0.6), transparent 70%); }

.service-card.featured {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.08), rgba(255, 255, 255, 0.01));
  border-color: rgba(45, 212, 191, 0.25);
}
.ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #04201d;
  background: var(--grad-cta);
  border-radius: 999px;
}

.service-card header { margin-bottom: 18px; }

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mint);
}
.service-card[data-accent="teal"] .service-icon { color: var(--teal); }
.service-card[data-accent="gold"] .service-icon { color: var(--gold); }

.card-tag {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.price {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.price strong {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}
.card-desc {
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.service-card li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--mint) 0 4px, transparent 5px),
    rgba(94, 224, 193, 0.12);
}
.service-card[data-accent="teal"] li::before {
  background:
    radial-gradient(circle, var(--teal) 0 4px, transparent 5px),
    rgba(45, 212, 191, 0.14);
}
.service-card[data-accent="gold"] li::before {
  background:
    radial-gradient(circle, var(--gold) 0 4px, transparent 5px),
    rgba(245, 196, 106, 0.14);
}

.card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--mint);
  font-size: 0.95rem;
  transition: gap 180ms ease, color 180ms ease;
}
.service-card[data-accent="teal"] .card-cta { color: var(--teal); }
.service-card[data-accent="gold"] .card-cta { color: var(--gold); }
.card-cta:hover { gap: 10px; }

/* ----------------------- Compare ----------------------- */

.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.compare-table thead th {
  padding: 18px 22px;
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.compare-table tbody th {
  padding: 16px 22px;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.compare-table tbody td {
  padding: 16px 22px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .yes {
  color: #fff;
  font-weight: 600;
  position: relative;
  padding-left: 38px;
}
.compare-table .yes::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(94, 224, 193, 0.18);
  transform: translateY(-50%);
}
.compare-table .ok { color: var(--ink); }
.th-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.th-pill.mint { background: rgba(94, 224, 193, 0.12); color: var(--mint); border: 1px solid rgba(94, 224, 193, 0.3); }
.th-pill.teal { background: rgba(45, 212, 191, 0.12); color: var(--teal); border: 1px solid rgba(45, 212, 191, 0.3); }
.th-pill.gold { background: rgba(245, 196, 106, 0.12); color: var(--gold); border: 1px solid rgba(245, 196, 106, 0.3); }

/* ----------------------- Why ----------------------- */

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.why-intro { position: sticky; top: 110px; }
.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.why-list li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 200ms ease, transform 200ms ease;
}
.why-list li:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
}
.why-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(45, 212, 191, 0.08);
  color: var(--mint);
}
.why-list h3 { margin-bottom: 6px; }
.why-list p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ----------------------- Process ----------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.process-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
  position: relative;
}
.step-num {
  display: inline-block;
  margin-bottom: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  color: var(--mint);
  padding: 4px 10px;
  border: 1px solid rgba(94, 224, 193, 0.3);
  border-radius: 999px;
  background: rgba(94, 224, 193, 0.08);
}
.process-grid p { color: var(--ink-soft); margin: 0; }
.process-grid .time {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
}

/* ----------------------- Use cases ----------------------- */

.usecases { padding: 80px 0; }
.usecase-card {
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(45, 212, 191, 0.1), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(245, 196, 106, 0.08), transparent 60%),
    var(--surface);
}
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.pill-grid span {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 180ms ease;
}
.pill-grid span:hover {
  border-color: rgba(45, 212, 191, 0.4);
  background: rgba(45, 212, 191, 0.08);
}

/* ----------------------- FAQ ----------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro a { color: var(--mint); font-weight: 600; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 200ms ease;
  overflow: hidden;
}
.faq-list details[open] {
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.04);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(currentColor, currentColor) center/10px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.6px 10px no-repeat;
  color: var(--mint);
  transition: transform 220ms ease;
}
.faq-list details[open] summary .ico {
  transform: rotate(45deg);
}
.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--ink-soft);
}

/* ----------------------- Contact ----------------------- */

.contact { padding-bottom: 130px; }
.contact-shell {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 56px;
  overflow: hidden;
  background: var(--surface);
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(45, 212, 191, 0.18), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(245, 196, 106, 0.12), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0/56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0/56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 35%, transparent 90%);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-copy p { color: var(--ink-soft); }
.contact-channels {
  list-style: none;
  margin: 28px 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.contact-channels li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 200ms ease;
}
.contact-channels li:hover { border-color: rgba(45, 212, 191, 0.35); }
.ch-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--mint);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.ch-label {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-channels a {
  color: #fff;
  font-weight: 600;
}
.reply-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* form */

.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 9, 13, 0.6);
  backdrop-filter: blur(8px);
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 6px; }
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field label,
.field > label:first-child {
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(45, 212, 191, 0.05);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.check-row .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}
.check-row .chip input { accent-color: var(--teal); }
.check-row .chip:has(input:checked) {
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(45, 212, 191, 0.1);
  color: #fff;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.form-status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.ok { color: var(--mint); }
.form-status.err { color: var(--danger); }

/* ----------------------- Footer ----------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  background: rgba(0, 0, 0, 0.3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--ink-soft);
  margin: 14px 0 0;
  max-width: 320px;
  font-size: 0.95rem;
}
.footer-h {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
}
.footer-col a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 180ms ease;
}
.footer-col a:hover { color: var(--mint); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

/* ----------------------- Reveal animation ----------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ----------------------- Responsive ----------------------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { order: -1; max-width: 560px; }
  .why-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .why-intro,
  .faq-intro { position: static; }
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }

  .site-header.nav-active .main-nav {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    padding: 10px;
    gap: 0;
    background: rgba(7, 9, 13, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
  }
  .site-header.nav-active .main-nav a {
    padding: 14px;
    border-radius: var(--radius-sm);
  }
  .site-header.nav-active .main-nav a:hover {
    background: rgba(45, 212, 191, 0.08);
  }

  .hero { padding: 130px 0 70px; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }

  .services, .compare, .why, .process, .usecases, .faq, .contact {
    padding: 70px 0;
  }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.88rem; }
  .compare-table thead th, .compare-table tbody th, .compare-table tbody td {
    padding: 12px 14px;
  }
  .compare-table .yes { padding-left: 28px; }
  .compare-table .yes::before { left: 12px; }
  .usecase-card { padding: 32px 24px; }
  .contact-shell { padding: 32px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { width: 100%; }
}
