:root {
  color-scheme: dark;
  --bg: #0b1220;
  --surface: rgba(14, 23, 42, 0.95);
  --surface-strong: rgba(18, 31, 56, 0.98);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e5ecff;
  --muted: #9bb3d6;
  --accent: #6c8dff;
  --accent-soft: rgba(108, 141, 255, 0.18);
  --shadow: 0 32px 120px rgba(0, 0, 0, 0.28);
  font-family: "Inter", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(108, 141, 255, 0.14), transparent 28%),
              radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 15%),
              linear-gradient(180deg, #08101f 0%, #080d16 100%);
  line-height: 1.75;
}

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

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

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, #7b9dff, #5f76ff);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 60px rgba(108, 141, 255, 0.18);
}

.brand-mark span {
  color: white;
  font-weight: 900;
  font-size: 1.15rem;
}

nav {
  display: flex;
  gap: 26px;
  font-size: 0.95rem;
  color: var(--muted);
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  padding: 72px 0 48px;
}

.hero-copy {
  max-width: 680px;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #7b9dff, #5f76ff);
  color: white;
  box-shadow: 0 22px 48px rgba(95, 118, 255, 0.2);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

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

.hero-visual {
  display: block;
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-card {
  width: 100%;
  max-width: 360px;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(18, 31, 56, 0.92), rgba(16, 25, 44, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card h3 {
  margin-bottom: 18px;
  color: white;
  font-size: 1.45rem;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.98rem;
}

.hero-card-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.hero-card-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6c8dff;
  box-shadow: 0 0 12px rgba(108, 141, 255, 0.6);
}

.section {
  padding: 70px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 8px;
}

.section-subtitle {
  max-width: 640px;
  color: var(--muted);
  font-size: 1rem;
}

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

.card {
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: block;
}

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

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 141, 255, 0.35);
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: white;
}

.card-text {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #c4d3ff;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.feature-columns {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 20px;
}

.feature-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}

.feature-icon {
  width: 48px;
  min-height: 48px;
  border-radius: 16px;
  background: rgba(108, 141, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.feature-content {
  color: var(--muted);
}

.feature-title {
  margin-bottom: 8px;
  color: white;
  font-weight: 700;
}

.page-content {
  padding: 40px 0;
}

.module-list,
.product-list,
.team-grid,
.contact-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 32px;
}

.page-content h1,
.section-title {
  margin-bottom: 1rem;
}

.page-content p,
.page-content ul,
.feature-content p {
  margin-bottom: 1.5rem;
}

.page-content ul {
  list-style: disc inside;
}

.footer,
.site-footer {
  margin-top: 60px;
  padding: 40px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 32px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

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

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: #7f8bb2;
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

@media (max-width: 640px) {
  .page {
    padding: 24px 16px 40px;
  }

  nav {
    gap: 16px;
  }

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

  .hero-title {
    font-size: 2.8rem;
  }

  .btn {
    width: 100%;
  }
}
