/* =========================================
   1. CSS VARIABLES (DESIGN TOKENS)
   ========================================= */
:root {
  /* Brand Colors - Teal/Cyan */
  --primary-50: #E6FAF8;
  --primary-100: #B0F0EA;
  --primary-400: #33D7C9;
  --primary-500: #00CDBB;
  --primary-600: #00BBAA;
  --primary-700: #009285;
  --primary-800: #007167;
  --primary-900: #00564F;

  /* Neutral Colors (Grays) */
  --gray-50: #F2F2F2;
  --gray-100: #E9EAEB;
  --gray-200: #BCBDBD;
  --gray-300: #9C9D9D;
  --gray-400: #717680;
  --gray-500: #6E7171;
  --gray-600: #525555;
  --gray-700: #414651;
  --gray-800: #272B2B;
  --gray-900: #1C1F1F;

  /* Basic Colors */
  --white: #FFFFFF;
  --black: #000000;

  /* Typography */
  --font-heading: 'Google Sans', 'Google Sans Display', sans-serif;
  --font-body: 'Google Sans', sans-serif;

  /* Spacing */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-elevation-3: 0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

/* =========================================
   3. TYPOGRAPHY CLASSES
   ========================================= */
.text-display {
  font-size: clamp(2rem, 5vw, 3.8125rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.text-h1 {
  font-size: clamp(1.75rem, 4vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.text-h2 {
  font-size: clamp(1.5rem, 3vw, 2.4375rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.text-h3 {
  font-size: clamp(1.25rem, 2vw, 1.9375rem);
  font-weight: 500;
  line-height: 1.2;
}

.text-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.25;
}

.text-body-lg {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
}

.text-body-lg-medium {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
}

.text-body-sm {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.25;
}

/* Colors Utility */
.text-primary-600 {
  color: var(--primary-600);
}

.text-primary-700 {
  color: var(--primary-700);
}

.text-primary-800 {
  color: var(--primary-800);
}

.text-gray-500 {
  color: var(--gray-500);
}

.text-gray-900 {
  color: var(--gray-900);
}

.text-white {
  color: var(--white);
}

/* =========================================
   4. LAYOUT UTILITIES (Figma Auto-Layouts)
   ========================================= */
.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-8 {
  gap: var(--space-2);
}

.gap-16 {
  gap: var(--space-4);
}

.gap-24 {
  gap: var(--space-6);
}

.gap-32 {
  gap: var(--space-8);
}

.gap-48 {
  gap: var(--space-12);
}

.gap-64 {
  gap: var(--space-16);
}

/* Container width constraints */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 7.625rem;
  /* Figma: 122px */
}

.section-padding {
  padding: 6rem 0;
  /* Figma: 96px top/bottom for most sections */
}

/* =========================================
   5. COMPONENT CLASSES
   ========================================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  /* Figma: 16px 24px */
  gap: 0.625rem;
  border-radius: 1rem;
  /* Figma: 16px */
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4375rem;
  /* 23px */
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-in-out;
}

.btn-primary {
  background: #00BBAA;
  color: #FAFEFC;
  /* Figma: #FAFEFC not pure white */
  box-shadow: inset 0px 4px 4px #00B2A3;
  /* Figma exact */
  border-radius: 1rem;
  /* Figma: 16px */
  border: none;
}

.btn-primary:hover {
  background: #00CDBB;
  box-shadow: inset 0px 4px 4px #00B2A3, 0 4px 12px rgba(0, 187, 170, 0.35);
}

/* Nav pill — Figma: border-radius 100px */
.btn-pill {
  padding: 0.5rem 1rem;
  border-radius: 6.25rem;
  /* Figma: 100px — full pill */
  background-color: var(--white);
  border: 1.5px solid var(--primary-600);
  /* Figma: 1.5px solid #00BBAA */
  color: var(--primary-600);
  font-size: 13px;
  font-weight: 500;
}

/* Form Inputs */
.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.input-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
}

.input-field {
  display: flex;
  align-items: center;
  padding: 18px 8px 18px 16px;
  background: #F2F2F2;
  border: none;
  border-radius: 8px;
  width: 100%;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--gray-800);
  outline: none;
  transition: box-shadow 0.15s ease;
}

.input-field:focus {
  box-shadow: 0 0 0 2px var(--primary-400);
}

.input-field::placeholder {
  color: var(--gray-400);
}

/* Feature Cards */
.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 24px;
  gap: 10px;
  border-radius: var(--radius-xl);
  height: 256px;
  width: 100%;
  max-width: 299px;
  color: var(--white);
}

.bg-primary-900 {
  background-color: var(--primary-900);
}

.bg-primary-700 {
  background-color: var(--primary-700);
}


/* Nav & Tabs */
.nav-tab {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background-color: var(--gray-50);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  color: var(--gray-700);
  cursor: pointer;
}

.nav-tab.active {
  background-color: var(--white);
  color: var(--gray-900);
}




/* =========================================
   6. NAVBAR
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  /* border-bottom: 1px solid var(--gray-100); */
}

