:root {
  --bg: #0f172a;
  --card: rgba(15, 23, 42, 0.35);
  --line: rgba(255, 255, 255, 0.06);
  --accent: #38bdf8;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

/* HERO */
.hero {
  padding: 48px 16px 10px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px;
  backdrop-filter: blur(10px);
  max-width: 420px;
}
h1 {
  font-size: 30px;
  margin-bottom: 6px;
}
p {
  color: var(--muted);
  line-height: 1.6;
}

/* CHAT PREVIEW */
.chat-preview {
  background: #fff;
  color: #0f172a;
  border-radius: 16px;
  text-align: left;
  padding: 14px 14px 6px;
  margin: 18px 0 24px;
}
.chat-preview-title {
  font-weight: 600;
  margin-bottom: 6px;
}
.chat-bubble {
  background: #e2e8f0;
  display: inline-block;
  padding: 9px 12px;
  border-radius: 14px 14px 14px 4px;
  margin-bottom: 8px;
  font-size: 14px;
}
.chat-bubble.self {
  border-radius: 14px 14px 4px 14px;
  background: #0f172a;
  color: #fff;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0f172a;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: #0ea5e9;
  transform: scale(1.03);
}
.note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 12px;
}

/* HERO IMAGES */
.hero-media {
  position: relative;
  min-width: 240px;
}
.hero-img {
  border-radius: 28px;
  width: 250px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  object-fit: contain; /* ✅ show full image */
}
.hero-img.small {
  position: absolute;
  width: 140px;
  right: -45px;
  bottom: -30px;
  border: 4px solid #0f172a;
  object-fit: contain;
}

/* SECTIONS */
.sec {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 16px;
}
.sec h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 14px;
}
.sec p {
  text-align: center;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  animation: pop 0.5s ease calc(var(--i) * 0.06s) both;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item img {
  width: 100%;
  height: auto;           /* ✅ no fixed height */
  object-fit: contain;    /* ✅ prevent cropping */
  border-radius: 16px;
  display: block;
}

@keyframes pop {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA BUTTON CENTER */
.cta-center {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  width: 100%;
}
.cta-center .btn-primary {
  min-width: 190px;
  text-align: center;
}

/* STEPS, REASONS, REVIEWS */
.steps, .reasons, .reviews {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.step, .reason, .review {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 16px 14px;
  width: 210px;
  text-align: center;
}

/* FAQ */
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px 16px 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-inner { flex-direction: column; }
  .hero-media { margin-top: 12px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 26px; }
}
@media (max-width: 520px) {
  h1 { font-size: 26px; }
  .hero-img.main { width: 220px; }
  .hero-img.small { right: -25px; }
  .cta-center { justify-content: center; }
}