:root {
  --bg: #031326;
  --bg-soft: #071d38;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.095);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f6f8fc;
  --muted: #b8c3d6;
  --brand: #0875d1;
  --brand-2: #ff6f08;
  --brand-dark: #06448f;
  --danger: #ffbd87;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(8, 117, 209, 0.24), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(255, 111, 8, 0.17), transparent 30rem),
    linear-gradient(180deg, #031326 0%, #061a33 52%, #020b16 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #ffffff; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(14, 103, 223, .28);
  border-radius: 999px;
  background: rgba(14, 103, 223, .09);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 18px rgba(14, 103, 223, .55);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Arial Black", Inter, ui-sans-serif, sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
h1 { font-size: clamp(3.1rem, 8vw, 7.1rem); margin-bottom: 28px; }
h2 { font-size: clamp(2.15rem, 5vw, 4.2rem); margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.27rem); color: var(--muted); max-width: 730px; }
.muted { color: var(--muted); }
.gradient-text {
  background: linear-gradient(100deg, #ffffff 6%, var(--brand) 44%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kicker { color: var(--brand); font-weight: 800; letter-spacing: .02em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(2, 12, 25, .82);
  border-bottom: 1px solid rgba(255,255,255,.075);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  font-weight: 900;
}
.brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}
.brand span {
  display: inline-block;
  color: #f6f8fc;
  font-family: "Arial Black", Inter, ui-sans-serif, sans-serif;
  font-size: 1.62rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.brand span strong {
  color: var(--brand);
  font-weight: 900;
}

.nav-links { display: flex; align-items: center; gap: 28px; color: #dbe3df; font-size: .94rem; }
.nav-links a { transition: .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: .2s ease;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 40px rgba(14, 103, 223, .24);
}
.btn-primary:hover { box-shadow: 0 20px 50px rgba(14, 103, 223, .32); }
.btn-secondary { background: var(--surface); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-strong); border-color: rgba(255,255,255,.22); }
.btn-sm { min-height: 38px; padding-inline: 15px; font-size: .86rem; border-radius: 12px; }

.hero { padding: 116px 0 70px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 70px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; color: var(--muted); font-size: .92rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: "✓"; color: var(--brand); font-weight: 900; }
.hero-card {
  position: relative;
  min-height: 540px;
  padding: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
  border-radius: 34px;
  overflow: hidden;
  transform: rotate(1.4deg);
}
.hero-card::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  right: -85px;
  top: -85px;
  background: radial-gradient(circle, rgba(8,117,209,.34), transparent 68%);
  filter: blur(12px);
}
.window {
  height: 100%;
  min-height: 490px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 23px;
  background: #0a1730;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.window-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #6d7c76; }
.dot:first-child { background: #ff7e75; }
.dot:nth-child(2) { background: #ffd166; }
.dot:nth-child(3) { background: #6be0a7; }
.window-content { padding: 26px; flex: 1; position: relative; }
.code-line {
  height: 11px;
  border-radius: 99px;
  background: rgba(255,255,255,.09);
  margin-bottom: 15px;
}
.code-line:nth-child(2n) { width: 72%; }
.code-line:nth-child(3n) { width: 48%; background: rgba(8,117,209,.28); }
.code-panel {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 25px;
  min-height: 145px;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(8,117,209,.25);
  background: linear-gradient(135deg, rgba(8,117,209,.18), rgba(255,111,8,.12));
}
.code-panel strong { display: block; font-size: 1.5rem; margin-bottom: 8px; }
.floating-badge {
  position: absolute;
  right: -18px;
  bottom: 42px;
  padding: 15px 18px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  transform: rotate(-4deg);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 64px;
}
.logo-pill {
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  border-radius: 14px;
  color: #98a9a2;
  font-weight: 850;
  font-size: .85rem;
  letter-spacing: .04em;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(8,117,209,.38); background: rgba(255,255,255,.075); }
.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(8,117,209,.13);
  border: 1px solid rgba(8,117,209,.22);
  color: var(--brand);
  font-size: 1.35rem;
  margin-bottom: 24px;
}
.card p { color: var(--muted); margin-bottom: 0; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.sticky-copy { position: sticky; top: 120px; }
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--brand-dark);
  color: var(--brand);
  font-weight: 900;
}
.step p { margin-bottom: 0; color: var(--muted); }

.feature-panel {
  border-radius: 30px;
  padding: 34px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 100% 0, rgba(143,167,255,.14), transparent 40%),
    rgba(255,255,255,.04);
}
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
}
.check-item::before {
  content: "✓";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #062119;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 900;
  font-size: .78rem;
}
.check-item span { color: #dbe5e1; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project {
  min-height: 430px;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #0b1714;
}
.project:nth-child(1) { background: linear-gradient(145deg, #0f2b22, #101b2c); }
.project:nth-child(2) { background: linear-gradient(145deg, #241d38, #0c2420); }
.project::before, .project::after {
  content: "";
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.06);
  box-shadow: 0 25px 50px rgba(0,0,0,.2);
}
.project::before { width: 72%; height: 54%; top: 44px; right: -22px; transform: rotate(5deg); }
.project::after { width: 55%; height: 36%; top: 95px; left: 30px; transform: rotate(-4deg); }
.project-content { position: relative; z-index: 3; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { padding: 6px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
.stat { padding: 30px 24px; background: rgba(255,255,255,.035); border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2rem; letter-spacing: -.04em; color: var(--brand); }
.stat span { color: var(--muted); font-size: .9rem; }

.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: 17px; background: rgba(255,255,255,.035); overflow: hidden; }
.faq-question {
  width: 100%;
  padding: 21px 23px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 850;
}
.faq-question::after { content: "+"; color: var(--brand); font-size: 1.35rem; transition: .2s ease; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 23px 22px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

.contact-box {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 26px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 0 100%, rgba(255,111,8,.13), transparent 35%),
    rgba(255,255,255,.045);
}
.contact-copy { padding: 30px; }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-list a { color: var(--brand); font-weight: 800; }
.contact-form {
  padding: 28px;
  border-radius: 22px;
  background: rgba(3,10,8,.62);
  border: 1px solid rgba(255,255,255,.09);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 7px; color: #dce6e2; font-size: .88rem; font-weight: 750; }
.field input, .field textarea, .field select {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
  border-radius: 13px;
  padding: 14px 15px;
  outline: none;
  transition: .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(8,117,209,.10); }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { color: var(--muted); font-size: .78rem; margin-top: 12px; }

.cta {
  padding: 55px;
  border-radius: 34px;
  text-align: center;
  border: 1px solid rgba(8,117,209,.20);
  background:
    radial-gradient(circle at 50% 0, rgba(8,117,209,.20), transparent 45%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}
.cta h2 { max-width: 800px; margin-inline: auto; }

.site-footer { padding: 55px 0 26px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.16); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 45px; }
.footer-copy { max-width: 440px; color: var(--muted); }
.footer-col h3 { font-size: .94rem; letter-spacing: .02em; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #81918a;
  font-size: .82rem;
}

.page-hero { padding: 90px 0 52px; }
.page-hero .lead { max-width: 820px; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: 100px; }
.legal-toc {
  position: sticky;
  top: 110px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.035);
}
.legal-toc strong { display: block; margin-bottom: 12px; }
.legal-toc a { display: block; color: var(--muted); font-size: .88rem; padding: 7px 8px; border-radius: 8px; }
.legal-toc a:hover { color: var(--brand); background: rgba(8,117,209,.08); }
.legal-document {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 54px);
  background: rgba(255,255,255,.035);
  box-shadow: var(--shadow);
}
.legal-alert {
  border: 1px solid rgba(255,176,168,.32);
  background: rgba(255,176,168,.08);
  color: #ffd3ce;
  border-radius: 15px;
  padding: 16px 18px;
  margin-bottom: 32px;
}
.legal-document section { scroll-margin-top: 110px; margin-bottom: 40px; }
.legal-document section:last-child { margin-bottom: 0; }
.legal-document h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-bottom: 16px; }
.legal-document h3 { font-size: 1.13rem; margin-top: 24px; letter-spacing: -.025em; }
.legal-document p, .legal-document li { color: #c4cfca; }
.legal-document ul, .legal-document ol { padding-left: 22px; }
.legal-document li + li { margin-top: 8px; }
.placeholder { color: #ffd166; font-weight: 850; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .88rem; margin-top: 25px; }
.legal-meta span { border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 18px;
    background: #0b1714;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; border-radius: 10px; }
  .nav-links a:hover { background: rgba(255,255,255,.05); }
  .menu-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .hero-grid, .split, .contact-box { grid-template-columns: 1fr; }
  .hero { padding-top: 82px; }
  .hero-card { max-width: 700px; width: 100%; margin-inline: auto; min-height: 490px; }
  .sticky-copy { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand { min-width: 0; gap: 7px; }
  .brand img { width: 36px; height: 36px; max-width: 36px; max-height: 36px; flex-basis: 36px; }
  .brand span { font-size: 1.16rem; }
  .section { padding: 78px 0; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-card { transform: none; min-height: 430px; padding: 14px; }
  .window { min-height: 400px; }
  .floating-badge { right: 8px; bottom: 20px; }
  .logo-strip { grid-template-columns: repeat(2, 1fr); }
  .cards, .project-grid, .check-grid, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: 0; }
  .contact-copy, .contact-form { padding: 18px; }
  .contact-box { padding: 14px; }
  .cta { padding: 35px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .legal-document { padding: 22px; }
}


/* ArieDev compact brand lockup */
.site-header .brand img { width: 42px !important; height: 42px !important; max-width: 42px !important; max-height: 42px !important; }
.site-header .brand { min-width: 190px; }
.site-footer .brand { min-width: 0; }
.site-footer .brand img { width: 46px !important; height: 46px !important; max-width: 46px !important; max-height: 46px !important; }
.site-footer .brand span { font-size: 1.25rem; }
@media (max-width: 680px) {
  .site-header .brand img { width: 34px !important; height: 34px !important; max-width: 34px !important; max-height: 34px !important; }
  .site-header .brand { min-width: 0; }
}
.site-header .brand span { font-size: 1.28rem !important; }
.site-header .nav { min-height: 68px !important; }
@media (max-width: 680px) {
  .site-header .brand span { font-size: 1.08rem !important; }
  .site-header .nav { min-height: 60px !important; }
}
