/* ============================================================
   DEVANTURE — Global Stylesheet
   Votre devanture sur internet.
   ============================================================ */
@import url("tokens.css");

/* ----------------------------------------------------------
   1. EXTENDED CUSTOM PROPERTIES (beyond tokens.css)
   ---------------------------------------------------------- */
:root {
  --surface-alt: #F0EDE8;
  --danger: #ef4444;
  --white: #ffffff;

  --font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  --radius-xl: 24px;
  --radius-full: 100px;

  --shadow-lg: 0 8px 32px rgba(26, 39, 68, 0.18);
  --shadow-primary: 0 0 40px rgba(26, 39, 68, 0.12);

  --transition-fast: .15s ease;
  --transition: .2s ease;
  --transition-slow: .3s ease;
  --transition-slower: .6s ease-out;
}

/* ----------------------------------------------------------
   2. RESET
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ----------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
}

h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 16px; font-weight: 600; }

p {
  margin-bottom: 16px;
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

small { font-size: 14px; }

strong {
  font-weight: 700;
  color: var(--primary);
}

/* ----------------------------------------------------------
   4. LAYOUT — CONTAINER
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-sm { max-width: 768px; }
.container-lg { max-width: 1400px; }

/* ----------------------------------------------------------
   5. SECTIONS
   ---------------------------------------------------------- */
.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background-color: var(--surface);
}

.section-dark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark strong {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, .75);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  margin-bottom: var(--space-sm);
}

.section-title p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------
   6. HEADER / NAV
   ---------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 72px;
  background: rgba(247, 245, 242, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-slow);
}

.header.scrolled {
  background: rgba(247, 245, 242, .95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

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

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

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

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

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

.nav-cta {
  margin-left: 8px;
}

/* Mobile burger */
.burger,
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 60;
  background: none;
  border: none;
  padding: 0;
}

.burger span,
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-slow);
  transform-origin: center;
}

.burger.active span:nth-child(1),
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2),
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3),
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav,
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(247, 245, 242, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 49;
}

.mobile-nav.active,
.mobile-menu.active {
  display: flex;
}

.mobile-nav a,
.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.mobile-nav a:hover,
.mobile-menu a:hover {
  color: var(--accent);
}

/* ----------------------------------------------------------
   7. HERO
   ---------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 var(--space-2xl);
  background: linear-gradient(135deg, var(--primary) 0%, #1E3260 100%);
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--white);
}

.hero h2, .hero h3, .hero h4, .hero strong {
  color: var(--white);
}

.hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, .75);
  margin-bottom: var(--space-lg);
}

.hero-badge {
  display: inline-block;
  padding: var(--space-xs) 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  background: rgba(232, 124, 58, .15);
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, .75);
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-sm);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
}

.hero-device-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

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

/* ----------------------------------------------------------
   8. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: none;
  border-radius: var(--radius);
  min-height: 52px;
  padding: 12px 32px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.btn:active {
  transform: scale(.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 124, 58, .4);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 124, 58, .3);
  color: var(--white);
}

.btn-success {
  background: var(--success);
  color: var(--white);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, .3);
  color: var(--white);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, .3);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 0 16px;
  min-height: 40px;
}

.btn-ghost:hover {
  color: var(--primary);
  background: rgba(26, 39, 68, .05);
}

.btn-lg {
  min-height: 60px;
  padding: 0 40px;
  font-size: 18px;
  border-radius: var(--radius-md);
}

.btn-sm {
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn-header {
  min-height: 46px;
  padding: 0 24px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

.btn:disabled,
.btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ----------------------------------------------------------
   9. CARDS
   ---------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.card > .btn:last-child,
.card > a.btn:last-child {
  margin-top: auto;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--accent);
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.card-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Service card variant */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) 32px;
  text-align: center;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 32px;
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* ----------------------------------------------------------
   10. FORMS
   ---------------------------------------------------------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 124, 58, .15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-error {
  color: var(--danger);
  font-size: 14px;
  margin-top: 4px;
}

.form-hint {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 4px;
}

.form-consent {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 12px;
}

/* Contact form section */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 640px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   11. SCORE GAUGE (SVG circle)
   ---------------------------------------------------------- */
.gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gauge {
  position: relative;
  width: 128px;
  height: 128px;
}

.gauge svg {
  width: 128px;
  height: 128px;
  transform: rotate(-90deg);
}

.gauge circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.gauge .gauge-bg { stroke: var(--border); }
.gauge .gauge-fill { transition: stroke-dashoffset 1s ease-out; }

.gauge-score {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 700;
}

