/* =============================================
   Hydra Platform - Main Stylesheet
   ============================================= */

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

/* =============================================
   CSS Variables
   ============================================= */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --mid: #475569;
  --light-text: #94a3b8;
  --lighter: #cbd5e1;
  --lightest: #e2e8f0;
  --white: #ffffff;
  --bg-light: #f8faff;
  --bg-section: #f1f5f9;
  
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c2340 100%);
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-blue: 0 10px 40px rgba(37,99,235,0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  
  --font-main: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-ar: 'Cairo', 'Tajawal', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0; /* prevent flex/grid children from overflowing */
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden; /* prevent horizontal scroll on html element */
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

body[dir="rtl"] {
  font-family: 'Cairo', 'Tajawal', 'Plus Jakarta Sans', sans-serif;
}

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

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

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

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

/* =============================================
   Utility Classes
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-light { color: var(--light-text); }

.bg-dark { background: var(--dark); }
.bg-section { background: var(--bg-section); }
.bg-primary { background: var(--primary); }
.bg-gradient { background: var(--gradient-primary); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

/* =============================================
   Typography
   ============================================= */
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
}

.section-title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 18px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 680px;
}

.section-desc.centered {
  margin: 0 auto;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(37,99,235,0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}

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

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

.btn-lg {
  padding: 18px 42px;
  font-size: 17px;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

/* =============================================
   Navigation
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  /* No overflow:hidden here — allows dropdown panels to escape the navbar bounds */
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1), 0 4px 20px rgba(0,0,0,0.3);
}

.navbar.light-mode {
  background: transparent;
}

.navbar.light-mode.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
  /* overflow: hidden removed — it clipped dropdown menus.
     Horizontal overflow is already prevented by html/body overflow-x:hidden */
}

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

.nav-logo img {
  height: 44px;
  width: auto;
  /* Invert to white on dark navbar so the logo reads cleanly */
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* When navbar is in light mode (white bg after scroll), restore natural logo colors */
.navbar.light-mode.scrolled .nav-logo img {
  filter: none;
}

.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.nav-logo-text span {
  color: var(--accent);
  transition: color 0.3s ease;
}

/* Light-mode navbar (other pages with white navbar) */
.light-mode .nav-logo-text {
  color: var(--dark);
}

.light-mode .nav-logo-text span {
  color: var(--primary);
}

/* After scroll on light-mode pages — navbar becomes fully white */
.navbar.light-mode.scrolled .nav-logo-text {
  color: var(--dark);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

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

.light-mode .nav-link {
  color: var(--dark-3);
}

.light-mode .nav-link:hover {
  color: var(--primary);
  background: rgba(37,99,235,0.06);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1100;
}

[dir="rtl"] .dropdown {
  left: auto;
  right: 0;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  color: var(--dark);
}

.dropdown-item:hover {
  background: var(--bg-section);
  color: var(--primary);
}

.dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  transition: var(--transition);
}

.dropdown-item:hover .dropdown-icon {
  background: rgba(37,99,235,0.1);
}

.dropdown-content {
  flex: 1;
}

.dropdown-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 3px;
}

.dropdown-desc {
  font-size: 12px;
  color: var(--mid);
  line-height: 1.4;
}

.dropdown-item:hover .dropdown-title {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  background: rgba(255,255,255,0.05);
}

.lang-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

.light-mode .lang-btn {
  color: var(--dark-3);
  border-color: var(--lightest);
  background: transparent;
}

.light-mode .lang-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(37,99,235,0.05);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}

.light-mode .nav-toggle span {
  background: var(--dark);
}

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

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* =============================================
   Hero Section
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  bottom: -100px;
  left: 10%;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: 50%;
  left: 50%;
  animation-delay: -2s;
}

.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: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 80px;
}

.hero-text .badge {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, #60a5fa, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

[dir="rtl"] .hero-stat {
  text-align: right;
}

.hero-stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #60a5fa, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-meta-partner {
  position: absolute;
  top: -40px;
  left: -20px; /* Free spot in LTR */
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  z-index: 5;
  animation: float 7s ease-in-out infinite reverse;
}

[dir="rtl"] .hero-meta-partner {
  left: auto;
  right: -20px; /* Free spot in RTL */
}

.hero-meta-partner img {
  width: 160px;
  height: auto;
  display: block;
  border-radius: 4px;
}

