﻿:root {
  --bg: #080d16;
  --bg-soft: #0f1728;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #e8f0ff;
  --muted: #afbedf;
  --accent: #ff6d3b;
  --accent-strong: #ff865d;
  --secondary: #26d4c3;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(6, 10, 18, 0.9), rgba(7, 11, 19, 0.82)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2200&q=80")
      center / cover fixed no-repeat;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Arial Black", sans-serif;
  line-height: 1.08;
}

p {
  margin-top: 0;
}

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.ambient-bg {
  display: none;
}

.orb {
  display: none;
}

.orb-a {
  width: 300px;
  height: 300px;
  left: -90px;
  top: -60px;
  background: linear-gradient(140deg, #26d4c3, #3782ff);
}

.orb-b {
  width: 380px;
  height: 380px;
  right: -110px;
  top: 180px;
  animation-delay: -5s;
  background: linear-gradient(140deg, #ff865d, #ff4f8b);
}

.orb-c {
  width: 260px;
  height: 260px;
  left: 38%;
  bottom: -120px;
  animation-delay: -2s;
  background: linear-gradient(140deg, #a97fff, #52c8ff);
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-28px) translateX(22px);
  }
}

.hero {
  min-height: 100vh;
  padding: 24px 0 70px;
}

.hero.hero-compact {
  min-height: auto;
  padding: 24px 0 28px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.03em;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-links li {
  position: relative;
}

.has-dropdown {
  padding-bottom: 8px;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.has-dropdown > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 13, 22, 0.95);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 12;
}

.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 10px;
}

.dropdown-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #d9e8ff;
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after {
  transform: rotate(225deg) translateY(1px);
  opacity: 1;
}

.hero-layout {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 560px);
  align-items: start;
  gap: 32px;
}

.kicker,
.section-kicker {
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.kicker {
  color: #96e9df;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 6.2vw, 5rem);
  margin-bottom: 16px;
  max-width: 16ch;
}

.hero-copy > p {
  max-width: 58ch;
  color: var(--muted);
}

.sub-hero {
  margin-top: 72px;
}

.hero.hero-compact .sub-hero {
  margin-top: 36px;
}

.sub-hero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  margin-bottom: 12px;
}

.sub-hero .hero-copy {
  max-width: 60ch;
  color: var(--muted);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: center;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #1a0d07;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface);
}

.hero-stats {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 12px;
}

.hero-stats article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.hero-stats strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.42;
}

.pulse-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 22px;
  transform-style: preserve-3d;
  transition: transform 0.22s ease;
}

.pulse-label {
  margin: 0 0 12px;
  color: #8fdcf4;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 700;
}

.pulse-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pulse-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d4e4ff;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 0 rgba(38, 212, 195, 0.8);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(38, 212, 195, 0.8);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(38, 212, 195, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(38, 212, 195, 0);
  }
}

.ticker {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 18px;
}

.ticker span {
  color: #a4bcdf;
  font-size: 0.9rem;
  animation: none;
}

.ticker span:nth-of-type(n + 5) {
  display: none;
}

.section {
  padding: 82px 0;
}

.section-kicker {
  color: #8da5d1;
}

.section-kicker-light {
  color: #9cd6ff;
}

.section h2 {
  font-size: clamp(1.95rem, 4vw, 3rem);
  margin-bottom: 24px;
  max-width: 22ch;
}

.cards-grid,
.team-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.team-card,
.timeline article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.team-card:hover,
.timeline article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
}

.card p,
.timeline p {
  color: var(--muted);
  margin: 10px 0 0;
}

.meta {
  color: #9db7e2;
}

.portfolio-meta {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
  color: #8fdcf4;
  font-weight: 700;
}

.portfolio-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.prism-section {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.prism-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.prism-copy {
  max-width: 58ch;
  color: var(--muted);
}

.prism-controls {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prism-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.prism-btn.active {
  background: rgba(255, 109, 59, 0.2);
  border-color: rgba(255, 134, 93, 0.65);
}

.prism-panel {
  background: rgba(5, 9, 18, 0.74);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.mode-tag {
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  color: #8adfcb;
}

.prism-panel h3 {
  margin-bottom: 10px;
}

.prism-panel p {
  margin-bottom: 14px;
  color: var(--muted);
}

.prism-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #d2e0fb;
  display: grid;
  gap: 8px;
}

.avatar-chip {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  color: #07101d;
  background: linear-gradient(130deg, #26d4c3, #ff865d);
}

.team-role {
  color: #9ec7ff;
  margin: 8px 0;
  font-size: 0.9rem;
}

.team-value {
  margin: 10px 0 0;
  color: #ffd1be;
  font-weight: 600;
}

.timeline span {
  font-family: "Space Grotesk", sans-serif;
  color: #8fdcf4;
  font-size: 1.2rem;
}

.timeline h3 {
  margin: 6px 0;
}

.contact {
  background: linear-gradient(155deg, #0a1020, #151126 65%, #161f3a);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-layout p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 9px;
}

.contact-form label {
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
  font-family: "Sora", sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9db0d8;
}

.contact-form button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.contact-status {
  min-height: 1.4rem;
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: #c2d3f2;
}

.contact-status.is-success {
  color: #8ce3b8;
}

.contact-status.is-error {
  color: #ffb2a0;
}

.pdf-panel {
  position: static;
  display: none;
  margin-top: 22px;
}

.pdf-panel.is-open {
  display: block;
}

.pdf-dialog {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 9, 18, 0.9);
  box-shadow: var(--shadow);
  padding: 14px;
}

.pdf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pdf-close {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.pdf-frame {
  width: 100%;
  height: 75vh;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.footer {
  text-align: center;
  padding: 22px 14px;
  color: #a2b3d8;
  background: #070b14;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-layout,
  .prism-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .team-grid,
  .timeline,
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .hero-actions {
    flex-wrap: wrap;
  }

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

  .ticker {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (max-width: 760px) {
  .section {
    padding: 66px 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 58px;
    right: 4vw;
    width: min(260px, 90vw);
    flex-direction: column;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(8, 13, 22, 0.95);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    min-width: auto;
    margin-top: 6px;
    padding: 0 0 0 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .dropdown-menu a {
    padding: 4px 0;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero-layout {
    margin-top: 46px;
  }

  .sub-hero {
    margin-top: 44px;
  }

  .hero.hero-compact {
    padding-bottom: 18px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .cards-grid,
  .team-grid,
  .timeline,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .ticker {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pdf-frame {
    height: 62vh;
  }
}