.nav-logo {
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--primary-600);
  letter-spacing: 0.04em;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-600);
}

/* Language Switcher — Squircle design */
.lang-switcher {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background-color: var(--gray-100);
  border-radius: 18px;
}

.lang-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 6px;
  border-radius: 11px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.25s ease;
}

.lang-btn:hover {
  background: transparent;
}

.lang-btn--active {
  background: transparent;
  box-shadow: none;
}

/* Sliding pill shared by lang-switcher and howto-tabs */
.switcher-pill {
  position: absolute;
  top: 6px;
  left: 6px;
  border-radius: 11px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1), width 0.28s ease;
  pointer-events: none;
  z-index: 0;
}

.lang-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lang-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: 0.01em;
}

/* =========================================
   7. HERO SECTION
   ========================================= */
.hero-section {
  padding-top: 3rem;
  /* Figma mobile: 48px 16px 0 */
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  /* Figma: 24px */
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.8125rem);
  /* Figma: 61px */
  font-weight: 500;
  /* Medium — for " - The Yangoo of Trucks" */
  line-height: 1;
  /* Figma: 100% */
  letter-spacing: -0.04em;
  /* Figma: -4% */
  color: var(--gray-900);
}

/* "YamoFret" span — Figma: Bold 700 + brand teal */
.hero-title .text-primary-700 {
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--gray-500);
}

.hero-subtitle strong {
  font-weight: 700;
  color: var(--gray-800);
}

/* Hero CTA / Signup Row */
.hero-signup {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  /* Figma: 8px */
  flex-wrap: nowrap;
  margin-top: 0.5rem;
  width: 100%;
}

.hero-input {
  flex: 1;
  height: 55px;
}

.hero-cta-btn {
  white-space: nowrap;
}

/* Hero Visual */
.hero-visual {
  width: 100%;
  max-width: 860px;
  margin-top: 40px;
}

/* Hero layered scene */
.hero-scene {
  position: relative;
  width: 100%;
  margin-top: 20%;
  aspect-ratio: 2.3 / 1;
  /* Clip left/right (for truck slide-in) but allow man to overflow above */
  clip-path: inset(-120% 0 0 0);
}

