/* ==========================================================================
   StoraTax - Canada Self-Employed (Gas Receipts Manager) Landing Page
   ========================================================================== */

:root {
  --primary-navy: #0a2d8b;
  --primary-navy-dark: #072065;
  --accent-orange: #FF5A0A;
  --accent-orange-hover: rgba(255, 90, 10, 0.85);

  --text-main: #0a2d8b;
  --text-body: #486284;
  --text-light: #6a82a0;

  --bg-light-blue: #f2f7fe;
  --bg-feature-bar: #edf5ff;
  --bg-card: #EEF6FD;
  --border-light: #e1edfc;
  --border-subtle: #d0e3f9;
  --testimonial-blue: #c8dff8;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

  --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;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

.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;
  filter: brightness(1.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(255, 78, 8, 0.38);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1rem;
}

/* ==========================================================================
   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;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-stora { color: var(--primary-navy); }
.logo-tax { color: var(--accent-orange); }

.logo-tagline {
  font-size: 0.8rem;
  color: #153EB2;
  font-weight: 500;
  margin-top: 1px;
}

.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;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-link:hover { color: var(--accent-orange); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-selector-wrapper { position: relative; }

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  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;
}

.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);
}

.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-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(255, 78, 8, 0.38);
  filter: brightness(1.05);
}

.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: 150px;
  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-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.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;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  background-image: url('images/self_employee_hero_img.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: clamp(500px, 50vw, 680px);
  display: flex;
  align-items: center;
  padding: 36px 0 8px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 60%, rgba(255, 255, 255, 0.85) 78%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 510px;
  position: relative;
  z-index: 2;
}

.hero-product {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-product-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-product-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.hero-product-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-product-text strong {
  color: var(--primary-navy);
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.hero-product-text span {
  color: #153EB2;
  font-size: 0.82rem;
  font-weight: 400;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  background: #dceefd;
  color: var(--primary-navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-title-line {
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: #153EB2;
  line-height: 1.55;
  margin-bottom: 20px;
  font-weight: 500;
  max-width: 480px;
}

.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-checklist li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #153EB2;
  font-size: 0.95rem;
  font-weight: 500;
}

.check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-icon.light {
  background: var(--accent-orange);
}

.hero-cta-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-cta-btn {
  border-radius: 8px;
}

.sub-cta-text {
  font-size: 0.85rem;
  color: #153EB2;
  font-weight: 400;
  text-align: center;
  width: 100%;
}

.sub-cta-text.light {
  color: rgba(255, 255, 255, 0.9);
}

/* French hero — phones on the right; content centered to fill bottom space */
html[lang="fr"] .hero-section {
  background-image: url('images/hero_FRr.png');
  background-position: right center;
  min-height: clamp(520px, 48vw, 680px);
  align-items: center;
  padding-top: 48px;
  padding-bottom: 40px;
}

html[lang="fr"] .hero-container {
  align-items: center;
}

html[lang="fr"] .hero-checklist {
  display: none;
}

.hero-media {
  display: none;
}

/* ==========================================================================
   FEATURES BAR (English)
   ========================================================================== */
.features-bar-section {
  padding: 40px 0;
  background: #ffffff;
}

html[lang="fr"] .features-bar-section {
  display: none;
}

.features-bar-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 28px;
  align-items: start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.feature-icon-circle {
  width: 84px;
  height: 84px;
  min-width: 84px;
  border-radius: 50%;
  background: #dceefd;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.feature-icon-circle img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.feature-text h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.9rem;
  color: #153EB2;
  font-weight: 500;
}

/* ==========================================================================
   DETAIL COLUMNS (French)
   ========================================================================== */
.detail-columns-section {
  display: none;
  padding: 48px 0 56px;
  background: #ffffff;
}

html[lang="fr"] .detail-columns-section {
  display: block;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 48px;
  align-items: stretch;
}

.detail-col {
  padding: 8px 0 36px;
  border-right: none;
  position: relative;
}

.detail-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 0;
  right: -24px;
  width: 1px;
  background: var(--border-light);
}

.detail-col:first-child {
  padding-left: 0;
}

.detail-col:last-child {
  padding-right: 0;
}

.detail-col-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 36px;
}

