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

html,
body {
  margin: 0;
  padding: 0;
}

body.eg-body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  background: radial-gradient(circle at top, #101532 0, #050712 50%, #020308 100%);
  color: #f5f7ff;
}
.eg-image-link {
  display: block;
  text-decoration: none;
}

.eg-image-link:hover .eg-img-full {
  transform: translateY(-2px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
}

/* =========================
   VARIABLES
========================= */
:root {
  --eg-text: #f5f7ff;
  --eg-text-soft: #a2a8c3;
  --eg-text-dim: #707696;
  --eg-accent: #2dd7ff;
  --eg-accent-soft: rgba(45, 215, 255, 0.09);
  --eg-signal-green: #32f68f;
  --eg-border-subtle: rgba(255, 255, 255, 0.06);
  --eg-card-bg: rgba(6, 10, 26, 0.96);
  --eg-shell-radius: 24px;
}

/* =========================
   LAYOUT
========================= */
.eg-container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */
.eg-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 18, 0.96),
    rgba(5, 7, 18, 0.86),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.eg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.eg-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.eg-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #79ffff, #087aad 55%, #020410 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f5fbff;
  box-shadow: 0 0 0 1px rgba(9, 174, 214, 0.55),
    0 14px 30px rgba(0, 0, 0, 0.6);
}

.eg-logo-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.eg-logo-text {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eg-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eg-text-dim);
}

/* =========================
   NAV
========================= */
.eg-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eg-nav-link {
  color: var(--eg-text-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

.eg-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2dd7ff, #32f68f);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease-out;
}

.eg-nav-link:hover {
  color: #ffffff;
}

.eg-nav-link:hover::after {
  transform: scaleX(1);
}

/* =========================
   MOBILE NAV
========================= */
.eg-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
}

.eg-nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #f5f7ff;
  margin: 4px 0;
}

/* breakpoints */
@media (max-width: 840px) {
  .eg-header-inner {
    padding-inline: 0.5rem;
  }

  .eg-nav-toggle {
    display: block;
  }

  .eg-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 56px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    background: rgba(5, 7, 18, 0.96);
    border-radius: 16px;
    border: 1px solid var(--eg-border-subtle);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  }

  .eg-nav.eg-nav--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* =========================
   SHELL / HERO
========================= */

.eg-shell {
  padding: 3rem 0 4rem;
}

.eg-hero {
  padding: 2.25rem;
  border-radius: var(--eg-shell-radius);
  border: 1px solid var(--eg-border-subtle);
  background: radial-gradient(
      circle at top left,
      rgba(26, 40, 80, 0.9),
      transparent 55%
    ),
    radial-gradient(circle at bottom right, rgba(20, 16, 52, 0.9), #04040c);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.78);
}

.eg-hero-signal {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eg-text-dim);
  margin-bottom: 1.4rem;
}

.eg-hero-signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--eg-signal-green);
  box-shadow: 0 0 12px rgba(50, 246, 143, 0.9);
}

.eg-separator {
  opacity: 0.5;
}

.eg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2.4rem;
}

.eg-hero-copy {
  max-width: 620px;
}

.eg-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eg-text-dim);
  margin: 0 0 0.6rem;
}

.eg-hero-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.18;
  margin: 0 0 1.1rem;
}

.eg-hero-body {
  margin: 0 0 1.3rem;
  color: var(--eg-text-soft);
  font-size: 0.95rem;
}

.eg-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.eg-pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 26, 0.9);
  font-size: 0.75rem;
  color: var(--eg-text-soft);
}

.eg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* buttons */
.eg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease-out, color 0.15s ease-out,
    border-color 0.15s ease-out, transform 0.08s ease-out;
}

.eg-btn-primary {
  background: linear-gradient(120deg, #2dd7ff, #32f68f);
  color: #020308;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.eg-btn-primary:hover {
  transform: translateY(-1px);
}

.eg-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--eg-text-soft);
}

.eg-btn-ghost:hover {
  border-color: #2dd7ff;
  color: #ffffff;
}

.eg-btn-full {
  width: 100%;
}

/* hero console */
.eg-console {
  background: rgba(10, 14, 34, 0.98);
  border-radius: 20px;
  border: 1px solid var(--eg-border-subtle);
  padding: 1.2rem 1.3rem;
}

.eg-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eg-text-dim);
}

.eg-console-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.eg-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--eg-signal-green);
}

