:root {
  --bg: #0f172a;
  --bg-soft: #111c33;
  --card: rgba(18, 28, 50, 0.78);
  --text: #f8fafc;
  --muted: #b8c4d9;
  --accent: #67e8f9;
  --accent-2: #a78bfa;
  --ok: #86efac;
  --line: rgba(226, 232, 240, 0.12);
  --shadow: 0 18px 48px rgba(2, 6, 23, 0.24);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Manrope", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 8%, rgba(103, 232, 249, 0.16) 0%, transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(167, 139, 250, 0.18) 0%, transparent 26%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1320px, 97%);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.88rem;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: #dbeafe;
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(102, 217, 255, 0.14);
  text-decoration: none;
}

.page-hero {
  padding: 32px 0 14px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.8;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  backdrop-filter: blur(10px);
}

.card h2,
.card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.68;
}

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

.span-4 {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-6 {
  grid-column: span 6;
}

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

.list {
  margin: 0;
  padding-left: 20px;
}

.compact-list li {
  margin-bottom: 8px;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stat {
  flex: 1 1 140px;
  min-width: 140px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 12px;
}

a.stat:hover {
  text-decoration: none;
  border-color: rgba(102, 217, 255, 0.45);
  background: rgba(102, 217, 255, 0.08);
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: 1.25rem;
}

.section {
  padding: 10px 0;
}

.footer {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  color: #bcc9f2;
  font-size: 0.95rem;
  padding: 16px 0 22px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(102, 217, 255, 0.1);
  pointer-events: none;
}

.home-page .page-hero {
  padding: 26px 0 10px;
}

.home-page .hero-layout {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.home-page .hero-card {
  padding: 30px 32px 28px;
  background:
    linear-gradient(140deg, rgba(103, 232, 249, 0.18), rgba(167, 139, 250, 0.12)),
    rgba(15, 23, 42, 0.6);
  border-color: rgba(226, 232, 240, 0.22);
  box-shadow: 0 22px 54px rgba(2, 6, 23, 0.36);
}

.home-page .hero-card.hero-card-wide {
  display: block;
  max-width: none;
}

.home-page .hero-card.hero-card-wide .hero-subtitle,
.home-page .hero-card.hero-card-wide .eyebrow,
.home-page .hero-card.hero-card-wide > p {
  max-width: none;
}

.home-page .hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.55), rgba(167, 139, 250, 0.55), transparent);
}

.home-page .page-hero h1 {
  max-width: 700px;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.home-page .page-hero h1.hero-subtitle {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: #f1f5ff;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.home-page .page-hero p {
  max-width: 62ch;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
}

.home-page .section {
  padding: 6px 0;
}

.home-page .grid {
  align-items: stretch;
  gap: 18px;
}

.home-page .card {
  position: relative;
  padding: 20px 20px 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.home-page .card > h3 {
  margin-top: 0;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.home-page .card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 232, 249, 0.32);
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.42);
}

.home-page .card p,
.home-page .card li {
  line-height: 1.62;
}

.card-eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-page .quick-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.home-page .stat {
  position: relative;
  min-width: 0;
  padding: 14px 14px 12px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 14px;
  border-color: rgba(226, 232, 240, 0.12);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-page .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.85;
}

.home-page .stat:hover {
  transform: translateY(-1px);
  border-color: rgba(103, 232, 249, 0.32);
}

.home-page .stat strong {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.home-page .stat span {
  display: block;
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-page .pill-list {
  margin-top: 14px;
}

.home-page .pill-list span {
  padding: 6px 11px;
  font-size: 0.86rem;
}

.home-page .highlight {
  background:
    linear-gradient(180deg, rgba(167, 139, 250, 0.22), rgba(103, 232, 249, 0.08)),
    rgba(15, 23, 42, 0.55);
}

.home-page .stack-card .stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

@media (max-width: 1180px) {
  .home-page .stack-card .stack-grid {
    grid-template-columns: 1fr;
  }
}

.home-page .stack-col {
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.42);
}

.home-page .stack-col .mini-heading {
  margin: 0 0 6px;
  font-size: 0.86rem;
}

.home-page .stack-col p:last-child {
  margin: 0;
  color: #d7e0ef;
}

.apps-card .app-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 14px;
}

