/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --lavender: #8F54DB;
  --lavender-light: #a974e8;
  --lavender-dark: #7340b8;
  --desert: #FF8C3A;
  --sky: #6BE3E3;
  --gold: #F9E683;
  --emerald: #9EEC98;
  --dates: #54421C;
  --white: #FFFFFF;
  --black: #000000;
  --gray-50: #faf9fb;
  --gray-100: #f3f1f6;
  --gray-200: #e8e4ed;
  --gray-300: #d1cbd9;
  --gray-400: #a69bb3;
  --gray-500: #7a6e88;
  --gray-600: #564b62;
  --gray-700: #3d3448;
  --gray-800: #2a2233;
  --gray-900: #1a1422;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.04);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--lavender);
  text-decoration: none;
  transition: color 0.2s;
}

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

img { max-width: 100%; }

/* === Layout === */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo img {
  height: 28px;
  width: auto;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--lavender);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--lavender-dark);
  transform: translateY(-1px);
}

/* === Hero === */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(165deg, var(--gray-900) 0%, #2d1f4e 50%, var(--lavender-dark) 100%);
  color: var(--white);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--lavender);
  color: var(--white) !important;
  box-shadow: 0 2px 12px rgba(143, 84, 219, 0.35);
}

.btn-primary:hover {
  background: var(--lavender-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(143, 84, 219, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: 12px;
}

/* === Sections === */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === Cards (Overview) === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(143,84,219,0.1), rgba(143,84,219,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--lavender);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Rules (Eligibility & Exclusions) === */
.rules-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.section-alt .rule {
  background: var(--white);
}

.rule-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 1px;
}

.rule-icon.check {
  background: rgba(158, 236, 152, 0.2);
  color: #3a8f34;
}

.rule-icon.cross {
  background: rgba(255, 100, 100, 0.12);
  color: #c0392b;
}

.rule p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Scope === */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scope-card {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.scope-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.scope-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scope-card li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.scope-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.scope-card li strong {
  color: var(--gray-800);
  font-weight: 600;
}

.in-scope {
  background: linear-gradient(135deg, rgba(158,236,152,0.08), rgba(158,236,152,0.02));
  border: 1px solid rgba(158, 236, 152, 0.3);
}

.in-scope h3 {
  color: #2d7a28;
}

.in-scope li::before {
  background: var(--emerald);
}

.out-scope {
  background: linear-gradient(135deg, rgba(255,100,100,0.06), rgba(255,100,100,0.01));
  border: 1px solid rgba(255, 100, 100, 0.2);
}

.out-scope h3 {
  color: #c0392b;
}

.out-scope li::before {
  background: #e74c3c;
}

/* === Steps === */
.steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--gray-200);
}

.step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  margin-top: 10px;
}

.step-body p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

.step-body ul {
  margin: 8px 0 0 20px;
  color: var(--gray-500);
  font-size: 0.95rem;
}

.step-body li {
  margin-bottom: 4px;
  line-height: 1.6;
}

.step-body a {
  font-weight: 600;
}

.step-note {
  margin-top: 10px;
  padding: 12px 16px;
  background: rgba(143,84,219,0.06);
  border-left: 3px solid var(--lavender);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem !important;
  color: var(--gray-600) !important;
}

/* === Rewards === */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.reward-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.reward-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.reward-severity {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.reward-amount {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.reward-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.8;
}

.reward-critical {
  background: linear-gradient(135deg, #1a1422, #2d1f4e);
  color: var(--white);
}
.reward-critical .reward-severity { color: #ff6b6b; }
.reward-critical .reward-amount { color: var(--white); }

.reward-high {
  background: linear-gradient(135deg, var(--lavender-dark), var(--lavender));
  color: var(--white);
}
.reward-high .reward-severity { color: rgba(255,255,255,0.75); }

.reward-medium {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
}
.reward-medium .reward-severity { color: var(--desert); }
.reward-medium .reward-amount { color: var(--gray-900); }

.reward-low {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.reward-low .reward-severity { color: var(--gray-400); }
.reward-low .reward-amount { color: var(--gray-800); }

.rewards-note {
  margin-top: 32px;
  text-align: center;
  padding: 20px 28px;
  background: rgba(143,84,219,0.05);
  border: 1px solid rgba(143,84,219,0.12);
  border-radius: var(--radius);
}

.rewards-note p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* === Guidelines === */
.guidelines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.guideline {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.guideline p {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* === CTA Section === */
.section-cta {
  background: linear-gradient(165deg, var(--gray-900) 0%, #2d1f4e 60%, var(--lavender-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.section-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-cta p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.section-cta .btn-primary {
  font-size: 16px;
}

/* === Footer === */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 22px;
  width: auto;
  color: var(--gray-400);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

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

/* === Responsive === */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .rewards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .hero {
    padding: 72px 0 60px;
  }

  .section {
    padding: 56px 0;
  }

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

  .nav-cta {
    padding: 6px 14px;
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }

  .steps::before {
    display: none;
  }
}
