/* AwareNow marketing — Steel Horizon (dark) */

:root {
  --font-display: "Clash Display", "Satoshi", ui-sans-serif, sans-serif;
  --font-body: "Satoshi", ui-sans-serif, sans-serif;

  --canvas: #060d15;
  --surface: #0b1722;
  --surface-raised: #0f1f2e;
  --ink: #e9f1f6;
  --muted: #8fa4b5;
  --faint: #5d7284;
  --border: #1d3040;
  --border-soft: rgb(61 184 196 / 0.14);
  --accent: #3db8c4;
  --accent-deep: #7ad4dc;
  --accent-ink: #04141a;
  --good: #5fd6a5;
  --shadow: 0 24px 64px rgb(0 0 0 / 0.45);
  --radius: 1rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }

/* ---------- backdrop ---------- */

.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
}
.aurora-a {
  width: 55vw; height: 55vw;
  top: -22vw; left: -12vw;
  background: radial-gradient(circle, rgb(61 184 196 / 0.28), transparent 65%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aurora-b {
  width: 46vw; height: 46vw;
  top: 12vh; right: -16vw;
  background: radial-gradient(circle, rgb(42 82 120 / 0.6), transparent 65%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(9vw, 7vh) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-8vw, 10vh) scale(1.08); } }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(233 241 246 / 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgb(233 241 246 / 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, black 30%, transparent 78%);
}

.noise {
  position: absolute; inset: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgb(6 13 21 / 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 4.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--accent); }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; color: var(--ink);
}
.brand-word em { font-style: normal; color: var(--accent); }

.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; gap: 0.65rem; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 2.5rem; height: 2.5rem;
  background: rgb(15 31 46 / 0.5); border: 1px solid var(--border);
  border-radius: 0.6rem; cursor: pointer; padding: 0 0.65rem;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.62rem 1.15rem; border-radius: 0.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2c93b0);
  color: var(--accent-ink);
  box-shadow: 0 8px 28px rgb(61 184 196 / 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgb(61 184 196 / 0.4);
}
.btn-ghost {
  color: var(--ink); border-color: var(--border);
  background: rgb(15 31 46 / 0.5);
}
.btn-ghost:hover { border-color: rgb(61 184 196 / 0.45); transform: translateY(-2px); }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1.02rem; border-radius: 0.75rem; }

/* ---------- hero ---------- */

.hero {
  padding: 9rem 0 0;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid var(--border-soft);
  background: rgb(61 184 196 / 0.07);
  padding: 0.42rem 0.95rem; border-radius: 999px;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.015em; }

