@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

/* ==========================================================================
   GHABREEZ - AI-POWERED CUSTOMER SERVICE PLATFORM
   Authentic Zendesk Professional Enterprise Design System
   Harmonized with Ghabreez Official Brand Palette & Logo Colors
   ========================================================================== */

:root {
  /* Ghabreez Official Brand Palette (from Logo & Palette) */
  --brand-cyan: #00ACE0;            /* Vibrant Electric Cyan (Logo Primary) */
  --brand-cyan-hover: #0096C7;      /* Hover State Cyan */
  --brand-cyan-active: #0082AD;
  --brand-cyan-subtle: rgba(0, 172, 224, 0.10);
  --brand-cyan-border: rgba(0, 172, 224, 0.28);
  --brand-cyan-glow: 0 0 32px rgba(0, 172, 224, 0.25);

  --brand-royal: #26377F;           /* Royal Cobalt Blue (Palette Swatch) */
  --brand-royal-hover: #1E2D69;     /* Deepened Royal Blue */
  --brand-royal-dark: #162252;
  --brand-royal-subtle: rgba(38, 55, 127, 0.08);
  --brand-royal-border: rgba(38, 55, 127, 0.18);

  --brand-indigo: #262151;          /* Midnight Indigo (Palette Swatch) */
  --brand-violet-deep: #1B005A;     /* Deep Violet (Palette Gradient) */
  --brand-dark-surface: #120E29;    /* Deep Midnight Surface */
  --brand-dark-slate: #16132D;      /* Dark Showcase & Footer Canvas */

  /* Neutral System (Clean, Breathable, Calm Enterprise Architecture) */
  --brand-white: #FFFFFF;
  --brand-stone: #F6F8FB;           /* Clean cool stone (harmonizes with blue/cyan) */
  --brand-stone-light: #FAFBFE;
  --brand-stone-dark: #EEF2F6;
  --brand-border: #DDE4ED;          /* Subtle clean grey border */
  --brand-border-subtle: #EBF0F5;

  --brand-text-main: #0F172A;       /* High-clarity Slate Charcoal */
  --brand-text-muted: #475569;
  --brand-text-light: #64748B;
  --brand-text-inv: #FFFFFF;
  --brand-text-inv-muted: rgba(255, 255, 255, 0.82);

  /* Zendesk Variable Aliases to Brand Tokens */
  --zd-black: var(--brand-text-main);
  --zd-dark-slate: var(--brand-dark-slate);
  --zd-lime: #d1f470;
  --zd-lime-hover: #c2e860;
  --zd-forest: var(--brand-royal);
  --zd-forest-dark: var(--brand-royal-dark);
  --zd-green-text: var(--brand-royal);
  --zd-green-accent: var(--brand-cyan);

  --zd-white: var(--brand-white);
  --zd-stone: var(--brand-stone);
  --zd-stone-light: var(--brand-stone-light);
  --zd-stone-dark: var(--brand-stone-dark);
  --zd-border: var(--brand-border);
  --zd-border-subtle: var(--brand-border-subtle);

  --zd-text-main: var(--brand-text-main);
  --zd-text-muted: var(--brand-text-muted);
  --zd-text-light: var(--brand-text-light);
  --zd-text-inv: var(--brand-text-inv);
  --zd-text-inv-muted: var(--brand-text-inv-muted);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Radii (Clean, Rounded Enterprise Standards) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Elevation (Subtle, Restrained) */
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-dropdown: 0 16px 36px rgba(15, 23, 42, 0.1);

  /* Layout */
  --container-max: 1320px;
  --container-pad: clamp(16px, 4vw, 40px);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--zd-white);
  color: var(--zd-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ==========================================================================
   TOP PROMO BAR
   ========================================================================== */
.promo-bar {
  background-color: var(--brand-indigo);
  color: var(--zd-white);
  padding: 10px var(--container-pad);
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
}

.promo-bar.hidden {
  display: none;
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.promo-tag {
  background: var(--zd-forest);
  color: var(--zd-lime);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.promo-link {
  color: var(--zd-lime);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.promo-link:hover {
  opacity: 0.85;
}

.promo-close {
  position: absolute;
  right: clamp(12px, 3vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  padding: 6px;
  border-radius: 4px;
  transition: color 0.2s;
}

.promo-close:hover {
  color: var(--zd-white);
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--zd-white);
  border-bottom: 1px solid var(--zd-border-subtle);
  z-index: 90;
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(17, 17, 13, 0.06);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 1.4375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-indigo);
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--zd-text-main);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background-color 0.15s;
}

.nav-link:hover {
  background-color: var(--zd-stone);
  color: var(--zd-black);
}

.nav-link svg {
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Professional Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  background-color: var(--zd-white);
  border: 1px solid var(--zd-border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(2px);
  pointer-events: auto;
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.dropdown-link:hover {
  background-color: var(--zd-stone);
}

.dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--zd-stone-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zd-forest);
  flex-shrink: 0;
  margin-top: 2px;
}

.dropdown-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--zd-black);
  margin-bottom: 2px;
}

