/* ============================================================
   Duja Landing Page — styles.css
   Design tokens matched to the existing frontend theme.
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,600,700,800,900&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette — Duja brand charter */
  --clr-primary: #194732;
  --clr-primary-light: #1d5a3f;
  --clr-accent: #6BAF8E;
  --clr-accent-light: #89C4A7;
  --clr-accent-glow: rgba(107, 175, 142, .25);
  --clr-bg: #F3F3F2;
  --clr-bg-alt: #FFFFFF;
  --clr-fg: #132222;
  --clr-fg-muted: #4A5D57;
  --clr-border: #DCE0DE;
  --clr-success: #28A745;
  --clr-hero-gradient: linear-gradient(135deg, #132222 0%, #194732 50%, #1d5a3f 100%);

  /* Typography */
  --ff: "Satoshi", system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.25rem, 5vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2rem;
  --sp-xl: 3rem;
  --sp-2xl: 5rem;
  --sp-3xl: 7rem;

  /* Misc */
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .10);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .12);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--clr-fg);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--ff);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--clr-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(25, 71, 50, .35);
}

.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-primary);
}

.btn-accent:hover {
  background: var(--clr-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(107, 175, 142, .4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .35);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-body);
  border-radius: var(--radius-lg);
}


/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3xl) 0;
  background: var(--clr-hero-gradient);
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(107, 175, 142, .15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(107, 175, 142, .1) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle grid pattern */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-md);
}

.hero-logo img {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 auto;
  opacity: .85;
}

.hero-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  opacity: .85;
  letter-spacing: -.01em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 100px;
  padding: .4rem 1.2rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--sp-lg);
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.4);
  }
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.12;
  max-width: 800px;
  margin: 0 auto var(--sp-md);
  letter-spacing: -.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto var(--sp-xl);
  opacity: .85;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
}

/* Floating shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(107, 175, 142, .08);
  pointer-events: none;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float-1 18s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
  animation: float-2 22s ease-in-out infinite;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 10%;
  animation: float-3 15s ease-in-out infinite;
}

@keyframes float-1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-30px, 20px);
  }

  50% {
    transform: translate(-15px, 40px);
  }

  75% {
    transform: translate(20px, 15px);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(25px, -15px);
  }

  50% {
    transform: translate(40px, -30px);
  }

  75% {
    transform: translate(10px, -20px);
  }
}

@keyframes float-3 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(20px, -25px);
  }

  66% {
    transform: translate(-15px, 15px);
  }
}

/* --- Mindmap ---------------------------------------------- */
.mindmap {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

.mindmap .section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.mindmap .section-header .section-subtitle {
  margin: 0 auto;
}

.mindmap-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-accent) transparent;
}

.mindmap-wrapper::-webkit-scrollbar {
  height: 4px;
}

.mindmap-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.mindmap-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--clr-accent);
  border-radius: 10px;
}

.mindmap-canvas {
  position: relative;
  width: 100%;
  min-width: 800px;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 8/5;
}

/* SVG curved connections */
.mindmap-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.mm-curve {
  fill: none;
  stroke: url(#mm-grad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 6;
  animation: mm-flow 12s linear infinite;
}

@keyframes mm-flow {
  to {
    stroke-dashoffset: -120;
  }
}

/* Center node — same style as others, but bigger */
.mm-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  background: var(--clr-bg-alt);
  border: 2px solid var(--clr-accent);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
  white-space: nowrap;
  min-width: 120px;
  box-shadow: 0 4px 20px rgba(25, 71, 50, .12);
  animation: mm-pulse 3s ease-in-out infinite;
}

@keyframes mm-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(25, 71, 50, .12);
  }

  50% {
    box-shadow: 0 6px 28px rgba(25, 71, 50, .2), 0 0 0 6px rgba(107, 175, 142, .08);
  }
}

.mm-center-img {
  width: 40px;
  height: 40px;
}

.mm-center-label {
  font-weight: 800;
  font-size: .95rem;
  color: var(--clr-fg);
}

/* Module nodes */
.mm-node {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  background: var(--clr-bg-alt);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
  min-width: 100px;
  transform: translate(-50%, -50%);
}

.mm-node:hover {
  transform: translate(-50%, -50%) translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(25, 71, 50, .12);
  border-color: var(--clr-accent);
}

.mm-node-img {
  width: 32px;
  height: 32px;
}

.mm-node-name {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--clr-fg);
}

.mm-node-desc {
  font-size: .65rem;
  color: var(--clr-fg-muted);
  white-space: nowrap;
}

/* 6-node hexagonal positions matching SVG viewBox 800x500 */
.mm-pos-tl {
  top: 20%;
  left: 20%;
}

.mm-pos-tr {
  top: 20%;
  left: 80%;
}

.mm-pos-r {
  top: 50%;
  left: 87.5%;
}

.mm-pos-br {
  top: 80%;
  left: 80%;
}

.mm-pos-bl {
  top: 80%;
  left: 20%;
}

