:root {
  --navy: #071b3f;
  --navy-2: #0c2a63;
  --blue: #1d63e9;
  --blue-dark: #0f4dc3;
  --green: #05a982;
  --green-dark: #047e65;
  --ink: #07142f;
  --muted: #5f6d86;
  --line: #e7ecf5;
  --bg: #f4f8ff;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(7, 20, 47, 0.12);
  --radius: 22px;
}

* {
  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 right, rgba(120, 99, 255, 0.13), transparent 34rem),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  color: var(--ink);
}

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

.layout {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 300px;
  padding: 34px 20px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(77, 118, 255, 0.35), transparent 19rem),
    linear-gradient(180deg, #061839 0%, #071d44 50%, #061633 100%);
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 10px 42px;
}

.brand-icon {
  width: 48px;
  height: 48px;
}

.brand h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand p {
  margin: 6px 0 0;
  font-size: 14px;
  opacity: 0.86;
}

.side-nav {
  display: grid;
  gap: 12px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  transition: 180ms ease;
}

.side-nav a:hover,
.side-nav a.active {
  background: linear-gradient(135deg, rgba(65, 91, 230, 0.95), rgba(47, 55, 150, 0.95));
  box-shadow: 0 14px 34px rgba(31, 53, 181, 0.25);
}

.nav-icon {
  width: 28px;
  display: inline-flex;
  justify-content: center;
  font-weight: 700;
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 28px 10px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sidebar-footer img {
  width: 66px;
  height: 66px;
}

.sidebar-footer strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.sidebar-footer span {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.main-content {
  margin-left: 300px;
  padding: 38px 46px 24px;
}

.hero {
  position: relative;
  min-height: 190px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.eyebrow {
  display: block;
  font-size: 17px;
  color: #1c2a46;
  margin-bottom: 8px;
}

.hero h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #061838;
}

.hero p {
  margin: 16px 0 0;
  max-width: 760px;
  font-size: 19px;
  color: #263653;
}

.hero-art {
  width: min(270px, 30vw);
  opacity: 0.86;
  margin-right: 42px;
}

.news-card,
.app-card,
.mini-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 226, 242, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.news-card {
  position: relative;
  border-left: 4px solid #653af3;
  border-radius: var(--radius);
  padding: 30px 38px 24px;
  margin-bottom: 24px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #572bf2;
  text-transform: uppercase;
  font-weight: 750;
  letter-spacing: 0.04em;
  font-size: 14px;
}

.section-label img {
  width: 30px;
  height: 30px;
}

.section-label small {
  margin-left: auto;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  color: #6d7890;
  font-size: 15px;
}

.news-card h3,
.apps-heading h3 {
  margin: 18px 0 10px;
  font-size: 26px;
  color: var(--ink);
}

.news-card p,
.app-content p,
.mini-card p {
  color: #263653;
  line-height: 1.65;
  font-size: 16px;
}

.expandable {
  display: none;
}

.expandable.open {
  display: block;
  animation: reveal 220ms ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-button {
  border: 0;
  background: transparent;
  color: #5630f2;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.text-button:hover {
  filter: brightness(0.85);
}

.apps-section {
  margin-top: 26px;
}

.apps-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 26px;
  margin-bottom: 18px;
}

.apps-heading h3 {
  font-size: 32px;
  margin-bottom: 0;
}

.apps-heading p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.6;
}

.app-card {
  position: relative;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 34px;
  align-items: start;
  padding: 28px 38px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
  transition: 220ms ease;
}

.app-card::before {
  content: "";
  position: absolute;
  left: 0;
  inset-block: 0;
  width: 4px;
  background: var(--blue);
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 86px rgba(7, 20, 47, 0.17);
}

.app-icon {
  width: 210px;
  height: 210px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 42px rgba(26, 89, 211, 0.24);
  background: linear-gradient(135deg, var(--blue), #073ca7);
  transition: 200ms ease;
}

.app-icon:hover {
  transform: scale(1.025);
}

.app-icon img {
  width: 132px;
  height: 132px;
}

.app-green::before {
  background: var(--green);
}

.app-green .app-icon {
  background: linear-gradient(135deg, #12c9a0, var(--green-dark));
  box-shadow: 0 20px 42px rgba(4, 126, 101, 0.24);
}

.app-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.app-content h4 {
  margin: 16px 0 10px;
  max-width: 780px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.access-button {
  flex: 0 0 auto;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue-dark);
  font-weight: 800;
  transition: 180ms ease;
}

.app-green .access-button {
  background: #eafff8;
  color: var(--green-dark);
}

.access-button:hover {
  transform: translateX(2px);
  filter: brightness(0.97);
}

.app-toggle {
  color: var(--blue-dark);
}

.app-green .app-toggle {
  color: var(--green-dark);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.mini-card {
  border-radius: 20px;
  padding: 24px;
}

.mini-card h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.mini-card p {
  margin: 0;
  font-size: 15px;
}

footer {
  padding: 32px 0 8px;
  text-align: center;
  color: #6a7891;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .sidebar {
    position: static;
    width: 100%;
    min-height: auto;
  }

  .layout {
    display: block;
  }

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

  .sidebar-footer {
    display: none;
  }

  .main-content {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .main-content {
    padding: 26px 18px 18px;
  }

  .hero {
    display: block;
  }

  .hero-art {
    display: none;
  }

  .news-card,
  .app-card {
    padding: 24px;
  }

  .section-label {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .section-label small {
    width: 100%;
    margin-left: 42px;
  }

  .apps-heading,
  .app-title-row {
    display: block;
  }

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

  .app-icon {
    width: 150px;
    height: 150px;
  }

  .app-icon img {
    width: 96px;
    height: 96px;
  }

  .app-content h4 {
    font-size: 24px;
  }

  .access-button {
    display: inline-block;
    margin-top: 10px;
  }

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

  .side-nav {
    grid-template-columns: 1fr;
  }
}
