/* =============================================
   TABYON – PREMIUM B2B LANDING PAGE
   style.css
============================================= */

/* --- CSS Variables --- */
:root {
  --yellow: #FFD000;
  --yellow-light: #FFF0A0;
  --yellow-dark: #E6BB00;
  --blue: #01659A;
  --blue-light: #E8F4FD;
  --blue-dark: #014f79;
  --black: #0A0A0B;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;

  --font-en: 'Inter', system-ui, sans-serif;
  --font-ar: 'Cairo', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);

  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  --nav-height: 92px;
  --container-width: 1200px;
  --section-pad: 100px;
}

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

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

body {
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

/* Arabic language direction */
[lang="ar"] body,
body.rtl {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

body.rtl .step-connector i,
body.rtl .hero-ctas,
body.rtl .trust-indicators {
  flex-direction: row-reverse;
}

body.rtl .category-features li,
body.rtl .trust-item,
body.rtl .gcc-market-item,
body.rtl .footer-socials,
body.rtl .footer-badges,
body.rtl .footer-bottom {
  flex-direction: row-reverse;
}

body.rtl .nav-inner {
  flex-direction: row-reverse;
}
body.rtl .nav-links {
  flex-direction: row-reverse;
}
body.rtl .nav-actions {
  flex-direction: row-reverse;
}

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

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--gray-600); }

.text-accent-yellow { color: var(--yellow-dark); }
.text-accent-blue { color: var(--blue); }

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

section {
  padding: var(--section-pad) 0;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 4px 14px rgba(255, 208, 0, 0.35);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 208, 0, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-xl { padding: 16px 36px; font-size: 1.05rem; }

.btn-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
  transition: gap var(--transition), color var(--transition);
}
.btn-category:hover { gap: 10px; color: var(--blue-dark); }
.btn-category svg { width: 16px; height: 16px; }

/* =============================================
   SECTION HEADER
============================================= */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { margin: 12px 0 16px; }
.section-header p { font-size: 1.05rem; line-height: 1.7; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =============================================
   ANIMATIONS
============================================= */
.fade-in,
.fade-in-delay {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-delay { transition-delay: 0.2s; }

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

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes flow-dot {
  0% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* =============================================
   NAVBAR
============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background: rgba(10, 15, 30, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
.navbar.scrolled .nav-logo img {
  filter: none;
}


.logo-text-fallback {
  display: none;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.logo-t {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 8px;
  font-weight: 900;
  font-size: 1.1rem;
  margin-right: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition);
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

/* When scrolled — switch to dark text on white bg */
.navbar.scrolled .nav-links a { color: var(--gray-700); }
.navbar.scrolled .nav-links a:hover { background: var(--gray-100); color: var(--gray-900); }
.navbar.scrolled .nav-logo .logo-text-fallback { color: var(--gray-900); }

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition);
}
.lang-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.lang-toggle svg { width: 16px; height: 16px; }

/* Default (dark navbar) — always white */
.lang-toggle {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  color: white;
}

/* Scrolled — switch to light theme */
.navbar.scrolled .lang-toggle {
  background: var(--white);
  border-color: var(--gray-200);
  color: var(--gray-600);
}
.navbar.scrolled .lang-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--gray-700); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transform: translateY(-110%);
  transition: transform var(--transition-slow);
  border-bottom: 1px solid var(--gray-200);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}
.mobile-menu a:hover { background: var(--gray-100); }
.mobile-menu .btn-primary {
  margin-top: 8px;
  justify-content: center;
}

/* =============================================
   HERO SECTION
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gray-900) 0%, #0d1f35 50%, var(--blue-dark) 100%);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-shape-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: rgba(255, 208, 0, 0.08);
}
.hero-shape-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: rgba(1, 101, 154, 0.15);
}
.hero-shape-3 {
  width: 300px; height: 300px;
  top: 40%; left: 40%;
  background: rgba(255, 208, 0, 0.05);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-content { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 208, 0, 0.15);
  border: 1px solid rgba(255, 208, 0, 0.3);
  border-radius: var(--radius-full);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero-headline {
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-headline br { display: block; }

.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-ctas .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.hero-ctas .btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255,208,0,0.05);
}

.trust-indicators {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.trust-item svg { width: 16px; height: 16px; color: var(--yellow); flex-shrink: 0; }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* Flow Card */
.flow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 28px 24px;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  flex: 0 0 100px;
}
.node-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.flow-node span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}
.flow-node small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

.flow-arrow {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}
.flow-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,208,0,0.2), rgba(255,208,0,0.6));
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.flow-dot {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: flow-dot 2.5s ease-in-out infinite;
}
.flow-line:last-child .flow-dot { animation-delay: 1.25s; }

