* {
  box-sizing: border-box;
}

:root {
  --bg: #070b14;
  --bg-soft: #0b1020;
  --surface: rgba(16, 23, 42, 0.72);
  --surface-solid: #10172a;
  --surface-hover: #151f38;
  --border: rgba(255,255,255,.09);
  --text: #f7f9fc;
  --muted: #8d98ae;
  --muted-2: #667085;
  --header-bg: rgba(7, 11, 20, .72);
  --shadow: 0 24px 70px rgba(0,0,0,.35);
}

body.light {
  --bg: #f4f7fb;
  --bg-soft: #eef3f9;
  --surface: rgba(255,255,255,.78);
  --surface-solid: #ffffff;
  --surface-hover: #f8fafc;
  --border: rgba(17,24,39,.09);
  --text: #111827;
  --muted: #667085;
  --muted-2: #98a2b3;
  --header-bg: rgba(244, 247, 251, .78);
  --shadow: 0 20px 60px rgba(35,45,70,.10);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at 20% -10%, rgba(68, 84, 255, .13), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(255, 120, 64, .09), transparent 28%),
    var(--bg);
  color: var(--text);
  transition: background .25s ease, color .25s ease;
}

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

button {
  font: inherit;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
  opacity: .24;
  z-index: -1;
}

.ambient-one {
  width: 360px;
  height: 360px;
  left: -160px;
  top: 180px;
  background: #365cff;
}

.ambient-two {
  width: 320px;
  height: 320px;
  right: -140px;
  top: 520px;
  background: #7c3aed;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff6b38, #ff9a3c);
  box-shadow: 0 10px 30px rgba(255,107,56,.26);
}

.brand-mark.small {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 16px;
}

.brand-copy,
.footer-brand > div:last-child {
  display: flex;
  flex-direction: column;
}

.brand-copy strong,
.footer-brand strong {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-copy span,
.footer-brand span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill {
  height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,.12);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  backdrop-filter: blur(18px);
  transition: transform .2s ease, background .2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: var(--surface-hover);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.sun-icon {
  display: none;
}

body.light .moon-icon {
  display: none;
}

body.light .sun-icon {
  display: block;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  max-width: 890px;
  padding: 94px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #98a7ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 26px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 20px 0 24px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.hero h1 span {
  display: block;
  color: var(--muted-2);
}

.hero-description {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}

.hero-meta {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-meta > div:not(.meta-divider) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta strong {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
}

.hero-meta span {
  color: var(--muted);
  font-size: 12px;
}

.meta-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

.apps-section {
  padding: 34px 0 30px;
}

.section-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-label {
  margin: 0 0 8px;
  color: #7685e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.section-heading h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 31px;
  letter-spacing: -.035em;
}

.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

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

.app-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.005)),
    var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.app-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -100px;
  right: -60px;
  border-radius: 50%;
  opacity: .13;
  filter: blur(12px);
  transition: transform .35s ease, opacity .35s ease;
}

.app-card.orange::before { background: #ff7438; }
.app-card.blue::before   { background: #3d7cff; }
.app-card.green::before  { background: #28c980; }
.app-card.purple::before { background: #9b5cff; }

.app-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,255,255,.19);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
    var(--surface-hover);
}

body.light .app-card:hover {
  border-color: rgba(17,24,39,.16);
}

.app-card:hover::before {
  opacity: .23;
  transform: scale(1.35);
}

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

.app-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
}

.orange .app-icon { background: linear-gradient(145deg, #ff7138, #e84a18); }
.blue .app-icon   { background: linear-gradient(145deg, #4a86ff, #2254d7); }
.green .app-icon  { background: linear-gradient(145deg, #2bcf86, #13995e); }
.purple .app-icon { background: linear-gradient(145deg, #a968ff, #7433d4); }

.card-status {
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}

.card-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.card-content {
  margin-top: 46px;
}

.card-number {
  margin: 0 0 10px;
  color: var(--muted-2);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.card-content h3 {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.card-content > p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.card-footer {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-footer > span:first-child {
  min-width: 0;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.open-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.open-button svg {
  width: 17px;
  height: 17px;
  transition: transform .2s ease;
}

.app-card:hover .open-button svg {
  transform: translateX(3px);
}

.info-panel {
  margin: 30px 0 70px;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.info-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #8fa0ff;
  background: rgba(91,108,255,.11);
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-panel strong {
  display: block;
  margin: 2px 0 5px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}

.info-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand strong {
  font-size: 13px;
}

.footer-brand span {
  font-size: 11px;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 780px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .status-pill {
    display: none;
  }

  .hero {
    padding: 62px 0 60px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .hero-meta {
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-meta > div:not(.meta-divider) {
    flex: 0 0 auto;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading > p {
    text-align: left;
  }

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

  .app-card {
    min-height: 310px;
    border-radius: 22px;
  }

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

@media (max-width: 480px) {
  .brand-copy span {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-meta {
    margin-top: 30px;
  }

  .app-card {
    padding: 20px;
  }

  .card-content {
    margin-top: 36px;
  }

  .card-content h3 {
    font-size: 25px;
  }

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

  .info-panel {
    padding: 18px;
  }
}
