/* =========================
   CSS VARIABLES & GRADIENTS
========================= */
:root {
  --orange: #f97316;
  --orange-light: #fdba74;
  --pink: #ec4899;
  --pink-light: #f9a8d4;
  --white: #ffffff;

  --text-dark: #0f172a; /* dark blue */
  --text-muted: #334155;

  --gradient-primary: linear-gradient(135deg, #f97316, #ec4899);
  --gradient-secondary: linear-gradient(135deg, #ec4899, #f97316);
  --gradient-light: linear-gradient(135deg, #ffffff, #fff7ed);
}

/* =========================
   BASE RESET
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(to bottom, #ffffff, #fff1f2);
  color: var(--text-dark);
  line-height: 1.6;
}

/* =========================
   NAVIGATION
========================= */
nav {
  background: var(--gradient-primary);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.25rem;
  font-weight: 600;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* =========================
   HERO SECTION
========================= */
header.hero {
  background: linear-gradient(
    135deg,
    #f97316 0%,
    #ec4899 55%,
    #f9a8d4 100%
  );
  color: white;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255,255,255,0.35),
    transparent 65%
  );
}

header.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

header.hero p {
  font-size: 1.3rem;
  max-width: 720px;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* =========================
   MAIN LAYOUT
========================= */
main {
  max-width: 1100px;
  margin: auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: 2.4rem;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

/* =========================
   GRID & CARDS
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--gradient-light);
  padding: 2rem;
  border-radius: 24px;
  box-shadow:
    0 15px 30px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card h3 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.12);
}

/* =========================
   CTA SECTION
========================= */
.cta {
  background: var(--gradient-secondary);
  color: white;
  padding: 3rem 2rem;
  border-radius: 32px;
  text-align: center;
  margin-top: 4rem;
}

.cta h2 {
  font-size: 2.2rem;
}

.cta a {
  display: inline-block;
  margin-top: 1.5rem;
  background: white;
  color: var(--text-dark);
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(0,0,0,0.35);
}

/* =========================
   LINKS & LISTS
========================= */
a {
  color: var(--white);
}

a:hover {
  color: var(--text-dark);
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 1rem;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