.hero-dashboard {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  animation: float 6s ease-in-out infinite;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dashboard-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--success);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dash-stat {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.dash-stat-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.dash-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.dashboard-chart {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.chart-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

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

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--gradient-primary);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.chart-bar:hover {
  opacity: 1;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
}

.floating-card-1 {
  bottom: -30px;
  left: -30px;
  animation-delay: -2s;
}

.floating-card-2 {
  top: 40px;
  right: -20px;
  animation-delay: -4s;
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.floating-icon.green { background: rgba(16, 185, 129, 0.15); }
.floating-icon.blue { background: rgba(37, 99, 235, 0.15); }
.floating-icon.purple { background: rgba(124, 58, 237, 0.15); }

.floating-text {
  flex: 1;
}

.floating-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.floating-subtitle {
  font-size: 11px;
  color: var(--mid);
}

/* =============================================
   Partners/Logos Bar
   ============================================= */
.partners-bar {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--lightest);
}

.partners-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.logos-track {
  position: relative;
  overflow: hidden;
}

.logos-track::before,
.logos-track::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}

.logos-track::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.logos-track::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.logos-scroll {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.logos-scroll:hover {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.3s;
  filter: grayscale(100%);
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.logo-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-3);
  white-space: nowrap;
}

/* =============================================
   Feature Tabs Section (Omnichannel)
   ============================================= */
.features-section {
  padding: 100px 0;
  background: var(--bg-section);
}

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

.features-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.feature-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  color: var(--mid);
  background: var(--white);
  border: 2px solid var(--lightest);
  cursor: pointer;
  transition: var(--transition);
}

.feature-tab:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(37,99,235,0.04);
}

.feature-tab.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}

.features-content {
  position: relative;
}

.feature-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-panel.active {
  display: grid;
}

.feature-panel-text h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.feature-panel-text p {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.feature-item-text {
  font-size: 15px;
  color: var(--dark-3);
  line-height: 1.5;
}

.feature-panel-visual {
  position: relative;
}

.feature-mockup {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--lightest);
}

.mockup-header {
  background: var(--gradient-primary);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

.mockup-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  flex: 1;
  text-align: center;
}

.mockup-body {
  padding: 20px;
}

/* =============================================
   Stats Section
   ============================================= */
.stats-section {
  padding: 80px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(6,182,212,0.1) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-size: 56px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  line-height: 1.4;
}

/* =============================================
   Products Section
   ============================================= */
.products-section {
  padding: 100px 0;
  background: var(--white);
}

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

.product-card {
  background: var(--bg-section);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--primary);
}

.product-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.product-card p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.product-card:hover .product-card-link {
  gap: 10px;
}

/* =============================================
   Chatbot/IVR Section
   ============================================= */
.chatbot-section {
  padding: 100px 0;
  background: var(--bg-section);
}

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

.chatbot-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.chatbot-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point-number {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  flex-shrink: 0;
}

.point-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.point-text p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
}

/* Chat UI Mockup */
.chat-mockup {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--lightest);
  max-width: 420px;
  margin: 0 auto;
}

.chat-header {
  background: var(--gradient-primary);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.chat-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.chat-info span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.chat-online {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  background: var(--bg-section);
}

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-msg.incoming {
  background: var(--white);
  color: var(--dark);
  border-radius: 4px 16px 16px 16px;
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
}

.chat-msg.outgoing {
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 16px 4px 16px 16px;
  align-self: flex-end;
}

.chat-channels {
  padding: 12px 20px;
  border-top: 1px solid var(--lightest);
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--white);
}

.channel-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s;
}

.channel-icon:hover {
  transform: scale(1.15);
}

/* =============================================
   Integration Section
   ============================================= */
.integrations-section {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.integrations-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 10% 50%, rgba(37,99,235,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 50%, rgba(6,182,212,0.15) 0%, transparent 60%);
}

.integrations-section .section-title {
  color: var(--white);
}

.integrations-section .section-desc {
  color: rgba(255,255,255,0.65);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.integration-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.integration-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.integration-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.integration-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-align: center;
}

/* =============================================
   Testimonials
   ============================================= */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-section);
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  min-width: 380px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--lightest);
  flex-shrink: 0;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  font-size: 18px;
}

.star { color: #f59e0b; }

.testimonial-text {
  font-size: 16px;
  color: var(--dark-3);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

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

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

.author-role {
  font-size: 13px;
  color: var(--mid);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--lightest);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark-3);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lighter);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary);
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.2) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.cta-step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.step-text {
  font-size: 15px;
  font-weight: 500;
}

