/* Aidana - Situational Awareness Platform */

:root {
  /* Command center palette */
  --st-void: #020617;
  --st-deep: #0f172a;
  --st-slate: #1e293b;
  --st-steel: #334155;
  --st-muted: #64748b;
  --st-light: #94a3b8;
  
  /* Signal colors */
  --st-blue: #3b82f6;
  --st-blue-dark: #1d4ed8;
  --st-blue-glow: rgba(59, 130, 246, 0.3);
  --st-cyan: #06b6d4;
  --st-green: #22c55e;
  --st-amber: #f59e0b;
  --st-red: #ef4444;
  --st-white: #f8fafc;
  
  /* Typography */
  --font-display: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  font-family: var(--font-display);
  background: var(--st-void);
  color: var(--st-white);
  line-height: 1.7;
  font-size: 16px;
}

/* Radar grid background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at center, rgba(59, 130, 246, 0.03) 0%, transparent 70%),
    linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  color: var(--st-white);
  font-weight: 600;
  font-size: 1.25rem;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
}

.nav__links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav__link {
  color: var(--st-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--st-blue);
}

.nav__cta {
  padding: 0.6rem 1.5rem;
  background: var(--st-blue);
  color: var(--st-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--st-blue-dark);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  pointer-events: none;
  animation: radar-pulse 4s ease-in-out infinite;
}

@keyframes radar-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero__content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--st-blue);
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--st-green);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero__title-accent {
  color: var(--st-blue);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--st-light);
  margin-bottom: var(--space-md);
  max-width: 500px;
}

.hero__cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Situation Board Preview */
.board-preview {
  background: var(--st-deep);
  border: 1px solid var(--st-steel);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.board-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--st-slate);
  border-bottom: 1px solid var(--st-steel);
}

.board-preview__title {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.board-preview__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--st-green);
  font-family: var(--font-mono);
}

.board-preview__status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--st-green);
  border-radius: 50%;
}

.board-preview__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--st-steel);
}

.board-preview__panel {
  background: var(--st-deep);
  padding: 1rem;
}

.board-preview__panel-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--st-muted);
  margin-bottom: 0.75rem;
}

.board-preview__map {
  grid-column: 1 / -1;
  height: 200px;
  background: 
    radial-gradient(circle at 30% 40%, rgba(34, 197, 94, 0.3) 0%, transparent 20%),
    radial-gradient(circle at 70% 60%, rgba(239, 68, 68, 0.3) 0%, transparent 15%),
    radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.2) 0%, transparent 25%),
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 100%, 100%, 100%, 20px 20px, 20px 20px;
  position: relative;
}

.board-preview__map::after {
  content: 'LIVE MAP';
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--st-muted);
  background: var(--st-deep);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--st-steel);
  font-size: 0.75rem;
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.feed-item__dot--green { background: var(--st-green); }
.feed-item__dot--amber { background: var(--st-amber); }
.feed-item__dot--red { background: var(--st-red); }
.feed-item__dot--blue { background: var(--st-blue); }

.feed-item__text {
  color: var(--st-light);
  line-height: 1.4;
}

.feed-item__time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--st-muted);
  margin-left: auto;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--st-blue);
  color: var(--st-white);
}

.btn--primary:hover {
  background: var(--st-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--st-blue-glow);
}

.btn--outline {
  background: transparent;
  color: var(--st-white);
  border: 1px solid var(--st-steel);
}

.btn--outline:hover {
  border-color: var(--st-blue);
  color: var(--st-blue);
}

/* Section Base */
.section {
  padding: var(--space-xl) var(--space-md);
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--st-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
}

.section__subtitle {
  color: var(--st-light);
  max-width: 600px;
  margin: var(--space-sm) auto 0;
}

/* Data Sources */
.sources {
  background: linear-gradient(180deg, var(--st-void) 0%, var(--st-deep) 100%);
}

.sources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.source {
  padding: var(--space-md);
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--st-steel);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s;
}

.source:hover {
  border-color: var(--st-blue);
  transform: translateY(-4px);
}

.source__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.source__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.source__desc {
  color: var(--st-light);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.source__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.source__tag {
  padding: 0.25rem 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--st-blue);
  font-family: var(--font-mono);
}

/* Features */
.features {
  background: var(--st-deep);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 900px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  text-align: center;
  padding: var(--space-md);
}

.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  font-size: 1.75rem;
}

.feature__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.feature__desc {
  color: var(--st-light);
  font-size: 0.9rem;
}

/* Use Cases */
.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-sm);
}

.use-case {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid var(--st-steel);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.use-case:hover {
  border-color: var(--st-blue);
}

.use-case__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-slate);
  border-radius: 8px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.use-case__text {
  font-weight: 500;
}

/* CTA Section */
.cta {
  text-align: center;
  background: linear-gradient(180deg, var(--st-deep) 0%, var(--st-void) 100%);
}

.cta__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.cta__subtitle {
  color: var(--st-light);
  margin-bottom: var(--space-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  padding: var(--space-lg) var(--space-md);
  background: var(--st-void);
  border-top: 1px solid var(--st-steel);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.footer__brand {
  color: var(--st-light);
  font-size: 0.9rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--st-white);
  margin-bottom: var(--space-sm);
}

.footer__title {
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--st-white);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--st-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--st-blue);
}

.footer__bottom {
  max-width: 1200px;
  margin: var(--space-md) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--st-steel);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--st-muted);
  font-size: 0.85rem;
}

.footer__legal a {
  color: var(--st-muted);
  text-decoration: none;
  margin-left: var(--space-sm);
}

.footer__legal a:hover {
  color: var(--st-blue);
}