.flow-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.platform-logo {
  width: 44px; height: 44px;
  background: var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--black);
}
.flow-platform > span {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Mini Stat Cards */
.mini-stat-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-xl);
  animation: float 4s ease-in-out infinite;
}
.mini-stat-card.card-1 {
  bottom: -24px;
  left: -24px;
  animation-delay: 0.5s;
}
.mini-stat-card.card-2 {
  top: -20px;
  right: -20px;
  animation-delay: 1s;
}
.mini-stat-card.card-3 {
  bottom: 40px;
  right: -32px;
  animation-delay: 1.5s;
}

.mini-stat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mini-stat-icon svg { width: 18px; height: 18px; color: var(--white); }
.mini-stat-icon.yellow { background: var(--yellow); }
.mini-stat-icon.yellow svg { color: var(--black); }
.mini-stat-icon.blue { background: var(--blue); }
.mini-stat-icon.green { background: #10B981; }

.mini-stat-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}
.mini-stat-label {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  border-radius: 2px;
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* =============================================
   STATS SECTION
============================================= */
.stats-section {
  padding: 64px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

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

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-item:nth-child(odd) .stat-number { color: var(--blue); }
.stat-item:nth-child(even) .stat-number { color: var(--yellow-dark); }

/* Divider between stats */
.stats-grid .stat-item + .stat-item {
  border-left: 1px solid var(--gray-200);
}
[dir="rtl"] .stats-grid .stat-item + .stat-item {
  border-left: none;
  border-right: 1px solid var(--gray-200);
}

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

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  transition: all var(--transition-slow);
  position: relative;
}
.step-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-card:hover .step-icon {
  background: var(--blue);
}
.step-card:hover .step-icon svg { color: var(--white); }

.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.step-icon {
  width: 52px; height: 52px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.step-icon svg { width: 24px; height: 24px; color: var(--blue); transition: color var(--transition); }

.step-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.step-card p { font-size: 0.88rem; line-height: 1.65; }

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  color: var(--gray-300);
}
.step-connector svg { width: 20px; height: 20px; }

/* =============================================
   PRODUCT CATEGORIES
============================================= */
.categories { background: var(--gray-50); }

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

.category-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: transparent;
}

.category-visual {
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beauty-visual {
  background: linear-gradient(135deg, #FFF0F5 0%, #FFE4ED 50%, #FFF8E1 100%);
}
.tech-visual {
  background: linear-gradient(135deg, #E8F4FD 0%, #D1ECF9 50%, #E8F0FE 100%);
}

.category-bg-shape {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.beauty-visual .category-bg-shape {
  background: radial-gradient(circle, rgba(255,182,193,0.3) 0%, transparent 70%);
}
.tech-visual .category-bg-shape {
  background: radial-gradient(circle, rgba(1,101,154,0.12) 0%, transparent 70%);
}

.category-icons-group {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cat-icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.cat-icon-circle svg { width: 26px; height: 26px; }

.beauty-visual .cat-icon-circle {
  background: rgba(255,255,255,0.8);
  box-shadow: 0 4px 16px rgba(255,100,150,0.15);
}
.beauty-visual .cat-icon-circle svg { color: #E84785; }

.tech-visual .cat-icon-circle {
  background: rgba(255,255,255,0.8);
  box-shadow: 0 4px 16px rgba(1,101,154,0.12);
}
.tech-visual .cat-icon-circle svg { color: var(--blue); }

.cat-icon-circle.c2 {
  width: 72px; height: 72px;
  margin-top: -20px;
}
.cat-icon-circle.c2 svg { width: 30px; height: 30px; }

.category-emoji {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 2.5rem;
  opacity: 0.6;
}

.category-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.category-info h3 { margin-bottom: 10px; }
.category-info > p { font-size: 0.9rem; margin-bottom: 20px; flex: 1; }

.category-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.category-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-700);
}
.category-features svg {
  width: 15px; height: 15px;
  color: var(--blue);
  flex-shrink: 0;
}

/* =============================================
   WHY TABYON
============================================= */
.why-tabyon { background: var(--white); }

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

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition-slow);
}
.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon.yellow { background: rgba(255,208,0,0.12); }
.feature-icon.yellow svg { color: var(--yellow-dark); }
.feature-icon.blue { background: var(--blue-light); }
.feature-icon.blue svg { color: var(--blue); }

.feature-card h4 { margin-bottom: 10px; font-size: 0.95rem; }
.feature-card p { font-size: 0.85rem; line-height: 1.65; }

/* =============================================
   GCC FOCUS SECTION
============================================= */
.gcc-focus {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--blue-light) 100%);
}

.gcc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.gcc-content .section-badge { margin-bottom: 16px; }
.gcc-content h2 { margin-bottom: 16px; }
.gcc-content > p { margin-bottom: 36px; font-size: 1rem; }

.gcc-markets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.gcc-market-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.gcc-market-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.gcc-flag {
  font-size: 1.8rem;
  line-height: 1;
}
.gcc-market-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-900);
}
.gcc-market-item span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Map Visualization */
.gcc-visual { display: flex; justify-content: center; }

