/* ============================================
   Qualight Landing Page — landing.css
   Standalone styles (does NOT import main.css)
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Lavender */
  --primary: #7c6fb0;
  --primary-light: #a89fd4;
  --primary-dark: #5b5291;
  --primary-bg: #f0edf7;

  /* Sage */
  --accent: #7eb8a2;
  --accent-light: #a8d5c3;
  --accent-dark: #5d9a82;
  --accent-bg: #edf7f3;

  /* Peach */
  --highlight: #e8a87c;
  --highlight-light: #f0c5a8;
  --highlight-dark: #d4895a;
  --highlight-bg: #fdf3ec;

  /* Backgrounds */
  --bg-cream: #faf8f5;
  --bg-alt-cream: #f5f2ed;
  --bg-hero-dark: #2d2654;
  --bg-hero-darker: #1a1540;
  --bg-white: #ffffff;

  /* Text */
  --text-dark: #3a3552;
  --text-secondary: #6b6584;
  --text-muted: #7a7490;
  --text-on-dark: #eae7f2;

  /* Misc */
  --radius: 12px;
  --radius-sm: 8px;
  --tr: 0.3s ease;
  --shadow-card: 0 2px 12px rgba(60, 50, 90, 0.08);
  --shadow-card-hover: 0 8px 28px rgba(60, 50, 90, 0.14);
  --max-w: 1200px;
  --navbar-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
}

body {
  font-family: 'Exo 2', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

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

.section {
  padding: 96px 0;
}

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

.section-label {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-h);
  z-index: 1000;
  transition: background var(--tr), box-shadow var(--tr);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(60, 50, 90, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-logo span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-on-dark);
  transition: color var(--tr);
}

.navbar.scrolled .nav-logo span {
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(234, 231, 242, 0.8);
  transition: color var(--tr);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width var(--tr);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-on-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--primary);
}

.navbar.scrolled .nav-links a::after {
  background: var(--primary);
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--primary);
  color: #fff;
  transition: background var(--tr), transform var(--tr);
}

.nav-login-mobile,
.nav-login-mobile-text {
  display: none;
}

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

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform var(--tr), opacity var(--tr);
}

.navbar.scrolled .nav-hamburger span {
  background: var(--text-dark);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--bg-hero-dark) 0%, var(--bg-hero-darker) 100%);
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(124, 111, 176, 0.25) 0%, transparent 70%);
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(126, 184, 162, 0.2) 0%, transparent 70%);
}

.hero-orb--3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle, rgba(232, 168, 124, 0.15) 0%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px;
}

.hero-title {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title em {
  font-style: normal;
  color: var(--primary-light);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-on-dark);
  opacity: 0.85;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 111, 176, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border: 2px solid rgba(234, 231, 242, 0.35);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-on-dark);
  opacity: 0.75;
}

.hero-badge-icon {
  color: var(--highlight);
  font-size: 1rem;
}

/* ========== ABOUT ========== */
.about {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--tr), box-shadow var(--tr);
  border: 1px solid transparent;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-bg);
}

.about-card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== FEATURES ========== */
.features {
  background: var(--bg-cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--tr), box-shadow var(--tr);
  border: 1px solid rgba(124, 111, 176, 0.08);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.feature-icon--lavender { background: var(--primary-bg); }
.feature-icon--sage     { background: var(--accent-bg); }
.feature-icon--peach    { background: var(--highlight-bg); }

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  background: var(--bg-white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connector line */
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-light), var(--highlight-light), var(--primary-light));
  border-radius: 2px;
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 18px;
  position: relative;
}

.step:nth-child(1) .step-number { background: var(--primary); }
.step:nth-child(2) .step-number { background: var(--accent); }
.step:nth-child(3) .step-number { background: var(--highlight); }
.step:nth-child(4) .step-number { background: var(--primary-dark); }

.step-number::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.2;
}

.step:nth-child(1) .step-number::after { border-color: var(--primary); }
.step:nth-child(2) .step-number::after { border-color: var(--accent); }
.step:nth-child(3) .step-number::after { border-color: var(--highlight); }
.step:nth-child(4) .step-number::after { border-color: var(--primary-dark); }

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 220px;
  margin: 0 auto;
}