.dropdown-desc {
  font-size: 0.75rem;
  color: var(--zd-text-muted);
  line-height: 1.35;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Zendesk Official Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--zd-lime);
  color: #121212;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  background-color: var(--zd-lime-hover);
  color: #121212;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--zd-black);
  border: 1px solid var(--zd-black);
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.04);
  border-color: #000000;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--zd-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--zd-white);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}

.mobile-toggle {
  display: none;
  padding: 8px;
  color: var(--zd-black);
}

/* ==========================================================================
   HERO SECTION (Zendesk Full-Width Photographic Architecture)
   ========================================================================== */
.hero-section {
  padding: 0 clamp(12px, 1.8vw, 24px) clamp(20px, 3vw, 36px);
  background-color: var(--zd-white);
  border-bottom: none;
}

.hero-fullwidth-banner {
  position: relative;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  border-radius: clamp(20px, 2.2vw, 32px);
  overflow: hidden;
  min-height: clamp(560px, 78vh, 740px);
  display: flex;
  align-items: center;
  background-color: #1F1914;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.hero-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 20% center;
  display: block;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, 
    rgba(22, 17, 13, 0.96) 0%, 
    rgba(22, 17, 13, 0.90) 36%, 
    rgba(22, 17, 13, 0.62) 56%, 
    rgba(22, 17, 13, 0.18) 78%, 
    rgba(22, 17, 13, 0.0) 100%
  );
}

/* RTL support for Arabic */
[dir="rtl"] .hero-bg-img,
body.rtl-mode .hero-bg-img {
  object-position: right 20% center;
  transform: scaleX(-1);
}

[dir="rtl"] .hero-banner-overlay,
body.rtl-mode .hero-banner-overlay {
  background: linear-gradient(270deg, 
    rgba(22, 17, 13, 0.96) 0%, 
    rgba(22, 17, 13, 0.90) 36%, 
    rgba(22, 17, 13, 0.62) 56%, 
    rgba(22, 17, 13, 0.18) 78%, 
    rgba(22, 17, 13, 0.0) 100%
  );
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}

.hero-text-block {
  max-width: 640px;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 20px;
  display: inline-block;
  opacity: 0.92;
}

.hero-title {
  font-size: clamp(2.3rem, 4.3vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-trust-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.hero-trust-check {
  color: #FFFFFF;
  flex-shrink: 0;
}

.hero-signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
}

.hero-form-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.hero-email-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #FFFFFF;
  color: #0F172A;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hero-email-input:focus {
  border-color: #d1f470;
  box-shadow: 0 0 0 3px rgba(209, 244, 112, 0.35);
}

.btn-hero-trial {
  background-color: #d1f470;
  color: #121212;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background-color 0.15s, transform 0.15s;
}

