/* =========================================================
   COGNON.AI LANDING PAGE V1
   Theme: dark / premium / intelligence-forward / futuristic
   ========================================================= */

:root {
  /* Colors */
  --bg: #071223;
  --surface: #0a1829;
  --ink: #ffffff;
  --ink-soft: #f7f8fa;
  --muted: #7c8593;
  --primary-orange: #FF9A3C;
  --orange-light: #FFC36A;
  --orange-deep: #FF6A21;
  --midnight: #071223;
  --soft: #F7F8FA;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --cognon-gradient: linear-gradient(135deg, #FFC36A 0%, #FF9A3C 48%, #FF6A21 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Sizes */
  --header-height: 5.75rem;
  --footer-height: 7.5rem;
  --viewport-padding: calc(var(--header-height) + var(--footer-height));
  --hero-height: calc(100vh - var(--viewport-padding));

  /* Icon & Element Sizes */
  --core-size: 7.5rem;
  --core-icon-size: 4.375rem;
  --logo-height: 3rem;

  /* Orbit Scales */
  --orbit-1: 21.25rem;
  --orbit-2: 16.25rem;
  --orbit-3: 11.25rem;
  --orbit-4: 6.875rem;

  /* Glow */
  --glow-size: 18.75rem;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: auto;
}

@media (max-width: 920px) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 50%, rgba(255, 154, 60, 0.08), transparent 40%),
    radial-gradient(circle at 25% 80%, rgba(255, 106, 33, 0.06), transparent 35%),
    linear-gradient(180deg, #071223 0%, #0a1829 100%);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

button,
input {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 var(--spacing-lg);
  gap: var(--spacing-3xl);
}

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

.brand svg {
  display: block;
  width: 156px;
  height: auto;
}

.logo-img {
  display: block;
  height: var(--logo-height);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mist);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary-orange);
  box-shadow: 0 0 0 6px rgba(255, 154, 60, 0.15);
}

.stage {
  height: var(--hero-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  align-items: center;
  gap: var(--spacing-2xl);
  padding: var(--spacing-lg) 0;
}

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

.eyebrow {
  margin: 0 0 24px;
  color: var(--primary-orange);
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--ink);
}

.lede {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--muted);
}

.signup {
  margin-top: var(--spacing-lg);
  max-width: 560px;
}

.signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.signup input {
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: -0.01em;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.signup input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.signup input:focus {
  border-color: var(--primary-orange);
  background: rgba(255, 154, 60, 0.12);
  box-shadow: 0 0 0 4px rgba(255, 154, 60, 0.12);
}

.signup button {
  height: 56px;
  padding: 0 28px;
  border: 1px solid var(--primary-orange);
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  color: white;
  background: var(--primary-orange);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.signup button:hover {
  transform: translateY(-2px);
  background: var(--orange-deep);
  box-shadow: 0 8px 24px rgba(255, 154, 60, 0.3);
}

.micro-copy {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.hero-art {
  position: relative;
  height: clamp(300px, 50vh, 500px);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.glow {
  position: absolute;
  width: var(--glow-size);
  height: var(--glow-size);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 60, 0.2), rgba(255, 154, 60, 0.05) 50%, transparent 70%);
  filter: blur(40px);
  z-index: -2;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 154, 60, 0.15);
  animation: breathe 9s ease-in-out infinite;
}

.orbit-1 {
  width: var(--orbit-1);
  height: var(--orbit-1);
}

.orbit-2 {
  width: var(--orbit-2);
  height: var(--orbit-2);
  animation-delay: 0.35s;
}

.orbit-3 {
  width: var(--orbit-3);
  height: var(--orbit-3);
  animation-delay: 0.7s;
}

.orbit-4 {
  width: var(--orbit-4);
  height: var(--orbit-4);
  animation-delay: 1.05s;
}

.core {
  width: var(--core-size);
  height: var(--core-size);
  display: grid;
  place-items: center;
  border-radius: 1.5rem;
  background: rgba(10, 24, 41, 0.6);
  border: 1px solid rgba(255, 154, 60, 0.2);
  box-shadow:
    0 0 60px rgba(255, 154, 60, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.core svg {
  width: 80%;
  height: 80%;
  filter: drop-shadow(0 0 20px rgba(255, 154, 60, 0.3));
}

.core-icon {
  width: var(--core-icon-size);
  height: var(--core-icon-size);
  filter: drop-shadow(0 0 20px rgba(255, 154, 60, 0.3));
  object-fit: contain;
}

.node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-orange);
  box-shadow: 0 0 0 8px rgba(255, 154, 60, 0.15), 0 0 20px rgba(255, 154, 60, 0.4);
  animation: float 7s ease-in-out infinite;
}

.node-1 {
  top: 23%;
  left: 20%;
}

.node-2 {
  top: 52%;
  right: 11%;
  animation-delay: 1.6s;
}

.node-3 {
  left: 34%;
  bottom: 12%;
  animation-delay: 3s;
}

.site-footer {
  height: var(--footer-height);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--primary-orange);
}

.header-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--primary-orange);
}

.stay-informed-btn {
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--primary-orange);
  border-radius: 1.5rem;
  background: transparent;
  color: white;
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 180ms ease;
}

.stay-informed-btn:hover {
  border-color: var(--primary-orange);
  background: rgba(255, 154, 60, 0.1);
  box-shadow: 0 0 20px rgba(255, 154, 60, 0.2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes float {
  0%,
  100% {
    opacity: 0.68;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-11px);
  }
}

@media (max-width: 920px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .stage {
    min-height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 76px 0 56px;
  }

  .hero-art {
    min-height: 400px;
  }

  .orbit-1 {
    width: 330px;
    height: 330px;
  }

  .orbit-2 {
    width: 256px;
    height: 256px;
  }

  .orbit-3 {
    width: 184px;
    height: 184px;
  }

  .orbit-4 {
    width: 112px;
    height: 112px;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 74px;
  }

  .brand svg {
    width: 132px;
  }

  .hero {
    padding-top: 58px;
  }

  .signup-row {
    grid-template-columns: 1fr;
  }

  .signup input {
    border-right: 1px solid var(--line-strong);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
  }

  .signup button {
    border-radius: 0 0 12px 12px;
  }

  .hero-art {
    min-height: 320px;
  }

  .orbit-1 {
    width: 260px;
    height: 260px;
  }

  .orbit-2 {
    width: 202px;
    height: 202px;
  }

  .orbit-3 {
    width: 146px;
    height: 146px;
  }

  .orbit-4 {
    width: 88px;
    height: 88px;
  }

  .core {
    width: 86px;
    height: 86px;
    border-radius: 23px;
  }

  .core svg {
    width: 58px;
    height: 58px;
  }

  .site-footer {
    min-height: 104px;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
