:root {
  --bg: #0b0d10;
  --bg-elevated: #12161b;
  --panel: rgba(18, 22, 27, 0.9);
  --panel-strong: #171d23;
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.12);
  --text: #edf2f7;
  --muted: #a8b1ba;
  --soft: #dfe7ee;
  --accent: #8cd3a6;
  --accent-strong: #71c38c;
  --shadow: rgba(5, 8, 12, 0.45);
  --max-width: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(140, 211, 166, 0.08), transparent 34%),
    linear-gradient(180deg, #090b0e 0%, #0d1116 35%, #0b0d10 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

button, input, textarea, select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 13, 16, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--stroke);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: rgba(11, 13, 16, 0.82);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 0.96rem;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(140, 211, 166, 0.35), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  box-shadow: inset 0 0 18px rgba(140, 211, 166, 0.18);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
}

.brand-mark::after {
  inset: 9px 5px 5px 9px;
  background: linear-gradient(135deg, rgba(140,211,166,0.8), rgba(140,211,166,0.2));
  border: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.nav-panel {
  display: none;
}

main {
  overflow: hidden;
}

.section {
  padding: 5.5rem 0;
}

.hero {
  padding-top: 5.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(140, 211, 166, 0.25);
  background: rgba(140, 211, 166, 0.06);
  border-radius: 999px;
}

.hero h1,
.page-header h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-top: 1.1rem;
  max-width: 640px;
}

.lead {
  max-width: 600px;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button,
.link-button,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-weight: 600;
}

.button {
  background: var(--accent);
  color: #0a0d10;
  box-shadow: 0 12px 28px rgba(113, 195, 140, 0.22);
}

.button:hover,
.button:focus-visible,
.link-button:hover,
.link-button:focus-visible,
.card-action:hover,
.card-action:focus-visible {
  transform: translateY(-1px);
}

.link-button {
  border: 1px solid var(--stroke-strong);
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.visual-shell {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  border-radius: 32px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(17, 21, 25, 0.8) 0%, rgba(14,18,21,0.96) 100%);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  overflow: hidden;
}

.visual-shell::before,
.visual-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
}

.visual-shell::before {
  width: 160px;
  height: 160px;
  left: 16%;
  top: 10%;
  background: rgba(140, 211, 166, 0.12);
}

.visual-shell::after {
  width: 180px;
  height: 180px;
  right: 10%;
  bottom: 12%;
  background: rgba(140, 211, 166, 0.08);
}

.device {
  position: absolute;
  inset: 18% 14%;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(10,14,17,0.95), rgba(18,21,26,0.95));
  box-shadow: inset 0 0 30px rgba(255,255,255,0.02);
}

.device::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  width: 52%;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}

.orbit {
  position: absolute;
  inset: 18% 14%;
  border-radius: 30px;
  border: 1px solid rgba(140, 211, 166, 0.12);
  transform: rotate(8deg);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(140,211,166,0.15);
}

.orbit::before {
  inset: 8% 12%;
}

.orbit::after {
  inset: 22% 22%;
}

.dot-grid {
  position: absolute;
  inset: 16% 18%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.45) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 82%);
  opacity: 0.28;
}

.pill {
  position: absolute;
  left: 48%;
  transform: translateX(-50%);
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(140,211,166,0.3);
  background: rgba(14,18,21,0.9);
  color: var(--accent);
}

.pill.top { top: 13%; }
.pill.bottom { bottom: 12%; }

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.section-heading p {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 700px;
  font-size: 1.05rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.app-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18,22,27,0.8), rgba(13,16,19,0.95));
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.14);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover,
.app-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(140,211,166,0.28);
  box-shadow: 0 25px 46px rgba(0,0,0,0.18);
}

.app-card[data-app-page] {
  cursor: pointer;
}

.app-card[data-app-page]:focus-visible {
  outline: 2px solid rgba(140,211,166,0.8);
  outline-offset: 4px;
}

.app-card.featured {
  border-color: rgba(140,211,166,0.25);
}

