* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #202434;

  /* Base gradient */
  background: linear-gradient(135deg, #ff8351 0%, #e94879 100%);
  position: relative;
  overflow-x: hidden;
}

/* Top decorative shapes */
body {
  background: radial-gradient(circle at top right, #5a2b3c 0%, transparent 40%),
              linear-gradient(135deg, #ff8351 0%, #e94879 100%);
}

/* Dark purple circle */
body::before {
  background: #2a132b;
}

/* Slightly lighter overlay for depth */
body::after {
  top: -120px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: rgba(0, 0, 0, 0.15);
}

/* Ensure content stays above shapes */
.demo-page {
  position: relative;
  z-index: 1;
}

.demo-page {
  min-height: 100vh;
}

.demo-section {
  padding: 65px 24px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 84px;
}

.page-header h1 {
  margin: 0 0 28px;
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
}

.page-header p {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.demo-card {
  display: block;
  min-height: 258px;
  padding: 24px 30px 50px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e9e9ef;
  border-radius: 8px;
  background: #ffffff;
  transition: 
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.demo-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  color: #222738;
  transition: color 0.25s ease;
}

.card-line {
  width: 150px;
  height: 1px;
  margin: 18px auto 7px;
  background: #d7dbe7;
  transition: background 0.25s ease;
}

.demo-card p {
  margin: 0 0 46px;
  font-size: 16px;
  color: #6f7788;
  transition: color 0.25s ease;
}

.demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 177px;
  min-height: 56px;
  padding: 14px 30px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #e94879 0%, #ff8351 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.demo-card:hover {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(120deg, #171125 0%, #6b2d41 100%);
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(24, 17, 37, 0.18);
}

.demo-card:hover h2,
.demo-card:hover p {
  color: #ffffff;
}

.demo-card:hover .card-line {
  background: rgba(255, 255, 255, 0.6);
}

.demo-card:hover .demo-button {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(233, 72, 121, 0.35);
}

@media (max-width: 768px) {
  .page-header {
    margin-bottom: 50px;
  }

  .page-header h1 {
    font-size: 42px;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .demo-section {
    padding: 45px 16px;
  }

  .page-header h1 {
    font-size: 34px;
  }

  .demo-card {
    padding: 28px 18px 42px;
  }

  .demo-card h2 {
    font-size: 26px;
  }
}