/* Truck — side view, slides in from right like it's driving */
.hero-truck-wrapper {
  display: block;
  position: absolute;
  width: 100%;
  bottom: 5%;
  right: 3%;
  z-index: 1;
  animation: hero-truck-in 1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-truck-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Man — centered, slides up from below */
.hero-man-wrapper {
  display: block;
  position: absolute;
  width: 58%;
  bottom: 0;
  left: 20%;
  z-index: 2;
  animation: hero-man-in 0.75s 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-man-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Card chip — fades in last, shifted to the right */
.hero-card-chip {
  position: absolute;
  width: 30%;
  top: 35%;
  right: 12%;
  z-index: 3;
  animation: hero-card-in 0.5s 0.85s ease-out both;
}

/* Hero entrance keyframes */
@keyframes hero-truck-in {
  from {
    transform: translateX(65%);
    opacity: 0.5;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes hero-man-in {
  from {
    transform: translateY(65px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes hero-card-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero stats — staggered page-load entrance */
.hero-stat--1 {
  animation: hero-stat-in 0.5s 0.9s ease-out both;
}

.hero-stat--2 {
  animation: hero-stat-in 0.5s 1.05s ease-out both;
}

.hero-stat--3 {
  animation: hero-stat-in 0.5s 1.2s ease-out both;
}

.hero-stat--4 {
  animation: hero-stat-in 0.5s 1.35s ease-out both;
}

@keyframes hero-stat-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-truck-wrapper,
  .hero-man-wrapper,
  .hero-card-chip,
  .hero-stat--1,
  .hero-stat--2,
  .hero-stat--3,
  .hero-stat--4 {
    animation: none;
    opacity: 1;
  }
}

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin: 0 auto;
  margin-top: -8px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.5rem 1.5rem 1.5rem;
  /* 36px top */
  color: var(--white);
}

/* Hero stat bg — Figma: dark to light teal gradient across 4 cells */
.hero-stat--1 {
  background-color: #00564F;
  border-bottom-left-radius: 32px;
}

.hero-stat--2 {
  background-color: #007167;
}

.hero-stat--3 {
  background-color: #009285;
}

.hero-stat--4 {
  background-color: #00BBAA;
  border-bottom-right-radius: 32px;
}

.hero-stat-icon {
  display: inline-flex;
  margin-bottom: 27px;
}

.hero-stat-icon img {
  width: 32px;
  height: 32px;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 2.4375rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-stat-label {
  font-size: clamp(0.75rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
}

/* =========================================
   8. FOOTER
   ========================================= */
.site-footer {
  background-color: var(--white);
  padding-top: 4rem;
  /* Figma: 64px */
  padding-bottom: 0;
}

/* Top row: brand + nav columns side by side */
.footer-top {
  display: flex;
  width: 100%;
  /* justify-content: space-between; */
  align-items: flex-start;
  gap: 10rem;
  padding-bottom: 4rem;
  /* Figma: 64px */
}

/* ---- Footer ----
  .footer-top {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px !important;
  } */

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 250px;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-500);
}


/* Nav columns wrapper — transparent to grid */
.footer-nav-cols {
  width: 100%;
  display: flex;
  justify-content: space-between;

}

/* Individual column */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-heading {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0;
}

.footer-col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-600);
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 0;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 24px;
}

.footer-copyright {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-500);
}

/* Social icons */
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.social-icon-link:hover {
  color: var(--gray-900);
  background-color: var(--gray-100);
}

/* =========================================
   9. SIGNUP / CTA SECTION
   ========================================= */
.signup-section {
  padding: 4rem 0;
  /* Figma: 96px */
}

/* Two-column grid */
.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  /* Figma: 80px */
  align-items: flex-start;
}

/* ---- LEFT column ---- */
.signup-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* Figma: 24px */
}

/* Section badge pill — Figma: border 1.5px solid #00BBAA, no bg color */
.signup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  /* Figma: 8px 16px */
  border-radius: 6.25rem;
  /* Figma: pill/100px */
  border: 1.5px solid var(--primary-600);
  /* Figma: 1.5px solid #00BBAA */
  color: var(--primary-600);
  font-size: 0.8125rem;
  /* 13px */
  font-weight: 500;
  width: fit-content;
  background: transparent;
}

/* Heading */
.signup-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--gray-900);
}

/* Sub-text */
.signup-subtext {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-800);
}

/* Checklist */
.signup-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.signup-check-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
  color: var(--primary-700);
}

/* Checklist icon — tint green so visible on white bg */
.check-icon {
  display: inline-flex;
  flex-shrink: 0;
  /* CSS filter converts the image tint to a green matching --primary-600 (#00BBAA) */
  filter: invert(56%) sepia(96%) saturate(388%) hue-rotate(134deg) brightness(94%) contrast(103%);
}

/* ---- RIGHT column ---- */
.signup-right {
  display: flex;
  flex-direction: column;
}

.signup-form-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.signup-form-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.signup-form-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 25px;
  color: var(--gray-900);
  letter-spacing: 0;
}

.signup-form-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: var(--gray-400);
}

/* Form */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Required star */
.required-star {
  color: var(--primary-600);
  margin-left: 2px;
}

/* Select wrapper (custom chevron) */
.select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.select-wrapper .input-field {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  width: 100%;
}

.select-chevron {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: var(--gray-400);
  display: inline-flex;
  align-items: center;
}

/* Disclaimer */
.signup-disclaimer {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 4px;
}

/* Submit button */
.signup-submit-btn {
  width: 100%;
  border-radius: var(--radius-pill);
  padding: 16px;
  font-size: 16px;
  margin-top: 4px;
}

/* =========================================
   10. FAQ SECTION
   ========================================= */
.faq-section {
  padding: 6rem 0 0 0;
  /* Figma: 96px */
}

/* Centered header */
.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  /* Figma: 20px */
  margin-bottom: 4rem;
  /* Figma: 64px */
}