.mm-pos-l {
  top: 50%;
  left: 12.5%;
}

/* Mindmap is horizontally scrollable on mobile; no grid fallback needed */

/* --- Email Form ------------------------------------------- */
.email-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-lg);
  padding: 5px;
  backdrop-filter: blur(8px);
}

.email-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: .8rem 1.2rem;
  font-family: var(--ff);
  font-size: var(--fs-sm);
  color: #fff;
}

.email-form input::placeholder {
  color: rgba(255, 255, 255, .55);
}

.email-form .btn {
  flex-shrink: 0;
}

.email-form-msg {
  text-align: center;
  margin-top: var(--sp-xs);
  font-size: var(--fs-xs);
  min-height: 1.2em;
}

.email-form-msg.success {
  color: var(--clr-accent);
}

.email-form-msg.error {
  color: #f87171;
}

/* --- Brevo Native Form ----------------------------------- */
.brevo-form {
  max-width: 480px;
  margin: var(--sp-md) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  background: var(--clr-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-lg);
}

.brevo-field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--clr-fg);
}

.brevo-field input {
  width: 100%;
  padding: .85rem 1.2rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  background: var(--clr-bg);
  color: var(--clr-fg);
  font-family: var(--ff);
  font-size: var(--fs-body);
  transition: border-color var(--transition);
}

.brevo-field input::placeholder {
  color: var(--clr-fg-muted);
}

.brevo-field input:focus {
  outline: none;
  border-color: var(--clr-accent);
}

.brevo-consent label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: var(--fs-sm);
  color: var(--clr-fg-muted);
  line-height: 1.5;
  cursor: pointer;
}

.brevo-consent input[type="checkbox"] {
  margin-top: .2rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--clr-accent);
}

.brevo-consent a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.brevo-legal {
  font-size: var(--fs-xs);
  color: var(--clr-fg-muted);
  line-height: 1.5;
  text-align: center;
  opacity: .7;
}

.brevo-legal a {
  color: var(--clr-fg-muted);
  text-decoration: underline;
}

/* Dark-bg variant (hero, CTA) */
.email-section-dark .email-form {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .2);
}

/* Light-bg variant (standalone CTA section) */
.email-section-light .email-form {
  background: var(--clr-bg-alt);
  border: 2px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

.email-section-light .email-form input {
  color: var(--clr-fg);
}

.email-section-light .email-form input::placeholder {
  color: var(--clr-fg-muted);
}

/* --- Features / Slider ------------------------------------ */
.features {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg-alt);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--clr-primary);
  margin-bottom: var(--sp-sm);
}



.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--clr-fg);
  margin-bottom: var(--sp-sm);
  letter-spacing: -.01em;
}

.section-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.125rem);
  color: var(--clr-fg-muted);
  max-width: 600px;
}

.features .section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.features .section-header .section-subtitle {
  margin: 0 auto;
}

/* Slider */
.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.slide {
  min-width: 100%;
  padding: 0 var(--sp-sm);
}

.slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  transition: box-shadow var(--transition);
}

.slide-inner:hover {
  box-shadow: var(--shadow-md);
}

.slide-content {
  padding: var(--sp-sm);
}

.slide-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-primary);
  background: rgba(107, 175, 142, .2);
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: var(--sp-sm);
}

.slide-content h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--sp-xs);
  color: var(--clr-fg);
}

.slide-content p {
  color: var(--clr-fg-muted);
  line-height: 1.7;
}

.slide-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
  background: var(--clr-bg);
  position: relative;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Infographic variant — uniform grey area */
.slide-image.infographic {
  aspect-ratio: unset;
  min-height: 300px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f2;
}

/* --- Infographic: Structure Tree --------------------------- */
.info-tree {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.tree-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
}

.tree-row--root {
  background: #194732;
  color: #fff;
}

.tree-row--l1 {
  background: #e8e8e6;
  border: 1px solid #e0dfdd;
  color: #132222;
}

.tree-row--l2 {
  background: #fff;
  border: 1px solid #e0dfdd;
  color: #132222;
}

.tree-type {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .7rem;
  opacity: .6;
  min-width: 36px;
}

.tree-name {
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.3;
}

/* --- Infographic: Recipe Bloc ----------------------------- */
.info-recipe {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0dfdd;
  background: #fff;
  width: 100%;
}

.info-recipe-header {
  padding: 10px 16px;
  background: #194732;
}

.info-recipe-type {
  display: block;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .65rem;
  color: rgba(255, 255, 255, .6);
}

.info-recipe-title {
  display: block;
  color: #fff;
  font-size: .95rem;
}

.info-recipe-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8rem;
  color: #132222;
  padding: 0 12px;
}

.info-recipe-table th {
  text-align: left;
  font-weight: 600;
  padding: 6px 12px;
  border-bottom: 1px solid #e0dfdd;
}

.info-recipe-table th:nth-child(2),
.info-recipe-table th:nth-child(3) {
  text-align: right;
}

