:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --card: #151515;
  --card-hover: #1b1b1b;
  --text: #f3f3f3;
  --muted: #a3a3a3;
  --line: #262626;
  --accent: #6cf2c2;
  --accent-2: #7c8cff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 140, 255, 0.08), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(108, 242, 194, 0.07), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-label,
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  max-width: 930px;
  font-size: clamp(3.6rem, 8vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

h1 span {
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(16px);
}

.nav-wrapper {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo span {
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  gap: 30px;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 36px;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.button-primary {
  background: var(--text);
  color: var(--bg);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-glow-one {
  top: 130px;
  right: 6%;
  width: 320px;
  height: 320px;
  background: rgba(124, 140, 255, 0.2);
}

.hero-glow-two {
  top: 280px;
  right: 20%;
  width: 240px;
  height: 240px;
  background: rgba(108, 242, 194, 0.15);
}

.hero-stats {
  margin-top: 110px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong {
  font-size: 1rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.93rem;
}

.projects {
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.section-heading p {
  max-width: 460px;
  justify-self: end;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  min-height: 540px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    var(--card);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: #353535;
}

.featured-project {
  background:
    radial-gradient(circle at top right, rgba(108, 242, 194, 0.09), transparent 32%),
    var(--card);
}

.project-top,
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.project-status {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(108, 242, 194, 0.08);
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 700;
}

.project-status.development {
  background: rgba(124, 140, 255, 0.09);
  color: #aab2ff;
}

.project-content {
  margin: 60px 0 40px;
}

.project-category {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-content p {
  max-width: 540px;
}

.feature-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #d0d0d0;
  font-size: 0.93rem;
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.project-link {
  font-weight: 700;
}

.project-link span {
  margin-left: 6px;
}

.muted-link {
  color: var(--muted);
}

.future-card {
  justify-content: center;
  min-height: 360px;
  border-style: dashed;
}

.future-content {
  max-width: 420px;
}

.plus-icon {
  display: block;
  margin-bottom: 24px;
  font-size: 3rem;
  color: var(--accent);
}

.about {
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about-heading h2 {
  margin-top: 18px;
}

.about-copy {
  font-size: 1.12rem;
}

.about-copy strong {
  color: var(--text);
}

.principles {
  padding-top: 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle {
  padding: 38px 32px;
}

.principle + .principle {
  border-left: 1px solid var(--line);
}

.principle span {
  display: block;
  margin-bottom: 65px;
  color: var(--muted);
  font-size: 0.8rem;
}

.contact {
  text-align: center;
}

.contact-inner {
  max-width: 880px;
}

.contact h2 {
  margin: 18px auto 24px;
}

.contact p {
  max-width: 650px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr auto;
  gap: 40px;
  align-items: end;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 22px;
}

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

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

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    padding: 18px 20px 24px;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--line);
    background: var(--bg);
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 95px;
  }

  .hero-stats,
  .section-heading,
  .about-grid,
  .principles-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .section-heading p {
    justify-self: start;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 34px;
  }

  .principle {
    padding: 32px 0;
  }

  .principle + .principle {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .principle span {
    margin-bottom: 28px;
  }

  .footer-inner {
    align-items: start;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .project-card {
    min-height: auto;
    padding: 22px;
    border-radius: 22px;
  }

  .project-content {
    margin: 46px 0 32px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

.workflow-grid {
  margin-top: 20px;
}

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