.gauge-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.gauge-good .gauge-fill { stroke: var(--success); }
.gauge-good .gauge-score { color: var(--success); }
.gauge-warning .gauge-fill { stroke: var(--warning); }
.gauge-warning .gauge-score { color: var(--warning); }
.gauge-bad .gauge-fill { stroke: var(--danger); }
.gauge-bad .gauge-score { color: var(--danger); }

/* ----------------------------------------------------------
   12. GRID
   ---------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* ----------------------------------------------------------
   13. BADGES
   ---------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.4;
}

.badge-primary {
  background: rgba(26, 39, 68, .15);
  color: var(--primary-light);
}

.badge-accent {
  background: var(--accent-light);
  color: var(--accent);
}

.badge-success {
  background: rgba(34, 197, 94, .15);
  color: var(--success);
}

.badge-warning {
  background: rgba(245, 158, 11, .15);
  color: var(--warning);
}

.badge-danger {
  background: rgba(239, 68, 68, .15);
  color: var(--danger);
}

/* ----------------------------------------------------------
   14. STEP CARDS (Comment ca marche)
   ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  counter-reset: step-counter;
}

.step {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-accent);
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Connector line between steps (desktop) */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 68px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--border);
}

/* ----------------------------------------------------------
   15. PRICING CARD / PRICE BOX
   ---------------------------------------------------------- */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(232, 124, 58, .15);
}

.pricing-card.featured::before {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.pricing-badge {
  display: inline-block;
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--space-sm);
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: var(--space-md);
}

.pricing-price {
  margin-bottom: 32px;
}

.pricing-price .amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.pricing-price .period {
  font-size: 16px;
  color: var(--text-dim);
  margin-left: 4px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

/* Price box — compact inline variant for tunnel */
.price-box {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  position: relative;
}

.price-box-amount {
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.price-box-label {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.price-box-detail {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   16. FAQ ACCORDION
   ---------------------------------------------------------- */
.faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: 17px;
  color: var(--primary);
  padding: 20px 0;
  transition: color var(--transition);
  user-select: none;
}

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

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-slow);
  color: var(--text-dim);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--primary);
  padding: var(--space-xl) 0 32px;
  color: rgba(255, 255, 255, .7);
}

.footer h2,
.footer h3,
.footer h4,
.footer strong {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: var(--space-sm);
  font-size: 24px;
}

.footer-brand p {
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  line-height: 1.7;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  color: rgba(255, 255, 255, .4);
  font-size: 14px;
}

/* ----------------------------------------------------------
   18. ANIMATIONS — KEYFRAMES
   ---------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: .6; }
  50% { opacity: 1; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInStat {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-slower), transform var(--transition-slower);
}

/* Staggered delays via data-delay */
.animate-on-scroll[data-delay="1"].animated { transition-delay: .2s; }
.animate-on-scroll[data-delay="2"].animated { transition-delay: .4s; }
.animate-on-scroll[data-delay="3"].animated { transition-delay: .6s; }
.animate-on-scroll[data-delay="4"].animated { transition-delay: .8s; }
.animate-on-scroll[data-delay="5"].animated { transition-delay: 1s; }

/* ----------------------------------------------------------
   19. LOADING / COUNTDOWN / PROGRESS
   ---------------------------------------------------------- */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(247, 245, 242, .9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  z-index: 100;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: var(--text-muted);
  font-size: 16px;
  animation: pulse 2s ease-in-out infinite;
}

.countdown-circle {
  position: relative;
  width: 80px;
  height: 80px;
}

.countdown-circle svg {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}

.countdown-circle circle {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.countdown-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-full);
  transition: width .4s ease;
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

/* ----------------------------------------------------------
   20. GRADIENT TEXT
   ---------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----------------------------------------------------------
   21. GLASS EFFECT
   ---------------------------------------------------------- */
.glass {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(26, 39, 68, .08);
}

/* ----------------------------------------------------------
   22. VERDICT CARDS
   ---------------------------------------------------------- */
.verdict {
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
  border-left: 4px solid;
}

.verdict-good {
  border-left-color: var(--success);
  background: rgba(34, 197, 94, .06);
}

.verdict-warning {
  border-left-color: var(--warning);
  background: rgba(245, 158, 11, .06);
}

.verdict-bad {
  border-left-color: var(--danger);
  background: rgba(239, 68, 68, .06);
}

.verdict-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.verdict-good .verdict-title { color: var(--success); }
.verdict-warning .verdict-title { color: var(--warning); }
.verdict-bad .verdict-title { color: var(--danger); }

.verdict-text {
  color: var(--text-muted);
  font-size: 14px;
}

