:root {
  --primary: #0f172a;       /* Modern Dark Slate */
  --primary-rgb: 15, 23, 42;
  --secondary: #17B7A3;     /* Teal Emerald */
  --secondary-rgb: 23, 183, 163;
  --accent: #0ea5e9;        /* Sky Blue */
  --accent-rgb: 14, 165, 233;
  --bg-dark: #080d1a;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.08);
  --text-dark: #f1f5f9;
  --text-light: #334155;
  --text-muted: #64748b;
  --glow-teal: rgba(23, 183, 163, 0.25);
  --glow-blue: rgba(14, 165, 233, 0.2);
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ar);
  color: var(--text-light);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

body.lang-en {
  font-family: var(--font-en);
}

/* ── LAYOUT HELPER FOR LANGUAGES ── */
body.lang-en {
  direction: ltr !important;
  text-align: left !important;
}

/* ── ANIMATIONS & PARALLAX ── */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(23, 183, 163, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(23, 183, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 183, 163, 0); }
}

@keyframes radar-ping {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-medium {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-16px) scale(1.01); }
  100% { transform: translateY(0px) scale(1); }
}

@keyframes float-bg-particles {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-160px) translateX(var(--drift, 20px)) rotate(360deg); opacity: 0; }
}

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

@keyframes sweep-shine {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}

/* ── AMBIENT CANVAS & PARTICLES ── */
.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
}

.hero-particles {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}

.particle-item {
  position: absolute; bottom: -40px; font-size: 24px;
  color: rgba(23, 183, 163, 0.15); animation: float-bg-particles 12s linear infinite;
  user-select: none; pointer-events: none;
}

/* ── HEADER & NAVIGATION ── */
header {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: fixed; width: 100%; top: 0; z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
  background: rgba(8, 13, 26, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center;
  transition: padding 0.4s ease;
}

header.scrolled .nav-container {
  padding: 12px 20px;
}

.logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--white);
  font-weight: 800; font-size: 22px; transition: transform 0.2s;
  direction: ltr;
}

.logo span {
  color: var(--secondary);
}

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

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

.nav-links a {
  color: rgba(255, 255, 255, 0.8); text-decoration: none;
  font-weight: 600; font-size: 13.5px; transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--secondary);
}

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

.lang-btn {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white); padding: 6px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.25s;
  font-family: inherit;
}

.lang-btn:hover {
  border-color: var(--secondary); color: var(--secondary);
  background: rgba(23, 183, 163, 0.06);
}

.cta-btn {
  background-color: var(--secondary); color: var(--white) !important;
  padding: 10px 24px; border-radius: 8px; font-weight: 800;
  font-size: 13.5px; text-decoration: none; box-shadow: 0 4px 12px var(--glow-teal);
  transition: all 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 183, 163, 0.4);
}

/* ── PREMIUM DARK HERO SECTION ── */
.hero {
  background: radial-gradient(circle at 50% 30%, #1c2e56 0%, #080d19 80%);
  color: var(--white); padding: 180px 20px 140px;
  position: relative; overflow: hidden;
}

@keyframes grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(23, 183, 163, 0.07) 1.5px, transparent 1.5px),
                    linear-gradient(90deg, rgba(23, 183, 163, 0.07) 1.5px, transparent 1.5px);
  background-size: 40px 40px; background-position: center;
  mask-image: radial-gradient(circle at 50% 45%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, black, transparent 75%);
  pointer-events: none; z-index: 1;
  animation: grid-drift 20s linear infinite;
}

.hero-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  align-items: center; position: relative; z-index: 2;
}

.hero-content {
  text-align: right;
  position: relative;
  z-index: 3;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 28, 53, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(23, 183, 163, 0.35);
  color: #fff;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(23, 183, 163, 0.15);
}