.faq-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--gray-900);
}

.faq-subtext {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-800);
}

/* Group (Importer / Transporter) */
.faq-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.faq-group-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

/* Card wrapping all items in a group */
.faq-card {
  background-color: var(--primary-50);
  border-radius: var(--radius-xl);
  padding: 4px 24px;
  overflow: hidden;
  width: fit-content;
  min-width: 640px;
}

/* FAQ accordion — Figma: 1px solid #33D7C9 separator line */
.faq-item {
  display: block;
  padding: 1.25rem 0;
  border-top: 1px solid var(--primary-400);
  /* Figma: 1px solid #33D7C9 */
}

.faq-item:first-child {
  border-top: none;
}

/* Remove default marker */
.faq-item>summary {
  list-style: none;
}

.faq-item>summary::-webkit-details-marker {
  display: none;
}

.faq-summary {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  flex: 1;
}

.faq-toggle-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--gray-400);
  margin-top: 2px;
  transition: transform 0.2s ease;
}

/* Hide the vertical line when the FAQ item is open (turning the + into a -) */
.faq-item[open] .faq-plus-line {
  display: none;
}

.faq-item:not([open]) .faq-toggle-icon {
  color: var(--gray-300);
}

.faq-answer {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 680px;
  /* Smooth expand/collapse via max-height trick */
  display: block !important;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.35s ease, opacity 0.28s ease, margin-top 0.35s ease;
}

.faq-item[open]>.faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 10px;
}

/* Teal divider between items */
.faq-divider {
  border: none;
  border-top: 1px solid var(--primary-400);
  margin: 0;
  margin-top: 20px;
  opacity: 0.4;
}

/* =========================================
   11. SECURITY & COMPLIANCE SECTION
   ========================================= */
.security-section {
  background-color: var(--primary-50);
  padding: 4rem 0;
  /* Figma: 80px */
}

/* Two-column layout: text left, grid right */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  /* Figma: 64px */
  align-items: flex-start;
}

/* Left column */
.security-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* Figma: 24px */
}

/* Security badge — filled teal, white text/icon */
.security-badge {
  background: var(--primary-700);
  border-color: var(--primary-600);
  color: var(--white);
}

.security-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--gray-900);
}

/* Right column: 3×2 grid */
.security-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px;
  overflow: hidden;
}

/* Individual card — Figma: Frame 105/99 = #009285 (blue-700) */
.sec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  /* Figma: ~8–12px */
  padding: 1.5rem 1rem;
  /* Figma: 24px 16px */
  background-color: var(--primary-700);
}

/* Dark variant — Figma: Frame 106 = #00564F (blue-900) */
.sec-card--dark {
  background-color: var(--primary-900);
}

.sec-card-icon {
  display: inline-flex;
  margin-bottom: 4px;
}

.sec-card-title {
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}

.sec-card-body {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

/* =========================================
   12. PLAYERS SECTION — "Built for you"
   ========================================= */
.players-section {
  padding: 6rem 0;
  /* Figma: 96px */
}

/* Outer layout: sticky text left, cards right */
.players-layout {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 4rem;
  /* Figma: 64px */
  align-items: start;
}

/* Left sticky column */
.players-left {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* Figma: 24px */
}

.players-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3.0625rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--gray-900);
}

/* Stacked cards column */
.players-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Base card */
.player-card {
  position: relative;
  display: block;
  border-radius: 2rem;
  overflow: hidden;
  padding: 3rem 0 0 3rem;
  min-height: 300px;
  height: 400px;
  margin-left: 10%;
}

/* Card variants */
.player-card--importer {
  background-color: var(--primary-600);
}

.player-card--transporter {
  background-color: #1B3958;
}

.player-card--company {
  background-color: var(--primary-100);
}

/* Card text content */
.player-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  /* Figma: 12px */
  padding-bottom: 2rem;
  /* Figma: 24–36px bottom */
}

.player-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--white);
}

.player-card--company .player-card-title {
  color: var(--primary-800);
}

.player-card-subtitle {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  max-width: 340px;
}

.player-card--company .player-card-subtitle {
  color: var(--gray-600);
}

/* Checklist inside cards */
.player-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.player-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.player-card--company .player-check-item {
  color: var(--primary-800);
  /* CSS filter converts the black image tint to match --primary-800 (#007167) */
  filter: brightness(0) saturate(100%) invert(79%) sepia(31%) saturate(3645%) hue-rotate(119deg) brightness(47%) contrast(104%);

}

