/*
Theme Name: Auraya Solutions
Theme URI: https://aurayasolutions.com
Author: Auraya Solutions
Author URI: https://aurayasolutions.com
Description: Premium AI & Digital Transformation Enterprise Theme for Auraya Solutions
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: auraya
Tags: ai, enterprise, technology, business, dark, rtl-language-support
*/

/* =====================================================
   AURAYA SOLUTIONS - PREMIUM AI ENTERPRISE THEME
   Color Palette:
   --purple-deep:    #1a0533
   --purple-primary: #6B21A8
   --purple-bright:  #9333EA
   --red-accent:     #DC2626
   --magenta:        #C026D3
   --neon-purple:    #A855F7
   --neon-pink:      #EC4899
   --dark-bg:        #070712
   --dark-card:      #0d0d2b
   --dark-border:    #1e1b4b
===================================================== */

:root {
  --purple-deep: #1a0533;
  --purple-primary: #6B21A8;
  --purple-bright: #9333EA;
  --purple-neon: #A855F7;
  --red-accent: #DC2626;
  --red-bright: #EF4444;
  --magenta: #C026D3;
  --neon-pink: #EC4899;
  --dark-bg: #070712;
  --dark-secondary: #0d0d2b;
  --dark-card: #110d2e;
  --dark-border: #1e1b4b;
  --dark-border-light: #2d2a5e;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --gradient-main: linear-gradient(135deg, #6B21A8 0%, #DC2626 50%, #C026D3 100%);
  --gradient-purple: linear-gradient(135deg, #1a0533 0%, #6B21A8 100%);
  --gradient-glow: linear-gradient(135deg, #9333EA 0%, #EC4899 100%);
  --gradient-dark: linear-gradient(180deg, #070712 0%, #0d0d2b 100%);
  --shadow-purple: 0 0 40px rgba(147, 51, 234, 0.3);
  --shadow-red: 0 0 40px rgba(220, 38, 38, 0.3);
  --shadow-glow: 0 0 60px rgba(168, 85, 247, 0.4);
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

body.rtl, [dir="rtl"] {
  font-family: 'Tajawal', 'Cairo', 'Inter', sans-serif;
  direction: rtl;
  text-align: right;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.4);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-neon);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--purple-neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--purple-neon);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

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

.text-center { text-align: center; }
.text-start { text-align: start; }

/* ===== GRID SYSTEMS ===== */
.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; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 24px rgba(147, 51, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(147, 51, 234, 0.6);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(147, 51, 234, 0.6);
  color: var(--purple-neon);
}

.btn-outline:hover {
  background: rgba(147, 51, 234, 0.15);
  border-color: var(--purple-neon);
  color: var(--purple-neon);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

.btn-white {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-white:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }

/* ===== CARDS ===== */
.card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.card:hover {
  border-color: rgba(147, 51, 234, 0.5);
  transform: translateY(-8px);
  box-shadow: var(--shadow-purple);
}

.card:hover::before { opacity: 0.05; }
.card > * { position: relative; z-index: 1; }

.card-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  padding: 32px;
  transition: var(--transition);
}

.card-glass:hover {
  background: rgba(147, 51, 234, 0.08);
  border-color: rgba(147, 51, 234, 0.4);
}

/* ===== ICON BOX ===== */
.icon-box {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.2), rgba(220, 38, 38, 0.2));
  border: 1px solid rgba(147, 51, 234, 0.3);
  transition: var(--transition);
}

.card:hover .icon-box {
  background: var(--gradient-main);
  box-shadow: var(--shadow-purple);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-purple {
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(147, 51, 234, 0.4);
  color: var(--purple-neon);
}

.badge-red {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: var(--red-bright);
}

/* ===== DIVIDERS ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dark-border-light), transparent);
  margin: 60px 0;
}

/* ===== GLOWING ELEMENTS ===== */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-purple { background: rgba(107, 33, 168, 0.4); }
.glow-red { background: rgba(220, 38, 38, 0.3); }
.glow-magenta { background: rgba(192, 38, 211, 0.3); }

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ===== GRID DOT BACKGROUND ===== */
.bg-grid {
  background-image:
    linear-gradient(rgba(147, 51, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 51, 234, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--gradient-main);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* =====================================================
   HEADER / NAVIGATION
===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.site-header.scrolled {
  background: rgba(7, 7, 18, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  height: 160px;
  gap: 24px;
}

.site-logo img { height: 140px; width: auto; filter: drop-shadow(0 0 14px rgba(147,51,234,0.5)); }

.site-logo .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
  background: rgba(147, 51, 234, 0.12);
}

.main-nav .has-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 100;
}

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

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  width: 100%;
}

.dropdown-menu a:hover {
  background: rgba(147, 51, 234, 0.12);
  color: var(--purple-neon);
}

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

.lang-switcher, .lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid rgba(147, 51, 234, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  background: rgba(147, 51, 234, 0.1);
  font-family: inherit;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.lang-switcher:hover, .lang-btn:hover {
  background: rgba(147, 51, 234, 0.25);
  border-color: var(--purple-neon);
  color: #fff;
  transform: translateY(-1px);
}

/* RTL global */
[dir="rtl"] .site-header .header-inner,
[dir="rtl"] .main-nav,
[dir="rtl"] .hero-content,
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] body { font-family: 'Tajawal', 'Cairo', sans-serif; }
[dir="rtl"] .service-card, [dir="rtl"] .why-card { text-align: right; }
[dir="rtl"] .dropdown-menu { left: auto; right: 0; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--dark-bg);
  z-index: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107, 33, 168, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 33, 168, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb-1 {
  width: 700px; height: 700px;
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(107, 33, 168, 0.35) 0%, transparent 70%);
  position: absolute;
  pointer-events: none;
}