/* =============================================
   News Section
   ============================================= */
.news-section {
  padding: 100px 0;
  background: var(--white);
}

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

.news-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--lightest);
  transition: var(--transition);
  background: var(--white);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.news-image {
  height: 200px;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 24px;
}

.news-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37,99,235,0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-excerpt {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--light-text);
}

.news-read-more {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.news-card:hover .news-read-more {
  gap: 8px;
}

/* =============================================
   Footer
   ============================================= */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-brand h3 span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  transition: var(--transition);
  cursor: pointer;
}

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

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

[dir="rtl"] .footer-col h4::after {
  left: auto;
  right: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-4px);
}

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

.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.contact-icon {
  font-size: 16px;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* =============================================
   Pricing Page
   ============================================= */
.page-hero {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.15) 0%, transparent 60%);
}

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

.page-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.page-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.pricing-section {
  padding: 80px 0;
  background: var(--bg-section);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.pricing-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-3);
}

.toggle-switch {
  width: 56px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 14px;
  padding: 3px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.toggle-knob {
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.toggle-switch.off .toggle-knob {
  transform: translateX(28px);
}

.save-badge {
  background: var(--success);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 2px solid var(--lightest);
  transition: var(--transition);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-plan {
  font-size: 14px;
  font-weight: 700;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

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

.price-amount {
  font-size: 52px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.price-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--mid);
  vertical-align: super;
}

.price-period {
  font-size: 15px;
  color: var(--mid);
  margin-top: 4px;
}

.pricing-desc {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--lightest);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--dark-3);
}

.pricing-feature .feature-check {
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
}

/* FAQ */
.faq-section {
  padding: 80px 0;
  background: var(--white);
}

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

.faq-item {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--lightest);
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(37,99,235,0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  gap: 16px;
  transition: color 0.3s;
}

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

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--mid);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
}

/* =============================================
   Contact Page
   ============================================= */
.contact-section {
  padding: 80px 0;
  background: var(--bg-section);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 36px;
}

.offices-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.office-item {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--lightest);
  transition: var(--transition);
}

.office-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(37,99,235,0.1);
}

.office-country {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-flag {
  font-size: 20px;
}

.office-address {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
  margin-bottom: 6px;
}

.office-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.office-hours {
  font-size: 12px;
  color: var(--light-text);
  margin-top: 4px;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--lightest);
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 15px;
  color: var(--mid);
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-3);
}

.form-control {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 2px solid var(--lightest);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.form-control::placeholder {
  color: var(--light-text);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* =============================================
   Product Pages
   ============================================= */
.product-hero {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.product-hero-text .badge {
  margin-bottom: 20px;
}

.product-hero-text h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.product-hero-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.product-features-section {
  padding: 100px 0;
  background: var(--white);
}

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

.product-feature-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-section);
  border: 1px solid var(--lightest);
  transition: var(--transition);
}

.product-feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.product-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(37,99,235,0.25);
}

.product-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.product-feature-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* =============================================
   Demo/Request Page
   ============================================= */
.demo-section {
  padding: 80px 0;
  background: var(--bg-section);
}

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

.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.demo-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.demo-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(37,99,235,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.demo-benefit h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.demo-benefit p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
}

/* =============================================
   Animations
   ============================================= */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

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

.animate-in {
  opacity: 0;
  transform: translateY(30px);
}

