/* ============================================
   CUSTOM PROPERTIES
============================================ */
:root {
  --primary: #1a1a1a;
  --accent: #2d6a4f;
  --accent-hover: #245a42;
  --accent-light: #40916c;
  --bg: #f5f0e8;
  --bg-warm: #ede8dd;
  --bg-warm-alt: #e8e0d2;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-light: #f5f0e8;
  --white: #ffffff;

  --font-body: 'Instrument Sans', -apple-system, sans-serif;
  --font-heading: 'Instrument Serif', Georgia, serif;

  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-lg: 32px;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
}

h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

/* Arabic font override */
[lang="ar"] {
  --font-body: 'IBM Plex Sans Arabic', -apple-system, sans-serif;
  --font-heading: 'IBM Plex Sans Arabic', -apple-system, sans-serif;
}

/* Hebrew font override */
[lang="he"] {
  --font-body: 'Heebo', -apple-system, sans-serif;
  --font-heading: 'Heebo', -apple-system, sans-serif;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-dark {
  background: var(--primary);
  color: var(--text-light);
}
.btn-dark:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

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

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(245, 240, 232, 0.3);
}
.btn-outline-light:hover {
  background: rgba(245, 240, 232, 0.1);
  border-color: rgba(245, 240, 232, 0.6);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* ============================================
   LANGUAGE SWITCHER
============================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-warm);
  border: 1px solid var(--bg-warm-alt);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-switcher button {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.lang-switcher button.active {
  background: var(--primary);
  color: var(--text-light);
}

.lang-switcher button:hover:not(.active) {
  color: var(--text);
}

.mobile-lang-switcher {
  display: flex;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.mobile-lang-switcher button {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--bg-warm-alt);
  transition: all 0.2s ease;
}

.mobile-lang-switcher button.active {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

/* ============================================
   NAVBAR
============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-contact {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav-contact:hover { color: var(--text); }

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text);
}

/* Mobile Nav */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg);
  z-index: 201;
  padding: var(--space-2xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.active {
  right: 0;
}

/* RTL: mobile nav slides from left */
[dir="rtl"] .mobile-nav {
  right: auto;
  left: -320px;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
[dir="rtl"] .mobile-nav.active {
  left: 0;
}

.mobile-nav-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text);
}

[dir="rtl"] .mobile-nav-close {
  align-self: flex-start;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: var(--space-sm) 0;
  color: var(--text);
}

.mobile-nav .btn {
  margin-top: var(--space-md);
  text-align: center;
  justify-content: center;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  padding-top: var(--space-5xl);
  padding-bottom: 0;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: var(--bg-warm);
  border: 1px solid var(--bg-warm-alt);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
}
.hero-badge i { color: var(--accent); }

.hero-headline {
  max-width: 900px;
  margin: 0 auto var(--space-lg);
}

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

.inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 5vw, 56px);
  height: clamp(40px, 5vw, 56px);
  border-radius: 50%;
  font-size: clamp(18px, 2.5vw, 26px);
  vertical-align: middle;
  margin: 0 4px;
  position: relative;
  top: -4px;
}

.inline-icon--green {
  background: var(--accent);
  color: var(--white);
}
.inline-icon--green-light {
  background: var(--accent-light);
  color: var(--white);
}
.inline-icon--warm {
  background: #c2956a;
  color: var(--white);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-3xl);
  line-height: 1.7;
}

/* Hero dark curved section */
.hero-dark {
  background: var(--primary);
  border-radius: 40px 40px 0 0;
  margin-top: var(--space-xl);
  padding: var(--space-3xl) var(--space-lg) var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.hero-dark-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
  position: relative;
  z-index: 2;
}

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

/* Dashboard mockup */
.hero-mockup {
  width: 100%;
  max-width: 820px;
  background: #242424;
  border-radius: var(--radius-card);
  padding: var(--space-md);
  position: relative;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid #333;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}
.mockup-dot:first-child { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-url {
  margin-left: var(--space-md);
  background: #333;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.75rem;
  color: #888;
  flex: 1;
  max-width: 300px;
}

[dir="rtl"] .mockup-url {
  margin-left: 0;
  margin-right: var(--space-md);
}

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

.mockup-stat {
  background: #2a2a2a;
  border-radius: 12px;
  padding: var(--space-lg);
}

.mockup-stat-label {
  font-size: 0.7rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.mockup-stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-light);
}

.mockup-stat-change {
  font-size: 0.75rem;
  color: var(--accent-light);
  margin-top: var(--space-xs);
}

.mockup-chart {
  grid-column: 1 / -1;
  background: #2a2a2a;
  border-radius: 12px;
  padding: var(--space-lg);
}

.mockup-chart-title {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.mockup-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.mockup-bar-item {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}

/* Decorative elements in hero dark */
.hero-decor-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-decor-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255,165,0,0.15) 0%, transparent 70%);
  bottom: 40px;
  right: -60px;
}

.hero-badge-arrow {
  margin-inline-start: 2px;
}

[dir="rtl"] .hero-badge-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .ph-arrow-right {
  transform: scaleX(-1);
}

/* ============================================
   SOCIAL PROOF
============================================ */
.social-proof {
  padding: var(--space-3xl) 0;
}