.player-check-item svg {
  flex-shrink: 0;
}

/* Waitlist link (company card only) */
.player-waitlist-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-800);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.player-waitlist-link:hover {
  color: var(--primary-700);
}

/* Card image */
.player-card-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.player-card-content {
  position: relative;
  z-index: 1;
}

.player-card-image img {
  position: absolute;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Card 1 (importer): 2x, anchored top */
.player-card--importer .player-card-image img {
  width: 42%;
  top: 0;
  right: 5%;
}

/* Card 2 (transporter): 1.5x, bottom-right, translated out right */
.player-card--transporter .player-card-image img {
  width: 65%;
  bottom: 0;
  right: -20%;
}

/* Card 3 (company): 3x, anchored right */
.player-card--company .player-card-image img {
  width: 85%;
  bottom: -2%;
  right: -23%;

}

/* =========================================
   13. COMPARISON TABLE SECTION
   ========================================= */
.comparison-section {
  padding: 6rem 0;
  /* Figma: 96px */
}

/* Centered header block */
.comparison-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  /* Figma: 16px */
  margin-bottom: 3.5rem;
  /* Figma: 56px */
}



.comparison-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--gray-900);
}

.comparison-heading .text-primary-800 {
  font-weight: 700;
}

.comparison-subtext {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-800);
}

.comparison-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: 8px;
  width: 100%;
  max-width: 560px;
}

/* Table container */
.comparison-table {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Each row = 3-column grid */
.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

/* Alternating row colours — odd rows white, even rows grey */
.ct-row:nth-child(odd):not(.ct-row--header) .ct-criterion,
.ct-row:nth-child(odd):not(.ct-row--header) .ct-broker {
  background-color: var(--white);
}

.ct-row:nth-child(even) .ct-criterion,
.ct-row:nth-child(even) .ct-broker {
  background-color: var(--gray-50);
}

/* Header row */
.ct-row--header {
  background-color: var(--white);
}

.ct-criterion-header,
.ct-broker-header,
.ct-yamo-header {
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-600);
}

.ct-broker-header {
  border-left: 1px solid var(--gray-200);
}

.ct-yamo-header {
  background-color: var(--white);
  display: flex;
  align-items: center;
  border-left: 1px solid var(--gray-200);
}

.ct-logo-wordmark {
  font-size: 14px;
}

.ct-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

/* Data cells */
.ct-cell {
  padding: 1.25rem 1.5rem;
  /* Figma: 20px 24px */
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

/* Criterion column */
.ct-criterion {
  font-weight: 600;
  color: var(--gray-800);
}

/* Informal broker column */
.ct-broker {
  color: var(--gray-500);
  font-weight: 400;
  border-left: 1px solid var(--gray-200);
}

/* YamoFret column — shared border */
.ct-yamo {
  border-left: 1px solid var(--gray-200);
}

/* YamoFret column — dark variant: #009285 bg, white text */
.ct-yamo--dark {
  background-color: var(--primary-700);
  color: var(--white);
  font-weight: 500;
}

/* YamoFret column — light variant: #B0F0EA bg (Figma primary-100), dark teal text */
.ct-yamo--light {
  background-color: var(--primary-100);
  color: var(--primary-900);
  font-weight: 500;
}

/* =========================================
   14. PARTNERS SECTION
   ========================================= */
.partners-section {
  padding: 4rem 0;
  /* Figma: 64px */
  border-bottom: 1px solid var(--gray-100);
  overflow-x: clip;
}

.partners-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  /* Figma: 40px */
}

.partners-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--gray-900);
}

.partners-logos {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: partners-scroll 28s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes partners-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.partner-logo:hover {
  opacity: 1;
}

/* =========================================
   15. WHY YAMOFRET — COMMITMENTS SECTION
   ========================================= */
.commitments-section {
  margin-top: 6rem;
  background-color: var(--primary-800);
  padding: 5rem 0;
  /* Figma: 80px */
}

.commitments-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
  /* Figma: 56px */
}

/* Header */
.commitments-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  /* Figma: 16px */
}

/* Commitments badge — on dark teal bg */
.commitments-badge {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  /* Subtle white border on dark bg */
  color: var(--white);
}

.commitments-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--white);
}