.app-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(140,211,166,0.18), rgba(255,255,255,0.04));
}

.app-icon svg {
  width: 28px;
  height: 28px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--stroke-strong);
  background: rgba(255,255,255,0.02);
}

.status-badge.live {
  color: var(--accent);
  border-color: rgba(140,211,166,0.28);
  background: rgba(140,211,166,0.06);
}

.status-badge.coming {
  color: #f3d89b;
  border-color: rgba(243,216,155,0.26);
  background: rgba(243,216,155,0.06);
}

.app-card h3 {
  margin: 1.35rem 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.meta-pill {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255,255,255,0.02);
  font-size: 0.8rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card-action {
  border: 1px solid var(--stroke-strong);
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.card-action.primary {
  background: var(--accent);
  border-color: transparent;
  color: #0a0d10;
}

.card-action.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.feature-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.feature-copy,
.feature-visual,
.page-panel,
.info-card,
.philosophy {
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(18,22,27,0.8), rgba(12,16,21,0.95));
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.feature-copy {
  padding: 2rem;
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3rem);
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.feature-copy p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--soft);
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(140,211,166,0.7);
}

.feature-visual {
  padding: 1.25rem;
  display: grid;
  place-items: center;
}

.screenshot-stack {
  width: 100%;
  height: 100%;
  min-height: 340px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(9, 12, 14, 0.8), rgba(17, 21, 24, 0.95));
  border: 1px solid var(--stroke);
  border-radius: 24px;
  position: relative;
}

.screen {
  position: absolute;
  inset: auto 10% 8% 10%;
  height: 70%;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(12,14,17,1), rgba(17,20,25,1));
  box-shadow: 0 24px 42px rgba(0,0,0,0.22);
}

.screen.back {
  inset: 18% 20% 14% 20%;
  opacity: 0.8;
  transform: rotate(-6deg);
}

.screen.front {
  inset: 8% 12% 12% 12%;
  transform: rotate(5deg);
}

.screen-inner {
  position: absolute;
  inset: 1.1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 21, 26, 0.9), rgba(10,11,13,1));
  overflow: hidden;
}

.mock-topbar {
  height: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-dots {
  width: 52px;
  display: flex;
  justify-content: space-between;
}

.mock-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  padding: 1rem;
}

.mock-tile {
  height: 90px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(140,211,166,0.15), rgba(19,22,25,0.5));
  border: 1px solid rgba(140,211,166,0.18);
}

.mock-row {
  margin: 1rem;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}

.feature-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(140,211,166,0.08);
  border: 1px solid rgba(140,211,166,0.2);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card {
  padding: 1.8rem;
}

.info-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
}

.info-card p,
.info-card li,
.page-panel p,
.page-panel li {
  color: var(--muted);
}

.info-card ul,
.page-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.philosophy {
  padding: 2rem;
  margin-top: 1rem;
  background: linear-gradient(180deg, rgba(15,18,20,0.9), rgba(13,17,20,0.95));
}

.philosophy h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.06em;
}

.page-header {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.page-header h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.page-subtitle {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 700px;
  font-size: 1.06rem;
}

.page-panel {
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.page-panel h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.05em;
}

.page-panel h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.page-panel p + p {
  margin-top: 0.9rem;
}

.site-footer {
  padding: 2rem 0 4rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stroke);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand strong {
  font-size: 1.2rem;
  letter-spacing: -0.06em;
}

.footer-brand span {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--muted);
}

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

.hidden {
  display: none !important;
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: block;
    border-top: 1px solid var(--stroke);
    background: rgba(10, 12, 15, 0.94);
    padding: 1rem 0 1.1rem;
  }

  .nav-panel[hidden] {
    display: none;
  }

  .nav-panel nav {
    display: grid;
    gap: 0.75rem;
  }

  .nav-panel a {
    color: var(--muted);
    padding: 0.55rem 0.35rem;
    border-radius: 10px;
  }

  .hero-inner,
  .feature-showcase,
  .about-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 4rem 0;
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .link-button,
  .card-action {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
  }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