/* ========== STANDARDS ========== */
.standards {
  background: var(--primary-bg);
}

.standards-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.standards-text h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.standards-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.standards-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--primary);
}

.standards-card h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

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

.standards-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.standards-list-item .icon {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== ROLES ========== */
.roles {
  background: var(--bg-white);
}

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

.role-card {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--tr), box-shadow var(--tr);
  border: 1px solid transparent;
}

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

.role-card:nth-child(1):hover { border-color: var(--primary-light); }
.role-card:nth-child(2):hover { border-color: var(--accent-light); }
.role-card:nth-child(3):hover { border-color: var(--highlight-light); }
.role-card:nth-child(4):hover { border-color: var(--primary-light); }

.role-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.role-card:nth-child(1) .role-icon { background: var(--primary-bg); }
.role-card:nth-child(2) .role-icon { background: var(--accent-bg); }
.role-card:nth-child(3) .role-icon { background: var(--highlight-bg); }
.role-card:nth-child(4) .role-icon { background: var(--primary-bg); }

.role-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.role-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ========== PRICING ========== */
.pricing {
  background: var(--bg-cream);
}

/* Currency toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.pricing-toggle-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--tr);
  cursor: default;
}

.pricing-toggle-label--active {
  color: var(--primary);
}

.pricing-toggle-switch {
  width: 52px;
  height: 28px;
  border-radius: 50px;
  background: var(--bg-alt-cream);
  border: 2px solid rgba(124, 111, 176, 0.2);
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: background var(--tr), border-color var(--tr);
}

.pricing-toggle-switch:hover {
  border-color: var(--primary-light);
}

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  transition: transform var(--tr);
}

.pricing-toggle-switch.active .pricing-toggle-knob {
  transform: translateX(24px);
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

/* Featured card */
.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-card-hover);
  padding-top: 48px;
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-card-name {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-amount {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.pricing-currency {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-card-price--custom {
  min-height: 44px;
  align-items: center;
}

.pricing-amount-custom {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
}

/* Features list */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Pricing CTA button */
.btn-pricing {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid var(--primary-light);
  background: transparent;
  color: var(--primary);
  transition: background var(--tr), color var(--tr), transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  margin-top: auto;
}

.btn-pricing:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 111, 176, 0.25);
}

.btn-pricing--featured {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-pricing--featured:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Nav buttons group */
.nav-buttons-desktop {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-login-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(234, 231, 242, 0.8);
  transition: color var(--tr);
}

.nav-login-text:hover {
  color: var(--text-on-dark);
}

.navbar.scrolled .nav-login-text {
  color: var(--text-secondary);
}

.navbar.scrolled .nav-login-text:hover {
  color: var(--primary);
}

/* ========== TRUST BAR ========== */
.trust-bar {
  background: var(--bg-white);
  padding: 28px 0;
  border-bottom: 1px solid rgba(124, 111, 176, 0.08);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.trust-icon {
  font-size: 1.2rem;
}

/* ========== ROI / NUMBERS ========== */
.roi {
  background: var(--bg-white);
}

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

.roi-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius);
  background: var(--bg-cream);
  border: 1px solid transparent;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.roi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-bg);
}

.roi-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.roi-unit {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-left: 2px;
}

.roi-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.roi-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ========== DEMO VIDEO ========== */
.demo-video {
  background: var(--bg-cream);
}

.demo-video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.demo-video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-hero-dark), var(--bg-hero-darker));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}