.pulse-dot {
  position: relative;
  width: 9px;
  height: 9px;
  background-color: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero h1 {
  font-size: 46px; font-weight: 800; line-height: 1.3; margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ffffff 40%, var(--secondary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 17px; color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px; max-width: 580px;
}

.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  justify-content: flex-start;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

body.lang-en .stat {
  text-align: left;
}

.stat-num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--secondary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.btn-primary {
  background: var(--secondary); color: var(--white);
  padding: 14px 32px; border-radius: 8px; font-weight: 800;
  font-size: 14.5px; text-decoration: none; box-shadow: 0 4px 15px var(--glow-teal);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}

.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(23, 183, 163, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05); color: var(--white);
  padding: 14px 32px; border-radius: 8px; font-weight: 800;
  font-size: 14.5px; text-decoration: none; border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s;
}

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

/* ── 3D PARALLAX DASHBOARD ── */
.hero-visual {
  position: relative; display: flex; justify-content: center;
  align-items: center; width: 100%; min-height: 480px;
  perspective: 1400px;
  perspective-origin: center center;
}

.perspective-wrap {
  width: 100%; max-width: 480px;
  transform-style: preserve-3d;
  transform: rotateY(var(--rx, -16deg)) rotateX(var(--ry, 10deg)) rotateZ(var(--rz, 2deg));
  transition: transform 0.15s ease-out;
  position: relative;
}

.db-mock {
  background: rgba(10, 18, 36, 0.88);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(23, 183, 163, 0.4); border-radius: 22px;
  padding: 26px; width: 100%;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.65), 
              0 0 60px rgba(23, 183, 163, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative; overflow: hidden;
}

.db-glare {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.12) 0%, transparent 60%);
  mix-blend-mode: overlay;
}

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

