/* ==========================================================================
   StoraTax - Affiliate Program Landing Page
   Structure & tokens aligned with Canada Employee (ENG-FR)
   ========================================================================== */

:root {
  --primary-navy: #0a2d8b;
  --primary-navy-dark: #072065;
  --accent-orange: #FF5A0A;
  --accent-orange-hover: rgba(255, 90, 10, 0.85);
  --accent-orange-light: #fff2ee;

  --text-main: #0a2d8b;
  --text-body: #486284;
  --text-light: #6a82a0;

  --bg-light-blue: #f2f7fe;
  --bg-feature-bar: #edf5ff;
  --border-light: #e1edfc;
  --border-subtle: #d0e3f9;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-script: 'Caveat', cursive;

  --max-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;

  --shadow-sm: 0 2px 8px rgba(10, 45, 139, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 45, 139, 0.08);
  --shadow-orange: 0 8px 22px rgba(255, 78, 8, 0.28);

  --transition: all 0.25s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-arrow {
  flex-shrink: 0;
  display: block;
}

.btn-primary {
  background: var(--accent-orange);
  color: #ffffff;
  padding: 12px 26px;
  font-size: 0.95rem;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--accent-orange);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(255, 78, 8, 0.38);
  filter: brightness(1.05);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-navy);
  border: 1.5px solid var(--primary-navy);
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 6px;
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--bg-light-blue);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.text-accent {
  color: var(--accent-orange);
}

/* Plus Jakarta Sans on all page headings */
.hero-title,
.section-title,
.benefit-card h3,
.how-step h3,
.join-cta-title,
.faq-header .section-title,
.example-content .section-title,
.solution-content .section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-title {
  font-family: 'Plus Jakarta Sans', var(--font-heading), sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.centered {
  text-align: center;
  margin-bottom: 40px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(11, 59, 140, 0.04);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  height: 66px;
}

.logo-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  height: 66px;
}