.btn-hero-trial:hover {
  background-color: #c2e860;
  transform: translateY(-1px);
}

.hero-privacy-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

.hero-privacy-note a {
  text-decoration: underline;
  color: #FFFFFF;
  font-weight: 500;
}

/* Floating AI Agent Dialogue Cards (matching Zendesk screenshot) */
.hero-chat-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 360px;
  margin-left: auto;
  align-self: flex-end;
  padding-bottom: 24px;
}

[dir="rtl"] .hero-chat-cards-stack,
body.rtl-mode .hero-chat-cards-stack {
  margin-left: 0;
  margin-right: auto;
}

.hero-chat-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #121212;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-chat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26);
}

.hero-chat-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-chat-avatar-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #111827;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-chat-author-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #111827;
}

.hero-chat-bubble-text {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #1F2937;
  font-weight: 500;
  margin: 0;
}

/* Discreet Bottom Slider Switcher Pills */
.hero-bottom-slider-nav {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(18, 14, 10, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 90%;
  overflow-x: auto;
}

.hero-bottom-slider-nav .hero-slide-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hero-bottom-slider-nav .hero-slide-tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

.hero-bottom-slider-nav .hero-slide-tab.active {
  color: #121212;
  background: #d1f470;
}

.hero-bottom-slider-nav .tab-index {
  font-size: 0.6875rem;
  opacity: 0.8;
}

/* Floating Zendesk-Style Messenger Launcher */
.floating-chat-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111827;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s;
}

.floating-chat-trigger:hover {
  transform: scale(1.08);
  background: #000000;
}

[dir="rtl"] .floating-chat-trigger,
body.rtl-mode .floating-chat-trigger {
  right: auto;
  left: 24px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-fullwidth-banner {
    min-height: auto;
  }
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    padding: 48px 28px 72px;
    gap: 32px;
  }
  .hero-banner-overlay {
    background: rgba(22, 17, 13, 0.88);
  }
  [dir="rtl"] .hero-banner-overlay,
  body.rtl-mode .hero-banner-overlay {
    background: rgba(22, 17, 13, 0.88);
  }
  .hero-chat-cards-stack {
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    align-self: center;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 0 8px 24px;
  }
  .hero-fullwidth-banner {
    border-radius: 16px;
  }
  .hero-content-wrapper {
    padding: 32px 18px 64px;
  }
  .hero-form-row {
    flex-direction: column;
  }
  .btn-hero-trial {
    width: 100%;
  }
  .hero-bottom-slider-nav {
    display: none;
  }
}

/* ==========================================================================
   LOGO WALL (Clean, Understated)
   ========================================================================== */
.logo-wall-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--zd-border-subtle);
  background-color: var(--zd-white);
  text-align: center;
}

.logo-wall-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zd-text-muted);
  margin-bottom: 28px;
}

.logo-wall-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
}

.brand-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--zd-text-light);
  cursor: default;
  transition: color 0.15s;
}

.brand-logo-text:hover {
  color: var(--zd-black);
}

.brand-logo-img {
  max-height: 28px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: all 0.25s ease;
  cursor: default;
  display: inline-block;
  vertical-align: middle;
}

.brand-logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTION COMMON HEADER
   ========================================================================== */
.section-header-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

.section-supertitle {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zd-forest);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--zd-black);
  margin-bottom: 18px;
}

.section-desc {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  color: var(--zd-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   AI THAT GETS SMARTER WITH EVERY RESOLUTION
   ========================================================================== */
.smarter-section {
  padding: clamp(70px, 9vw, 110px) 0;
  background-color: var(--zd-white);
}

.smarter-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}

.smarter-card {
  background-color: var(--zd-stone);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--zd-border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.smarter-card-num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--zd-forest);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.smarter-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--zd-black);
  margin-bottom: 12px;
}

.smarter-card-desc {
  font-size: 0.9375rem;
  color: var(--zd-text-muted);
  line-height: 1.55;
}