.commitments-subtext {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* 4-column card grid */
.commitments-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
}

/* Base card — Figma: Revenue=#009285 (blue-700), Trust=#00564F (blue-900) */
.commitment-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 1.75rem 1.5rem;
  /* Figma: 28px 24px web / 16px mobile */
  background-color: var(--primary-700);
  /* Revenue & Speed: #009285 */
  border-radius: 1.5rem;
  /* Figma: 24px */
}

/* Dark variant — Figma: Trust & Transparency: #00564F (blue-900) */
.commitment-card--dark {
  background-color: var(--primary-900);
}

.commitment-icon {
  display: inline-flex;
  margin-bottom: 8px;
}

.commitment-title {
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}

.commitment-body {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

/* =========================================
   16. HOW IT WORKS SECTION
   ========================================= */
.howto-section {
  padding: 6rem 0 0 0;
  /* Figma: 96px */
}

.howto-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  /* Figma: 16px */
  margin-bottom: 3rem;
  /* Figma: 48px */
}

.howto-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--gray-900);
}

.howto-subtext {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-800);
}

/* Tab row */
.howto-tabs {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background-color: var(--gray-100);
  border-radius: 18px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .howto-tabs {
    display: flex;
    width: 100%;
  }

  .howto-tabs .nav-tab {
    flex: 1;
  }
}

.howto-tabs .nav-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  height: 48px;
  border-radius: 11px;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-600);
  cursor: pointer;
  transition: color 0.25s ease;
}

.howto-tabs .nav-tab.active {
  background: transparent;
  color: var(--gray-900);
  font-weight: 600;
  box-shadow: none;
}

.howto-panels-wrapper {
  overflow: hidden;
  transition: height 0.4s ease;
}

/* Card grid — hidden by default, shown via .is-active */
.howto-cards {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  padding-top: 10px;
  /* room for card lift on hover, measured by JS offsetHeight */
}

#panel-transporter.howto-cards {
  gap: 18px;
}

#panel-transporter .howto-card {
  height: 400px;
}





.howto-cards.is-active {
  display: grid;
}

/* Individual card */
.howto-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 450px;
  background-color: var(--primary-800);
  display: flex;
  flex-direction: column;
}

/* Inner image area — ~70% height, 16px inset, matching border-radius */
.howto-card-image {
  position: relative;
  margin: 8px 8px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 0 0 68%;
  background-size: cover;
  background-position: center;
}

#panel-transporter .howto-card-image {
  flex-basis: 55%;
}

.howto-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%,
      var(--primary-800) 72%,
      var(--primary-800) 100%);
}

#panel-transporter .howto-card-overlay {
  background: linear-gradient(to bottom, transparent 0%,
      var(--primary-800) 60%,
      var(--primary-800) 100%);
}

.howto-card-ui {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

/* ---- Importer overlays ---- */
/* 1: center, scale down 0.5x */
#panel-importer .howto-card:nth-child(1) .howto-card-ui {
  width: 70%;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 2: top-aligned, ~18px from edges, full width */
#panel-importer .howto-card:nth-child(2) .howto-card-ui {
  width: 105%;
  top: 18px;
  /* left: 18px; */
  transform: translate(-2%, -5%);

}

/* 3: center, scale down 1.5x (≈ 67%) */
#panel-importer .howto-card:nth-child(3) .howto-card-ui {
  width: 67%;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ---- Transporter overlays ---- */
/* 1: top-aligned, ~20px from edges, full width */
#panel-transporter .howto-card:nth-child(1) .howto-card-ui {
  width: 105%;
  top: 20px;
  left: 20px;
  transform: translate(-10%, -7%);
}

/* 2: scale up 0.5x (150%) */
#panel-transporter .howto-card:nth-child(2) .howto-card-ui {
  width: 110%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -20%);
}

/* 3: center, scale down 0.5x (50%) */
#panel-transporter .howto-card:nth-child(3) .howto-card-ui {
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
}

/* 4: scale down 0.3x (70%) */
#panel-transporter .howto-card:nth-child(4) .howto-card-ui {
  width: 85%;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, 20%);
}

.howto-card-body {
  position: relative;
  z-index: 2;
  padding: 0 1.25rem 1.25rem;
  margin-top: -1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  justify-content: center;
}

.howto-card-title {
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}