.apps-card .app-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.44);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.apps-card a.app-item:hover {
  text-decoration: none;
  border-color: rgba(103, 232, 249, 0.42);
  background: rgba(102, 217, 255, 0.08);
  transform: translateY(-1px);
}

.apps-card .app-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0f172a;
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  letter-spacing: -0.02em;
}

.apps-card .app-icon.alt {
  background: linear-gradient(135deg, var(--accent-2), #f472b6);
  color: #fff;
}

.apps-card .app-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.apps-card .app-body strong {
  font-size: 0.98rem;
}

.apps-card .app-body span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.apps-card .app-status {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apps-card .app-status.live {
  color: var(--ok);
  background: rgba(134, 239, 172, 0.12);
  border: 1px solid rgba(134, 239, 172, 0.32);
}

.apps-card .app-status.soon {
  color: #fcd34d;
  background: rgba(252, 211, 77, 0.1);
  border: 1px solid rgba(252, 211, 77, 0.3);
}

.home-page .card-foot-link,
.apps-card .card-foot-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9rem;
}

.home-page .recognition-card .badge {
  display: inline-block;
  min-width: 22px;
  padding: 1px 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.18), rgba(167, 139, 250, 0.18));
  border: 1px solid rgba(102, 217, 255, 0.32);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.4;
}

.home-page .recognition-card .achievement-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-page .recognition-card .achievement-list li {
  position: relative;
  padding-left: 22px;
  color: #d7e0ef;
  font-size: 0.94rem;
  line-height: 1.55;
}

.home-page .recognition-card .dot {
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 3px rgba(102, 217, 255, 0.12);
}

.highlight {
  background: linear-gradient(170deg, rgba(141, 139, 255, 0.28), rgba(102, 217, 255, 0.05));
}

.page-hero .eyebrow {
  margin: 0 0 12px;
  color: var(--ok);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.cta {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(102, 217, 255, 0.3);
  background: linear-gradient(135deg, rgba(102, 217, 255, 0.28), rgba(167, 139, 250, 0.26));
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.24);
}

.ghost-link {
  color: var(--text);
  border-bottom: 1px solid rgba(102, 217, 255, 0.45);
  padding-bottom: 3px;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.impact-strip div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 25, 50, 0.72);
  padding: 14px;
}

.impact-strip strong {
  display: block;
  color: var(--accent);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  margin-bottom: 5px;
}

.impact-strip span,
.timeline span {
  color: var(--muted);
  font-size: 0.9rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.pill-list span {
  border: 1px solid rgba(102, 217, 255, 0.24);
  background: rgba(102, 217, 255, 0.08);
  color: #dce8ff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.timeline > div {
  position: relative;
  padding-left: 18px;
  border-left: 2px solid rgba(102, 217, 255, 0.32);
}

.timeline > div::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.9);
}

.timeline strong {
  display: block;
  margin: 4px 0 3px;
}

.timeline p {
  margin: 0;
  font-size: 0.92rem;
}

.timeline span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.mini-heading {
  margin: 14px 0 0;
  color: var(--ok) !important;
  font-weight: 700;
}

.home-page .contact-card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  padding: 20px 26px !important;
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(103, 232, 249, 0.1)),
    rgba(15, 23, 42, 0.6) !important;
  border-color: rgba(226, 232, 240, 0.2) !important;
}

.home-page .contact-card > h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}

.home-page .contact-card > .contact-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(102, 217, 255, 0.28);
  background: rgba(15, 23, 42, 0.5);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-page .contact-card > .contact-pill:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(103, 232, 249, 0.55);
  background: rgba(102, 217, 255, 0.1);
}

.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

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

  .home-page .hero-layout {
    grid-template-columns: 1fr;
  }

  .home-page .hero-card,
  .home-page .hero-layout .snapshot-card {
    grid-column: span 12;
  }

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

  .span-8,
  .span-7,
  .span-6,
  .span-5,
  .span-4 {
    grid-column: span 12;
  }

  .home-page .stack-card .stack-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

}

@media (max-width: 520px) {
  .home-page .quick-stats {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 680px) {
  .container {
    width: min(100%, 98%);
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .impact-strip {
    grid-template-columns: 1fr;
  }
}