.detail-col-icon {
  width: 84px;
  height: 84px;
  min-width: 84px;
  border-radius: 50%;
  background: #dceefd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-col-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.detail-col-titles h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 4px;
}

.detail-col-titles p {
  font-size: 0.88rem;
  color: #153EB2;
  font-weight: 500;
  line-height: 1.35;
}

.detail-col-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-col-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #153EB2;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   DESIGNED / SOLUTION + TESTIMONIAL
   ========================================================================== */
.designed-section {
  padding: 48px 0 56px;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid #ffffff;
}

html[lang="fr"] .designed-section {
  border-top: none;
}

.designed-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
}

.designed-grid-fr {
  display: none;
}

html[lang="fr"] .designed-grid-en {
  display: none;
}

html[lang="fr"] .designed-grid-fr {
  display: grid;
}

/* French tax banner (original layout) */
.tax-banner {
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #d7e6f5;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  min-height: 300px;
}

.tax-banner-left {
  display: flex;
  align-items: stretch;
  min-width: 0;
  background: #E0F0FC;
  border-right: 1.5px solid #c5daf0;
}

.tax-banner-photo {
  width: 42%;
  min-width: 150px;
  max-width: 220px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.tax-banner-photo::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56px;
  background: linear-gradient(to right, transparent, #E0F0FC);
  pointer-events: none;
}

.tax-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.tax-banner-quote-block {
  flex: 1;
  padding: 28px 18px 28px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  min-width: 0;
  background: #E0F0FC;
}

.tax-banner-quote {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.4;
  margin-bottom: 14px;
}

.tax-banner-right {
  padding: 32px 36px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: #EDF5FF;
}

.tax-banner-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 420px;
}

.tax-banner-desc {
  font-size: 0.95rem;
  color: #153EB2;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 28px;
  max-width: 460px;
}

.tax-banner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 20px;
  flex-wrap: nowrap;
  margin-top: 22px;
  width: 100%;
  max-width: 560px;
}

.tax-logo-img {
  display: block;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.tax-logo-cra-img {
  width: 210px;
}

.tax-logo-rq-img {
  width: 132px;
}

.tax-handwritten-img {
  width: 172px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 28px;
  max-width: 420px;
}

.designed-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-card {
  --testimonial-blue: #e0f0fc;
  background: var(--testimonial-blue);
  border: none;
  border-top: 1.5px solid var(--testimonial-blue);
  border-right: 1.5px solid var(--testimonial-blue);
  border-radius: 20px;
  padding: 0;
  display: flex;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  min-height: 280px;
  box-shadow: none;
}

.testimonial-img-wrapper {
  width: 44%;
  min-width: 180px;
  max-width: 240px;
  align-self: stretch;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.testimonial-img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--testimonial-blue));
  pointer-events: none;
  z-index: 1;
}

.testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-body {
  flex: 1;
  padding: 28px 26px 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--testimonial-blue);
}

.quote-mark {
  position: absolute;
  top: 8%;
  left: -36px;
  right: auto;
  z-index: 3;
  font-size: 5rem;
  line-height: 0.8;
  color: var(--accent-orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  pointer-events: none;
}

.designed-grid-en .testimonial-card {
  overflow: visible;
}

.designed-grid-en .testimonial-img-wrapper {
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}

.designed-grid-en .testimonial-body {
  border-radius: 0 20px 20px 0;
  overflow: visible;
}

.quote-mark.tax-quote-mark {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  display: block;
  font-size: 3.2rem;
  line-height: 0.85;
  margin: 0 0 8px;
  align-self: flex-start;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--primary-navy);
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: 14px;
  padding-right: 8px;
}

.testimonial-stars {
  color: #f5a623;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.author-name {
  display: block;
  color: var(--primary-navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.author-role {
  display: block;
  color: #153EB2;
  font-size: 0.82rem;
  margin-top: 2px;
  line-height: 1.35;
}

/* ==========================================================================
   INFO CARDS
   ========================================================================== */
.cards-section {
  padding: 48px 0 50px;
  background: #ffffff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-card {
  background: #EEF6FD;
  border: 1px solid #e1edfc;
  border-radius: 16px;
  padding: 36px 22px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  cursor: default;
}

.info-card:hover {
  background: #EEF6FD;
  border-color: #e1edfc;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 84px;
  height: 84px;
  min-width: 84px;
  border-radius: 50%;
  background: #dceefd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: none;
}

.card-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.85rem;
  color: #153EB2;
  line-height: 1.4;
  font-weight: 500;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-section {
  padding: 56px 0 64px;
  background: #f7f9fc;
}

.pricing-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--primary-navy);
  text-align: center;
  margin-bottom: 10px;
}