.social-proof-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.logo-item {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  opacity: 0.25;
  transition: opacity 0.3s ease;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-item:hover { opacity: 0.5; }

.logo-item--serif {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.logo-item--caps {
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

/* ============================================
   FEATURES SECTION
============================================ */
.features {
  padding: var(--space-4xl) 0;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-heading {
  max-width: 480px;
  margin-bottom: var(--space-md);
}

.section-desc {
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: var(--space-3xl);
  line-height: 1.7;
}

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

.feature-card {
  background: var(--bg-warm);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.feature-card--highlight {
  grid-column: span 2;
  background: var(--primary);
  color: var(--text-light);
}
.feature-card--highlight .feature-title { color: var(--text-light); }
.feature-card--highlight .feature-desc { color: #aaa; }
.feature-card--highlight .feature-icon { background: #2a2a2a; color: var(--accent-light); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-warm-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.feature-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
============================================ */
.how-it-works {
  padding: var(--space-4xl) 0;
}

.hiw-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.hiw-header .section-heading {
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

.hiw-header .section-desc {
  max-width: 500px;
  margin: 0 auto;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

/* Connecting line */
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.666% + 24px);
  right: calc(16.666% + 24px);
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--bg-warm-alt) 0,
    var(--bg-warm-alt) 8px,
    transparent 8px,
    transparent 16px
  );
}

.hiw-step {
  text-align: center;
  position: relative;
}

.hiw-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 2px solid var(--bg-warm-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent);
  position: relative;
  z-index: 2;
}

.hiw-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.hiw-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   TESTIMONIAL
============================================ */
.testimonial {
  padding: var(--space-4xl) 0;
}

.testimonial-inner {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl) var(--space-2xl);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.testimonial-quote-mark {
  font-family: var(--font-heading);
  font-size: 8rem;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.2;
  user-select: none;
}

.testimonial-content {
  padding-top: var(--space-md);
}

.testimonial-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.5;
  margin-bottom: var(--space-xl);
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

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

/* ============================================
   PRICING SECTION
============================================ */
.pricing {
  padding: var(--space-4xl) 0;
}

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

.pricing-heading {
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

.pricing-desc {
  max-width: 500px;
  margin: 0 auto;
}

/* Billing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--bg-warm);
  border: 1px solid var(--bg-warm-alt);
  border-radius: var(--radius-pill);
  padding: 4px;
  width: fit-content;
  margin: 0 auto var(--space-2xl);
}

.pricing-tab {
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.pricing-tab.active {
  background: var(--primary);
  color: var(--text-light);
}

.pricing-tab:hover:not(.active) {
  color: var(--text);
}

/* Pricing Card */
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(45,106,79,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-card-top {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pricing-plan-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: var(--space-md);
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-sm);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--text-light);
}

.pricing-period {
  font-size: 1rem;
  color: #888;
}

/* Features List */
.pricing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: #ccc;
}

.pricing-feature i {
  color: var(--accent-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Add-ons */
.pricing-addons {
  margin-bottom: var(--space-xl);
}

.pricing-addons-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: var(--space-md);
}

.pricing-addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  margin-bottom: var(--space-sm);
}

.pricing-addon-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: #ccc;
}

.pricing-addon-info i {
  color: var(--accent-light);
  font-size: 1.1rem;
}

.pricing-addon-price {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* CTA Button */
.pricing-cta {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
}

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

@media (max-width: 480px) {
  .pricing-card {
    padding: var(--space-xl) var(--space-md);
  }
}

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

.cta-inner {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-4xl) var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,106,79,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(64,145,108,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Dot pattern */
.cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

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

.cta-heading {
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.cta-desc {
  color: #999;
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--bg-warm-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.footer-simple {
  text-align: center;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  padding: 4px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--bg-warm-alt);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--text); }

/* ============================================
   ANIMATIONS
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--highlight {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .nav-contact { display: none; }
  .nav-actions .btn { display: none; }
  .mobile-toggle { display: none; }
  .mobile-overlay, .mobile-nav { display: none !important; }

  .nav-actions .lang-switcher {
    display: flex;
  }

  .lang-switcher button {
    padding: 4px 10px;
    font-size: 0.75rem;
  }

  .hero { padding-top: var(--space-4xl); }
  h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }

  .inline-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    top: -2px;
  }

  .hero-dark {
    border-radius: 24px 24px 0 0;
    padding: var(--space-2xl) var(--space-md) var(--space-3xl);
  }

  .mockup-body {
    grid-template-columns: 1fr 1fr;
  }

  .mockup-stat:nth-child(3) {
    grid-column: span 2;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card--highlight {
    grid-column: span 1;
  }

  .hiw-steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .hiw-steps::before { display: none; }

  .testimonial-inner {
    grid-template-columns: 1fr;
    padding: var(--space-2xl) var(--space-lg);
  }
  .testimonial-quote-mark {
    font-size: 5rem;
  }

  .cta-inner {
    padding: var(--space-3xl) var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .logo-row {
    gap: var(--space-xl);
  }

  .logo-item { font-size: 1rem; }
  .logo-item--serif { font-size: 1.2rem; }
  .logo-item--caps { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
  }
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