/* ----------------------------------------------------------
   23. PREVIEW FRAME / IFRAME
   ---------------------------------------------------------- */
.preview-frame {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg);
  position: relative;
}

.preview-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.preview-dot:nth-child(1) { background: var(--danger); }
.preview-dot:nth-child(2) { background: var(--warning); }
.preview-dot:nth-child(3) { background: var(--success); }

.preview-url {
  flex: 1;
  margin-left: 12px;
  padding: 6px 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.preview-toggle {
  display: flex;
  gap: 4px;
}

.preview-toggle button {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: all var(--transition);
}

.preview-toggle button.active,
.preview-toggle button:hover {
  background: var(--primary);
  color: var(--white);
}

.preview-frame.mobile iframe {
  max-width: 375px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   23b. MOCKUP FRAMES — Desktop & Mobile embeds
   ---------------------------------------------------------- */
.mockup-desktop {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.mockup-desktop .mockup-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.mockup-desktop .mockup-body {
  position: relative;
  overflow: hidden;
}

.mockup-desktop .mockup-body iframe,
.mockup-desktop .mockup-body img {
  width: 100%;
  display: block;
  border: none;
}

.mockup-mobile {
  background: var(--primary);
  border-radius: 32px;
  padding: 12px;
  max-width: 300px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.mockup-mobile::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, .2);
  border-radius: var(--radius-full);
  z-index: 2;
}

.mockup-mobile .mockup-screen {
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
}

.mockup-mobile .mockup-screen iframe,
.mockup-mobile .mockup-screen img {
  width: 100%;
  display: block;
  border: none;
}

/* ----------------------------------------------------------
   23c. COMPARISON AVANT / APRES
   ---------------------------------------------------------- */
.comparison-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.comparison-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: var(--space-md);
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
}

.comparison-tab {
  padding: 10px 24px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.comparison-tab:hover {
  color: var(--text);
  background: rgba(26, 39, 68, 0.06);
}

.comparison-tab.active {
  background: var(--accent);
  color: var(--white);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.comparison-grid.single-view {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-panel {
  position: relative;
}

.comparison-label {
  position: absolute;
  top: 56px;
  left: 16px;
  z-index: 5;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
  pointer-events: none;
}

.comparison-label-before { background: var(--danger); }
.comparison-label-after { background: var(--success); }

.comparison-label-inline {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
}

.comparison-no-url {
  text-align: center;
  padding: var(--space-lg);
  color: var(--text-dim);
  font-size: 16px;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  margin-top: var(--space-sm);
}

/* Before/After slider component */
.before-after-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  cursor: ew-resize;
  user-select: none;
}

.before-after-slider .before-img,
.before-after-slider .after-img {
  display: block;
  width: 100%;
}

.before-after-slider .before-img {
  position: absolute;
  top: 0;
  left: 0;
  clip-path: inset(0 50% 0 0);
}

.before-after-slider .slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 3;
}

.before-after-slider .slider-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-accent);
}

/* ----------------------------------------------------------
   24. TESTIMONIALS / REVIEW CARDS
   ---------------------------------------------------------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 48px;
  color: var(--accent);
  opacity: .3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  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(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 16px;
}

.testimonial-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-dim);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: var(--warning);
  font-size: 16px;
}

/* Review card — compact grid variant */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--transition-slow);
}

.review-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

.review-card-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-xs);
  color: var(--warning);
  font-size: 14px;
}

.review-card-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  font-style: italic;
}

.review-card-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.review-card-meta {
  font-size: 12px;
  color: var(--text-dim);
}

/* ----------------------------------------------------------
   25. STATS / METRICS
   ---------------------------------------------------------- */
.stat {
  text-align: center;
  padding: var(--space-md);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 15px;
  color: var(--text-muted);
}

/* Stat card with background */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
}

.stat-card .stat-number {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .stat-text {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: var(--space-xs);
  line-height: 1.5;
}

/* ----------------------------------------------------------
   26. DIVIDERS & SEPARATORS
   ---------------------------------------------------------- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.divider-gradient {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-dark), transparent);
  margin: 48px 0;
}

/* ----------------------------------------------------------
   27. TOOLTIP
   ---------------------------------------------------------- */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 40;
}

[data-tooltip]:hover::after {
  opacity: 1;
}

/* ----------------------------------------------------------
   28. TUNNEL PROGRESS BAR (client/ pages)
   ---------------------------------------------------------- */
.tunnel-progress {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 45;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.tunnel-progress-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.tunnel-step {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
}

.tunnel-step.active {
  color: var(--accent);
}

.tunnel-step.completed {
  color: var(--success);
}

.tunnel-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--border);
  color: var(--text-dim);
  flex-shrink: 0;
}