/* Stats Callout Banner */
.stats-callout-banner {
  background: linear-gradient(135deg, var(--brand-indigo) 0%, #1A153A 100%); color: var(--zd-white);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 48px);
  border: 1px solid var(--zd-border);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 36px;
}

.stats-callout-title {
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--zd-white);
}

.stats-metrics-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.stats-metric-col {
  display: flex;
  flex-direction: column;
}

.stats-big-num {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-cyan);
  margin-bottom: 6px;
}

.stats-label {
  font-size: 0.8125rem;
  color: var(--zd-text-muted);
  font-weight: 600;
}

/* ==========================================================================
   PARTNERSHIP STORY SPOTLIGHT
   ========================================================================== */
.story-spotlight-section {
  padding: 40px 0;
  background-color: var(--zd-white);
}

.story-card {
  background-color: var(--zd-stone);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border: 1px solid var(--zd-border-subtle);
}

.story-content {
  padding: clamp(36px, 5vw, 64px);
}

.story-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zd-forest);
  margin-bottom: 12px;
}

.story-title {
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--zd-black);
  margin-bottom: 20px;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--zd-black);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.story-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   ZENDESK SIGNATURE DARK GREEN ACCORDION / TABS
   ("Designed for AI-first customer service")
   ========================================================================== */
.designed-section {
  padding: clamp(70px, 9vw, 110px) 0;
  background-color: var(--zd-white);
}

.designed-container {
  background-color: #161B26;
  border: 1px solid #283348;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--zd-white);
  padding: clamp(40px, 6vw, 64px);
}

.designed-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 48px);
}

.designed-header .section-title {
  color: var(--zd-white);
}

.designed-header .section-desc {
  color: var(--zd-text-inv-muted);
}

.designed-cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* Vertical Tab Box */
.designed-tab-box {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #0F141F;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #283348;
  min-height: 480px;
}

.designed-tabs-nav {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #283348;
}

.designed-tab-btn {
  padding: 24px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  position: relative;
  background: transparent;
  cursor: pointer;
}

.designed-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--zd-white);
}

.designed-tab-btn.active {
  background: #1A2232;
  color: var(--zd-white);
}

.designed-tab-btn.active::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand-cyan);
}

.designed-tab-panels {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  align-items: center;
}

.designed-tab-panel {
  display: none;
  width: 100%;
}

.designed-tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.designed-panel-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--zd-lime);
  margin-bottom: 10px;
}

.designed-panel-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--zd-white);
  margin-bottom: 14px;
}

.designed-panel-desc {
  font-size: 1rem;
  color: var(--zd-text-inv-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.designed-panel-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.designed-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--zd-white);
}

.designed-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(209, 244, 112, 0.2);
  color: var(--zd-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.designed-panel-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.designed-panel-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   CROSS-DEPARTMENT SOLUTIONS
   ========================================================================== */
.solutions-section {
  padding: clamp(70px, 9vw, 110px) 0;
  background-color: var(--zd-stone);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.solution-card {
  background-color: var(--zd-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--zd-border-subtle);
  display: flex;
  flex-direction: column;
}

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

.solution-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--zd-forest);
  margin-bottom: 8px;
}

.solution-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--zd-black);
  margin-bottom: 12px;
}

.solution-desc {
  font-size: 0.9375rem;
  color: var(--zd-text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}

.solution-link {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--zd-black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Gartner Magic Quadrant Callout */
.gartner-banner {
  background-color: var(--zd-white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid var(--zd-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.gartner-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--zd-forest);
  margin-bottom: 8px;
}

.gartner-title {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--zd-black);
  margin-bottom: 8px;
}

.gartner-desc {
  font-size: 0.9375rem;
  color: var(--zd-text-muted);
}

/* ==========================================================================
   BUILT FOR BUSINESSES OF ALL SIZES (Customer Proof)
   ========================================================================== */
.proof-section {
  padding: clamp(70px, 9vw, 110px) 0;
  background-color: var(--zd-white);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.proof-metrics-row {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}

.proof-big-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--zd-forest);
  line-height: 1;
  margin-bottom: 6px;
}

.proof-label {
  font-size: 0.875rem;
  color: var(--zd-text-muted);
  font-weight: 600;
}

.proof-quote-box {
  background-color: var(--zd-stone);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--zd-border-subtle);
}