.hero-orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
  position: absolute;
  pointer-events: none;
}

.hero-orb-3 {
  width: 400px; height: 400px;
  top: 40%; right: 30%;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.15) 0%, transparent 70%);
  position: absolute;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(107, 33, 168, 0.2);
  border: 1px solid rgba(147, 51, 234, 0.4);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-neon);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--purple-neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--purple-neon);
  animation: pulse-dot 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 620px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--dark-border);
  animation: fadeInUp 0.8s ease 0.8s both;
  max-width: 500px;
}

.stat-item {}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 700px;
  z-index: 5;
  pointer-events: none;
}

/* ===== MULTI DASHBOARD VISUAL ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* Tab Switcher */
.dash-switcher {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dash-tab {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid var(--dark-border);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
}

.dash-tab.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(147, 51, 234, 0.4);
}

.dash-tab:hover:not(.active) {
  border-color: rgba(147, 51, 234, 0.4);
  color: var(--purple-neon);
}

/* Dashboard Wrapper */
.dashboard-wrap {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.dashboard-panel {
  background: rgba(13, 13, 43, 0.95);
  border: 1px solid rgba(107, 33, 168, 0.4);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
}

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

/* Aliases for multi-dashboard compatibility */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 13px;
}
.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--gradient-main);
  opacity: 0.75;
  transform-origin: bottom;
  animation: grow-bar 0.8s ease forwards;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-dots { display: flex; gap: 6px; }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }

/* Metrics Grid */
.dash-metrics-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 13px; }
.dash-metrics-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 13px; }

.metric-box {
  background: rgba(107, 33, 168, 0.15);
  border: 1px solid rgba(107, 33, 168, 0.25);
  border-radius: 12px;
  padding: 13px;
}
.metric-value { font-size: 1.3rem; font-weight: 800; color: #fff; }
.metric-label { font-size: 0.63rem; color: var(--text-muted); margin-top: 3px; }
.metric-change { font-size: 0.66rem; color: #4ADE80; margin-top: 3px; }

/* Bar Chart */
.dash-chart {
  height: 52px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  background: rgba(107, 33, 168, 0.08);
  border: 1px solid rgba(107, 33, 168, 0.15);
  border-radius: 10px;
  padding: 7px;
}

.chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--gradient-main);
  opacity: 0.75;
  transform-origin: bottom;
  animation: grow-bar 0.8s ease forwards;
}

@keyframes grow-bar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* AI Insight Box */
.ai-insight {
  background: rgba(107, 33, 168, 0.08);
  border: 1px solid rgba(107, 33, 168, 0.15);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.ai-insight-label {
  font-size: 0.63rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.ai-insight-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Chips row */
.dash-chips {
  display: flex;
  gap: 7px;
  margin-top: 11px;
  flex-wrap: wrap;
}

.dash-chip {
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 600;
}

.chip-purple { background: rgba(147,51,234,0.2); border: 1px solid rgba(147,51,234,0.4); color: var(--purple-neon); }
.chip-red    { background: rgba(220,38,38,0.2);  border: 1px solid rgba(220,38,38,0.4);  color: var(--red-bright); }
.chip-green  { background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.3); color: #4ADE80; }
.chip-blue   { background: rgba(59,130,246,0.2);  border: 1px solid rgba(59,130,246,0.4);  color: #60A5FA; }
.chip-yellow { background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.3);  color: #FBBF24; }

/* Assessment Progress Bars */
.assess-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.assess-label {
  font-size: 0.67rem;
  color: var(--text-muted);
  width: 88px;
  flex-shrink: 0;
}

.assess-bar-wrap {
  flex: 1;
  height: 7px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}

.assess-bar {
  height: 100%;
  border-radius: 10px;
  background: var(--gradient-main);
  animation: grow-width 1.2s ease forwards;
}

@keyframes grow-width {
  from { width: 0; }
  to { width: var(--w, 70%); }
}

.assess-score {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

/* QR Map */
.qr-map {
  position: relative;
  height: 88px;
  background: rgba(107, 33, 168, 0.08);
  border: 1px solid rgba(107, 33, 168, 0.15);
  border-radius: 10px;
  margin-bottom: 11px;
  overflow: hidden;
}

.qr-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  animation: qr-pulse 2s infinite;
}

.qr-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  animation: qr-ring 2s infinite;
  opacity: 0;
  width: 10px; height: 10px;
}

@keyframes qr-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.8); opacity: 0.4; }
}

@keyframes qr-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}

/* =====================================================
   SECTION HEADERS
===================================================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* =====================================================
   TRUSTED BY SECTION
===================================================== */
.trusted-section {
  padding: 48px 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  background: rgba(0,0,0,0.2);
}

.trusted-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 32px;
  font-weight: 600;
}

.industries-scroll {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.industry-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.industry-tag:hover {
  background: rgba(147, 51, 234, 0.12);
  border-color: rgba(147, 51, 234, 0.4);
  color: var(--purple-neon);
}

/* =====================================================
   SERVICES / SOLUTIONS SECTION
===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  group: true;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(147, 51, 234, 0.4);
  transform: translateY(-8px);
  box-shadow: var(--shadow-purple);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.2), rgba(220, 38, 38, 0.1));
  border: 1px solid rgba(107, 33, 168, 0.3);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-main);
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(147, 51, 234, 0.5);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-feature::before {
  content: '✓';
  width: 18px; height: 18px;
  background: rgba(74, 222, 128, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #4ADE80;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-neon);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover { gap: 12px; }
.service-link::after { content: '→'; }

/* =====================================================
   PRODUCTS SECTION
===================================================== */
.product-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  border-color: rgba(147, 51, 234, 0.5);
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
}

.product-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--dark-border);
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.1), rgba(220, 38, 38, 0.05));
  position: relative;
}