.tunnel-step.active .tunnel-step-dot {
  background: var(--accent);
  color: var(--white);
}

.tunnel-step.completed .tunnel-step-dot {
  background: var(--success);
  color: var(--white);
}

.tunnel-step-line {
  width: 32px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}

.tunnel-step.completed + .tunnel-step-line,
.tunnel-step-line.completed {
  background: var(--success);
}

/* ----------------------------------------------------------
   29. CTA SECTION
   ---------------------------------------------------------- */
.cta-section {
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.cta-section h2 {
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.cta-section p {
  color: rgba(255, 255, 255, .75);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA variant — light background */
.cta-section-light {
  background: var(--surface);
  color: var(--text);
}

.cta-section-light h2 {
  color: var(--primary);
}

.cta-section-light p {
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   30. TABLES
   ---------------------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.table-wrapper table {
  min-width: 600px;
}

.table-wrapper th {
  background: var(--surface-alt);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  padding: 14px 16px;
  text-align: left;
}

.table-wrapper td {
  padding: 14px 16px;
  font-size: 14px;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.table-wrapper tr:hover td {
  background: rgba(26, 39, 68, .03);
}

/* ----------------------------------------------------------
   31. MODAL / DIALOG
   ---------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 39, 68, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.95);
  transition: transform var(--transition-slow);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(26, 39, 68, .05);
  color: var(--primary);
}

/* ----------------------------------------------------------
   32. ALERT / NOTICE
   ---------------------------------------------------------- */
.alert {
  padding: var(--space-sm) 20px;
  border-radius: var(--radius);
  border-left: 4px solid;
  margin-bottom: var(--space-sm);
  font-size: 14px;
}

.alert-info {
  border-left-color: var(--primary);
  background: rgba(26, 39, 68, .08);
  color: var(--primary-light);
}

.alert-success {
  border-left-color: var(--success);
  background: rgba(34, 197, 94, .08);
  color: var(--success);
}

.alert-warning {
  border-left-color: var(--warning);
  background: rgba(245, 158, 11, .08);
  color: var(--warning);
}

.alert-danger {
  border-left-color: var(--danger);
  background: rgba(239, 68, 68, .08);
  color: var(--danger);
}

/* ----------------------------------------------------------
   33. CAROUSEL — Portfolio showcase
   ---------------------------------------------------------- */
.carousel-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.carousel-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  min-width: 280px;
}

.carousel-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}

.carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.carousel-mockup {
  position: relative;
}

.carousel-browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(26, 39, 68, .04);
  border-bottom: 1px solid var(--border);
}

.chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.chrome-dot.red { background: #ef4444; }
.chrome-dot.yellow { background: #f59e0b; }
.chrome-dot.green { background: #22c55e; }

.carousel-screenshot-wrapper {
  height: 380px;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}

.carousel-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform .6s ease;
}

.carousel-card:hover .carousel-screenshot {
  transform: scale(1.04);
}

.carousel-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.carousel-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  display: block;
}

.carousel-city {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
  padding: 0;
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.carousel-arrow-left { left: 4px; }
.carousel-arrow-right { right: 4px; }

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
}

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

.carousel-dot:hover,
.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ----------------------------------------------------------
   34. CHECKLIST
   ---------------------------------------------------------- */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
}

.checklist li::before {
  content: '\2713';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ----------------------------------------------------------
   35. SCROLLBAR
   ---------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* ----------------------------------------------------------
   36. SELECTION
   ---------------------------------------------------------- */
::selection {
  background: rgba(232, 124, 58, .25);
  color: var(--primary);
}

/* ----------------------------------------------------------
   37. LOADING STATS SIDEBAR
   ---------------------------------------------------------- */
.loading-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.loading-stats .stat-card {
  display: none;
  animation: fadeInStat .5s ease;
}

.loading-stats .stat-card.active {
  display: block;
}

/* ----------------------------------------------------------
   38. UTILITY — TEXT
   ---------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-white { color: var(--white); }
.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: .05em; }
.leading-tight { line-height: 1.2; }
.leading-relaxed { line-height: 1.8; }

/* ----------------------------------------------------------
   39. UTILITY — SPACING
   ---------------------------------------------------------- */
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }

.px-2 { padding-left: 8px; padding-right: 8px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }

.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

/* ----------------------------------------------------------
   40. UTILITY — FLEX & LAYOUT
   ---------------------------------------------------------- */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* ----------------------------------------------------------
   41. UTILITY — WIDTH
   ---------------------------------------------------------- */
.w-full { width: 100%; }
.max-w-xs { max-width: 320px; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 768px; }
.max-w-xl { max-width: 960px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------
   42. UTILITY — MISC
   ---------------------------------------------------------- */
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }
.opacity-50 { opacity: .5; }
.opacity-70 { opacity: .7; }

.border { border: 1px solid var(--border); }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }

.shadow { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.bg-surface { background-color: var(--surface); }
.bg-surface-alt { background-color: var(--surface-alt); }
.bg-bg { background-color: var(--bg); }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Visibility helpers */
.desktop-only { display: block; }
.btn.desktop-only { display: inline-flex; }
.nav.desktop-only { display: flex; }
.mobile-only { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ----------------------------------------------------------
   43. MOBILE RESPONSIVE — max-width 768px
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .carousel-slide {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .carousel-wrapper {
    padding: 0 50px;
  }

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

  .comparison-panel iframe {
    height: 500px !important;
  }
}

@media (max-width: 768px) {
  /* Grids stack */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Sections */
  .section {
    padding: var(--space-xl) 0;
  }

  .section-title {
    margin-bottom: var(--space-lg);
  }

  /* Header / Nav */
  .nav { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero {
    padding: var(--space-2xl) 0 var(--space-xl);
    min-height: auto;
  }

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

  .hero-content {
    text-align: center !important;
  }

  .hero-ctas {
    justify-content: center !important;
  }

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

  .hero-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-visual {
    display: none;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Cards */
  .card {
    padding: 24px;
  }

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

  .footer-brand {
    max-width: none;
  }

  /* Steps */
  .step:not(:last-child)::after {
    display: none;
  }

  /* Pricing */
  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-price .amount {
    font-size: 40px;
  }

  /* Carousel mobile */
  .carousel-slide {
    flex: 0 0 85%;
  }

  .carousel-wrapper {
    padding: 0 16px;
  }

  .carousel-arrow {
    display: none;
  }

  .carousel-screenshot-wrapper {
    height: 300px;
  }

  /* Touch targets WCAG 44px min */
  footer a, .mobile-menu a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
  }

  /* Buttons full-width on mobile */
  .btn-block-mobile {
    width: 100%;
  }

  /* Visibility helpers */
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .mobile-menu-btn.mobile-only,
  .burger.mobile-only {
    display: flex !important;
  }

  /* Preview frame */
  .preview-frame iframe {
    height: 400px;
  }

  /* Stat numbers */
  .stat-number {
    font-size: 36px;
  }

  /* Container */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Modal */
  .modal {
    padding: 24px;
  }

  /* FAQ */
  .faq-question {
    font-size: 15px;
  }

  /* CTA */
  .cta-section {
    padding: var(--space-xl) 0;
  }

  /* Tunnel progress */
  .tunnel-step span:not(.tunnel-step-dot) {
    display: none;
  }

  /* Comparison */
  .comparison-tabs {
    flex-wrap: wrap;
  }

  .comparison-panel iframe {
    height: 400px !important;
  }

  /* Loading layout */
  .loading-layout {
    grid-template-columns: 1fr;
  }

  /* Mockups */
  .mockup-desktop {
    max-width: 100%;
  }

  .mockup-mobile {
    max-width: 240px;
  }

  /* Price box */
  .price-box-amount {
    font-size: 44px;
  }
}

/* ----------------------------------------------------------
   44. SMALL SCREENS — max-width 480px
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .section {
    padding: 48px 0;
  }

  .btn-lg {
    min-height: 52px;
    padding: 0 28px;
    font-size: 16px;
  }

  .stat-number {
    font-size: 32px;
  }

  .gauge {
    width: 100px;
    height: 100px;
  }

  .gauge svg {
    width: 100px;
    height: 100px;
  }

  .gauge-score {
    font-size: 26px;
  }
}

/* ----------------------------------------------------------
   45. PRINT STYLES
   ---------------------------------------------------------- */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .header,
  .footer,
  .burger,
  .mobile-nav,
  .btn,
  .cta-section,
  .loading-overlay,
  .modal-overlay,
  .preview-toggle,
  .tunnel-progress {
    display: none !important;
  }

  .section {
    padding: 24px 0;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 10pt;
  }

  .card,
  .pricing-card,
  .testimonial {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   46. REDUCED MOTION
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* ----------------------------------------------------------
   47. FOCUS VISIBLE (Accessibility)
   ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ----------------------------------------------------------
   48. SKIP LINK (Accessibility)
   ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  z-index: 10000;
  transition: top .2s;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ----------------------------------------------------------
   END OF STYLESHEET
   ---------------------------------------------------------- */