.howto-card-desc {
  font-size: clamp(0.75rem, 1vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

#panel-importer .howto-card-desc {
  font-size: 1rem;
}

#panel-transporter .howto-card-desc {
  font-size: 0.875rem;
}

/* =========================================
   RESPONSIVE — TABLET  (769px – 1023px)
   ========================================= */
@media (min-width: 769px) and (max-width: 1023px) {
  /* clamp() handles all fluid type scaling — only layout overrides needed here */

  .container {
    padding: 0 40px;
  }

  /* ---- Signup grid ---- */
  .signup-grid {
    gap: 48px;
  }

  /* ---- Players: tighten columns on tablet ---- */
  .players-layout {
    grid-template-columns: 1fr 1.8fr;
    gap: 40px;
  }

  /* ---- Commitments: 2×2 grid ---- */
  .commitments-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---- Security ---- */
  .security-grid {
    gap: 40px;
  }
}

/* =========================================
   RESPONSIVE — TABLET  (max 768px)
   ========================================= */
@media (max-width: 768px) {

  /* Container padding */
  .container {
    padding: 0 24px;
  }

  /* Hide navbar lang-switcher — it lives in the mobile dropdown instead */
  #lang-switcher {
    display: none;
  }

  /* ---- Navbar ---- */
  #primary-nav {
    display: none;
  }

  .site-header .container {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  /* ---- Hero ---- */
  .hero-section {
    padding-top: 32px;
  }

  .hero-signup {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-input {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }

  .hero-cta-btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats: 2×2 grid */
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stat--1 {
    border-bottom-left-radius: 0;
  }

  .hero-stat--2 {
    border-bottom-right-radius: 0;
  }

  /* Apply radius to bottom row */
  .hero-stat--3 {
    border-bottom-left-radius: 32px;
  }

  .hero-stat--4 {
    border-bottom-right-radius: 32px;
  }

  /* ---- How It Works ---- */
  .howto-header {
    text-align: center;
    align-items: center;
  }

  /* ---- Commitments ---- */
  .commitments-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---- Partners ---- */
  .partners-logos {
    gap: 32px;
  }

  .partner-logo {
    height: 56px;
  }

  /* ---- Comparison table: full-width, no scroll ---- */
  .comparison-table {
    overflow: visible;
  }

  .ct-row {
    min-width: unset;
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .ct-criterion-header,
  .ct-broker-header,
  .ct-yamo-header,
  .ct-cell {
    font-size: 10px;
    padding: 10px 8px;
    line-height: 1.4;
  }

  .ct-logo-img {
    height: 18px;
  }

  .comparison-cta {
    flex-wrap: wrap;
  }

  .comparison-cta .hero-input {
    width: 100%;
    min-width: unset;
  }

  /* ---- Players — remove sticky on mobile ---- */
  .players-left {
    position: static;
  }

  /* ---- Players — hide images on mobile ---- */
  .player-card-image {
    display: none;
  }

  /* ---- Players ---- */
  .players-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .player-card {
    flex-direction: column;
    margin-left: 0;
  }

  .player-card-image {
    width: 100%;
    max-height: 220px;
    overflow: hidden;
  }

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

  /* ---- Security cards ---- */
  .security-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* ---- FAQ ---- */
  .faq-card {
    min-width: unset;
    width: 100%;
  }

  .faq-group {
    width: 100%;
  }

  /* ---- Signup section ---- */
  .signup-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* ---- Footer ---- */
  .footer-top {
    flex-direction: column;
    gap: 48px;
  }

  .footer-nav-cols {
    flex-wrap: wrap;
    gap: 48px;
  }

  /* ---- Hero: mobile layered scene ---- */
  .hero-scene {
    aspect-ratio: 1.1 / 1;
  }

  .hero-truck-wrapper {
    width: 100%;
    right: 0;
    bottom: 5%;
  }

  .hero-man-wrapper {
    width: 85%;
    left: auto;
    right: 0;
  }

  .hero-card-chip {
    display: none;
  }

  /* ---- How It Works: transporter overlay positions (mobile) ---- */
  #panel-transporter .howto-card:nth-child(1) .howto-card-ui {
    width: 95%;
    transform: translate(-3%, -5%);
  }

  #panel-transporter .howto-card:nth-child(2) .howto-card-ui {
    width: 95%;
    transform: translate(-50%, -30%);
  }

  #panel-transporter .howto-card:nth-child(3) .howto-card-ui {
    width: 70%;
  }

  #panel-transporter .howto-card:nth-child(4) .howto-card-ui {
    width: 70%;
  }

  /* ---- Commitments: no gap on mobile ---- */
  .commitments-cards {
    gap: 0;
  }

  /* Swap row 2: Revenue (card 4) before Transparency (card 3) */
  .commitments-cards .commitment-card:nth-child(3) {
    order: 4;
  }

  .commitments-cards .commitment-card:nth-child(4) {
    order: 3;
  }

  /* ---- Players: full width, no image, full-width content ---- */
  .player-card {
    width: 100%;
    padding: 1.5rem;
    height: auto;
  }

  .player-card-content {
    width: 100%;
  }

  .player-card-title {
    font-size: 1.5rem;
  }

  .player-card-subtitle {
    font-size: 1rem;
  }

  .player-check-item {
    font-size: 0.9375rem;
  }

  .sec-card:nth-child(1) {
    order: 1;
  }

  .sec-card:nth-child(2) {
    order: 2;
  }

  /* ---- Security: swap row 2 (Banking ↔ Confirmed payment) ---- */
  .sec-card:nth-child(3) {
    order: 4;
  }

  .sec-card:nth-child(4) {
    order: 3;
  }

  .sec-card:nth-child(5) {
    order: 5;
  }

  .sec-card:nth-child(6) {
    order: 6;
  }
}

