/* =========================================================
   DESIGN TOKENS (LOCKED)
========================================================= */
:root {
  --primary: #ffc5c7;
  --primary-soft: #fff1f2;
  --primary-soft-2: #ffe7ea;
  --primary-border: #ffb6bb;

  --bg-page: #fff8f9;

  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --heading: #0f172a;

  --border-light: #f0d7da;
  --accent: #cf333e;

  --radius: 22px;
  --max-width: 1400px;
}

/* =========================================================
   RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================================
   BASE
========================================================= */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
}

/* =========================================================
   PAGE WRAPPER
========================================================= */
.system-wrapper {
  max-width: var(--max-width);
  padding: 140px 96px 180px;
}

/* =========================================================
   HERO
========================================================= */
.system-hero {
  max-width: 760px;
  margin-bottom: 120px;
}

.system-hero h1 {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--heading);
  margin-bottom: 18px;
}

.system-hero p {
  font-size: 18px;
  color: var(--text-muted);
}

/* =========================================================
   FLEX (HERO IMAGE)
========================================================= */
.flex {
  display: flex;
}

@media (max-width: 1024px) {
  .flex img {
    display: none;
  }
}

/* =========================================================
   GLASS CARD (DROP SHADOW DEPTH)
========================================================= */
.glass-card {
  position: relative;
  isolation: isolate;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.92),
    rgba(255,255,255,0.6)
  );

  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);

  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  padding: 38px;

  filter:
    drop-shadow(0 20px 40px rgba(31,41,55,0.12))
    drop-shadow(0 6px 14px rgba(31,41,55,0.06));

  transition: transform 0.45s cubic-bezier(.22,1,.36,1);
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.015);
  filter:
    drop-shadow(0 40px 80px rgba(31,41,55,0.18))
    drop-shadow(0 14px 32px rgba(31,41,55,0.1));
}

/* =========================================================
   AUDIENCE SECTION
========================================================= */
.system-audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 160px;
}

.system-audience h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 12px;
}

.system-audience p {
  font-size: 16px;
  color: var(--text-light);
}

/* =========================================================
   GLASS BUTTON
========================================================= */
.glass-btn {
  position: relative;
  display: inline-block;
  margin-top: 28px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;

  background: radial-gradient(
    circle at top left,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.55)
  );

  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,182,187,0.7);

  filter: drop-shadow(0 8px 18px rgba(31,41,55,0.14));

  transition: transform 0.35s cubic-bezier(.22,1,.36,1),
              filter 0.35s ease;
}

.glass-btn:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 16px 32px rgba(31,41,55,0.18));
}

.glass-btn a {
  text-decoration: none;
  color: var(--accent);
}

/* =========================================================
   SYSTEM SPLIT FEATURES
========================================================= */
.system-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.system-features-text {
  max-width: 640px;
}

.system-features h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 56px;
}

/* =========================================================
   FEATURES LIST
========================================================= */
.features-grid {
  display: grid;
  gap: 44px;
}

.feature-item {
  display: flex;
  gap: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-light);
}

.feature-item span {
  min-width: 36px;
  font-weight: 600;
  color: var(--accent);
}

.feature-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 16px;
  color: var(--text-muted);
}

/* =========================================================
   RIGHT SIDE SYSTEM VISUAL (DROP SHADOW + ANIMATION)
========================================================= */
.system-features-visual {
  position: sticky;
  top: 140px;
}

.visual-inner {
  padding: 28px;
  border-radius: var(--radius);

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.55),
    rgba(255,255,255,0.25)
  );

  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);

  filter:
    drop-shadow(0 30px 60px rgba(31,41,55,0.18))
    drop-shadow(0 10px 20px rgba(31,41,55,0.08));

  transition: transform 0.6s cubic-bezier(.22,1,.36,1),
              filter 0.6s ease;
}

.visual-inner img {
  width: 100%;
  display: block;
  animation: systemFloat 7s ease-in-out infinite;
}

@keyframes systemFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .system-wrapper {
    padding: 120px 48px 160px;
  }

  .system-audience {
    grid-template-columns: 1fr;
  }

  .system-split {
    grid-template-columns: 1fr;
  }

  .system-features-visual {
    position: relative;
    margin-top: 80px;
  }
}

@media (max-width: 600px) {
  .system-wrapper {
    padding: 100px 22px 140px;
  }

  .system-hero {
    margin-bottom: 80px;
  }

  .system-features h2 {
    font-size: 28px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .visual-inner img {
    animation: none;
  }
}
