/* index.css - Data Acolytes landing page (mobile-first, cyberpunk/hacker theme, olive circuit background) */

:root {
  --bg: #0a0a0a;
  --surface: rgba(255,255,255,0.08);
  --surface-2: rgba(255,255,255,0.12);
  --text: #e8f6e8;
  --muted: #b6d6b6;
  --accent: #89d389;
  --olive: #556B2F;
  --card-border: rgba(255,255,255,0.18);
  --radius: 14px;
  --glow: 0 0 28px rgba(122, 213, 97, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system;
  color: var(--text);
  background: #0a0a0a;
  min-height: 100vh;
  line-height: 1.4;
  background-image: radial-gradient(circle at 50% 0%, rgba(0,0,0,.25), transparent 40%),
                    radial-gradient(circle at 80% 20%, rgba(0,0,0,.25), transparent 40%);
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
  /* Olive circuit board texture layering */
  background:
    radial-gradient(circle at 20% 0, rgba(95,140,70,.25), transparent 30%),
    repeating-linear-gradient(0deg,
      rgba(85,107,47,.25) 0px, rgba(85,107,47,.25) 2px, transparent 2px, transparent 24px),
    repeating-linear-gradient(90deg,
      rgba(85,107,47,.25) 0px, rgba(85,107,47,.25) 2px, transparent 2px, transparent 24px);
  mix-blend-mode: overlay;
  filter: saturate(110%);
}

.site-header {
  position: relative;
  z-index: 1;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
}

.brand-name {
  font-weight: 700;
  letter-spacing: .5px;
  color: #eaffea;
  text-shadow: 0 0 6px rgba(0,0,0,.4);
}

.brand-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

main {
  position: relative;
  z-index: 1;
  padding: 28px 16px 40px;
}

.hero.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  justify-items: center;
  min-height: calc(100vh - 120px);
  padding: 20px 0;
}

.hero-content {
  width: 100%;
  max-width: 720px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(28px, 6vw, 44px);
  margin-bottom: 14px;
  line-height: 1.04;
  letter-spacing: .5px;
}

.subhead {
  font-size: clamp(14px, 2.5vw, 18px);
  color: #d9f5d9;
  margin-bottom: 22px;
}

.cta {
  display: inline-block;
  padding: 18px 28px;
  font-size: clamp(18px, 3vw, 22px);
  color: #041a08;
  background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .4px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(0,0,0,.15);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.35); }
.cta:focus-visible { outline: 3px solid #93e9a0; outline-offset: 2px; }

.hero-visual {
  width: 100%;
  max-width: 680px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 6px;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.6));
}

.site-footer {
  padding: 18px 16px 28px;
  text-align: center;
  color: #d6f6d6;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
}

.footer-ad {
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-ad a {
  color: #c6ffd3;
  text-decoration: none;
  border-bottom: 1px dashed rgba(199,255,211,.6);
}
.closing-note {
  font-size: 13px;
  color: #d0f9d0;
}

/* Desktop emphasis: image as centerpiece, content secondary */
@media (min-width: 900px) {
  .hero.grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
  }

  /* On larger screens, keep image prominent by balancing order */
  .hero-visual { order: 0; }
  .hero-content { order: 1; }

  /* Frosted glass look stronger on larger screens */
  .hero-content {
    padding: 34px;
    background: rgba(255,255,255,.10);
  }

  .cta {
    font-size: 20px;
    padding: 20px 34px;
  }
}

/* Accessibility: reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}