/*
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;
}

/* =====================================================
   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;
}