.animate-in.visible {
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* =============================================
   RTL Support
   ============================================= */
[dir="rtl"] .hero-stat { text-align: right; }
[dir="rtl"] .dropdown { left: auto; right: 0; }
[dir="rtl"] .footer-links a:hover { transform: translateX(-4px); }
[dir="rtl"] .chat-msg.incoming { border-radius: 16px 4px 16px 16px; align-self: flex-end; }
[dir="rtl"] .chat-msg.outgoing { border-radius: 4px 16px 16px 16px; align-self: flex-start; }
[dir="rtl"] .floating-card-1 { left: auto; right: -30px; }
[dir="rtl"] .floating-card-2 { right: auto; left: -20px; }
[dir="rtl"] .section-title { text-align: right; }
[dir="rtl"] .hero-stat-number { direction: ltr; display: inline-block; }

/* =============================================
   Responsive — Tablet ≤1024px
   ============================================= */
@media (max-width: 1024px) {
  /* Nav */
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-outline-white { display: none; } /* hide Contact Us, keep Demo */

  /* Layouts */
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: contents; }
  .hero-visual > div:first-child { order: -1; width: 100%; margin-bottom: 10px; }
  .hero-text { order: 0; width: 100%; }
  .hero-dashboard { order: 1; width: 100%; margin-top: 10px; }
  .feature-panel { grid-template-columns: 1fr; }
  .chatbot-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .product-features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-inner > :first-child { grid-column: 1 / 3; }

  /* Inline-style 2-col grids (AI banner, IVR, Reports sections) */
  .inline-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* =============================================
   Responsive — Mobile ≤768px
   ============================================= */
@media (max-width: 768px) {
  /* Spacing */
  .section-padding { padding: 64px 0; }
  .section-padding-sm { padding: 40px 0; }
  .container { padding: 0 20px; }
  .container-wide { padding: 0 20px; }

  /* Nav */
  .nav-inner { height: 70px; gap: 10px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-outline-white { display: none; }
  .nav-actions .btn-sm { padding: 9px 18px; font-size: 13px; }
  .lang-btn { padding: 6px 12px; font-size: 13px; }
  .mobile-menu { top: 70px; }

  /* Hero */
  .hero { padding-top: 70px; min-height: auto; }
  .hero-content { padding: 48px 0 64px; gap: 36px; }
  .hero-title { font-size: clamp(26px, 7.5vw, 40px); letter-spacing: -0.5px; }
  .hero-desc { font-size: 16px; max-width: 100%; }
  .hero-actions { gap: 12px; flex-wrap: wrap; }
  .hero-actions .btn-lg { padding: 14px 28px; font-size: 15px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat-number { font-size: 28px; }
  .hero-stat-label { font-size: 13px; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .product-features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Inline 2-col grids */
  .inline-grid-2col,
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  /* Feature tabs — horizontal scroll */
  .features-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 8px;
    gap: 8px;
    scroll-snap-type: x mandatory;
    /* push scroll bar off-screen */
    scrollbar-width: none;
  }
  .features-tabs::-webkit-scrollbar { display: none; }
  .feature-tab {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 10px 16px;
    font-size: 14px;
  }

  /* Feature panels */
  .feature-panel.active { display: flex; flex-direction: column; gap: 32px; }
  .feature-panel-text h3 { font-size: 24px; }
  .feature-panel-visual { max-width: 100%; }

  /* Section header */
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(22px, 6vw, 34px); }
  .section-desc { font-size: 16px; }

  /* Chatbot — hide mockup, show only text */
  .chatbot-grid > div:last-child { display: none; }

  /* Stat cards */
  .stat-card { padding: 24px 16px; }

  /* Partners bar */
  .partners-bar { padding: 28px 0; }

  /* CTA */
  .cta-title { font-size: clamp(22px, 6vw, 36px); }
  .cta-desc { font-size: 16px; margin-bottom: 28px; }
  .cta-steps { flex-direction: column; gap: 14px; align-items: flex-start; padding: 0 8px; }
  .step-text { font-size: 13px; }
  .cta-section { padding: 64px 0; }

  /* Forms */
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }
  .pricing-card { padding: 28px 24px; }

  /* Page hero (inner pages) */
  .page-hero { padding: 110px 0 60px; }

  /* Integrations */
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================
   Responsive — Small Mobile ≤480px
   ============================================= */
@media (max-width: 480px) {
  /* Spacing */
  .section-padding { padding: 48px 0; }
  .container { padding: 0 16px; }

  /* Nav */
  .nav-inner { height: 64px; }
  .mobile-menu { top: 64px; }
  .nav-logo-text { font-size: 19px; }
  .nav-actions .btn-sm { padding: 8px 14px; font-size: 13px; }
  .lang-btn { padding: 5px 10px; font-size: 12px; }

  /* Hero */
  .hero { padding-top: 64px; }
  .hero-content { padding: 40px 0 56px; }
  .hero-title { font-size: 26px; letter-spacing: 0; }
  .hero-desc { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-stats { gap: 16px; }
  .hero-stat-number { font-size: 26px; }

  /* Grids */
  .product-features-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > :first-child { grid-column: auto; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 32px; }

  /* Feature tabs */
  .features-tabs { gap: 6px; }
  .feature-tab { font-size: 12px; padding: 9px 12px; }

  /* Testimonials */
  .testimonial-card { min-width: 280px; }

  /* CTA buttons full width */
  .cta-content [style*="display:flex"] { flex-direction: column !important; }
  .cta-content .btn { width: 100%; justify-content: center; }
  .cta-steps { align-items: flex-start; }

  /* Pricing */
  .pricing-card { padding: 24px 20px; }
  .price-amount { font-size: 48px; }

  /* Page hero */
  .page-title { font-size: 26px; }
  .page-hero { padding: 100px 0 50px; }

  /* Contact form */
  .contact-form-wrap { padding: 20px 16px; }
}

/* Mobile Menu Overlay */


/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

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

[dir="rtl"] .mobile-menu {
  transform: translateX(100%);
}

[dir="rtl"] .mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.mobile-nav-link:hover { color: var(--white); }

.mobile-subnav {
  padding-left: 16px;
  display: none;
}

.mobile-subnav.open { display: block; }

.mobile-subnav-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-subnav-link:hover { color: var(--white); }

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 500;
  box-shadow: var(--shadow-blue);
  border: none;
  font-size: 18px;
}

[dir="rtl"] .scroll-top {
  right: auto;
  left: 30px;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(37,99,235,0.4);
}

/* =============================================
   Navbar Light Mode (for inner pages)
   ============================================= */
.navbar.light-mode {
  background: rgba(255,255,255,0.95) !important;
  border-bottom-color: var(--lightest) !important;
}
.navbar.light-mode .nav-link { color: var(--dark-3) !important; }
.navbar.light-mode .nav-link:hover { color: var(--primary) !important; }
.navbar.light-mode .nav-toggle span { background: var(--dark-3); }
/* .navbar.scrolled override for inner pages: ONLY apply white bg when .light-mode is also present */
/* .navbar.scrolled on homepage/dark pages stays dark (see rule at top of file) */

/* =============================================
   Page Hero (inner pages)
   ============================================= */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c2340 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,0.3) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.page-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* =============================================
   Pricing Section
   ============================================= */
.pricing-section { padding: 80px 0; background: var(--bg-section); }
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}
.pricing-label { font-size: 15px; font-weight: 600; color: var(--mid); }
.toggle-switch {
  width: 52px; height: 28px;
  background: var(--lighter);
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}
.toggle-switch.on { background: var(--gradient-primary); }
.toggle-knob {
  width: 22px; height: 22px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 3px; left: 3px;
  transition: transform 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.toggle-switch.on .toggle-knob { transform: translateX(24px); }
.save-badge {
  background: rgba(16,185,129,0.1);
  color: var(--success);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
}
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 920px; margin: 0 auto; }
.pricing-card {
  background: var(--white);
  border: 2px solid var(--lightest);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.pricing-card.popular { border-color: var(--primary); background: linear-gradient(135deg, rgba(37,99,235,0.02), rgba(6,182,212,0.02)); }
.popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: var(--shadow-blue);
}
.pricing-plan { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 20px; }
.pricing-price { margin-bottom: 16px; }
.price-currency { font-size: 24px; font-weight: 700; color: var(--primary); vertical-align: top; margin-top: 10px; display: inline-block; }
.price-amount { font-size: 64px; font-weight: 900; color: var(--dark); line-height: 1; letter-spacing: -2px; }
.price-period { font-size: 13px; color: var(--mid); margin-top: 4px; }
.pricing-desc { font-size: 14px; color: var(--mid); line-height: 1.6; margin-bottom: 28px; border-bottom: 1px solid var(--lightest); padding-bottom: 28px; }
.pricing-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--dark-3); }
.pricing-feature .feature-check { min-width: 20px; height: 20px; border-radius: 50%; background: var(--gradient-primary); color: white; font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* =============================================
   Contact Section
   ============================================= */
.contact-section { padding: 80px 0; background: var(--bg-section); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-grid h3 { font-size: 28px; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.contact-grid p { font-size: 15px; color: var(--mid); line-height: 1.7; margin-bottom: 28px; }
.offices-list { display: flex; flex-direction: column; gap: 20px; }
.office-item { background: var(--white); border: 1px solid var(--lightest); border-radius: var(--radius-lg); padding: 20px; transition: var(--transition); }
.office-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.office-country { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.office-flag { font-size: 20px; }
.office-address { font-size: 13px; color: var(--mid); margin-bottom: 6px; line-height: 1.5; }
.office-phone { font-size: 14px; font-weight: 600; color: var(--primary); display: block; margin-bottom: 4px; }
.office-hours { font-size: 12px; color: var(--light-text); }

/* Contact Form */
.contact-form-wrap { background: var(--white); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--lightest); }
.form-title { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.form-subtitle { font-size: 14px; color: var(--mid); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--dark); }
.form-control {
  padding: 12px 16px;
  border: 2px solid var(--lightest);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--dark);
  background: var(--bg-section);
  transition: var(--transition);
  font-family: inherit;
  width: 100%;
  resize: vertical;
}
.form-control:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
textarea.form-control { min-height: 140px; }
select.form-control { cursor: pointer; }

/* =============================================
   Product Pages
   ============================================= */
.product-hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0c2340 100%);
  position: relative;
  overflow: hidden;
}
.product-hero .hero-bg { position: absolute; inset: 0; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.product-hero-text { color: white; }
.product-hero-text .badge { margin-bottom: 20px; }
.product-hero-text h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: white; line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 20px; }
.product-hero-text p { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 32px; }