.proof-quote {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--zd-black);
  margin-bottom: 24px;
}

.proof-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--zd-black);
}

.proof-author-title {
  font-size: 0.875rem;
  color: var(--zd-text-muted);
}

/* ==========================================================================
   CONNECT YOUR ECOSYSTEM
   ========================================================================== */
.ecosystem-section {
  padding: clamp(60px, 8vw, 90px) 0;
  background-color: var(--zd-stone);
  border-top: 1px solid var(--zd-border-subtle);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.ecosystem-card {
  background-color: var(--zd-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--zd-border-subtle);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.15s;
}

.ecosystem-card:hover {
  border-color: var(--zd-border);
}

.ecosystem-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: var(--zd-stone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--zd-forest);
  flex-shrink: 0;
}

.ecosystem-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--zd-black);
}

.ecosystem-detail {
  font-size: 0.75rem;
  color: var(--zd-text-muted);
}

/* ==========================================================================
   PRICING BUILT FOR YOUR SUCCESS
   ========================================================================== */
.pricing-section {
  padding: clamp(70px, 9vw, 110px) 0;
  background-color: var(--zd-white);
}

.billing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.billing-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--zd-text-muted);
  cursor: pointer;
}

.billing-label.active {
  color: var(--zd-black);
  font-weight: 700;
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background-color: var(--zd-stone-dark);
  border-radius: var(--radius-pill);
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s;
  border: 1px solid var(--zd-border);
}

.toggle-knob {
  width: 22px;
  height: 22px;
  background-color: var(--zd-black);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.toggle-switch.annual {
  background-color: var(--brand-cyan);
}

.toggle-switch.annual .toggle-knob {
  transform: translateX(23px);
  background-color: #0A192F;
}

.discount-badge {
  background: var(--brand-cyan-subtle);
  color: #007AA3;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--zd-white);
  border: 1px solid var(--zd-border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--brand-cyan);
  background: #FAFCFE;
  box-shadow: 0 12px 36px rgba(0, 172, 224, 0.12);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-cyan);
  color: #0A192F;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--zd-black);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--zd-text-muted);
  min-height: 40px;
  margin-bottom: 24px;
}

.plan-price-wrapper {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--zd-border-subtle);
}

.plan-price {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--zd-black);
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-price-currency {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 700;
}

.plan-period {
  font-size: 0.8125rem;
  color: var(--zd-text-muted);
  margin-top: 4px;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--zd-text-main);
}

.plan-check-icon {
  color: var(--zd-forest);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   FAQ SECTION (Clean Accordion)
   ========================================================================== */
.faq-section {
  padding: clamp(70px, 9vw, 110px) 0;
  background-color: var(--zd-stone);
}

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

.faq-item {
  background: var(--zd-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--zd-border-subtle);
  overflow: hidden;
}

.faq-summary {
  list-style: none;
  padding: 22px 28px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--zd-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--zd-stone);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-summary-icon {
  transform: rotate(180deg);
  background: var(--zd-forest);
  color: var(--zd-lime);
}

.faq-content {
  padding: 0 28px 22px 28px;
  font-size: 0.9375rem;
  color: var(--zd-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   LAUNCH YOUR FIRST AI AGENT TODAY (Final CTA)
   ========================================================================== */
.final-cta-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background-color: var(--zd-white);
  text-align: center;
}

.final-cta-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--zd-black);
  margin-bottom: 28px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   COMPREHENSIVE MULTI-COLUMN FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--brand-dark-slate);
  color: var(--zd-white);
  padding: clamp(60px, 8vw, 90px) 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: clamp(32px, 4vw, 48px);
  margin-bottom: 64px;
}

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

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