.logo-img {
  display: block;
  height: 66px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 400;
  color: #153EB2;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-selected {
  color: var(--accent-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-selector-wrapper {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 4px 0;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  transition: var(--transition);
}

.lang-dropdown-btn:hover {
  opacity: 0.85;
}

.flag-icon {
  display: block;
  width: 22px;
  height: 15px;
  flex-shrink: 0;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lang-option .flag-icon,
.footer-region-select .flag-icon {
  width: 20px;
  height: 14px;
}

.chevron-icon {
  color: var(--primary-navy);
}

.header-cta {
  border-radius: 6px;
  background: var(--accent-orange);
  box-shadow: none;
  padding: 11px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-login {
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 160px;
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 1050;
}

.lang-dropdown-menu.show {
  display: flex;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: var(--transition);
}

.lang-option:hover,
.lang-option.active {
  background: var(--bg-light-blue);
  color: var(--accent-orange);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-navy);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO — banner_affiliate.png (dark left for text)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  background-image: url('images/banner_affiliate.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 2058 / 764;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 48px 0;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 540px;
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', var(--font-heading), sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-title .text-accent {
  color: var(--accent-orange);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  margin-bottom: 28px;
  font-weight: 500;
  max-width: 480px;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero-cta-btn {
  border-radius: 12px;
  box-shadow: none;
  padding: 14px 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.trust-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trust-check.light {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   BENEFITS
   ========================================================================== */
.benefits-section {
  padding: 56px 0 48px;
  background: #ffffff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.benefit-card {
  text-align: center;
  padding: 8px 12px;
}

.benefit-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.65rem;
}

.benefit-icon-orange {
  background: #ffe8dc;
  color: var(--accent-orange);
}

.benefit-icon-blue {
  background: #dceefd;
  color: var(--primary-navy);
}

.benefit-icon-green {
  background: #e0f5ea;
  color: #1a9b5c;
}

.benefit-icon-purple {
  background: #eee4ff;
  color: #7b4fc7;
}

.benefit-card h3 {
  font-family: 'Plus Jakarta Sans', var(--font-heading), sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: #1C3EB2;
  line-height: 1.5;
}

/* ==========================================================================
   SOLUTION — simple_app full background, content on left
   ========================================================================== */
.solution-section {
  position: relative;
  width: 100%;
  background-image: url('images/simple_app_EN.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #eef5fc;
  aspect-ratio: 2020 / 778;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 56px 0;
  overflow: hidden;
}

.solution-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.solution-content {
  max-width: 480px;
  position: relative;
  z-index: 2;
}

.solution-content .section-title {
  color: #1C3EB2;
}

.solution-intro {
  font-size: 1.02rem;
  color: #1C3EB2;
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 460px;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solution-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  font-weight: 500;
  color: #1C3EB2;
}

.solution-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #1C3EB2;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(28, 62, 178, 0.25);
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-section {
  padding: 64px 0;
  background: #ffffff;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.how-step {
  text-align: center;
  position: relative;
  padding: 12px 24px;
}

.how-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 0;
  bottom: 12px;
  width: 1px;
  background: #c5d4e8;
}

.how-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.how-number-blue { background: #2b6de0; }
.how-number-orange { background: var(--accent-orange); }
.how-number-green { background: #1a9b5c; }
.how-number-purple { background: #7b4fc7; }

.how-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
}

.how-icon-blue { background: #dceefd; color: #2b6de0; }
.how-icon-orange { background: #ffe8dc; color: var(--accent-orange); }
.how-icon-green { background: #e0f5ea; color: #1a9b5c; }
.how-icon-purple { background: #eee4ff; color: #7b4fc7; }

.how-step h3 {
  font-family: 'Plus Jakarta Sans', var(--font-heading), sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1C3EB2;
  margin-bottom: 8px;
}

.how-step p {
  font-size: 0.9rem;
  color: #1C3EB2;
  line-height: 1.5;
}

/* ==========================================================================
   REAL EXAMPLE — network_growth full background, content on left
   ========================================================================== */
.example-section {
  position: relative;
  width: 100%;
  background-image: url('images/network_growth_EN.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #edf5ff;
  aspect-ratio: 2170 / 725;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 64px 0;
  overflow: hidden;
}

.example-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.example-content {
  max-width: 620px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.example-content .section-title {
  color: #1C3EB2;
  margin-bottom: 10px;
}

.example-sub {
  font-size: 1.02rem;
  color: #1C3EB2;
  margin-bottom: 28px;
  font-weight: 500;
}

.example-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(10, 45, 139, 0.1);
  overflow: hidden;
  margin-bottom: 18px;
}

.example-box {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 22px 16px;
  text-align: center;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.example-box:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18%;
  right: 0;
  bottom: 18%;
  width: 1px;
  background: #c5d4e8;
}

.example-box:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1C3EB2;
  transform: translateY(-50%);
  z-index: 1;
}

.example-label,
.example-meta,
.example-meta-orange,
.example-meta-green,
.example-note {
  color: #1C3EB2;
}

.example-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.example-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.example-value-blue { color: #1C3EB2; }
.example-value-orange { color: var(--accent-orange); }
.example-value-green { color: #1a9b5c; }

.example-meta,
.example-meta-orange,
.example-meta-green {
  font-size: 0.8rem;
  font-weight: 600;
}

.example-note {
  font-size: 0.78rem;
  line-height: 1.4;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 64px 0;
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-light-blue);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: block;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 12px rgba(10, 45, 139, 0.12);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #1C3EB2;
  line-height: 1.55;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  color: #1C3EB2;
  font-size: 0.98rem;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: #1C3EB2;
}

/* ==========================================================================
   JOIN CTA — join_program.png full background, centered content
   ========================================================================== */
.join-cta-section {
  padding: 0;
}

.join-cta-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 2170 / 725;
  min-height: 320px;
  background-color: #061646;
  background-image: url('images/join_program.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.join-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 22, 70, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.join-cta-container {
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join-cta-eyebrow {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 10px;
}

.join-cta-title {
  font-family: 'Plus Jakarta Sans', var(--font-heading), sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 28px;
}

.join-cta-btn {
  border-radius: 10px;
  margin-bottom: 28px;
}

.join-trust {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.join-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #ffffff;
  padding: 0 18px;
  position: relative;
  white-space: nowrap;
}

.join-trust li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.join-trust .trust-check.light {
  background: #ffffff;
  color: #061646;
  border: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  padding: 64px 0 72px;
  background: var(--bg-light-blue);
}

.faq-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.faq-header .section-title {
  margin-bottom: 0;
}

.faq-view-all {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-orange);
  white-space: nowrap;
}

.faq-view-all:hover {
  color: var(--primary-navy);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 700;
  color: #1C3EB2;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--bg-light-blue);
  color: var(--primary-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
  background: var(--accent-orange);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 280px;
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: #1C3EB2;
  line-height: 1.55;
}

/* ==========================================================================
   FOOTER — footer_EN.png full background, logo + content overlay
   ========================================================================== */
.footer {
  position: relative;
  background-color: #061646;
  background-image: url('images/footer_EN.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 48px 0 28px;
  overflow: hidden;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: auto;
  margin-bottom: 8px;
}

.footer-logo-img {
  height: 56px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  margin: 0 auto;
}

.footer-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  padding: 0 18px;
  position: relative;
  white-space: nowrap;
}

.footer-links a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
}

.social-icon-btn {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 4px;
}

.social-icon-btn:hover {
  background: transparent;
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 8px 0 0;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px 0;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.footer-selectors {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.footer-lang-wrapper,
.footer-region-wrapper {
  position: relative;
}

.footer-select-btn,
.footer-region-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 8px 12px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.footer-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  min-width: 150px;
  display: none;
  flex-direction: column;
  z-index: 20;
}

.footer-dropdown.show {
  display: flex;
}

.footer-lang-opt,
.footer-region-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.footer-lang-opt:hover,
.footer-region-opt:hover,
.footer-lang-opt.active,
.footer-region-opt.active {
  background: var(--bg-light-blue);
  color: var(--accent-orange);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .header-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-list {
    gap: 14px;
  }

  .header-login {
    display: none;
  }

  .benefits-grid,
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .how-step:nth-child(2n)::after {
    display: none;
  }

  .example-panel {
    grid-template-columns: 1fr;
  }

  .example-box:not(:last-child)::before,
  .example-box:not(:last-child)::after {
    display: none;
  }

  .footer-top {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .footer-links {
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 16px 24px 24px;
    display: none;
    z-index: 999;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 8px;
    font-size: 1rem;
    font-weight: 600;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-cta span {
    font-size: 0.78rem;
  }

  .header-cta {
    padding: 10px 12px;
  }

  .hero-section {
    background-image: none !important;
    background-color: #061646 !important;
    aspect-ratio: auto;
    min-height: 560px;
  }

  .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 22, 70, 0.82) 0%, rgba(6, 22, 70, 0.55) 55%, rgba(6, 22, 70, 0.35) 100%);
    z-index: 1;
  }

  .hero-content {
    max-width: 100%;
  }

  .solution-section {
    background-image: none !important;
    background-color: #eef5fc !important;
    aspect-ratio: auto;
    min-height: 400px;
  }

  .example-section {
    background-image: none !important;
    background-color: #edf5ff !important;
    aspect-ratio: auto;
    min-height: 560px;
  }

  .solution-container,
  .example-container {
    width: 100%;
  }

  .solution-content,
  .example-content {
    max-width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .join-cta-bg {
    aspect-ratio: auto;
    min-height: 380px;
    max-height: none;
    background-position: 70% center;
  }

  .join-cta-overlay {
    background: rgba(6, 22, 70, 0.55);
    position: relative;
  }

  .join-cta-container {
    max-width: 100%;
    text-align: center;
  }

  .join-trust {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
  }

  .join-trust li {
    padding: 0 14px;
  }

  .join-cta-btn {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .header-container {
    height: 58px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-img {
    height: 48px;
    max-width: 160px;
  }

  .logo-group {
    height: 48px;
  }

  .header-cta {
    display: none;
  }

  .benefits-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-step:not(:last-child)::after {
    display: none;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-large {
    padding: 14px 22px;
    font-size: 0.98rem;
    white-space: normal;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
  }

  .footer-links {
    max-width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: 0;
    margin-top: 4px;
  }

  .footer-links a {
    padding: 6px 14px 6px 0;
  }

  .footer-links a:not(:last-child)::after {
    display: none;
  }

  .footer-social {
    justify-content: flex-start;
    margin: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-selectors {
    margin-left: 0;
  }

  .footer {
    background-position: center center;
  }
}

  .nav-menu {
    top: 78px;
  }
}

@media (max-width: 400px) {
  .hero-section {
    padding: 36px 0;
  }

  .section-title {
    font-size: 1.55rem;
  }
}