.info-recipe-table td {
  padding: 5px 12px;
  border-bottom: 1px solid #f3f3f2;
}

.info-recipe-table td:nth-child(2) {
  text-align: right;
  font-weight: 500;
}

.info-recipe-table td.pct {
  text-align: right;
  opacity: .5;
}

.info-recipe-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #194732;
  font-size: .85rem;
  padding: 8px 12px;
  border-top: 1px solid #e0dfdd;
  margin: 0 12px;
}

/* --- Infographic: Cost Breakdown -------------------------- */
.info-cost {
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e0dfdd;
  width: 100%;
}

.info-cost-header {
  margin-bottom: 12px;
}

.info-cost-type {
  display: block;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .65rem;
  opacity: .5;
  color: #132222;
}

.info-cost-title {
  display: block;
  color: #132222;
  font-size: .9rem;
}

.cost-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cost-label {
  width: 110px;
  text-align: right;
  font-size: .7rem;
  opacity: .6;
  color: #132222;
  flex-shrink: 0;
}

.cost-bar-bg {
  flex: 1;
  height: 16px;
  background: #e8e8e6;
  border-radius: 2px;
  overflow: hidden;
}

.cost-bar {
  height: 100%;
  border-radius: 2px;
}

.cost-val {
  width: 50px;
  text-align: right;
  font-weight: 700;
  font-size: .8rem;
  color: #132222;
  flex-shrink: 0;
}

.info-cost-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #194732;
  font-size: .85rem;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid #e0dfdd;
}

/* Slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  background: var(--clr-bg-alt);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--clr-fg);
}

.slider-btn:hover {
  border-color: var(--clr-primary);
  background: var(--clr-primary);
  color: #fff;
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.slider-dots {
  display: flex;
  gap: .5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--clr-border);
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--clr-primary);
  width: 28px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .slide-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
    padding: var(--sp-md);
  }

  .slide-image {
    order: -1;
  }
}

/* --- How It Works ----------------------------------------- */
.how-it-works {
  padding: var(--sp-3xl) 0;
  background: var(--clr-bg);
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.how-it-works .section-header .section-subtitle {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.step {
  text-align: center;
  padding: var(--sp-xl) var(--sp-md);
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--clr-hero-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
}

.step h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--sp-xs);
  color: var(--clr-fg);
}

.step p {
  color: var(--clr-fg-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}



@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .step::after {
    display: none;
  }
}

/* --- CTA Section ------------------------------------------ */
.cta-section {
  padding: var(--sp-3xl) 0;
  background: var(--clr-hero-gradient);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(107, 175, 142, .12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: var(--sp-sm);
}

.cta-section p {
  font-size: clamp(.95rem, 1.5vw, 1.125rem);
  opacity: .85;
  max-width: 550px;
  margin: 0 auto var(--sp-lg);
  line-height: 1.7;
}

/* --- Footer ----------------------------------------------- */
.footer {
  padding: var(--sp-xl) 0;
  background: var(--clr-primary);
  color: rgba(255, 255, 255, .7);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.footer-logo img,
.footer-logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-copy {
  font-size: var(--fs-xs);
}

.footer-links {
  display: flex;
  gap: var(--sp-md);
  list-style: none;
}

.footer-links a {
  font-size: var(--fs-sm);
  transition: color var(--transition);
}

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

.footer-socials {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.footer-socials a {
  color: rgba(255, 255, 255, .7);
  transition: color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
}

.footer-socials a:hover {
  color: var(--clr-accent);
  transform: scale(1.15);
}

.footer-social-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Scroll Animations ------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal-stagger.visible>*:nth-child(1) {
  transition-delay: .05s;
}

.reveal-stagger.visible>*:nth-child(2) {
  transition-delay: .15s;
}

.reveal-stagger.visible>*:nth-child(3) {
  transition-delay: .25s;
}

.reveal-stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* --- Misc ------------------------------------------------- */
::selection {
  background: var(--clr-accent);
  color: var(--clr-primary);
}

/* Focus rings for accessibility */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

/* --- Global Responsive Enhancements --- */
@media (max-width: 768px) {
  :root {
    --fs-hero: clamp(2rem, 8vw, 2.75rem);
    --sp-3xl: 4rem;
    --sp-2xl: 3rem;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .email-form {
    flex-direction: column;
    border-radius: 16px;
    padding: 8px;
    gap: 8px;
  }

  .email-form input {
    width: 100%;
    text-align: center;
    background: rgba(128, 128, 128, 0.1);
    border-radius: 10px;
  }

  .email-form .btn {
    width: 100%;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .hero-logo img {
    height: 28px;
  }

  .hero-actions {
    padding: 0 var(--sp-sm);
  }

  /* Make infographic table fit on small screens */
  .info-recipe-table th,
  .info-recipe-table td {
    padding: 4px 6px;
    font-size: 0.75rem;
  }

  .info-cost-total,
  .info-recipe-total {
    font-size: 0.75rem;
  }

  .cost-label,
  .cost-val {
    font-size: 0.65rem;
  }
}