.product-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 12px;
  background: var(--gradient-main);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  box-shadow: 0 8px 30px rgba(147, 51, 234, 0.4);
}

.product-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.product-body { padding: 28px 32px; }

.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.feature-check {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, #6B21A8, #DC2626);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =====================================================
   WHY CHOOSE SECTION
===================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(107, 33, 168, 0.1);
  border-color: rgba(147, 51, 234, 0.4);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.why-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

/* =====================================================
   TECH STACK
===================================================== */
.tech-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tech-category { }

.tech-category-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-category-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--dark-border);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.tech-badge:hover {
  border-color: rgba(147, 51, 234, 0.5);
  color: var(--text-primary);
  background: rgba(107, 33, 168, 0.12);
  transform: translateY(-2px);
}

.tech-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* =====================================================
   INDUSTRIES
===================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.industry-card:hover {
  border-color: rgba(147, 51, 234, 0.5);
  background: rgba(107, 33, 168, 0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

.industry-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.industry-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.industry-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =====================================================
   CTA SECTION
===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--red-accent) 50%, var(--magenta) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.cta-section .container { position: relative; z-index: 10; }

.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   PORTFOLIO
===================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.portfolio-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-card:hover {
  border-color: rgba(147, 51, 234, 0.5);
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
}

.portfolio-thumb {
  height: 220px;
  background: linear-gradient(135deg, var(--dark-secondary), rgba(107, 33, 168, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.portfolio-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.2), rgba(220, 38, 38, 0.1));
}

.portfolio-body { padding: 28px; }

.portfolio-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.portfolio-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.portfolio-tech span {
  padding: 4px 12px;
  background: rgba(107, 33, 168, 0.15);
  border: 1px solid rgba(107, 33, 168, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--purple-neon);
  font-weight: 500;
}

/* =====================================================
   CONTACT SECTION
===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info { }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.2), rgba(220, 38, 38, 0.1));
  border: 1px solid rgba(107, 33, 168, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-detail-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius-lg);
  padding: 44px;
}

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

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: rgba(147, 51, 234, 0.6);
  background: rgba(107, 33, 168, 0.08);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

select.form-control option { background: var(--dark-card); }

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

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: var(--dark-secondary);
  border-top: 1px solid var(--dark-border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand img { height: 48px; margin-bottom: 20px; }

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 300px;
}

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

.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  color: var(--text-muted);
  text-decoration: none;
}

.social-link:hover {
  background: var(--gradient-main);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--purple-neon); }

/* =====================================================
   WHATSAPP BUTTON
===================================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

/* =====================================================
   ABOUT PAGE
===================================================== */
.about-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

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

.about-visual {
  position: relative;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.about-stat:hover {
  border-color: rgba(147, 51, 234, 0.5);
  transform: translateY(-4px);
}

.about-stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ===== VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius);
  padding: 32px;
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(147, 51, 234, 0.4);
  transform: translateY(-6px);
}

/* =====================================================
   SOLUTIONS PAGE
===================================================== */
.solutions-page .solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--dark-border);
}

.solutions-page .solution-block:nth-child(even) {
  direction: rtl;
}

.solutions-page .solution-block:nth-child(even) > * {
  direction: ltr;
}

.solution-visual {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.solution-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.15), rgba(220, 38, 38, 0.08));
}