h1 { font-size: clamp(2.7rem, 5.6vw, 4.4rem); margin: 1.4rem 0 1.5rem; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

.grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-deep) 55%, #a8ecf0 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lede { color: var(--muted); font-size: 1.16rem; max-width: 33rem; }
.hero-cta { display: flex; gap: 0.85rem; margin: 2rem 0; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 2.5rem; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt {
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; color: var(--ink);
}
.hero-stats dd { color: var(--faint); font-size: 0.88rem; }

/* ---------- hero console mock ---------- */

.hero-visual { position: relative; perspective: 1200px; }

.console-card {
  background: linear-gradient(180deg, rgb(15 31 46 / 0.92), rgb(9 20 30 / 0.94));
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow), 0 0 0 1px rgb(61 184 196 / 0.06), 0 0 90px rgb(61 184 196 / 0.07);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(4deg);
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.console-head {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.8rem 1rem; border-bottom: 1px solid var(--border);
  font-size: 0.78rem; color: var(--faint);
}
.console-dot { width: 10px; height: 10px; border-radius: 50%; background: #24404f; }
.console-dot:first-child { background: #e0655f; }
.console-dot:nth-child(2) { background: #e0b25f; }
.console-dot:nth-child(3) { background: #5fd6a5; }
.console-title { margin-left: 0.6rem; font-family: ui-monospace, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--good); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em;
}
.console-live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--good);
  animation: pulse 1.6s ease-in-out infinite;
}
.console-body { padding: 1.1rem 1.2rem 1.2rem; }

.console-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.metric {
  background: rgb(6 13 21 / 0.7); border: 1px solid var(--border);
  border-radius: 0.65rem; padding: 0.65rem 0.7rem;
  display: flex; flex-direction: column;
}
.metric-num { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.metric-num.accent { color: var(--good); }
.metric-label { font-size: 0.72rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; }

.console-bar {
  display: flex; height: 8px; border-radius: 99px; overflow: hidden;
  margin: 0.9rem 0 1rem; background: #12212e; gap: 2px;
}
.bar-seg { background: #3a566b; width: var(--w); transition: width 1.2s var(--ease); }
.bar-seg.opened { background: #2c93b0; }
.bar-seg.clicked { background: var(--accent); }
.bar-seg.reported { background: var(--good); }

.feed { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; min-height: 9.5rem; }
.feed li {
  font-family: ui-monospace, monospace; font-size: 0.78rem; color: var(--muted);
  background: rgb(6 13 21 / 0.55); border: 1px solid rgb(29 48 64 / 0.7);
  border-radius: 0.5rem; padding: 0.45rem 0.7rem;
  display: flex; justify-content: space-between; gap: 0.75rem;
  animation: feed-in 0.45s var(--ease) both;
}
.feed li b { color: var(--accent-deep); font-weight: 500; }
.feed li.good { border-color: rgb(95 214 165 / 0.3); }
.feed li.good b { color: var(--good); }
@keyframes feed-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.float-card {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--muted);
  background: rgb(13 26 38 / 0.9); border: 1px solid var(--border);
  padding: 0.65rem 1rem; border-radius: 0.75rem;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.4);
  backdrop-filter: blur(10px);
}
.float-card b { color: var(--good); font-weight: 700; }
.float-card svg { color: var(--accent); flex-shrink: 0; }
.float-a { top: 8%; right: -1.5rem; animation: bob 6s ease-in-out infinite; }
.float-b { bottom: -1.25rem; left: 8%; animation: bob 7s ease-in-out 1.2s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- marquee ---------- */

.marquee {
  margin-top: 6rem; padding: 1.35rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  color: var(--faint); letter-spacing: 0.04em;
}
.marquee-track i { color: var(--accent); font-style: normal; font-size: 0.6rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section { padding: 5rem 0 4rem; }
.section-head { max-width: 44rem; margin-bottom: 3.5rem; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; }

.kicker {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.9rem;
}

/* ---------- bento ---------- */

.bento {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  position: relative;
  background: linear-gradient(180deg, rgb(15 31 46 / 0.55), rgb(9 20 30 / 0.65));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease;
}
.card::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(500px 200px at var(--mx, 50%) -10%, rgb(61 184 196 / 0.1), transparent 70%);
  opacity: 0; transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: rgb(61 184 196 / 0.35); box-shadow: 0 20px 50px rgb(0 0 0 / 0.35); }
.card:hover::before { opacity: 1; }
.card-lg { grid-column: span 2; grid-row: span 2; }
.card-wide { grid-column: span 2; }

.card-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 0.7rem;
  display: grid; place-items: center;
  color: var(--accent);
  background: rgb(61 184 196 / 0.08); border: 1px solid var(--border-soft);
  margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--muted); font-size: 0.97rem; }

.mini-feed {
  margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.45rem;
}
.mini-feed span {
  font-family: ui-monospace, monospace; font-size: 0.78rem; color: var(--muted);
  background: rgb(6 13 21 / 0.6); border: 1px solid var(--border);
  padding: 0.5rem 0.75rem; border-radius: 0.5rem;
}
.mini-feed b { color: var(--accent-deep); font-weight: 500; margin-right: 0.4rem; }
.mini-feed .good b { color: var(--good); }

.card-code {
  display: inline-block; margin-top: 1.1rem;
  font-family: ui-monospace, monospace; font-size: 0.8rem;
  color: var(--accent-deep);
  background: rgb(6 13 21 / 0.7); border: 1px solid var(--border);
  padding: 0.55rem 0.85rem; border-radius: 0.5rem;
}

/* ---------- steps ---------- */

.steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  counter-reset: step;
}
.step {
  position: relative;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.8rem;
  background: linear-gradient(180deg, rgb(15 31 46 / 0.4), rgb(9 20 30 / 0.5));
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}
.step:hover { transform: translateY(-5px); border-color: rgb(61 184 196 / 0.35); }
.step::after {
  content: "";
  position: absolute; top: 2.6rem; right: -1rem; width: 1rem; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.step:last-child::after { display: none; }
.step-num {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.1em;
  display: inline-block; margin-bottom: 1rem;
  padding: 0.3rem 0.7rem; border: 1px solid var(--border-soft); border-radius: 99px;
  background: rgb(61 184 196 / 0.06);
}
.step p { color: var(--muted); font-size: 0.97rem; margin-top: 0.5rem; }

/* ---------- band ---------- */

.band {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgb(61 184 196 / 0.07), transparent 65%),
    rgb(9 20 30 / 0.45);
}
.band-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; }
.band-copy p { color: var(--muted); margin: 1.1rem 0 1.8rem; }

