/* ========================================
   SYSTEMS HERO
======================================== */

.systems-hero {
  position: relative;
  overflow: hidden;

  min-height: 70vh;

  padding: 170px 7% 110px;

  display: flex;
  align-items: center;

  color: white;

  background:
    radial-gradient(circle at 78% 24%, rgba(60,155,70,0.22), transparent 34%),
    radial-gradient(circle at 22% 82%, rgba(59,130,246,0.08), transparent 36%),
    linear-gradient(135deg, #020617 0%, #07111f 42%, #0f172a 100%);
}

.systems-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  opacity: 0.4;

  background:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);

  background-size: 46px 46px;
  pointer-events: none;
}

.systems-hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.systems-hero h1 {
  margin: 24px 0 28px;
  color: white;
  font-size: clamp(52px, 5.8vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.systems-hero p {
  max-width: 760px;
  margin: 0 0 42px;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.8;
}

/* ========================================
   FLAGSHIP SECTION
======================================== */

.flagship-section {
  position: relative;
  overflow: hidden;

  margin-top: -70px;

  border-radius: 48px 48px 0 0;

  padding: 130px 7%;

  color: white;

  background:
    radial-gradient(circle at 78% 38%, rgba(60,155,70,0.22), transparent 34%),
    radial-gradient(circle at 22% 72%, rgba(59,130,246,0.10), transparent 36%),
    linear-gradient(135deg, #07111f 0%, #081426 100%);
}

.flagship-bg-glow {
  position: absolute;
  right: -220px;
  top: -180px;

  width: 720px;
  height: 720px;

  border-radius: 50%;

  background: rgba(60,155,70,0.18);

  filter: blur(90px);
  pointer-events: none;
}

.flagship-grid {
  position: relative;
  z-index: 2;

  max-width: 1450px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.flagship-content h2 {
  max-width: 760px;
  margin: 22px 0 28px;

  color: white;

  font-size: clamp(50px, 5.4vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.flagship-content p {
  max-width: 660px;

  color: #cbd5e1;

  font-size: 19px;
  line-height: 1.9;
}

.flagship-pills {
  margin-top: 40px;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.flagship-pills span {
  padding: 12px 16px;

  border-radius: 999px;

  background: rgba(60,155,70,0.14);
  border: 1px solid rgba(60,155,70,0.24);

  color: #d1fae5;

  font-size: 13px;
  font-weight: 900;
}

.flagship-actions {
  margin-top: 40px;

  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.flagship-visual {
  position: relative;

  min-height: 680px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.flagship-device-glow {
  position: absolute;

  width: 680px;
  height: 340px;

  border-radius: 50%;

  background: rgba(60,155,70,0.30);

  filter: blur(90px);
}

.flagship-device {
  position: relative;
  z-index: 3;

  width: min(860px, 128%);

  transform:
    translateX(50px)
    rotate(-5deg);

  filter:
    drop-shadow(0 70px 110px rgba(0,0,0,0.55))
    drop-shadow(0 0 50px rgba(60,155,70,0.14));
}

.flagship-ui-card {
  position: absolute;
  right: 0;
  bottom: 90px;
  z-index: 4;

  width: 340px;

  overflow: hidden;

  border-radius: 24px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);

  box-shadow: 0 35px 80px rgba(0,0,0,0.42);

  backdrop-filter: blur(18px);
}

.flagship-ui-card img {
  width: 100%;
  display: block;
}

/* ========================================
   SYSTEM INTRO
======================================== */

.systems-intro {
  background: white;
}

/* ========================================
   PRODUCT SHOWCASE
======================================== */

.product-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;

  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #eef2f7 100%
    );
}

.showcase-card {
  position: relative;

  overflow: hidden;

  min-height: 450px;

  padding: 46px;

  border-radius: 36px;

  background: white;

  border: 1px solid rgba(148,163,184,0.12);

  box-shadow: 0 20px 60px rgba(15,23,42,0.06);

  transition:
    transform 0.45s cubic-bezier(.16,1,.3,1),
    box-shadow 0.45s cubic-bezier(.16,1,.3,1),
    border-color 0.45s cubic-bezier(.16,1,.3,1);
}

.showcase-card:hover {
  transform: translateY(-10px);

  border-color: rgba(60,155,70,0.24);

  box-shadow: 0 40px 100px rgba(15,23,42,0.12);
}

.showcase-card::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;

  width: 320px;
  height: 320px;

  border-radius: 50%;

  background: rgba(60,155,70,0.10);

  filter: blur(10px);
}

.showcase-card.flagship {
  color: white;

  background:
    radial-gradient(circle at top right, rgba(60,155,70,0.30), transparent 34%),
    linear-gradient(145deg, #0f172a, #111827);

  border-color: rgba(255,255,255,0.10);
}

.showcase-card.software {
  background:
    radial-gradient(circle at top right, rgba(59,130,246,0.10), transparent 34%),
    white;
}

.showcase-card.apex {
  color: white;

  background:
    radial-gradient(circle at top right, rgba(60,155,70,0.24), transparent 34%),
    linear-gradient(145deg, #111827, #020617);

  border-color: rgba(255,255,255,0.10);
}

.showcase-icon {
  position: absolute;
  right: 34px;
  top: 34px;

  opacity: 0.10;

  pointer-events: none;
}

.showcase-icon-light {
  opacity: 0.18;

  filter:
    brightness(0)
    invert(1);
}

.edx-showcase-icon {
  width: 120px;
}

.pulsar-showcase-icon {
  width: 150px;
}

.apex-showcase-icon {
  width: 90px;
}

.showcase-label {
  position: relative;
  z-index: 2;

  margin-bottom: 34px;

  color: var(--green);

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.flagship .showcase-label,
.apex .showcase-label {
  color: #a7f3d0;
}

.showcase-card h2 {
  position: relative;
  z-index: 2;

  margin: 0 0 22px;

  font-size: clamp(44px, 4.6vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.showcase-card p {
  position: relative;
  z-index: 2;

  max-width: 680px;
  margin: 0 0 34px;

  color: #64748b;

  font-size: 17px;
  line-height: 1.8;
}

.flagship p,
.apex p {
  color: #cbd5e1;
}

.showcase-points {
  position: relative;
  z-index: 2;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase-points span {
  padding: 11px 15px;

  border-radius: 999px;

  background: rgba(60,155,70,0.10);
  border: 1px solid rgba(60,155,70,0.18);

  color: var(--green);

  font-size: 13px;
  font-weight: 900;
}

.flagship .showcase-points span,
.apex .showcase-points span {
  color: #d1fae5;

  background: rgba(60,155,70,0.14);
  border-color: rgba(60,155,70,0.24);
}

/* ========================================
   POSITIONING
======================================== */

.system-positioning {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;

  background: white;
}

.system-positioning h2 {
  margin: 22px 0 24px;

  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.system-positioning p {
  color: #64748b;

  font-size: 18px;
  line-height: 1.9;
}

.positioning-list {
  display: grid;
  gap: 18px;
}

.positioning-item {
  padding: 28px;

  display: flex;
  align-items: center;
  gap: 22px;

  border-radius: 28px;

  background:
    linear-gradient(
      180deg,
      #ffffff,
      #f8fafc
    );

  border: 1px solid rgba(148,163,184,0.14);

  box-shadow: 0 16px 40px rgba(15,23,42,0.04);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.positioning-item:hover {
  transform: translateX(8px);

  border-color: rgba(60,155,70,0.24);

  box-shadow: 0 28px 60px rgba(15,23,42,0.08);
}

.positioning-item span {
  width: 48px;
  height: 48px;

  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(60,155,70,0.10);

  color: var(--green);

  font-size: 13px;
  font-weight: 900;
}

.positioning-item strong {
  color: #0f172a;

  font-size: 18px;
  line-height: 1.4;
}

/* ========================================
   COMPARISON
======================================== */

.systems-comparison {
  padding: 130px 7%;

  color: white;

  background:
    linear-gradient(
      180deg,
      #07111f,
      #020617
    );
}

.systems-comparison-inner {
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.comparison-copy h2 {
  margin: 20px 0 24px;

  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.comparison-copy p {
  color: #cbd5e1;

  font-size: 18px;
  line-height: 1.9;
}

.comparison-table {
  overflow: hidden;

  border-radius: 30px;

  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(18px);
}

.comparison-row {
  padding: 24px 30px;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;

  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row.header {
  background: rgba(255,255,255,0.04);
}

.comparison-row span {
  color: #94a3b8;

  font-size: 15px;
  font-weight: 700;
}

.comparison-row strong {
  color: white;

  font-size: 15px;
  line-height: 1.5;
}

/* ========================================
   CTA
======================================== */

.cta {
  position: relative;
  overflow: hidden;

  padding: 130px 7%;

  color: white;

  text-align: center;

  background:
    radial-gradient(circle at top center, rgba(60,155,70,0.26), transparent 34%),
    linear-gradient(135deg, #0f172a, #020617);
}

.cta::before {
  content: "";

  position: absolute;
  inset: 18px;

  border-radius: 38px;

  border: 1px solid rgba(255,255,255,0.08);

  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;

  max-width: 940px;
  margin: 0 auto;
}

.cta h2 {
  margin: 20px 0 24px;

  font-size: clamp(42px, 4.8vw, 70px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.cta p {
  max-width: 760px;
  margin: 0 auto 40px;

  color: #cbd5e1;

  font-size: 18px;
  line-height: 1.9;
}

.cta .hero-buttons {
  justify-content: center;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1200px) {
  .flagship-grid,
  .system-positioning,
  .systems-comparison-inner {
    grid-template-columns: 1fr;
  }

  .flagship-visual {
    min-height: 540px;
  }

  .flagship-device {
    width: 100%;

    transform:
      rotate(-4deg);
  }
}

@media (max-width: 950px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .systems-hero,
  .flagship-section,
  .systems-comparison,
  .cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .systems-hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 90px;
  }

  .systems-hero h1,
  .flagship-content h2,
  .showcase-card h2,
  .system-positioning h2,
  .comparison-copy h2,
  .cta h2 {
    line-height: 1.02;
  }

  .systems-hero h1 {
    font-size: clamp(42px, 10vw, 62px);
  }

  .systems-hero p,
  .flagship-content p {
    font-size: 17px;
    line-height: 1.75;
  }

  .flagship-section {
    padding-top: 100px;
    padding-bottom: 90px;
  }

  .flagship-content h2 {
    font-size: clamp(40px, 9vw, 58px);
    letter-spacing: -0.055em;
  }

  .flagship-visual {
    min-height: 360px;
  }

  .flagship-ui-card {
    display: none;
  }

  .flagship-actions,
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn,
  .flagship-actions .btn {
    width: 100%;
  }

  .showcase-card {
    min-height: auto;
    padding: 34px;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}