/* Talos Group proposal — Eyenet structure + TalosVision navy/cyan UX */

:root {
  --bg: #040d18;
  --bg-2: #0a1628;
  --panel: #0c1e3d;
  --cyan: #00d4ff;
  --cyan-soft: rgba(0, 212, 255, 0.14);
  --text: #ffffff;
  --muted: #8899aa;
  --muted-2: rgba(255, 255, 255, 0.45);
  --line: rgba(0, 212, 255, 0.28);
  --line-soft: rgba(255, 255, 255, 0.1);
  --font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: min(960px, calc(100% - 2.5rem));
  --wide: min(1120px, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.geo-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

.container {
  width: var(--wide);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s;
}

.nav.scrolled {
  background: rgba(4, 13, 24, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.hero-logo-img {
  width: min(280px, 72vw);
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.18));
}

.footer-logo-img {
  width: min(160px, 50vw);
  height: auto;
  margin: 0 auto 0.85rem;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.15));
}

.nav-links {
  display: none;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

@media (min-width: 820px) {
  .nav-links {
    display: flex;
  }
}

/* Hero — Eyenet centered */
.header-hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1.25rem 4rem;
  overflow: hidden;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  background: url("../assets/talos-hero-bg.jpg") center / cover no-repeat;
  opacity: 0.5;
  filter: saturate(1.05) contrast(1.08) brightness(0.9);
  transform: scale(1.05);
  animation: heroDrift 24s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.1) translate(-1%, -1%);
  }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 48% at 50% 42%, rgba(0, 212, 255, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(4, 13, 24, 0.4) 0%, rgba(4, 13, 24, 0.7) 55%, var(--bg) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero-headline {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-headline em,
.card-headline em {
  font-style: italic;
  color: var(--cyan);
  font-weight: 650;
}

.hero-line {
  margin: 1.25rem auto 1.25rem;
}

.hero-brand-mark {
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
  color: var(--cyan);
}

.hero-brand-mark span {
  color: var(--text);
}

.hero-sub {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Shared typography / chrome */
.section-label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: center;
}

.card-headline {
  margin: 0 0 2rem;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-align: center;
}

.brand-block {
  margin: -0.5rem auto 2.5rem;
  max-width: 42rem;
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px dashed rgba(0, 212, 255, 0.35);
  border-bottom: 1px dashed rgba(0, 212, 255, 0.35);
}

.brand-pitch {
  margin: 0 auto 1.25rem;
  max-width: 38rem;
  text-align: center;
  color: var(--text-soft, rgba(232, 244, 253, 0.88));
  font-size: 1.05rem;
  line-height: 1.55;
}

.brand-points {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 36rem;
  display: grid;
  gap: 0.65rem;
  text-align: center;
}

.brand-points li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.brand-points strong {
  color: var(--cyan);
  font-weight: 600;
}

.contact-email {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.4);
  transition: border-color 0.2s, color 0.2s;
}

.contact-email:hover {
  color: var(--text);
  border-bottom-color: var(--cyan);
}

.section-lead {
  margin: -1rem auto 2.5rem;
  max-width: 36rem;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

.hairline-cyan,
.hairline {
  height: 1px;
  width: min(100%, 720px);
  margin: 0 auto 2rem;
}

.hairline-cyan {
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.hairline {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.text-cta {
  display: inline-block;
  margin-top: 2rem;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.text-cta:hover {
  opacity: 0.85;
}

.content-panel .text-cta {
  display: block;
  text-align: center;
}

/* Content panels — Eyenet core pattern */
.content-panel {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.image-strip {
  position: relative;
  margin: 0 auto 2.5rem;
  max-width: 720px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, #071526, #0c1e3d);
}

.image-strip img {
  width: 100%;
  height: auto;
}

.image-strip-tint::after,
.image-strip-product::after,
.image-strip-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 13, 24, 0.25) 0%, transparent 30%, rgba(4, 13, 24, 0.4) 100%),
    linear-gradient(105deg, rgba(0, 212, 255, 0.1), transparent 45%, rgba(12, 30, 61, 0.3));
}

.image-strip-product {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  min-height: 280px;
}

.image-strip-product > img {
  max-height: 360px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: saturate(0.9) brightness(0.94) drop-shadow(0 16px 36px rgba(0, 0, 0, 0.45));
}

.image-strip-cover {
  min-height: 280px;
}

.image-strip-cover img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.85);
}

.image-strip-stack {
  position: relative;
  min-height: 320px;
}

.image-strip-stack .stack-base {
  width: 88%;
  margin: 0 auto;
  max-height: 340px;
}

.image-strip-stack .stack-overlay {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: min(38%, 170px);
  z-index: 2;
  filter: saturate(0.9) brightness(0.94) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.stat-collection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-value.cyan {
  color: var(--cyan);
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 960px) {
  .feature-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-item {
  text-align: left;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  font-weight: 650;
  font-size: 0.98rem;
}

.accent-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

.feature-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.content-panel-research {
  opacity: 0.92;
}

.quote-band {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  font-style: italic;
  color: var(--cyan);
  border-block: 1px solid var(--line-soft);
}

/* Suite / modes / deep / roles blocks */
.section-block {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.app-suite-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .app-suite-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .app-suite-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.app-suite-card {
  padding: 1.35rem 1.25rem;
  background: rgba(12, 30, 61, 0.65);
  border: 1px solid var(--line-soft);
}

.app-suite-card-muted {
  border-style: dashed;
  opacity: 0.85;
}

.app-suite-num {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.app-suite-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.app-suite-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.app-suite-meta {
  margin-top: 0.85rem !important;
  color: var(--muted-2) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.04em;
}

.mode-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .mode-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .mode-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.mode-card {
  padding: 1.25rem 1rem;
  border-top: 2px solid var(--cyan);
  background: rgba(12, 30, 61, 0.4);
}

.mode-card h4 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.mode-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.deep-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .deep-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.deep-dive-card {
  padding: 1.5rem 1.35rem;
  background: #000;
  border: 1px solid var(--line-soft);
}

.deep-dive-card-muted {
  border-style: dashed;
  opacity: 0.88;
}

.deep-dive-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--cyan);
}

.deep-dive-card > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.deep-label {
  margin: 0 0 0.4rem !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text) !important;
}

.deep-dive-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.deep-dive-card li {
  margin-bottom: 0.35rem;
}

.deep-meta {
  margin-bottom: 0.75rem !important;
}

.deep-modes {
  margin: 0 !important;
  font-size: 0.78rem !important;
  color: var(--cyan) !important;
}

.role-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.role-card {
  padding: 1.35rem 1.25rem;
  background: #000;
  border: 1px solid var(--line-soft);
}

.role-card p {
  margin: 0.85rem 0 0;
  color: var(--muted-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Diff table */
.diff-table {
  border: 1px solid var(--line-soft);
  overflow: hidden;
}

.diff-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}

.diff-row:last-child {
  border-bottom: 0;
}

.diff-row > div:first-child {
  color: var(--muted);
  font-weight: 600;
}

@media (min-width: 800px) {
  .diff-row {
    grid-template-columns: 0.9fr 1.4fr 1.1fr;
    gap: 1rem;
    align-items: center;
  }

  .diff-row > div:first-child {
    color: var(--text);
  }
}

.diff-head {
  background: rgba(0, 212, 255, 0.08);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}

.diff-head > div:first-child {
  color: var(--cyan);
}

.check::before {
  content: "✓ ";
  color: var(--cyan);
  font-weight: 700;
}

/* CTA */
.cta-section {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 1.25rem;
}

.cta-btn {
  appearance: none;
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  padding: 0.95rem 1.6rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.cta-btn:hover {
  background: var(--cyan);
  color: var(--bg);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-logo-img {
  width: min(160px, 50vw);
  height: auto;
  margin: 0 auto 0.85rem;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.15));
}

.footer-myth {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-copy a {
  color: var(--cyan);
  text-decoration: none;
}

/* Modal */
.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.contact-modal-dialog {
  position: relative;
  width: min(420px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem 1.75rem;
  text-align: center;
}

.contact-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
}

.contact-modal-title {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.contact-modal-subtitle {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-modal-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  resize: vertical;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  outline: 1px solid var(--cyan);
  border-color: var(--cyan);
}

.contact-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.btn-ghost,
.btn-solid {
  appearance: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.btn-ghost {
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
}

.btn-solid {
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: var(--bg);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

  .hero-bg-photo,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* weight fix */
.hero-headline em,
.card-headline em,
.feature-head {
  font-weight: 600;
}