/* =====================================================
   PAGE HERO (inner pages)
===================================================== */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(107, 33, 168, 0.1) 0%, transparent 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107, 33, 168, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 33, 168, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(147, 51, 234, 0.4); }
  50% { box-shadow: 0 0 40px rgba(147, 51, 234, 0.8); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

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

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 992px) {
  .section { padding: 70px 0; }
  .hero-content { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-content { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .solutions-page .solution-block { grid-template-columns: 1fr; }
  .solutions-page .solution-block:nth-child(even) { direction: ltr; }

  /* Hero: stack text → dashboard on tablet */
  .hero-visual-wrapper {
    display: block !important;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-section > .container > div {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 40px;
    padding: 40px 0;
  }
  .hero-content { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-subtitle { max-width: 100%; }
  .ai-dashboard { animation: none; }
  .dash-switcher { justify-content: center; }
  .ai-chip { display: none; }
  .dashboard-panel { padding: 18px; }
  .dash-metrics { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .tech-badges { gap: 8px; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  /* Mobile dashboard */
  .hero-visual-wrapper { max-width: 100%; }
  .dashboard-panel { padding: 14px; }
  .metric-value { font-size: 1.1rem; }
  .dash-tab { padding: 6px 12px; font-size: .68rem; }
  .dash-metrics { gap: 7px !important; }
  .metric-box { padding: 10px; }
  .dash-chart { height: 42px; }
  .qr-map { height: 70px; }
  .hero-section > .container > div { padding: 28px 0; gap: 32px; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .dashboard-panel { padding: 12px; }
  .metric-value { font-size: 1rem; }
  .dash-tab { padding: 5px 10px; font-size: .65rem; }
  .hero-cta .btn { width: 100%; justify-content: center; max-width: 280px; }
}

/* =====================================================
   MOBILE NAV
===================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 18, 0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-nav a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 14px 48px;
  width: 100%;
  text-align: center;
  transition: var(--transition);
  border-radius: 12px;
}

.mobile-nav a:hover { color: var(--purple-neon); background: rgba(147, 51, 234, 0.1); }

.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 8px;
  line-height: 1;
}

/* =====================================================
   TRAINING SECTION
===================================================== */
.training-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.training-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
}

.training-card:hover {
  border-color: rgba(147, 51, 234, 0.5);
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
}

.training-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(107, 33, 168, 0.2);
  border: 1px solid rgba(107, 33, 168, 0.3);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--purple-neon);
  margin-bottom: 16px;
}

.training-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  margin-left: 8px;
  margin-bottom: 16px;
}

.level-beginner { background: rgba(74, 222, 128, 0.15); border: 1px solid rgba(74, 222, 128, 0.3); color: #4ADE80; }
.level-intermediate { background: rgba(251, 191, 36, 0.15); border: 1px solid rgba(251, 191, 36, 0.3); color: #FBBF24; }
.level-advanced { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #EF4444; }

.training-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.training-topic {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.training-topic::before {
  content: '▸';
  color: var(--purple-neon);
  font-size: 12px;
}

/* =====================================================
   APEX SKILLS TRAINING PORTAL
===================================================== */
.apex-portal {
  --apex-navy: #0a0f2c;
  --apex-navy-2: #0e1535;
  --apex-card: #131b45;
  --apex-blue: #00cfff;
  --apex-cyan: #00f5d4;
  --apex-purple: #8b5cf6;
  --apex-muted: #94a3b8;
  background: var(--apex-navy);
  color: #e2e8f0;
  min-height: 70vh;
}

.apex-training-hero,
.apex-course-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 207, 255, .13);
  background: linear-gradient(180deg, #0a0f2c 0%, #0e1535 65%, #0a0f2c 100%);
}

.apex-training-hero { padding: 150px 0 105px; }
.apex-course-hero { padding: 130px 0 70px; }

.apex-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 207, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 207, 255, .035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 85% at 50% 45%, #000 35%, transparent 100%);
}

.apex-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.apex-orb-one { width: 500px; height: 500px; background: rgba(0,207,255,.09); top: -260px; left: -120px; }
.apex-orb-two { width: 520px; height: 520px; background: rgba(139,92,246,.08); right: -160px; bottom: -290px; }

.apex-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
}

.apex-brand-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-weight: 800; color: #fff; }
.apex-brand-lockup img { width: 52px; height: 52px; padding: 3px; object-fit: contain; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(139,92,246,.3); }
.apex-eyebrow, .apex-section-kicker { color: var(--apex-cyan); font-weight: 800; font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; }
.apex-eyebrow { margin-bottom: 14px; }

.apex-training-hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
}
.apex-training-hero h1 span,
.apex-section-heading h2 span {
  background: linear-gradient(135deg, var(--apex-blue), var(--apex-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.apex-training-hero p { max-width: 620px; margin-bottom: 34px; color: var(--apex-muted); font-size: 1.05rem; line-height: 1.8; }
.apex-primary-button {
  display: inline-flex;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--apex-blue), var(--apex-cyan));
  color: var(--apex-navy);
  font-weight: 800;
  box-shadow: 0 10px 34px rgba(0,207,255,.25);
}
.apex-primary-button:hover { color: var(--apex-navy); transform: translateY(-2px); box-shadow: 0 14px 42px rgba(0,207,255,.4); }

.apex-hero-card {
  border: 1px solid rgba(0,207,255,.18);
  border-radius: 20px;
  padding: 28px;
  background: rgba(14,21,53,.88);
  box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 55px rgba(0,207,255,.12);
}
.apex-hero-card-head { display: flex; gap: 7px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(0,207,255,.13); }
.apex-hero-card-head span { width: 9px; height: 9px; border-radius: 50%; background: #ff5f56; }
.apex-hero-card-head span:nth-child(2) { background: #ffbd2e; }
.apex-hero-card-head span:nth-child(3) { background: #27c93f; }
.apex-hero-card-head small { margin-inline-start: auto; color: var(--apex-muted); }
.apex-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 24px 0 30px; }
.apex-stat-grid div { padding: 16px 10px; border: 1px solid rgba(0,207,255,.13); border-radius: 12px; background: rgba(0,207,255,.045); text-align: center; }
.apex-stat-grid strong, .apex-stat-grid small { display: block; }
.apex-stat-grid strong { font-size: 1.35rem; color: #fff; }
.apex-stat-grid small { margin-top: 4px; color: var(--apex-muted); font-size: .7rem; }
.apex-learning-bars { height: 115px; display: flex; gap: 10px; align-items: end; }
.apex-learning-bars i { flex: 1; height: 42%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg,var(--apex-blue),rgba(0,207,255,.25)); }
.apex-learning-bars i:nth-child(2) { height: 68%; }
.apex-learning-bars i:nth-child(3) { height: 52%; }
.apex-learning-bars i:nth-child(4) { height: 85%; }
.apex-learning-bars i:nth-child(5) { height: 72%; }
.apex-learning-bars i:nth-child(6) { height: 100%; background: linear-gradient(180deg,var(--apex-cyan),var(--apex-purple)); }

.apex-courses-section, .apex-content-section { padding: 90px 0 110px; }
.apex-section-heading { max-width: 700px; margin-bottom: 48px; }
.apex-section-heading h2 { margin: 10px 0 14px; font-size: clamp(2rem,3.6vw,3rem); font-weight: 900; }
.apex-section-heading p { color: var(--apex-muted); line-height: 1.8; }
.apex-course-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; }
.apex-course-card { overflow: hidden; border: 1px solid rgba(0,207,255,.14); border-radius: 18px; background: rgba(14,21,53,.8); transition: .3s ease; }
.apex-course-card:hover { transform: translateY(-7px); border-color: rgba(0,207,255,.38); box-shadow: 0 20px 55px rgba(0,0,0,.25), 0 0 32px rgba(0,207,255,.1); }
.apex-course-image { position: relative; display: block; height: 125px; overflow: hidden; background: linear-gradient(135deg,#131b45,#101a40); }
.apex-course-image img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .45s ease; }
.apex-course-card:hover .apex-course-image img { transform: scale(1.04); }
.apex-card-price{display:flex;flex-wrap:wrap;gap:7px 14px;margin:12px 0;color:var(--cyan);font-size:.8rem}.apex-card-price strong{color:var(--text-primary)}
.apex-pricing-panel{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:34px 0;padding:28px;border:1px solid rgba(0,207,255,.24);border-radius:20px;background:linear-gradient(135deg,rgba(11,29,70,.9),rgba(24,18,65,.9))}
.apex-pricing-panel h2{margin:6px 0 14px}.apex-price-options{display:flex;gap:14px;flex-wrap:wrap}.apex-price-options>div{min-width:170px;padding:15px 18px;border:1px solid rgba(0,207,255,.18);border-radius:13px;background:rgba(5,17,45,.55)}.apex-price-options small{display:block;color:var(--text-secondary);margin-bottom:5px}.apex-price-options strong{font-size:25px;color:var(--cyan)}.apex-price-options em{font-size:13px;font-style:normal}.apex-ask-price{font-size:25px!important;font-weight:900;color:var(--cyan)}
.apex-register-button,.apex-registration-dialog form button{border:0;border-radius:999px;background:linear-gradient(135deg,#00cfff,#19decf);color:#041425;font-weight:900;padding:15px 25px;cursor:pointer;white-space:nowrap}
.apex-registration-modal{position:fixed;inset:0;z-index:99999;display:none;place-items:center;padding:20px;background:rgba(2,7,24,.82);backdrop-filter:blur(10px)}.apex-registration-modal.open{display:grid}.apex-registration-dialog{position:relative;width:min(520px,100%);padding:30px;border:1px solid rgba(0,207,255,.28);border-radius:22px;background:#0d1738;box-shadow:0 28px 90px rgba(0,0,0,.55)}.apex-registration-dialog h2{margin:7px 0 20px;font-size:28px}.apex-registration-close{position:absolute;top:13px;right:16px;border:0;background:none;color:#fff;font-size:30px;cursor:pointer}.apex-registration-dialog form{display:grid;gap:14px}.apex-registration-dialog label{display:grid;gap:7px;color:var(--text-primary);font-weight:700}.apex-registration-dialog input,.apex-registration-dialog select{width:100%;padding:13px 14px;border:1px solid rgba(0,207,255,.2);border-radius:11px;background:#07122b;color:#fff;font:inherit}.apex-registration-dialog form button{margin-top:5px}
@media(max-width:700px){.apex-pricing-panel{align-items:stretch;flex-direction:column}.apex-register-button{width:100%}}
.apex-image-placeholder { display: grid; place-items: center; height: 100%; font-size: 5rem; font-weight: 900; color: rgba(0,207,255,.35); }
.apex-protected-badge { position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(10,15,44,.88); border: 1px solid rgba(0,207,255,.22); color: #cbd5e1; font-size: .7rem; font-weight: 700; }
.apex-course-card-body { padding: 15px; }
.apex-course-level { margin-bottom: 9px; color: var(--apex-cyan); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.apex-course-card h3 { margin-bottom: 7px; font-size: .9rem; }
.apex-course-card h3 a:hover { color: var(--apex-blue); }
.apex-course-card p { min-height: 58px; color: var(--apex-muted); font-size: .7rem; line-height: 1.55; }
.apex-course-details { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 13px 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.07); color: #cbd5e1; font-size: .65rem; }
.apex-course-link { color: var(--apex-blue); font-size: .86rem; font-weight: 800; }
.apex-empty-state { padding: 70px 25px; border: 1px dashed rgba(0,207,255,.25); border-radius: 18px; background: rgba(14,21,53,.5); text-align: center; }
.apex-empty-state img { width: 75px; margin-bottom: 20px; border-radius: 50%; background: #fff; }
.apex-empty-state h3 { margin-bottom: 8px; }
.apex-empty-state p { color: var(--apex-muted); }

.apex-back { display: inline-block; margin-bottom: 30px; color: var(--apex-blue); font-weight: 700; }
.apex-course-hero-grid { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: center; }
.apex-course-hero h1 { margin-bottom: 18px; font-size: clamp(2.3rem,4.5vw,3.7rem); font-weight: 900; }
.apex-course-hero p { max-width: 730px; color: var(--apex-muted); font-size: 1rem; line-height: 1.8; }
.apex-meta-row { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 24px; color: #cbd5e1; font-size: .88rem; }
.apex-course-cover { height: 280px; overflow: hidden; border: 1px solid rgba(0,207,255,.2); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.apex-course-cover img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.apex-course-layout { display: grid; grid-template-columns: 1fr .78fr; gap: 55px; align-items: start; }
.apex-course-description { color: #cbd5e1; line-height: 1.85; }
.apex-course-description { max-width: 900px; margin-bottom: 50px; }
.apex-course-description .apex-section-kicker { margin-bottom: 20px; }
.apex-course-description h2, .apex-course-description h3 { margin: 28px 0 12px; color: #fff; }
.apex-course-description ul { margin: 15px 0; padding-inline-start: 22px; list-style: disc; }
.apex-materials-panel { position: sticky; top: 110px; padding: 30px; border: 1px solid rgba(0,207,255,.18); border-radius: 20px; background: rgba(14,21,53,.9); box-shadow: 0 25px 60px rgba(0,0,0,.24); }
.apex-materials-panel h2 { margin: 10px 0 10px; font-size: 1.5rem; }
.apex-materials-panel > p { color: var(--apex-muted); font-size: .87rem; line-height: 1.7; }
.apex-lock-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.3); font-size: 1.4rem; }
.apex-materials-panel .post-password-form { margin-top: 22px; }
.apex-materials-panel .post-password-form p:first-child { color: var(--apex-muted); font-size: .8rem; }
.apex-materials-panel .post-password-form label { display: block; color: #cbd5e1; font-size: .8rem; font-weight: 700; }
.apex-materials-panel .post-password-form input[type="password"] { width: 100%; margin: 8px 0 10px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; outline: none; background: rgba(255,255,255,.05); color: #fff; }
.apex-materials-panel .post-password-form input[type="password"]:focus { border-color: var(--apex-blue); box-shadow: 0 0 0 3px rgba(0,207,255,.1); }
.apex-materials-panel .post-password-form input[type="submit"] { width: 100%; padding: 12px; border: 0; border-radius: 10px; cursor: pointer; background: linear-gradient(135deg,var(--apex-blue),var(--apex-cyan)); color: var(--apex-navy); font-weight: 800; }
.apex-unlocked { display: inline-flex; padding: 6px 12px; border: 1px solid rgba(0,245,212,.28); border-radius: 999px; background: rgba(0,245,212,.08); color: var(--apex-cyan); font-size: .72rem; font-weight: 800; }
.apex-material-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.apex-material-item { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); }
.apex-material-item:hover { border-color: rgba(0,207,255,.3); background: rgba(0,207,255,.055); }
.apex-file-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 9px; background: rgba(0,207,255,.1); color: var(--apex-blue); font-weight: 900; }
.apex-file-info { min-width: 0; flex: 1; }
.apex-file-info strong, .apex-file-info small { display: block; }
.apex-file-info strong { overflow: hidden; color: #fff; font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }
.apex-file-info small { margin-top: 3px; color: var(--apex-muted); font-size: .68rem; }
.apex-download { color: var(--apex-blue); font-size: .72rem; font-weight: 800; }
.apex-course-page-shell { max-width:1500px; display:grid; grid-template-columns:280px minmax(0,1fr); gap:44px; align-items:start; }
.apex-course-main { min-width:0; }
.apex-course-sidebar { position:sticky; top:92px; min-height:calc(100vh - 110px); overflow:hidden; border:1px solid rgba(0,207,255,.15); border-radius:18px; background:rgba(14,21,53,.8); box-shadow:0 20px 55px rgba(0,0,0,.18); }
.apex-sidebar-title { padding:24px 20px; border-bottom:1px solid rgba(255,255,255,.08); color:var(--apex-cyan); font-size:.78rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.apex-course-sidebar > a { display:flex; align-items:center; gap:13px; padding:17px 15px; border-bottom:1px solid rgba(255,255,255,.06); }
.apex-course-sidebar > a:hover, .apex-course-sidebar > a.current { background:rgba(0,207,255,.08); }
.apex-course-sidebar > a.current { box-shadow:inset 3px 0 0 var(--apex-blue); }
.apex-course-sidebar img, .apex-sidebar-placeholder { width:42px; height:42px; flex:0 0 42px; border-radius:9px; object-fit:cover; }
.apex-sidebar-placeholder { display:grid; place-items:center; background:rgba(0,207,255,.1); color:var(--apex-blue); font-weight:900; }
.apex-course-sidebar strong, .apex-course-sidebar small { display:block; }
.apex-course-sidebar strong { color:#fff; font-size:.8rem; line-height:1.4; }
.apex-course-sidebar small { margin-top:4px; color:var(--apex-muted); font-size:.63rem; }
.apex-course-sidebar .apex-sidebar-all { justify-content:center; color:var(--apex-blue); font-weight:800; font-size:.72rem; }
.apex-course-info-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-bottom:50px; }
.apex-info-block, .apex-syllabus { padding:30px; border:1px solid rgba(0,207,255,.15); border-radius:18px; background:rgba(14,21,53,.72); }
.apex-info-block h2, .apex-syllabus h2 { margin:9px 0 22px; font-size:1.5rem; }
.apex-info-block ul { display:flex; flex-direction:column; gap:12px; }
.apex-info-block li { display:flex; gap:10px; color:var(--apex-cyan); }
.apex-info-block li span { color:#cbd5e1; }
.apex-syllabus { margin-bottom:50px; }
.apex-syllabus-list { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.apex-syllabus-list div { display:flex; align-items:center; gap:14px; padding:15px; border:1px solid rgba(255,255,255,.07); border-radius:12px; background:rgba(255,255,255,.025); }
.apex-syllabus-list strong { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; border-radius:9px; background:linear-gradient(135deg,var(--apex-blue),var(--apex-cyan)); color:var(--apex-navy); font-size:.75rem; }
.apex-materials-full { position:static; max-width:900px; margin:0 auto; }

@media (max-width: 992px) {
  .apex-hero-inner, .apex-course-hero-grid, .apex-course-layout { grid-template-columns: 1fr; }
  .apex-hero-card { max-width: 650px; }
  .apex-course-grid { grid-template-columns: repeat(2,1fr); }
  .apex-course-cover { max-width: 650px; }
  .apex-materials-panel { position: static; }
  .apex-course-page-shell { grid-template-columns:1fr; }
  .apex-course-sidebar { position:static; display:flex; overflow-x:auto; }
  .apex-sidebar-title { display:none; }
  .apex-course-sidebar > a { min-width:210px; border-bottom:0; border-inline-end:1px solid rgba(255,255,255,.06); }
}

/* ===== SITE DISPLAY MODE ===== */
.auraya-theme-toggle {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  border: 1px solid rgba(168,85,247,.38);
  border-radius: 50%;
  background: rgba(168,85,247,.08);
  color: #f8fafc;
  cursor: pointer;
  transition: var(--transition);
}
.auraya-theme-toggle:hover { transform:translateY(-2px); border-color:var(--purple-neon); background:rgba(168,85,247,.16); }
.theme-toggle-icon { font-size:1rem; line-height:1; }

body.auraya-light-mode {
  --dark-bg: #f6f7fb;
  --dark-secondary: #ffffff;
  --dark-card: #ffffff;
  --dark-border: #e2e5ef;
  --dark-border-light: #d3d8e7;
  --text-primary: #11152b;
  --text-secondary: #3e465d;
  --text-muted: #687089;
  background:#f6f7fb;
  color:#11152b;
}
body.auraya-light-mode .site-header { background:rgba(255,255,255,.9); border-bottom-color:#e3e6ef; box-shadow:0 8px 30px rgba(26,5,51,.06); }
body.auraya-light-mode .main-nav a { color:#34394d; }
body.auraya-light-mode .main-nav a:hover, body.auraya-light-mode .main-nav a.active { color:var(--purple-primary); }
body.auraya-light-mode .dropdown-menu, body.auraya-light-mode .mobile-nav { background:#fff; border-color:#e1e4ed; }
body.auraya-light-mode .auraya-theme-toggle { color:#171b31; background:#fff; }
body.auraya-light-mode .site-footer { background:#eef0f7; }
body.auraya-light-mode .card, body.auraya-light-mode .card-glass { background:#fff; border-color:#e1e4ed; }
body.auraya-light-mode .apex-portal { --apex-navy:#f5f7fc; --apex-navy-2:#fff; --apex-card:#fff; --apex-muted:#657089; background:#f5f7fc; color:#13182d; }
body.auraya-light-mode .apex-training-hero, body.auraya-light-mode .apex-course-hero { background:linear-gradient(180deg,#fff,#f2f6ff,#f7f8fc); border-bottom-color:#dbe7f2; }
body.auraya-light-mode .apex-training-hero h1, body.auraya-light-mode .apex-course-hero h1,
body.auraya-light-mode .apex-section-heading h2, body.auraya-light-mode .apex-course-card h3 a,
body.auraya-light-mode .apex-course-description h2, body.auraya-light-mode .apex-course-description h3,
body.auraya-light-mode .apex-info-block h2, body.auraya-light-mode .apex-syllabus h2 { color:#11162d; }
body.auraya-light-mode .apex-hero-card, body.auraya-light-mode .apex-course-card,
body.auraya-light-mode .apex-info-block, body.auraya-light-mode .apex-syllabus,
body.auraya-light-mode .apex-materials-panel, body.auraya-light-mode .apex-course-sidebar { background:#fff; border-color:#dce6ef; box-shadow:0 16px 45px rgba(42,56,88,.08); }
body.auraya-light-mode .apex-course-card p, body.auraya-light-mode .apex-course-description,
body.auraya-light-mode .apex-course-hero p, body.auraya-light-mode .apex-info-block li span,
body.auraya-light-mode .apex-file-info strong, body.auraya-light-mode .apex-course-sidebar strong { color:#354057; }
body.auraya-light-mode .apex-syllabus-list div, body.auraya-light-mode .apex-material-item { background:#f8fafc; border-color:#e4e8f0; }
body.auraya-light-mode .apex-course-sidebar > a { border-color:#e6e9f0; }
body.auraya-light-mode .apex-course-sidebar > a:hover, body.auraya-light-mode .apex-course-sidebar > a.current { background:#eafaff; }

/* Complete Auraya light mode coverage */
body.auraya-light-mode .hero,
body.auraya-light-mode .hero-section,
body.auraya-light-mode .page-hero,
body.auraya-light-mode .section,
body.auraya-light-mode .section-sm,
body.auraya-light-mode .section-lg,
body.auraya-light-mode .cta-section,
body.auraya-light-mode main {
  color:var(--text-primary);
}
body.auraya-light-mode .page-hero,
body.auraya-light-mode .hero-section {
  background:linear-gradient(180deg,#fff 0%,#f4f0fb 100%) !important;
}
body.auraya-light-mode section[style*="background"],
body.auraya-light-mode div[style*="background:rgba(0,0,0"],
body.auraya-light-mode div[style*="background: rgba(0,0,0"] {
  background-color:#f0f2f8 !important;
}
body.auraya-light-mode .section-title,
body.auraya-light-mode .page-hero-title,
body.auraya-light-mode .hero-title,
body.auraya-light-mode h1,
body.auraya-light-mode h2,
body.auraya-light-mode h3,
body.auraya-light-mode h4 {
  color:#11152b;
}
body.auraya-light-mode p,
body.auraya-light-mode .section-desc,
body.auraya-light-mode .page-hero-desc {
  color:#566078;
}
body.auraya-light-mode .service-card,
body.auraya-light-mode .product-card,
body.auraya-light-mode .portfolio-card,
body.auraya-light-mode .training-card,
body.auraya-light-mode .contact-card,
body.auraya-light-mode .feature-card,
body.auraya-light-mode .stat-card,
body.auraya-light-mode .process-card,
body.auraya-light-mode .value-card,
body.auraya-light-mode .team-card,
body.auraya-light-mode .form-card,
body.auraya-light-mode .custom-select-trigger,
body.auraya-light-mode .custom-select-dropdown,
body.auraya-light-mode input,
body.auraya-light-mode textarea {
  background:#fff !important;
  border-color:#dde1eb !important;
  color:#11152b !important;
  box-shadow:0 12px 35px rgba(26,5,51,.05);
}
body.auraya-light-mode .footer-heading,
body.auraya-light-mode .footer-links a,
body.auraya-light-mode .footer-bottom,
body.auraya-light-mode .footer-desc {
  color:#4e5870;
}
body.auraya-light-mode .whatsapp-btn { box-shadow:0 8px 25px rgba(18,140,126,.22); }
.auraya-theme-toggle-mobile { margin-top:22px; }

@media (max-width: 640px) {
  .apex-training-hero { padding: 125px 0 75px; }
  .apex-course-hero { padding: 115px 0 55px; }
  .apex-courses-section, .apex-content-section { padding: 65px 0 80px; }
  .apex-course-grid { grid-template-columns: 1fr; }
  .apex-hero-card { padding: 20px; }
  .apex-stat-grid { grid-template-columns: 1fr; }
  .apex-stat-grid div { display: flex; justify-content: space-between; align-items: center; }
  .apex-stat-grid small { margin: 0; }
  .apex-course-image { height: 190px; }
  .apex-course-card p { min-height: 0; }
  .apex-materials-panel { padding: 22px; }
  .apex-download { display: none; }
  .apex-course-info-grid, .apex-syllabus-list { grid-template-columns:1fr; }
}

/* =====================================================
   UTILITIES
===================================================== */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4 { gap: 16px; }
.gap-8 { gap: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.w-full { width: 100%; }

.highlight-box {
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.15), rgba(220, 38, 38, 0.08));
  border: 1px solid rgba(107, 33, 168, 0.3);
  border-radius: var(--border-radius);
  padding: 24px;
}

/* =====================================================
   CUSTOM SELECT DROPDOWN
===================================================== */
.custom-select-wrap { position: relative; width: 100%; }
.custom-select-trigger {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 13px 40px 13px 16px;
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  font-family: inherit;
  user-select: none;
  position: relative;
}
.custom-select-trigger:hover,
.custom-select-wrap.open .custom-select-trigger {
  border-color: rgba(147,51,234,0.6);
  background: rgba(107,33,168,0.08);
}
.custom-select-wrap.open .custom-select-trigger {
  box-shadow: 0 0 0 3px rgba(147,51,234,0.15);
}
.custom-select-arrow {
  width: 12px; height: 8px;
  flex-shrink: 0;
  transition: transform 0.25s;
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
}
.custom-select-wrap.open .custom-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #0f0f2e;
  border: 1px solid rgba(147,51,234,0.4);
  border-radius: 12px;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: none;
  max-height: 320px;
  overflow-y: auto;
}
.custom-select-dropdown::-webkit-scrollbar { width: 4px; }
.custom-select-dropdown::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }
.custom-select-dropdown::-webkit-scrollbar-thumb { background: rgba(147,51,234,0.5); border-radius: 2px; }
.custom-select-wrap.open .custom-select-dropdown {
  display: block;
  animation: dropIn 0.2s ease;
}
@keyframes dropIn {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:translateY(0); }
}
.custom-optgroup-label {
  padding: 10px 16px 6px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg,#6B21A8,#DC2626,#C026D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-top: 1px solid rgba(147,51,234,0.2);
}
.custom-optgroup-label:first-child { border-top: none; }
.custom-option {
  padding: 11px 16px 11px 24px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: 0.15s;
  border-left: 2px solid transparent;
}
.custom-option:hover {
  background: rgba(147,51,234,0.15);
  color: #fff;
  border-left-color: var(--purple-neon);
}
.custom-option.selected {
  background: linear-gradient(135deg,rgba(107,33,168,0.3),rgba(220,38,38,0.15));
  color: #fff;
  border-left-color: var(--purple-neon);
  font-weight: 600;
}
/* Front-end training control */
.training-control{min-height:100vh;background:#071027;color:#eef6ff;padding:130px 20px 70px}.control-wrap{max-width:1180px;margin:auto}.control-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.control-head span{color:#12e5cb;font-weight:800}.control-head h1{font-size:42px;margin:5px 0}.control-head p{color:#9db0cd}.control-head>a,.control-primary{background:linear-gradient(135deg,#00c9ef,#13e4c7);color:#041425!important;border:0;border-radius:12px;padding:13px 20px;font-weight:800;text-decoration:none;cursor:pointer}.control-card{background:#101b38;border:1px solid #22365e;border-radius:20px;padding:24px;margin:20px 0;box-shadow:0 20px 50px #0003}.control-card h2{margin:0 0 20px}.control-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.control-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.control-form.one{grid-template-columns:1fr}.control-form label{display:flex;flex-direction:column;gap:7px;color:#cbd8eb;font-weight:700}.control-form label.wide{grid-column:1/-1}.control-form small{color:#7f93b1;font-weight:400}.control-form input,.control-form textarea,.control-form select{width:100%;box-sizing:border-box;background:#07122b;color:#fff;border:1px solid #30466e;border-radius:10px;padding:12px;font:inherit}.control-form input[type=file]{padding:9px}.control-success{background:#0d6b58;border:1px solid #21e0bd;padding:13px 18px;border-radius:12px}.control-list{display:grid;gap:10px}.control-list>div{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#0a1530;border:1px solid #23365b;padding:13px 15px;border-radius:12px}.control-list span{display:flex;align-items:center;gap:12px}.control-list form{display:inline;margin:0}.control-list a{color:#18dfce}.control-list small{color:#91a5c5;margin-inline:10px}.control-list .code{font:800 18px monospace;letter-spacing:1px;color:#20e2cc}.danger{background:#54233a;color:#ffb7c9;border:1px solid #94405e;border-radius:8px;padding:8px 12px;cursor:pointer}.apex-code-form{display:flex;gap:10px;max-width:520px;margin:20px auto}.apex-code-form input{flex:1;min-width:0;padding:13px;border-radius:10px;border:1px solid #30466e;background:#07122b;color:#fff}.apex-code-form button{border:0;border-radius:10px;background:#12dacb;color:#041425;font-weight:800;padding:0 20px}.apex-access-error{color:#ff7996!important;font-weight:700}@media(max-width:780px){.training-control{padding-top:105px}.control-head,.control-list>div{align-items:stretch;flex-direction:column}.control-grid,.control-form{grid-template-columns:1fr}.control-form label.wide{grid-column:auto}.control-head h1{font-size:32px}.apex-code-form{flex-direction:column}.apex-code-form button{padding:13px}}
/* Keep Arabic syllabus order identical to the entered top-to-bottom sequence. */
.apex-syllabus-list{direction:rtl}
.apex-syllabus-list>div{direction:rtl;text-align:right}