.pricing-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 28px;
}

.billing-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  position: relative;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e4f5;
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.billing-btn {
  border: none;
  background: transparent;
  color: #7a8aa3;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.billing-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
}

.billing-yearly-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--accent-orange);
  color: var(--accent-orange);
  background: #fff7f2;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  max-width: 320px;
  line-height: 1.3;
}

.billing-yearly-note[hidden] {
  display: none;
}

.billing-yearly-arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.pricing-panel[hidden] {
  display: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e4ecf7;
  border-radius: 18px;
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(10, 45, 139, 0.06);
  min-height: 100%;
}

.pricing-card-featured {
  border-color: #f0b35a;
  box-shadow: 0 10px 28px rgba(240, 179, 90, 0.18);
}

.pricing-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  color: var(--primary-navy);
  max-width: 100%;
}

.pricing-badge-lavender { background: #ebe7ff; }
.pricing-badge-blue { background: #dcecff; }
.pricing-badge-peach { background: #ffe4d4; }
.pricing-badge-grey { background: #eef1f6; }
.pricing-badge-orange { background: #ffe8d6; color: #b45309; }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #0A2D8B;
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
}

.pricing-desc {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.45;
  margin-bottom: 18px;
  min-height: 2.6em;
}

.pricing-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}

.pricing-features li.is-excluded {
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: rgba(148, 163, 184, 0.7);
}

.pricing-check,
.pricing-x {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.pricing-check {
  background: var(--accent-orange);
}

.pricing-check::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -1px;
}

.pricing-x {
  background: #fb923c;
}

.pricing-x::before,
.pricing-x::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: #fff;
}

.pricing-x {
  position: relative;
}

.pricing-x::before { transform: rotate(45deg); }
.pricing-x::after { transform: rotate(-45deg); }

.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.pricing-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-amount {
    font-size: 2.1rem;
  }

  .billing-toggle-wrap {
    align-items: center;
  }
}

.faq-section {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, #EDF5FF 100%);
}

.faq-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  text-align: center;
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(90deg, #faf8f5 0%, #f3ebe3 100%);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(26, 45, 90, 0.06);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  background: linear-gradient(90deg, #faf8f5 0%, #efe6dc 100%);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.faq-brand {
  color: #c45a1a;
}

.faq-toggle {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #5b7fd4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26, 45, 90, 0.12);
  transition: var(--transition);
}

.faq-item.open .faq-toggle {
  background: var(--primary-navy);
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 480px;
}

.faq-answer p {
  margin: 0 20px 18px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.55;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 20px 0 24px;
}

.cta-banner-bg {
  border-radius: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  box-shadow: none;
}

.cta-banner-overlay {
  background: none;
  padding: 72px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
}

.cta-title {
  font-family: var(--font-main);
  font-size: 1.45rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 28px;
}

.cta-title-line {
  display: block;
}

.cta-title strong {
  font-weight: 700;
}

.cta-btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta-btn-wrapper .btn {
  border-radius: 8px;
}

.cta-btn-wrapper .btn:hover {
  background: var(--accent-orange);
  color: #ffffff;
  filter: brightness(1.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(255, 78, 8, 0.38);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #ffffff;
  border-top: none;
  padding: 24px 0 30px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px 28px;
}

.footer-logo {
  flex: 0 1 260px;
  min-width: 160px;
  display: flex;
  align-items: center;
  height: 66px;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  width: 100%;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #dbe8ff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.footer-contact-icon svg {
  stroke: #3b6fd4;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer-contact-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #8a94a6;
  line-height: 1.2;
}

.footer-contact-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #153EB2;
  line-height: 1.4;
  text-decoration: none;
}

a.footer-contact-value:hover {
  color: var(--accent-orange);
}

.footer-contact-item:last-child .footer-contact-value {
  max-width: none;
  font-size: 0.8rem;
  white-space: nowrap;
}

.app-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #000000;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}

.store-badge:hover {
  background-color: #222222;
  transform: translateY(-2px);
}

img.badge-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.badge-icon-apple {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}

.badge-sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: #cccccc;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.badge-title {
  font-size: 0.95rem;
  font-weight: 400;
  white-space: nowrap;
}