.footer-logo .logo-text {
  color: var(--zd-white);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--zd-text-inv-muted);
  line-height: 1.55;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zd-lime);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--zd-text-inv-muted);
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--zd-lime);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social-links {
  display: flex;
  gap: 14px;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zd-white);
  transition: background 0.15s, color 0.15s;
}

.footer-social-link:hover {
  background: var(--brand-cyan);
  color: #0A192F;
}

/* ==========================================================================
   MODALS (<dialog>)
   ========================================================================== */
dialog {
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  max-width: 500px;
  width: 90vw;
  margin: auto;
  background: var(--zd-white);
  overflow: hidden;
}

dialog::backdrop {
  background: rgba(17, 17, 13, 0.6);
  backdrop-filter: blur(4px);
}

.modal-inner {
  padding: clamp(28px, 5vw, 40px);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--zd-black);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--zd-stone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zd-black);
  cursor: pointer;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--zd-black);
}

.form-input {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--zd-border);
  font-size: 0.9375rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--zd-black);
}

.toast-success {
  display: none;
  background: var(--zd-forest);
  color: var(--zd-lime);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 14px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 13, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 340px;
  background: var(--zd-white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-item a {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--zd-black);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

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

  .designed-tabs-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .designed-tab-btn {
    padding: 16px 20px;
    white-space: nowrap;
    border-bottom: none;
  }

  .designed-tab-btn.active::after {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
  }

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

  .stats-callout-banner {
    grid-template-columns: 1fr;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-slides {
    height: 520px;
  }

  .hero-media-ui-overlay {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 14px 16px;
  }

  .hero-overlay-action {
    display: none;
  }

  .hero-form-row {
    flex-direction: column;
  }

  .stats-metrics-row {
    flex-direction: column;
    gap: 16px;
  }

  .proof-metrics-row {
    flex-direction: column;
    gap: 16px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   BILINGUAL & LANGUAGE SWITCHER COMPONENT
   ========================================================================== */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid var(--brand-border);
  background: var(--brand-white);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-royal);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.lang-switch-btn:hover {
  border-color: var(--brand-cyan);
  background: var(--brand-stone);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 172, 224, 0.15);
}

.lang-switch-btn .lang-globe {
  font-size: 1rem;
  line-height: 1;
}

.lang-switch-btn .lang-label {
  letter-spacing: -0.01em;
}

/* ==========================================================================
   ARABIC & RIGHT-TO-LEFT (RTL) STYLES
   ========================================================================== */
[dir="rtl"],
body.rtl-mode {
  font-family: 'Cairo', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .site-header .header-inner,
body.rtl-mode .site-header .header-inner {
  flex-direction: row;
}

[dir="rtl"] .logo-wrapper,
body.rtl-mode .logo-wrapper {
  margin-left: 0;
  margin-right: 0;
}

[dir="rtl"] .dropdown-menu,
body.rtl-mode .dropdown-menu {
  left: auto;
  right: 0;
  text-align: right;
}

[dir="rtl"] .dropdown-link,
body.rtl-mode .dropdown-link {
  text-align: right;
}

[dir="rtl"] .promo-bar .promo-content,
body.rtl-mode .promo-bar .promo-content {
  flex-direction: row;
}

[dir="rtl"] .promo-close,
body.rtl-mode .promo-close {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .hero-media-ui-overlay,
body.rtl-mode .hero-media-ui-overlay {
  left: auto;
  right: 28px;
  text-align: right;
}

[dir="rtl"] .hero-overlay-tag,
body.rtl-mode .hero-overlay-tag {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-control-btn.prev,
body.rtl-mode .hero-control-btn.prev {
  left: auto;
  right: 18px;
}

[dir="rtl"] .hero-control-btn.next,
body.rtl-mode .hero-control-btn.next {
  right: auto;
  left: 18px;
}

[dir="rtl"] .hero-control-btn svg,
body.rtl-mode .hero-control-btn svg {
  transform: rotate(180deg);
}

[dir="rtl"] .progress-tab,
body.rtl-mode .progress-tab {
  text-align: right;
}

[dir="rtl"] .stats-metrics-row,
body.rtl-mode .stats-metrics-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .modal-header,
body.rtl-mode .modal-header {
  flex-direction: row-reverse;
}

[dir="rtl"] .modal-form,
body.rtl-mode .modal-form {
  text-align: right;
}

[dir="rtl"] .form-input,
body.rtl-mode .form-input {
  text-align: right;
}

[dir="rtl"] .footer-links,
body.rtl-mode .footer-links {
  text-align: right;
}

[dir="rtl"] .footer-bottom,
body.rtl-mode .footer-bottom {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-tabs,
body.rtl-mode .auth-tabs {
  flex-direction: row;
}

[dir="rtl"] .subdomain-input-group,
body.rtl-mode .subdomain-input-group {
  flex-direction: row-reverse;
}

[dir="rtl"] .subdomain-suffix,
body.rtl-mode .subdomain-suffix {
  border-left: none;
  border-right: 1px solid var(--brand-border);
}

/* ==========================================================================
   ENTERPRISE MOVEMENTS & LIVE RESOLUTION STREAM TICKER
   Corporate Motion System (Zendesk-Grade Micro-Interactions)
   ========================================================================== */

/* 1. Live Resolution Stream Ticker Bar */
.live-stream-ticker {
  background-color: #121824;
  border-top: 1px solid #1E293B;
  border-bottom: 1px solid #1E293B;
  color: #F8FAFC;
  padding: 10px 0;
  font-size: 0.8125rem;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.live-stream-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.live-stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34D399;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: liveDotPulse 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes liveDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.ticker-content-track {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-item.active {
  opacity: 1;
  transform: translateY(0);
}

.ticker-metric-pill {
  background: #1E293B;
  color: #38BDF8;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.ticker-text-body {
  color: #E2E8F0;
  font-weight: 500;
}

.ticker-text-body strong {
  color: #FFFFFF;
}

.ticker-meta-detail {
  color: #94A3B8;
  font-size: 0.75rem;
}

.ticker-meta-detail strong {
  color: #34D399;
}

.ticker-stat-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.ticker-stat-val {
  color: #FFFFFF;
  font-weight: 700;
}

.ticker-stat-divider {
  color: #334155;
  margin: 0 2px;
}

/* 2. Scroll Reveal Animations (Calm Corporate Motion) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 3. Hero Slide Tab Linear Progress Fill */
.hero-slide-tab {
  position: relative;
  overflow: hidden;
}

.hero-slide-tab .tab-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--brand-cyan);
  transition: width 0.2s linear;
}

.hero-slide-tab.active .tab-progress-bar {
  width: 100%;
  transition: width 5.5s linear;
}

/* 4. Corporate Subtle Elevation on Interactive Cards */
.solution-card,
.smarter-card,
.resource-card,
.pricing-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.solution-card:hover,
.smarter-card:hover,
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

/* 5. Telemetry Number Transition */
.stats-big-num {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  display: inline-block;
  transition: color 0.3s ease;
}

/* RTL Layout for Live Stream Ticker */
[dir="rtl"] .live-stream-inner,
body.rtl-mode .live-stream-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .ticker-item,
body.rtl-mode .ticker-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-slide-tab .tab-progress-bar,
body.rtl-mode .hero-slide-tab .tab-progress-bar {
  left: auto;
  right: 0;
}

@media (max-width: 900px) {
  .ticker-stat-cluster {
    display: none;
  }
}

@media (max-width: 600px) {
  .live-stream-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ticker-item {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-slide-tab .tab-progress-bar {
    display: none !important;
  }
  .ticker-live-dot {
    animation: none !important;
  }
}