.band-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  background: rgb(6 13 21 / 0.6);
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}
.stat:hover { transform: translateY(-4px); border-color: rgb(61 184 196 / 0.35); }
.stat-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600;
  display: block; line-height: 1;
  background: linear-gradient(100deg, var(--ink), var(--accent-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { display: block; margin-top: 0.6rem; color: var(--faint); font-size: 0.88rem; line-height: 1.45; }

/* ---------- CTA ---------- */

.cta-panel {
  position: relative; text-align: center;
  border: 1px solid var(--border-soft); border-radius: 1.5rem;
  padding: 4.5rem 2rem 3.5rem;
  background: linear-gradient(180deg, rgb(15 31 46 / 0.7), rgb(9 20 30 / 0.8));
  overflow: hidden;
}
.cta-glow {
  position: absolute; left: 50%; top: -60%;
  width: 60rem; height: 30rem; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgb(61 184 196 / 0.16), transparent 65%);
  pointer-events: none;
}
.cta-panel h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.cta-panel > p { color: var(--muted); max-width: 36rem; margin: 1.2rem auto 0; }
.cta-panel .hero-cta { justify-content: center; margin-bottom: 0; }
.cta-note { font-size: 0.82rem; color: var(--faint); margin-top: 2rem !important; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; margin-top: 3rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand p { color: var(--faint); font-size: 0.9rem; margin-top: 1rem; }
.footer-links { display: flex; gap: 1.75rem; align-items: flex-start; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--ink); }
.footer-base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.75rem; padding-top: 1.5rem;
  border-top: 1px solid rgb(29 48 64 / 0.6);
  color: var(--faint); font-size: 0.82rem;
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--rd, 0) * 90ms);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .console-card { transform: none; }
  .hero-visual { max-width: 34rem; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-lg, .card-wide { grid-column: span 2; grid-row: auto; }
  .band-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 4.5rem; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgb(6 13 21 / 0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .nav.open .nav-links { max-height: 16rem; }
  .nav-links a { padding: 0.9rem 1.5rem; border-top: 1px solid rgb(29 48 64 / 0.5); }
  .nav { background: rgb(6 13 21 / 0.85); backdrop-filter: blur(16px); }
  .console-metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nav-inner { gap: 1rem; }
  .btn { padding: 0.55rem 0.9rem; font-size: 0.88rem; }
  .hero { padding-top: 8.5rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .bento { grid-template-columns: 1fr; }
  .card-lg, .card-wide { grid-column: span 1; }
  .band-stats { grid-template-columns: 1fr; }
  .float-a { right: 0; }
  .section { padding: 5rem 0 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