html[lang="fr"] .footer-contact {
  gap: clamp(14px, 2vw, 28px);
}

html[lang="fr"] .footer-contact-label {
  font-size: 0.74rem;
}

html[lang="fr"] .footer-contact-value {
  font-size: 0.84rem;
}

.footer-divider {
  width: 100vw;
  max-width: 100vw;
  height: 1px;
  background-color: var(--border-light);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 0.85rem;
  color: #153EB2;
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
}

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

.footer-selectors .footer-lang-wrapper::after {
  content: "";
  display: none;
}

.footer-lang-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.footer-lang-wrapper + .footer-region-wrapper {
  border-left: 1px solid #c5d4e8;
  padding-left: 16px;
}

.footer-region-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.footer-select-btn,
.footer-region-select {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
}

.footer-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  width: auto;
  padding: 4px;
  display: none;
  flex-direction: column;
  z-index: 1050;
}

.footer-dropdown.show { display: flex; }

.footer-lang-opt,
.footer-region-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: none;
  border: none;
  border-radius: 4px;
  font-size: 0.82rem;
  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: 1024px) {
  .hero-title { font-size: 2.3rem; }

  .features-bar-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .detail-columns {
    grid-template-columns: 1fr;
    column-gap: 0;
    gap: 28px;
  }

  .detail-col {
    padding: 0 0 24px;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .detail-col:not(:last-child)::after {
    display: none;
  }

  .detail-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

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

  .tax-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tax-banner-left {
    flex-direction: column;
  }

  .tax-banner-photo {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 220px;
  }

  .tax-banner-photo::after {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 48px;
    background: linear-gradient(to bottom, transparent, #E0F0FC);
  }

  .tax-banner-quote-block {
    padding: 20px 22px 8px;
  }

  .tax-banner-right {
    padding: 12px 22px 28px;
  }

  .tax-banner-footer {
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 16px 20px;
  }

  .tax-logo-cra-img {
    width: 186px;
  }

  .tax-logo-rq-img {
    width: 116px;
  }

  .tax-handwritten-img {
    width: 152px;
  }

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

  .cta-banner-overlay {
    padding: 56px 20px;
  }

  .cta-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 54px;
    max-width: 210px;
  }

  .header-container,
  .logo-group {
    height: 54px;
  }

  .header-cta { display: none; }

  .header-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mobile-toggle { display: flex; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 20px;
    display: none;
  }

  .nav-menu.active { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-section {
    min-height: auto;
    padding: 32px 0 24px;
    background-image: url('images/self_employee_hero_img.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
  }

  html[lang="fr"] .hero-section {
    background-image: url('images/hero_FRr.png');
    padding-bottom: 28px;
    min-height: auto;
    background-position: right center;
  }

  .hero-section::before {
    width: 78%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.97) 55%, rgba(255, 255, 255, 0.8) 75%, rgba(255, 255, 255, 0) 100%);
  }

  .hero-title { font-size: 2rem; }

  .designed-lists { grid-template-columns: 1fr; }

  .testimonial-card {
    flex-direction: column;
  }

  .testimonial-img-wrapper {
    width: 100%;
    height: 220px;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    align-items: center;
    flex: none;
    min-width: 0;
  }

  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-contact-item {
    flex: none;
    width: 100%;
    justify-content: flex-start;
  }

  .footer-contact-item:last-child .footer-contact-value {
    max-width: none;
    white-space: normal;
    font-size: 0.85rem;
  }

  .app-badges {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .copyright {
    white-space: normal;
    text-align: center;
  }

  .store-badge {
    width: auto;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }

  .features-bar-card,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .section-title { font-size: 1.55rem; }

  .cta-title { font-size: 1.15rem; }
}
