:root {
  --navy: #081427;
  --deep: #111827;
  --gold: #f5b700;
  --rose: #db2777;
  --orange: #f97316;
  --blue: #2563eb;
  --purple: #7c3aed;
  --cream: #fff7ed;
  --white: #ffffff;
  --muted: #64748b;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(219, 39, 119, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 32%),
    linear-gradient(180deg, #fff7ed 0%, #f8fafc 45%, #ffffff 100%);
  color: var(--deep);
}

a {
  text-decoration: none;
}

.topbar {
  background: rgba(8, 20, 39, 0.94);
  color: white;
  padding: 18px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 14px 35px rgba(8, 20, 39, 0.25);
}

.brand {
  color: white;
  font-size: 1.6rem;
  font-weight: 900;
}

.brand span {
  color: var(--gold);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a {
  color: #e5e7eb;
  font-weight: 700;
}

.nav a:hover {
  color: var(--gold);
}

.hero {
  padding: 80px 6% 40px;
  text-align: center;
  max-width: 1150px;
  margin: auto;
}

.eyebrow {
  display: inline-block;
  color: var(--rose);
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.98;
  margin: 0 0 20px;
  color: var(--navy);
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 860px;
  margin: auto;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.8;
}

.gateway {
  padding: 44px 6% 80px;
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gateway-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 470px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.gateway-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 75px rgba(15, 23, 42, 0.25);
}

.gateway-card img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  color: var(--navy);
}

.card-body p {
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  color: white;
  margin-top: 18px;
}

.btn.wedding {
  background: linear-gradient(135deg, var(--rose), #f472b6);
}

.btn.celebration {
  background: linear-gradient(135deg, var(--orange), var(--gold));
}

.btn.corporate {
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.btn.funeral {
  background: linear-gradient(135deg, var(--navy), #334155);
}

.footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 40px 6%;
  text-align: center;
}

.footer h3 {
  color: white;
  margin-top: 0;
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 1150px) {
  .gateway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .gateway-grid {
    grid-template-columns: 1fr;
  }

  .gateway-card {
    min-height: auto;
  }

  .hero {
    padding-top: 55px;
  }
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions .btn {
  margin-top: 0;
  min-width: 170px;
}

.how-it-works {
  padding: 40px 6% 80px;
}

.section-head {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.04em;
}

.section-head p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.08rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: white;
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 16px;
}

.step-card h3 {
  color: var(--navy);
  margin: 0 0 10px;
}

.step-card p {
  color: var(--muted);
  line-height: 1.65;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.footer-links a {
  color: #e5e7eb;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 1000px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