.map-container {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.map-bg {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.map-svg { width: 100%; height: auto; }

.pulse-ring {
  animation: pulse-ring 3s ease-out infinite;
  transform-origin: 200px 175px;
}

.dhl-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  white-space: nowrap;
}
.dhl-logo {
  background: #FFCC00;
  color: #D40511;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.dhl-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}

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

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

.testimonial-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
  background: var(--white);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 4rem;
  line-height: 0.8;
  color: var(--blue);
  font-family: Georgia, serif;
  margin-bottom: 16px;
  opacity: 0.4;
}

.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--gray-700);
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-900);
}
.author-info span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* =============================================
   CTA SECTION
============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, #0d1f35 60%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,208,0,0.06);
  filter: blur(40px);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(1,101,154,0.12);
  filter: blur(40px);
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.cta-inner .cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,208,0,0.15);
  border: 1px solid rgba(255,208,0,0.3);
  border-radius: var(--radius-full);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.cta-inner .cta-badge svg { width: 14px; height: 14px; }

.cta-inner h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-inner > p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.cta-note svg { width: 16px; height: 16px; color: rgba(255,208,0,0.6); }

/* =============================================
   CONTACT SECTION
============================================= */
.contact-section { background: var(--gray-50); }

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

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.contact-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.contact-icon svg { width: 26px; height: 26px; }
.contact-icon.yellow { background: rgba(255,208,0,0.12); }
.contact-icon.yellow svg { color: var(--yellow-dark); }
.contact-icon.blue { background: var(--blue-light); }
.contact-icon.blue svg { color: var(--blue); }

.contact-card h4 { margin-bottom: 10px; font-size: 1rem; }
.contact-value {
  display: block;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.contact-value:hover { color: var(--blue-dark); }
.contact-note {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* =============================================
   FOOTER
============================================= */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.65);
}

.footer-top {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo-img {
  height: 54px;
  width: auto;
  /* brighten dark text to white without touching the yellow */
  filter: brightness(10);
}
.footer-brand .logo-text-fallback { color: var(--white); }

.footer-desc {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.social-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.social-icon:hover {
  background: var(--blue);
}
.social-icon svg { width: 17px; height: 17px; color: rgba(255,255,255,0.7); }
.social-icon:hover svg { color: var(--white); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a,
.footer-col span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle-footer {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
}
.lang-toggle-footer:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}

.footer-badges {
  display: flex;
  gap: 10px;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.footer-badge svg { width: 13px; height: 13px; }

/* =============================================
   BACK TO TOP
============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 900;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}
.back-to-top svg { width: 18px; height: 18px; }

[dir="rtl"] .back-to-top { right: auto; left: 28px; }

/* =============================================
   RESPONSIVE – TABLET (768px–1024px)
============================================= */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step-connector {
    padding: 8px 0;
    transform: rotate(90deg);
    margin: 4px auto;
  }
  .hero-inner { gap: 40px; }
}

@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(3) { border-left: none; }
  .stats-grid .stat-item:nth-child(odd) { border-right: 1px solid var(--gray-200); }
  .gcc-inner { gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-desc { max-width: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .categories-grid { grid-template-columns: 1fr; }
  .gcc-inner { grid-template-columns: 1fr; }
  .gcc-visual { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   RESPONSIVE – MOBILE (<768px)
============================================= */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding-top: calc(var(--nav-height) + 16px); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  .trust-indicators { gap: 14px; }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stats-grid .stat-item + .stat-item { border-left: none; }
  .stats-grid .stat-item:nth-child(odd) { border-right: 1px solid var(--gray-200); }
  .stats-grid .stat-item:nth-child(3),
  .stats-grid .stat-item:nth-child(4) {
    border-top: 1px solid var(--gray-200);
  }

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

  .gcc-markets { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom-right { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .stat-item + .stat-item { border: none; border-top: 1px solid var(--gray-200); }
  .stats-grid .stat-item:nth-child(odd) { border-right: none; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .footer-links { grid-template-columns: 1fr; }
  .hero-badge { font-size: 0.72rem; }
}

/* =============================================
   RTL OVERRIDES
============================================= */
body.rtl {
  direction: rtl;
  font-family: var(--font-ar);
}
body.rtl .hero-headline { letter-spacing: 0; }
body.rtl .step-connector i { transform: rotate(180deg); }
body.rtl .btn-category i { transform: rotate(180deg); }
body.rtl .gcc-content .btn i { transform: rotate(180deg); }

body.rtl .stats-grid .stat-item + .stat-item {
  border-left: none;
  border-right: 1px solid var(--gray-200);
}

body.rtl .mini-stat-card.card-1 { left: auto; right: -24px; }
body.rtl .mini-stat-card.card-2 { right: auto; left: -20px; }
body.rtl .mini-stat-card.card-3 { right: auto; left: -32px; }

body.rtl .category-emoji { right: auto; left: 20px; }

body.rtl .footer-desc { margin-left: 0; max-width: none; }

body.rtl .back-to-top { right: auto; left: 28px; }