.demo-video-placeholder::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  top: -50px;
  right: -50px;
  background: radial-gradient(circle, rgba(124, 111, 176, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.demo-video-play {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(124, 111, 176, 0.3);
  border: 2px solid rgba(168, 159, 212, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr), transform var(--tr);
}

.demo-video-placeholder:hover .demo-video-play {
  background: rgba(124, 111, 176, 0.5);
  transform: scale(1.08);
}

.demo-play-icon {
  color: #fff;
  font-size: 2rem;
  margin-left: 4px;
}

.demo-video-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.demo-video-subtext {
  font-size: 0.85rem;
  color: rgba(234, 231, 242, 0.6);
}

/* ========== COMPARISON TABLE ========== */
.comparison {
  background: var(--bg-cream);
}

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-width: 600px;
}

.comparison-table thead {
  background: var(--bg-alt-cream);
}

.comparison-table th {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 20px;
  text-align: center;
  color: var(--text-dark);
  border-bottom: 2px solid rgba(124, 111, 176, 0.1);
}

.comparison-feature-col {
  text-align: left !important;
  width: 30%;
}

.comparison-col {
  width: 23.3%;
}

.comparison-col--qualight {
  background: var(--primary-bg);
  color: var(--primary-dark) !important;
}

.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(124, 111, 176, 0.06);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-dark);
}

.comparison-table td:last-child {
  background: rgba(240, 237, 247, 0.3);
}

.comparison-table tbody tr:hover {
  background: rgba(124, 111, 176, 0.03);
}

.comparison-table tbody tr:hover td:last-child {
  background: rgba(240, 237, 247, 0.5);
}

.cmp-good {
  color: var(--accent-dark);
  font-weight: 600;
}

.cmp-mid {
  color: var(--highlight-dark);
  font-weight: 500;
}

.cmp-bad {
  color: #c0392b;
  font-weight: 500;
}

.cmp-yes {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.cmp-no {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--primary-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--tr), box-shadow var(--tr);
  position: relative;
}

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

.testimonial-quote {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Client logos */
.clients-bar {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(124, 111, 176, 0.1);
}

.clients-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.client-logo-placeholder {
  width: 120px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px dashed rgba(124, 111, 176, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========== FAQ ========== */
.faq {
  background: var(--bg-white);
}

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

.faq-item {
  background: var(--bg-cream);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr);
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(124, 111, 176, 0.12);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: color var(--tr);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--tr);
  font-weight: 300;
  width: 24px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(160deg, var(--bg-hero-dark) 0%, var(--bg-hero-darker) 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(124, 111, 176, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-on-dark);
  opacity: 0.8;
  margin-bottom: 32px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-hero-darker);
  padding: 60px 0 0;
  color: var(--text-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(234, 231, 242, 0.1);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 32px;
  height: 32px;
}

.footer-logo span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(234, 231, 242, 0.6);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(234, 231, 242, 0.6);
  padding: 4px 0;
  transition: color var(--tr);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(234, 231, 242, 0.4);
}

/* ========== RESPONSIVE ========== */

/* --- Tablet / ≤ 1200px --- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .steps::before {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

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

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* --- Mobile / ≤ 768px --- */
@media (max-width: 768px) {
  :root {
    --navbar-h: 64px;
  }

  .section {
    padding: 64px 0;
  }

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

  /* Navbar mobile */
  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    flex-direction: column;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--tr), opacity var(--tr);
  }

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

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-links a {
    color: var(--text-dark) !important;
    padding: 12px 0;
    width: 100%;
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-login-mobile-text {
    display: block;
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary) !important;
    padding: 8px 0;
  }

  .nav-login-mobile-text:hover {
    color: var(--primary) !important;
  }

  .nav-login-mobile {
    display: inline-flex;
    margin-top: 8px;
  }

  .nav-login-desktop {
    display: none;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

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

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-badges {
    flex-direction: column;
    gap: 12px;
  }

  /* Grids */
  .about-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .standards-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .roles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .roi-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonials-grid .testimonial-card:last-child {
    max-width: 100%;
  }

  .trust-bar-inner {
    gap: 20px;
    justify-content: center;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  .comparison-table {
    min-width: 560px;
  }

  .clients-logos {
    gap: 20px;
  }

  .nav-buttons-desktop {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-section h2 {
    font-size: 1.7rem;
  }
}

/* --- Small mobile / ≤ 480px --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .hero-cta {
    flex-direction: column;
  }

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

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

  .feature-card,
  .about-card {
    padding: 24px 20px;
  }
}