/* =========================================
   RESPONSIVE — MOBILE  (max 480px)
   ========================================= */
@media (max-width: 480px) {

  /* Container */
  .container {
    padding: 0 16px;
  }

  /* ---- Hero — clamp() handles fluid scaling ---- */
  .hero-signup {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .signup-submit-btn {
    border-radius: 16px;
  }

  /* ---- Footer ---- */
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav-cols {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    margin: 20px 0;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
  }

  /* ---- Lang switcher compact ---- */
  .lang-label {
    display: none;
  }
}

/* =========================================
   MOBILE NAV DRAWER & HAMBURGER
   ========================================= */

/* Hide hamburger on desktop */
.mobile-menu-btn {
  display: none;
}

/* Hide desktop CTA on mobile (shown inside drawer) */
@media (max-width: 768px) {
  .nav-cta-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
  }

  .mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--gray-900);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
  }

  /* Animate to X when open */
  .mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Dropdown — hidden by default */
.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    border-radius: 0 0 20px 20px;
    padding: 8px 0 20px;
    z-index: 150;
    gap: 0;
    /* Hidden state */
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
    text-decoration: none;
    padding: 13px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: block;
  }

  .mobile-nav-link:last-of-type {
    border-bottom: none;
  }

  .mobile-nav-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 0;
    gap: 12px;
  }

  .mobile-nav-cta {
    font-size: 13px;
    padding: 8px 16px;
  }

  .mobile-nav-footer .lang-btn {
    padding: 5px 8px;
    justify-content: center;
  }
}

/* =========================================
   SCROLL-TRIGGERED ANIMATIONS
   ========================================= */

/* Base state: hidden + shifted down */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* Visible state: fully shown */
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
[data-animate][data-delay="1"] {
  transition-delay: 0.1s;
}

[data-animate][data-delay="2"] {
  transition-delay: 0.2s;
}

[data-animate][data-delay="3"] {
  transition-delay: 0.3s;
}

[data-animate][data-delay="4"] {
  transition-delay: 0.4s;
}

[data-animate][data-delay="5"] {
  transition-delay: 0.5s;
}

[data-animate][data-delay="6"] {
  transition-delay: 0.6s;
}

/* Disable all animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================
   CARD HOVER LIFTS
   ========================================= */

.commitment-card {
  transition: transform 0.3s ease;
}

.commitment-card:hover {
  transform: scale(1.02);
}

.howto-card {
  transition: transform 0.2s ease-out;
}

.howto-card:hover {
  transform: translateY(-6px);
  z-index: 2;
  /* box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22); */
}

.player-card {
  transition: transform 0.3s ease;
}

.player-card:hover {
  transform: scale(1.015);
}

.sec-card {
  overflow: hidden;
}

.sec-card-icon,
.sec-card-title,
.sec-card-body {
  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1);
}

.sec-card:hover .sec-card-icon,
.sec-card:hover .sec-card-title,
.sec-card:hover .sec-card-body {
  transform: scale(1.05);
}