/*
 * Visual system for the ARDOD.com domain landing page.
 * The design uses only local assets and system fonts for speed and privacy.
 */

:root {
  --bg: #040a18;
  --bg-deep: #020712;
  --surface: rgba(9, 23, 52, 0.72);
  --surface-strong: rgba(9, 25, 58, 0.94);
  --line: rgba(99, 167, 255, 0.2);
  --line-bright: rgba(99, 167, 255, 0.42);
  --text: #f5f8ff;
  --muted: #aebbd2;
  --muted-strong: #cad5e8;
  --cyan: #15c6ff;
  --blue: #2f77ff;
  --violet: #7d3cff;
  --magenta: #d94cff;
  --amber: #ff9b3d;
  --green: #34e4bd;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --font: Inter, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 6%, rgba(24, 94, 220, 0.17), transparent 29rem),
    radial-gradient(circle at 7% 40%, rgba(24, 130, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, #050c1d 0%, var(--bg) 48%, var(--bg-deep) 100%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(90, 147, 227, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 147, 227, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.42);
}

img,
svg {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

::selection {
  color: #fff;
  background: rgba(54, 119, 255, 0.66);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 9px;
  color: #06102a;
  background: #fff;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100% - 36px, var(--container));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(101, 162, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 8px 22px rgba(42, 101, 255, 0.34));
}

.brand-name {
  color: #f7f9ff;
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: 0.34em;
}

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

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.availability-pill > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(21, 198, 255, 0.08), 0 0 14px var(--cyan);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 760;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

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

.button:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(41, 192, 255, 0.84);
  outline-offset: 4px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(100deg, #06baf2 0%, #2877ff 48%, #8b24f9 100%);
  box-shadow: 0 15px 42px rgba(39, 99, 255, 0.26), inset 0 1px rgba(255, 255, 255, 0.28);
}

.button-primary:hover {
  box-shadow: 0 20px 54px rgba(51, 96, 255, 0.4), inset 0 1px rgba(255, 255, 255, 0.34);
}

.button-primary:hover svg,
.button-outline:hover svg {
  transform: translate(2px, -1px);
}

.button-outline {
  border-color: rgba(105, 157, 255, 0.58);
  color: #eaf1ff;
  background: rgba(5, 14, 35, 0.48);
}

.button-outline:hover {
  border-color: rgba(94, 190, 255, 0.9);
  background: rgba(16, 42, 87, 0.54);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 0.79rem;
}

.button-quiet {
  border-color: rgba(124, 159, 217, 0.22);
  color: var(--muted-strong);
  background: rgba(4, 12, 29, 0.25);
}

.button-quiet:hover {
  border-color: rgba(124, 175, 255, 0.44);
  color: #fff;
  background: rgba(17, 38, 79, 0.46);
}

.button-wide {
  width: 100%;
  border-radius: 14px;
}

.hero {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: 44px;
  padding: 78px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #46baff;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.hero h1 {
  margin-bottom: 25px;
  font-size: clamp(3.3rem, 7.1vw, 6.65rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.domain-name {
  display: block;
  color: #fff;
  font-weight: 850;
  text-shadow: 0 15px 50px rgba(54, 108, 255, 0.16);
}

.domain-name > span {
  margin-left: 7px;
  color: #dce6fa;
  font-size: 0.38em;
  font-weight: 690;
  letter-spacing: 0.04em;
}

.hero-line {
  display: block;
  margin-top: 18px;
  color: #d4def0;
  font-size: clamp(1.6rem, 3.1vw, 2.55rem);
  font-weight: 430;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero-summary {
  max-width: 620px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

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

.hero-facts {
  display: flex;
  gap: 0;
  margin: 44px 0 0;
}

.hero-facts > div {
  min-width: 118px;
  padding-right: 28px;
}

.hero-facts > div + div {
  padding-left: 28px;
  border-left: 1px solid rgba(116, 165, 236, 0.22);
}

.hero-facts dt {
  margin-bottom: 1px;
  color: #f4f8ff;
  font-size: 1.1rem;
  font-weight: 800;
}

.hero-facts dd {
  margin: 0;
  color: #7f92b2;
  font-size: 0.73rem;
  letter-spacing: 0.03em;
}

.hero-visual {
  position: relative;
  min-height: 555px;
}

.signal-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(78, 143, 239, 0.19);
  border-radius: 42% 58% 45% 55% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at 44% 49%, rgba(16, 122, 255, 0.15), transparent 29%),
    radial-gradient(circle at 75% 30%, rgba(104, 42, 255, 0.12), transparent 31%),
    linear-gradient(145deg, rgba(5, 20, 50, 0.38), rgba(2, 7, 18, 0.7));
  box-shadow: inset 0 0 100px rgba(2, 8, 25, 0.58), 0 45px 100px rgba(0, 0, 0, 0.24);
  animation: morph 14s ease-in-out infinite alternate;
}

#signal-field,
.visual-grid,
.scan-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.visual-grid {
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(58, 132, 244, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 132, 244, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.scan-line {
  width: 1px;
  left: 50%;
  background: linear-gradient(transparent 8%, rgba(64, 181, 255, 0.52), transparent 92%);
  box-shadow: 0 0 20px rgba(37, 160, 255, 0.36);
  animation: scan 7s ease-in-out infinite;
}

.anomaly-card {
  position: absolute;
  top: 19%;
  right: 3%;
  display: flex;
  min-width: 194px;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 151, 53, 0.74);
  border-radius: 12px;
  background: rgba(4, 11, 28, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32), 0 0 34px rgba(255, 132, 37, 0.07);
  backdrop-filter: blur(14px);
}

.anomaly-card::after {
  position: absolute;
  top: 100%;
  right: 46px;
  width: 76px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--amber), transparent);
  transform: rotate(124deg);
  transform-origin: 0 0;
}

.anomaly-indicator {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(255, 155, 61, 0.09), 0 0 16px var(--amber);
  animation: anomaly-pulse 2.1s ease-out infinite;
}

.anomaly-card strong,
.anomaly-card small {
  display: block;
}

.anomaly-card strong {
  color: #fff5eb;
  font-size: 0.78rem;
}

.anomaly-card small {
  margin-top: 2px;
  color: #9aa9c1;
  font-size: 0.63rem;
}

.signal-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(179, 198, 228, 0.66);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-label span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.signal-label-one {
  bottom: 16%;
  left: 14%;
}

.signal-label-two {
  right: 12%;
  bottom: 26%;
}

.signal-label-two span {
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}

.proof-strip {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-top: 1px solid rgba(93, 150, 232, 0.16);
  border-bottom: 1px solid rgba(93, 150, 232, 0.16);
  color: #8ea0bd;
  font-size: 0.76rem;
  font-weight: 730;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.proof-strip p {
  margin: 0;
}

.proof-strip > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.section {
  padding: 120px 0;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 55px;
}

.section-intro-wide {
  max-width: 800px;
}

.section-intro .eyebrow {
  margin-bottom: 14px;
}

.section-intro h2,
.acquisition-copy h2 {
  margin-bottom: 20px;
  color: #f7f9ff;
  font-size: clamp(2.2rem, 4.4vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-intro > p:last-child,
.acquisition-copy > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.why-section {
  position: relative;
}

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

.quality-card,
.application-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(10, 27, 62, 0.69), rgba(4, 12, 30, 0.68));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.quality-card:hover,
.application-card:hover {
  border-color: var(--line-bright);
  background: linear-gradient(145deg, rgba(12, 34, 76, 0.82), rgba(5, 15, 37, 0.78));
  transform: translateY(-5px);
}

.quality-card {
  min-height: 310px;
  padding: 34px;
  border-radius: var(--radius-md);
}

.quality-card::after {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  content: "";
  background: rgba(36, 112, 255, 0.11);
  filter: blur(40px);
}

.quality-number {
  position: absolute;
  top: 24px;
  right: 27px;
  color: rgba(127, 161, 215, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
}

.quality-card > svg {
  width: 42px;
  height: 42px;
  margin-bottom: 62px;
  fill: none;
  stroke: #5abaff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(55, 164, 255, 0.35));
}

.quality-card:nth-child(2) > svg {
  stroke: #9a7cff;
}

.quality-card:nth-child(3) > svg {
  stroke: #45d8ff;
}

.quality-card h3,
.application-card h3 {
  margin-bottom: 10px;
  color: #f4f7ff;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.quality-card p,
.application-card p {
  margin-bottom: 0;
  color: #9cabc3;
  font-size: 0.9rem;
}

.applications-section {
  border-top: 1px solid rgba(95, 151, 234, 0.14);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.application-card {
  min-height: 270px;
  padding: 28px;
  border-radius: 18px;
}

.application-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 14px;
  background: rgba(5, 18, 45, 0.74);
}

.application-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.application-icon.cyan { color: #19c7ff; }
.application-icon.blue { color: #4a94ff; }
.application-icon.violet { color: #9a6aff; }
.application-icon.magenta { color: #d65fff; }
.application-icon.green { color: #42e4bd; }
.application-icon.amber { color: #ffae55; }

.acquisition-section {
  padding-top: 70px;
}

.acquisition-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 54px;
  padding: 58px;
  border: 1px solid rgba(75, 143, 246, 0.28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 20%, rgba(94, 49, 255, 0.13), transparent 28rem),
    linear-gradient(135deg, rgba(8, 29, 66, 0.94), rgba(3, 11, 28, 0.94));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.035);
}

.acquisition-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(83, 149, 243, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 149, 243, 0.04) 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: linear-gradient(90deg, black, transparent 76%);
}

.acquisition-copy,
.purchase-panel {
  position: relative;
  z-index: 2;
}

.acquisition-copy h2 span {
  color: #fff;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  color: #c4d0e4;
  font-size: 0.88rem;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.check-list li > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 0.68rem;
  box-shadow: 0 0 14px rgba(40, 135, 255, 0.25);
}

.purchase-panel {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  border: 1px solid rgba(106, 164, 247, 0.28);
  border-radius: 22px;
  background: rgba(3, 10, 26, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.purchase-panel > img {
  width: min(100%, 310px);
  height: auto;
  margin-bottom: 26px;
}

.purchase-panel > p {
  margin-bottom: 24px;
  color: #a9b8d0;
}

.purchase-panel > small {
  margin-top: 13px;
  color: #7386a4;
  font-size: 0.72rem;
  text-align: center;
}

.site-footer {
  display: grid;
  min-height: 190px;
  grid-template-columns: auto 1fr 1.5fr;
  align-items: center;
  gap: 38px;
  border-top: 1px solid rgba(97, 151, 233, 0.15);
}

.footer-brand {
  padding-right: 36px;
  border-right: 1px solid rgba(104, 161, 245, 0.22);
}

.footer-tagline {
  margin: 0;
  color: #6e92c4;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.footer-legal {
  margin: 0;
  color: #6f7f99;
  font-size: 0.69rem;
  line-height: 1.55;
}

.footer-legal > span {
  display: block;
  margin-top: 7px;
}

@keyframes morph {
  0% { border-radius: 42% 58% 45% 55% / 48% 42% 58% 52%; }
  100% { border-radius: 53% 47% 58% 42% / 43% 55% 45% 57%; }
}

@keyframes scan {
  0%, 100% { transform: translateX(-170px); opacity: 0.18; }
  50% { transform: translateX(170px); opacity: 0.64; }
}

@keyframes anomaly-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 155, 61, 0.32), 0 0 16px var(--amber); }
  70% { box-shadow: 0 0 0 11px rgba(255, 155, 61, 0), 0 0 16px var(--amber); }
  100% { box-shadow: 0 0 0 0 rgba(255, 155, 61, 0), 0 0 16px var(--amber); }
}

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .quality-grid,
  .application-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .acquisition-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
    padding: 45px 0;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, var(--container));
  }

  .site-header {
    min-height: 76px;
  }

  .availability-pill {
    display: none;
  }

  .header-actions .button {
    min-height: 40px;
    padding-inline: 14px;
  }

  .header-actions .button svg {
    display: none;
  }

  .brand-name {
    font-size: 1rem;
    letter-spacing: 0.25em;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    gap: 25px;
    padding: 62px 0 55px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5.1rem);
  }

  .hero-line {
    font-size: 1.62rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-facts > div {
    min-width: 0;
    padding-right: 12px;
  }

  .hero-facts > div + div {
    padding-left: 12px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .anomaly-card {
    top: 15%;
    right: 2%;
    min-width: 172px;
  }

  .proof-strip {
    min-height: 86px;
    gap: 12px;
    font-size: 0.61rem;
    letter-spacing: 0.08em;
  }

  .section {
    padding: 88px 0;
  }

  .section-intro {
    margin-bottom: 38px;
  }

  .quality-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .quality-card {
    min-height: 260px;
  }

  .quality-card > svg {
    margin-bottom: 42px;
  }

  .application-card {
    min-height: 230px;
  }

  .acquisition-section {
    padding-top: 40px;
  }

  .acquisition-card {
    gap: 34px;
    padding: 28px 20px;
    border-radius: 22px;
  }

  .purchase-panel {
    min-height: auto;
    padding: 27px 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .footer-brand {
    width: fit-content;
    padding-right: 0;
    border-right: 0;
  }

  .footer-legal {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .header-actions .button {
    font-size: 0;
  }

  .header-actions .button::after {
    content: "Atom";
    font-size: 0.75rem;
  }

  .hero-facts dd {
    font-size: 0.62rem;
  }

  .proof-strip > span,
  .proof-strip p:nth-of-type(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