.product-features-section { padding: 100px 0; background: var(--bg-section); }
.product-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-feature-card {
  background: var(--white);
  border: 1px solid var(--lightest);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
}
.product-feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-feature-icon { font-size: 36px; margin-bottom: 16px; }
.product-feature-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.product-feature-card p { font-size: 14px; color: var(--mid); line-height: 1.6; }

/* =============================================
   FAQ Section
   ============================================= */
.faq-section { padding: 80px 0; background: var(--bg-section); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--white); border: 1px solid var(--lightest); border-radius: var(--radius-lg); overflow: hidden; }
.faq-question {
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  user-select: none;
}
.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); border-bottom: 1px solid var(--lightest); }
.faq-icon { font-size: 20px; font-weight: 400; color: var(--primary); transition: transform 0.3s; flex-shrink: 0; width: 28px; height: 28px; background: rgba(37,99,235,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 20px 28px; font-size: 15px; color: var(--mid); line-height: 1.7; }

/* =============================================
   Demo Section
   ============================================= */
.demo-section { padding: 80px 0; background: var(--bg-section); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.demo-benefits { display: flex; flex-direction: column; gap: 24px; margin: 28px 0; }
.demo-benefit { display: flex; gap: 16px; align-items: flex-start; }
.demo-benefit-icon { font-size: 28px; min-width: 48px; height: 48px; background: rgba(37,99,235,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.demo-benefit h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.demo-benefit p { font-size: 14px; color: var(--mid); line-height: 1.5; }

/* =============================================
   News Section
   ============================================= */
.news-section { padding: 80px 0; background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--white); border: 1px solid var(--lightest); border-radius: var(--radius-xl); overflow: hidden; transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-image { height: 180px; overflow: hidden; }
.news-content { padding: 24px; }
.news-category { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; background: rgba(37,99,235,0.08); padding: 4px 10px; border-radius: 20px; display: inline-block; margin-bottom: 12px; }
.news-title { font-size: 17px; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: 10px; }
.news-excerpt { font-size: 14px; color: var(--mid); line-height: 1.6; margin-bottom: 16px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--light-text); }
.news-read-more { color: var(--primary); font-weight: 600; }

/* =============================================
   CTA Section (moved here for completeness)
   ============================================= */
.cta-section { padding: 100px 0; background: var(--gradient-hero); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,0.4) 0%, transparent 70%); }
.cta-content { text-align: center; position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-title { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: var(--white); line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta-desc { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; }
.cta-steps { display: flex; justify-content: center; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.cta-step { display: flex; align-items: center; gap: 12px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: white; flex-shrink: 0; }
.step-text { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 500; text-align: left; }

/* =============================================
   Utility Buttons
   ============================================= */
.btn-white {
  background: white;
  color: var(--primary);
  border: 2px solid white;
  font-weight: 700;
}
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

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

/* =============================================
   Additional Responsive Fixes
   ============================================= */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .product-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .page-title { font-size: 28px; }
  .pricing-card { padding: 28px 20px; }
  .price-amount { font-size: 48px; }
  .contact-form-wrap { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .product-features-grid { grid-template-columns: 1fr; }
  .cta-steps { flex-direction: column; align-items: center; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
}