.db-dots { display: flex; gap: 6px; }
.db-dot { width: 10px; height: 10px; border-radius: 50%; }
.db-dot.red { background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
.db-dot.yellow { background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
.db-dot.green { background: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
.db-title { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; }

.db-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.db-bar { height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.db-progress { height: 100%; background: linear-gradient(90deg, var(--secondary), #0ea5e9); border-radius: 3px; }

.float-card {
  position: absolute; border-radius: 12px; padding: 16px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); text-align: right;
  transform-style: preserve-3d;
}

.float-inv {
  bottom: 0px; right: -25px;
  background: linear-gradient(135deg, #17B7A3 0%, #06b6d4 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(23, 183, 163, 0.35);
  color: var(--white); width: 220px; z-index: 3;
  transform: translateZ(55px);
  animation: float-slow 6s ease-in-out infinite alternate;
}

.float-stat {
  top: -15px; left: -25px;
  background: rgba(15, 28, 53, 0.85); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(23, 183, 163, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  color: var(--white); width: 190px; z-index: 3;
  transform: translateZ(45px);
  animation: float-medium 7s ease-in-out infinite alternate;
}

.float-radar {
  bottom: -32px; left: 20px;
  background: rgba(15, 28, 53, 0.92); backdrop-filter: blur(15px);
  border: 1.5px solid rgba(14, 165, 233, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  color: var(--white); padding: 10px 16px; border-radius: 12px;
  z-index: 4; transform: translateZ(65px);
  animation: float-slow 8s ease-in-out infinite alternate;
  display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700;
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: #0b1120; border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 24px 20px; position: relative; z-index: 5;
}

.trust-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  flex-wrap: wrap; gap: 20px;
}

.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13.5px; color: rgba(255, 255, 255, 0.85);
}

.trust-item span {
  color: var(--secondary);
}

/* ── SECTION SETUP ── */
section {
  padding: 100px 20px; position: relative;
}

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

.section-head h2 {
  font-size: 34px; font-weight: 800; color: var(--primary); margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted); font-size: 16.5px; max-width: 600px; margin: 0 auto;
}

.section-head::after {
  content: ''; display: block; width: 60px; height: 4px;
  background-color: var(--secondary); margin: 20px auto 0; border-radius: 2px;
}

/* ── WHY SECTION (Value Cards Grid) ── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 38px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-align: right;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

body.lang-en .value-card {
  text-align: left;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  border-color: rgba(23, 183, 163, 0.35);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: rgba(23, 183, 163, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.value-card h3 {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── PRODUCT SHOWCASE (Shopify-Style Living Mockup Switcher) ── */
.showcase-section {
  background: radial-gradient(circle at 50% 10%, #152445 0%, #080d19 90%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.showcase-section .section-head h2 {
  color: var(--white);
}

.showcase-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px;
  max-width: 1150px; margin: 0 auto; align-items: center;
}

.showcase-menu {
  display: flex; flex-direction: column; gap: 14px;
}

.showcase-tab {
  position: relative;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px; padding: 18px 24px; text-align: right;
  color: rgba(255, 255, 255, 0.7); cursor: pointer; transition: all 0.3s;
  font-family: inherit; font-size: 15px; font-weight: 700;
  overflow: hidden;
}

.showcase-tab .tab-progress {
  position: absolute; bottom: 0; right: 0; left: 0;
  height: 3px; background: rgba(255, 255, 255, 0.08);
  display: none;
}

.showcase-tab .tab-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: width 0.1s linear;
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.showcase-tab.active {
  background: rgba(23, 183, 163, 0.12);
  border-color: rgba(23, 183, 163, 0.5);
  color: #fff;
  box-shadow: 0 10px 30px rgba(23, 183, 163, 0.12);
}

.showcase-tab.active .tab-progress {
  display: block;
}

.showcase-display {
  background: rgba(12, 22, 44, 0.9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px; padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 50px rgba(23, 183, 163, 0.12);
  position: relative; overflow: hidden; min-height: 400px;
}

.showcase-panel {
  display: none; animation: fadeInUp 0.5s ease-out forwards;
}

.showcase-panel.active {
  display: block;
}

/* Mockup Elements styles for showcasing app features */
.mockup-header-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.03); border-radius: 8px; padding: 10px 16px; margin-bottom: 20px;
}
.mockup-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.mockup-box {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 16px;
}

/* ── MODULAR FEATURES SECTION ── */
.features-section {
  background-color: #f1f5f9;
}

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
  max-width: 1200px; margin: 0 auto;
}

.feat-card {
  background-color: var(--white); border: 1px solid var(--border-light);
  border-radius: 14px; padding: 32px 24px; transition: all 0.3s ease;
  text-align: right;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  border-color: rgba(23, 183, 163, 0.3);
}

.feat-icon {
  font-size: 22px; margin-bottom: 18px; display: inline-block;
  padding: 8px; background: rgba(23, 183, 163, 0.08); border-radius: 8px;
}

.feat-card h3 {
  font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px;
}

.feat-card p {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.7;
}

/* ── SECURITY SECTION (Dark High-contrast) ── */
.security-section {
  background-color: #0f172a; color: var(--white);
  position: relative; overflow: hidden;
}

.security-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px;
  align-items: center; max-width: 1200px; margin: 0 auto;
}

.sec-content h2 {
  font-size: 34px; font-weight: 800; margin-bottom: 18px; color: #fff;
}

.sec-content p {
  color: rgba(255, 255, 255, 0.8); font-size: 15.5px; margin-bottom: 30px;
}

.sec-grid-items {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

.sec-item {
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px; padding: 22px; text-align: right;
}

.sec-item-title {
  font-weight: 700; color: var(--secondary); font-size: 14.5px; margin-bottom: 8px;
}

.sec-item-desc {
  font-size: 12.5px; color: rgba(255, 255, 255, 0.65);
}

/* ── CLOUD VS INDEPENDENT (Toggles & Panels) ── */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 960px; margin: 0 auto;
}

.compare-card {
  background-color: var(--white); border: 1px solid var(--border-light);
  border-radius: 18px; padding: 44px 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  position: relative; display: flex; flex-direction: column;
  justify-content: space-between; text-align: right;
  transition: all 0.3s;
}

.compare-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.compare-card.premium {
  border-color: var(--secondary);
  box-shadow: 0 15px 40px rgba(23, 183, 163, 0.08);
}

.compare-card.premium::after {
  content: 'خيار المؤسسات الموصى به';
  position: absolute; top: 18px; left: 18px;
  background: var(--secondary); color: var(--white);
  font-size: 10px; font-weight: 700; padding: 4px 12px;
  border-radius: 20px;
}

.comp-head h3 {
  font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 8px;
}

.comp-desc {
  font-size: 13.5px; color: var(--text-muted); margin-bottom: 24px;
}

.comp-features {
  list-style: none; margin-bottom: 36px;
}

.comp-features li {
  font-size: 14px; color: var(--text); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}

.comp-features li::before {
  content: '✓'; color: var(--secondary); font-weight: 800;
}

/* ── PRICING INTERACTIVE TIER CARDS ── */
.pricing-section {
  background-color: #f1f5f9;
}

.pricing-switch-wrap {
  display: flex; justify-content: center; align-items: center;
  gap: 16px; margin-bottom: 44px;
}

.pricing-switch-label {
  font-weight: 700; font-size: 14px; color: var(--primary);
}

.pricing-switch {
  position: relative; width: 64px; height: 32px;
  background: var(--primary); border-radius: 20px;
  cursor: pointer; transition: background 0.3s;
}

.pricing-switch-handle {
  position: absolute; top: 3px; left: 3px;
  width: 26px; height: 26px; background: var(--secondary);
  border-radius: 50%; transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pricing-switch.active .pricing-switch-handle {
  left: 35px;
}

.pricing-calculator-container {
  max-width: 960px; margin: 0 auto;
  background: var(--white); border-radius: 18px;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
  display: grid; grid-template-columns: 1.15fr 0.85fr; overflow: hidden;
}

.calc-left {
  padding: 44px; text-align: right;
}

.calc-right {
  background-color: var(--primary); color: var(--white);
  padding: 44px; display: flex; flex-direction: column;
  justify-content: space-between; text-align: right;
}

.calc-title {
  font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 28px;
}

.form-lbl {
  display: block; font-weight: 700; font-size: 13px;
  margin-bottom: 8px; color: var(--text);
}

.form-grp {
  margin-bottom: 24px;
}

.calc-sel {
  width: 100%; padding: 12px; border: 1px solid var(--border-light);
  border-radius: 8px; font-family: inherit; font-size: 13.5px;
  background-color: var(--bg-light); cursor: pointer; outline: none;
  transition: border-color 0.2s;
}

.calc-sel:focus {
  border-color: var(--secondary);
}

.support-cards-grid {
  display: flex; flex-direction: column; gap: 12px;
}

.support-card {
  border: 1.5px solid var(--border-light); border-radius: 10px;
  padding: 14px 18px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  transition: all 0.2s;
}

.support-card.selected {
  border-color: var(--secondary);
  background-color: rgba(23, 183, 163, 0.05);
}

.support-card h4 {
  font-size: 13.5px; font-weight: 700; color: var(--primary);
}

.support-card p {
  font-size: 11px; color: var(--text-muted);
}

.support-price {
  font-weight: 700; color: var(--secondary); font-size: 13.5px;
}

.price-show {
  text-align: center; margin: 22px 0;
}

.price-big {
  font-size: 52px; font-weight: 800; color: var(--secondary);
  transition: all 0.2s ease-out;
}

.price-cycle {
  font-size: 12px; color: rgba(255, 255, 255, 0.6); margin-top: 4px;
}

.feat-list {
  list-style: none; font-size: 13px; line-height: 2.2; margin-bottom: 28px;
}

.feat-list li::before {
  content: '✔ '; color: var(--secondary);
}

.order-btn {
  width: 100%; background-color: var(--white); color: var(--primary);
  border: none; padding: 14px; border-radius: 8px; font-weight: 800;
  font-size: 14.5px; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: all 0.2s;
}

.order-btn:hover {
  opacity: 0.95; transform: translateY(-1px);
}

/* ── FAQ ACCORDION SYSTEM ── */
.faq-wrap {
  max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px;
}

.faq-item {
  background-color: var(--white); border: 1px solid var(--border-light);
  border-radius: 12px; overflow: hidden; transition: border-color 0.25s;
}

.faq-item.active {
  border-color: var(--secondary);
}

.faq-trigger {
  width: 100%; background: none; border: none; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: inherit; text-align: right;
}

.faq-trigger h3 {
  font-size: 15px; font-weight: 700; color: var(--primary);
}

.faq-icon {
  font-size: 14px; color: var(--text-muted); transition: transform 0.25s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--bg-light); border-top: 0 solid var(--border-light);
}

.faq-item.active .faq-content {
  border-top-width: 1px;
}

.faq-inner {
  padding: 20px 24px; font-size: 13.5px; color: var(--text); line-height: 1.75;
}

/* ── CONTACT & LEADS FORM ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px;
  max-width: 1040px; margin: 0 auto;
}

.contact-info h3 {
  font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-muted); font-size: 14.5px; margin-bottom: 36px;
}

.info-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}

.info-ico {
  width: 46px; height: 46px; border-radius: 50%;
  background-color: rgba(23, 183, 163, 0.08);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}

.info-details h4 {
  font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
}

.info-details p {
  font-weight: 700; color: var(--primary); font-size: 15px;
}

.contact-form-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.input-group {
  margin-bottom: 20px;
}

.input-field {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border-light);
  border-radius: 8px; font-family: inherit; font-size: 13.5px;
  outline: none; transition: all 0.25s;
}

.input-field:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(23, 183, 163, 0.1);
}

.form-submit-btn {
  width: 100%; background-color: var(--secondary); color: var(--white);
  border: none; padding: 13px; border-radius: 8px; font-weight: 800;
  font-size: 14.5px; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 12px var(--glow-teal); transition: all 0.25s;
}

.form-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(23, 183, 163, 0.45);
}

.alert {
  padding: 12px 18px; border-radius: 8px; font-size: 13px;
  font-weight: 700; display: none; margin-bottom: 18px;
}

.alert-success {
  background-color: rgba(23, 183, 163, 0.1); color: #0e8f80;
  border: 1px solid rgba(23, 183, 163, 0.2);
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1); color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ── FINAL CONVERSION ── */
.final-cta {
  background: radial-gradient(circle at 50% 50%, #152549 0%, #0d1627 100%);
  color: var(--white); padding: 80px 20px; text-align: center;
  position: relative;
}

.final-cta h2 {
  font-size: 32px; font-weight: 800; margin-bottom: 14px;
}

.final-cta p {
  color: rgba(255,255,255,0.78); font-size: 16px; margin-bottom: 30px;
}

/* ── FOOTER ── */
footer {
  background-color: var(--primary); color: rgba(255, 255, 255, 0.6);
  padding: 50px 20px; border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  text-align: right;
}

.footer-col h4 {
  color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6); text-decoration: none;
  font-size: 13px; transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px; font-size: 12px;
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  background-color: #25d366; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s; animation: pulse-glow 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ── RESPONSIVE DESIGN & MOBILE LAYOUTS ── */
@media (max-width: 768px) {
  header .nav-container { padding: 12px 16px; }
  .nav-links { display: none; }
  
  .hero { padding-top: 130px; padding-bottom: 80px; }
  .hero-container { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-content { text-align: center !important; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center !important; gap: 20px; }
  .hero h1 { font-size: 32px; }
  
  .showcase-grid { grid-template-columns: 1fr; gap: 24px; }
  .showcase-menu { flex-direction: row; overflow-x: auto; padding-bottom: 8px; gap: 8px; }
  .showcase-tab { white-space: nowrap; padding: 10px 16px; font-size: 12.5px; }
  
  .compare-grid { grid-template-columns: 1fr; gap: 24px; }
  .pricing-calculator-container { grid-template-columns: 1fr; }
  .calc-right { order: -1; }
  
  .security-grid { grid-template-columns: 1fr; gap: 30px; }
  .sec-grid-items { grid-template-columns: 1fr; }
  
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  
  .float-inv { right: -10px; bottom: -15px; width: 180px; font-size: 11px; }
  .float-stat { left: -10px; top: -10px; width: 160px; }
  .perspective-wrap { transform: none !important; }
  .perspective-wrap:hover { transform: none !important; }
}

/* ── ENGLISH LANGUAGE TEXT-ALIGN OVERRIDES ── */
body.lang-en .hero-content,
body.lang-en .value-card,
body.lang-en .compare-card,
body.lang-en .feat-card,
body.lang-en .sec-item,
body.lang-en .calc-left,
body.lang-en .calc-right,
body.lang-en .faq-trigger,
body.lang-en .footer-grid {
  text-align: left;
}