.eg-console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.eg-console-card {
  background: #06091a;
  border-radius: 14px;
  border: 1px solid var(--eg-border-subtle);
  padding: 0.7rem;
}

.eg-console-label {
  font-size: 0.7rem;
  color: var(--eg-text-dim);
  margin-bottom: 0.25rem;
}

.eg-console-main {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.eg-console-sub {
  margin: 0;
  font-size: 0.78rem;
  color: var(--eg-text-soft);
}

.eg-console-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eg-text-dim);
}

/* =========================
   GENERIC SECTIONS
========================= */
.eg-section {
  margin-top: 2.2rem;
  padding: 1.7rem 1.9rem;
  border-radius: 20px;
  background: var(--eg-card-bg);
  border: 1px solid var(--eg-border-subtle);
}

.eg-section-header {
  margin-bottom: 1.2rem;
}

.eg-section-title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.eg-section-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--eg-text-soft);
}

.eg-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.eg-card {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(5, 8, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.eg-card-title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.eg-card-body {
  margin: 0;
  font-size: 0.86rem;
  color: var(--eg-text-soft);
}

/* =========================
   BRAND / ART SECTIONS
========================= */

.eg-section.eg-brand,
.eg-section.eg-divisions,
.eg-section.eg-console-art,
.eg-section.eg-logo-pack {
  margin-top: 2.4rem;
}

.eg-brand-inner,
.eg-divisions-inner,
.eg-console-art-inner,
.eg-logo-pack-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.eg-img-full {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.eg-image-link {
  display: block;
  text-decoration: none;
}

.eg-image-link:hover .eg-img-full {
  transform: translateY(-2px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
}
/* =========================
   DIVISION CARDS
========================= */

.eg-division-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.eg-division-card {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(5, 8, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.eg-division-chip {
  display: inline-flex;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eg-text-dim);
  margin-bottom: 0.35rem;
}

.eg-division-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.eg-division-body {
  margin: 0 0 0.6rem;
  font-size: 0.86rem;
  color: var(--eg-text-soft);
}

.eg-division-link {
  font-size: 0.8rem;
  color: var(--eg-accent);
  text-decoration: none;
}

.eg-division-link:hover {
  text-decoration: underline;
}

/* =========================
   CONSOLE TEXT BLOCK
========================= */

.eg-console-text-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.2rem;
}

.eg-console-line {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.82rem;
  color: var(--eg-accent);
  margin: 0 0 0.25rem;
}

.eg-console-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--eg-text-soft);
}

/* =========================
   CONTACT
========================= */

.eg-section--contact {
  margin-top: 2.6rem;
}

.eg-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: flex-start;
}

.eg-contact-copy .eg-section-title {
  margin-bottom: 0.4rem;
}

.eg-contact-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--eg-text-soft);
}

.eg-contact-list li + li {
  margin-top: 0.25rem;
}

.eg-contact-panel {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(5, 8, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.eg-contact-title {
  margin: 0 0 0.35rem;
  font-size: 0.96rem;
}

.eg-contact-note,
.eg-contact-small {
  font-size: 0.86rem;
  color: var(--eg-text-soft);
}

.eg-contact-note {
  margin-bottom: 0.8rem;
}

.eg-contact-small {
  margin-top: 0.6rem;
}

/* =========================
   FOOTER
========================= */

.eg-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0 2.2rem;
  background: linear-gradient(
    to top,
    rgba(3, 4, 12, 1),
    rgba(3, 4, 12, 0.95),
    transparent
  );
}

.eg-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.eg-logo--small .eg-logo-mark {
  width: 26px;
  height: 26px;
  font-size: 0.7rem;
}

.eg-footer-text {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--eg-text-soft);
}

.eg-footer-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--eg-text-dim);
}

.eg-footer-dot {
  margin-inline: 0.35rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 960px) {
  .eg-hero-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  }

  .eg-section-grid,
  .eg-division-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eg-console-text-grid,
  .eg-contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .eg-shell {
    padding-top: 2.3rem;
  }

  .eg-hero {
    padding: 1.6rem 1.4rem;
  }

  .eg-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .eg-console {
    margin-top: 1.4rem;
  }

  .eg-section {
    padding: 1.4rem 1.3rem;
  }

  .eg-section-grid,
  .eg-division-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .eg-console-text-grid,
  .eg-contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .eg-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
