:root {
  --bg: #fff6fb;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: #ffffff;
  --text: #4b3352;
  --muted: #7d667e;
  --primary: #ff4d97;
  --primary-deep: #ff2d8b;
  --secondary: #ff8a9b;
  --border: rgba(255, 105, 180, 0.14);
  --shadow: 0 24px 60px rgba(255, 77, 151, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 167, 196, 0.5), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 123, 172, 0.25), transparent 20%),
    linear-gradient(180deg, #ffe6f1 0%, var(--bg) 40%, #fff9fc 100%);
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--secondary), var(--primary-deep));
  box-shadow: var(--shadow);
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 44px;
}

.eyebrow,
.mini-label,
.card-label {
  margin: 0 0 12px;
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  line-height: 1.04;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.app-summary p,
.feature-card p,
.contact-card p,
.hero-card-text p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--secondary), var(--primary-deep));
  box-shadow: var(--shadow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-stats li,
.app-summary,
.feature-card,
.gallery-card,
.contact-card,
.hero-card {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-stats li {
  padding: 18px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.hero-card-glow {
  position: absolute;
  inset: auto -80px -110px auto;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 110, 180, 0.35), transparent 70%);
}

.hero-icon {
  width: min(100%, 380px);
  margin: 0 auto 18px;
  border-radius: 36px;
}

.hero-card-text h2,
.app-summary h3,
.feature-card h3 {
  margin: 0 0 10px;
}

.app-slider {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.app-slides,
.app-slide {
  height: 100%;
}

.app-slides {
  position: relative;
}

.app-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.app-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.app-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
}

.slider-controls {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
}

.app-slider-controls {
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-deep);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 77, 151, 0.14);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 77, 151, 0.24);
  cursor: pointer;
}

.slider-dot.active {
  width: 28px;
  background: linear-gradient(135deg, var(--secondary), var(--primary-deep));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.app-section,
.features-section,
.gallery-section,
.contact-section {
  padding: 44px 0;
}

.app-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.app-summary,
.app-preview {
  padding: 28px;
}

.app-preview {
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 170, 206, 0.4), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.app-preview img {
  width: 100%;
  border-radius: 24px;
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.app-title-row img {
  width: 82px;
  height: 82px;
  border-radius: 24px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.feature-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--primary-deep);
  background: rgba(255, 77, 151, 0.08);
  font-weight: 700;
}

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

.feature-card {
  padding: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card.tall {
  min-height: 760px;
}

.gallery-card.wide {
  grid-column: 1 / -1;
  min-height: 460px;
}

.gallery-card.tall img {
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 231, 241, 0.6), rgba(255, 255, 255, 0.92));
}

.contact-card {
  padding: 34px;
  text-align: center;
}

.contact-card a {
  color: var(--primary-deep);
  font-weight: 700;
}

.site-footer {
  padding: 10px 0 40px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 960px) {
  .site-header,
  .site-nav,
  .hero,
  .app-layout,
  .features-grid,
  .gallery-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .gallery-card.tall,
  .gallery-card.wide {
    min-height: auto;
  }

  .app-slider {
    min-height: 680px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .hero,
  .app-section,
  .features-section,
  .gallery-section,
  .contact-section {
    padding: 28px 0;
  }

  .hero-card,
  .app-summary,
  .app-preview,
  .feature-card,
  .contact-card {
    padding: 20px;
    border-radius: 24px;
  }

  .slider-controls {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .button {
    width: 100%;
  }

  .app-slider {
    min-height: 560px;
  }
}
