/* ==========================================================================
   Trex Software & Technology - Modern Cyber Glassmorphism Stylesheet
   Proposal 1: Obsidian & Cyber Emerald Palette (OpenAI, Linear, Supabase Aesthetic)
   ========================================================================== */

:root {
  /* Obsidian & Cyber Emerald Palette */
  --bg-dark: #080a0c;
  --bg-card: rgba(10, 18, 14, 0.7);
  --primary-blue: #10b981; /* Cyber Emerald primary */
  --primary-violet: #10b981;
  --primary-glow: #00f5a0;
  --accent-cyan: #00f5a0; /* Glowing Mint */
  --accent-blue: #10b981; /* Cyber Emerald */
  --accent-indigo: #059669; /* Deep Cyber Emerald */
  --accent-pink: #34d399; /* Bright Mint Emerald */
  --accent-glow: rgba(16, 185, 129, 0.35);

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-secondary: #cbd5e1;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(16, 185, 129, 0.28);

  --font-ar: 'Alexandria', sans-serif;
  --font-en: 'Space Grotesk', sans-serif;
  --font-mono: 'Fira Code', monospace;

  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 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 {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(ellipse at 15% 30%, rgba(16, 185, 129, 0.16) 0%, transparent 48%),
    radial-gradient(ellipse at 85% 20%, rgba(0, 245, 160, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 75%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 85%, rgba(5, 150, 105, 0.12) 0%, transparent 40%);
  color: var(--text-main);
  min-height: 100vh;
  font-family: var(--font-ar);
  overflow-x: hidden;
  position: relative;
}

html[dir="rtl"],
html[dir="rtl"] body,
body[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"],
html[dir="ltr"] body,
body[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

/* Glassmorphism Utility (Exact User Specification) */
.glass-effect,
.glass {
  /* خلفية شفافة بنسبة بسيطة (يفضل استخدام rgba للتحكم الدقيق) */
  background: rgba(255, 255, 255, 0.03) !important;

  /* تأثير الضبابية (الأساس في تصميم الزجاج) */
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important; /* ضروري جداً لدعم متصفحات سفاري وبعض محركات العرض */

  /* إطار خفيف جداً لتعزيز حافة الزجاج وإعطائه واقعية */
  border: 1px solid rgba(255, 255, 255, 0.08) !important;

  /* ظل خفيف لإبراز العنصر وفصله عن الخلفية */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;

  /* حواف دائرية ناعمة */
  border-radius: 16px;
}

/* Ambient Cyber Canvas */
#cyber-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Honeycomb Grid - Delicate and Clean in Cyber Emerald */
.cyber-hex-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='86.6' height='150' viewBox='0 0 86.6 150'%3E%3Cpath d='M43.3 0 L86.6 25 L86.6 75 L43.3 100 L0 75 L0 25 Z M43.3 150 L86.6 125 L86.6 75 L43.3 50 L0 75 L0 125 Z' fill='none' stroke='rgba(16, 185, 129, 0.09)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 86.6px 150px;
  opacity: 0.7;
}

/* Disabling high-saturation blobs that caused solid tint */
.glow-orb {
  display: none !important;
}

/* Main Layout Wrapper */
main {
  position: relative;
  z-index: 1;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--trans-fast);
}

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

/* ==========================================================================
   Header & True Glassmorphic Navigation Bar
   ========================================================================== */
.header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 50px !important;
  padding: 10px 24px;
  /* 3-column layout: actions | logo (center) | nav */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
  transition: var(--trans-normal);
}

/* column order: left=actions, center=logo, right=nav */
.header-container .header-actions { order: 1; justify-self: start; }
.header-container .brand-logo      { order: 2; justify-self: center; }
.header-container .nav-menu        { order: 3; justify-self: end; }

.header.scrolled .header-container {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* Brand Logo — centered in grid column 2 */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-emblem-icon {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.7));
  transition: transform var(--trans-normal);
}

.brand-logo:hover .brand-emblem-icon {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 0 18px rgba(0, 245, 160, 0.95));
}

/* Logo text: TREX on top, SOFTWARE & TECHNOLOGY below */
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.trex-main {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 30%, #00f5a0 75%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.45));
}

.trex-sub {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: var(--accent-cyan);
  line-height: 1.3;
  white-space: nowrap;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff;
}

.nav-indicator {
  position: absolute;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #00f5a0, #10b981);
  border-radius: 4px;
  transition: width var(--trans-normal);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
}

.nav-link.active .nav-indicator,
.nav-link:hover .nav-indicator {
  width: 100%;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Language Toggle Button ── */
.lang-toggle-btn,
#lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans-fast);
  white-space: nowrap;
  font-family: var(--font-en);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lang-toggle-btn:hover,
#lang-toggle-btn:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.lang-toggle-btn .lang-flag,
#lang-toggle-btn .lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-toggle-btn .lang-label,
#lang-toggle-btn .lang-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* LTR layout nav-indicator direction fix */
[dir="ltr"] .nav-indicator {
  left: 50%;
  transform: translateX(-50%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 50px;
  transition: all var(--trans-fast);
}

.btn-glass-contact {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: #ffffff !important;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.btn-glass-contact:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.btn-primary-start {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #00f5a0 100%) !important;
  color: #ffffff !important;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 30px;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45) !important;
  position: relative;
  overflow: hidden;
}

.btn-primary-start::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: rotate(45deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn-primary-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0, 245, 160, 0.65) !important;
}

.btn-primary-start:hover::before {
  transform: rotate(45deg) translateY(100%);
}

.btn-primary-start i {
  transition: transform var(--trans-fast);
}

.btn-primary-start:hover i {
  transform: translateX(-4px);
}

.mobile-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
/* ==========================================================================
   Hero Section & Integrated Background Visual
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  padding: 150px 24px 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-dark);
}

/* Integrated 3D Cyber Background Visual Layer (Clean Cyber Grid Matrix) */
.hero-bg-visual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero_cyber_bg_clean.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.48;
  mask-image: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

[dir="rtl"] .hero-bg-visual {
  background-position: center center;
}

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

.hero-visual-space {
  width: 100%;
  height: 100%;
  min-height: 420px;
  pointer-events: none;
}

/* Right Content Column */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-pill-badge,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 8px 20px;
  border-radius: 50px;
  width: fit-content;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.badge-glow-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.badge-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.highlight-line {
  display: block;
  background: linear-gradient(90deg, #00f5a0 0%, #10b981 50%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0, 245, 160, 0.6));
}

.hero-description {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 580px;
  line-height: 1.8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.hero-actions,
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 25px;
}

.btn-primary,
.btn-hero-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #00f5a0 100%) !important;
  color: #080a0c !important;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 50px;
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5) !important;
}

.btn-primary:hover,
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 245, 160, 0.7) !important;
  color: #080a0c !important;
}

.btn-outline,
.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.btn-outline:hover,
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Features Section 3 Grid Boxes (Matching User Reference) */
.features-section,
.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  margin-top: 10px;
}

.feature-box,
.trust-box-card {
  background: rgba(12, 20, 16, 0.75) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 16px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  transition: all var(--trans-fast);
}

.feature-box:hover,
.trust-box-card:hover {
  transform: translateY(-4px);
  border-color: #00f5a0 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.3) !important;
}

.trust-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(0, 245, 160, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 18px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.feature-box i {
  font-size: 20px;
  color: var(--accent-cyan);
}

.feature-box h3,
.trust-box-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

/* Floating Micro-Badges */
.floating-badge {
  position: absolute;
  background: rgba(10, 14, 12, 0.88);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(16, 185, 129, 0.25);
  z-index: 2;
  transition: transform var(--trans-normal);
}

.badge-top-right {
  top: 15px;
  right: -15px;
  animation: floatBadge1 5s ease-in-out infinite alternate;
}

.badge-bottom-left {
  bottom: 25px;
  left: -20px;
  animation: floatBadge2 6s ease-in-out infinite alternate 1s;
}

.badge-center-floating {
  bottom: 80px;
  right: 15px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 6px 12px;
  border-radius: 30px;
  animation: floatBadge1 7s ease-in-out infinite alternate 2s;
}

@keyframes floatBadge1 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes floatBadge2 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(10px) rotate(-1deg); }
}

.badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-label {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.badge-status {
  font-size: 10px;
  color: var(--accent-cyan);
  line-height: 1.2;
}

.badge-pulse-circle {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* ==========================================================================
   Services Section ("ما الذي نقدمه لك؟")
   ========================================================================== */
.services-section {
  padding: 60px 24px 80px;
}

.services-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Main Outer Glass Panel */
.services-panel-card {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 24px;
  padding: 36px 28px 44px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 36px;
}

.services-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00f5a0, #10b981);
  border-radius: 3px;
  margin: 10px auto 0;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

/* 5 Cards Row */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Individual Frosted Glass Service Card */
.service-card {
  background: linear-gradient(145deg, rgba(16, 24, 38, 0.75) 0%, rgba(6, 12, 22, 0.85) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0, 245, 160, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  border-radius: 18px !important;
  padding: 20px 16px 18px;
  position: relative;
  overflow: hidden;
  /* NO transition on transform — vanilla-tilt handles it with requestAnimationFrame */
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  will-change: transform;             /* GPU compositing layer = zero jitter */
  transform-style: preserve-3d;       /* enables 3D pop for children */
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 160, 0.7), transparent);
  opacity: 0.3;
  transition: opacity 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  /* No transform here — vanilla-tilt's scale param handles the lift */
  background: linear-gradient(145deg, rgba(20, 32, 50, 0.85) 0%, rgba(8, 16, 28, 0.92) 100%) !important;
  border-color: rgba(0, 245, 160, 0.45) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 245, 160, 0.25) !important;
}

.service-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.8);
}

.service-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Corner Refresh / 3D Spin Action Button */
.card-corner-action {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(3, 7, 18, 0.75) !important;
  border: 1px solid rgba(0, 245, 160, 0.25) !important;
  color: #00f5a0;
  font-size: 11px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
  transition: all var(--trans-fast);
  cursor: pointer;
  z-index: 10;
}

.card-corner-action:hover {
  color: #ffffff;
  background: rgba(16, 185, 129, 0.4) !important;
  border-color: #00f5a0 !important;
  transform: rotate(180deg);
}

/* 3D Illustrated Icon Container & 3D Interactive Elements */
.service-icon-container {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 0;
  perspective: 700px;
  transform-style: preserve-3d;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 160, 0.2);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), 0 8px 20px rgba(0, 0, 0, 0.4);
  background: #040914;
  position: relative;
}

.service-3d-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translateZ(35px);        /* 3D pop inside tilt card */
}

.service-card:hover .service-3d-img {
  transform: translateZ(50px) scale(1.08);
  filter: brightness(1.15) drop-shadow(0 0 15px rgba(0, 245, 160, 0.45));
}

@keyframes spin3DModel {
  0% { transform: perspective(600px) rotateY(0deg) translateZ(0) scale(1); }
  50% { transform: perspective(600px) rotateY(180deg) translateZ(60px) scale(1.15); filter: drop-shadow(0 0 35px #00f5a0); }
  100% { transform: perspective(600px) rotateY(360deg) translateZ(0) scale(1); }
}

.spinning-3d {
  animation: spin3DModel 1.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* Link Button at bottom */
.service-link-btn {
  background: transparent;
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all var(--trans-fast);
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.service-link-btn i {
  font-size: 11px;
  color: var(--primary-blue);
  transition: transform var(--trans-fast);
}

.service-card:hover .service-link-btn {
  color: #ffffff;
}

.service-card:hover .service-link-btn i {
  transform: translateX(-4px);
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
  padding: 80px 24px;
}

.about-container {
  max-width: 1240px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.mb-3 {
  margin-bottom: 16px;
}

.about-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(90deg, #00f5a0, #10b981, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-desc {
  font-size: 1.08rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  transition: all var(--trans-fast);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.highlight-item:hover {
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateX(-6px);
  background: rgba(255, 255, 255, 0.06);
}

.hl-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(0, 245, 160, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 18px;
  flex-shrink: 0;
}

.hl-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.hl-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Stats Card Panel */
.about-stats-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  transition: all var(--trans-fast);
  backdrop-filter: blur(8px);
}

.stat-box:hover {
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.stat-number {
  display: block;
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 800;
  color: #00f5a0;
  line-height: 1.1;
  margin-bottom: 6px;
}

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

/* Tech Stack Tags */
.tech-stack-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.tech-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.25);
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-family: var(--font-en);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--trans-fast);
}

.tech-tag:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Contact & Project Launch Section
   ========================================================================== */
.contact-section {
  padding: 70px 24px 100px;
}

.contact-container {
  max-width: 1240px;
  margin: 0 auto;
}

.contact-card-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 44px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
}

/* Form Styles */
.form-header {
  margin-bottom: 28px;
}

.form-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  right: 14px;
  color: var(--accent-cyan);
  font-size: 15px;
  pointer-events: none;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 42px 12px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all var(--trans-fast);
}

.textarea-icon {
  align-items: flex-start;
}

.textarea-icon i {
  top: 14px;
}

.input-with-icon textarea {
  resize: vertical;
  min-height: 100px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.input-with-icon select option {
  background: #080a0c;
  color: #ffffff;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-submit {
  padding: 13px 30px;
  font-size: 15px;
}

.btn-whatsapp-direct {
  background: #25d366;
  color: #ffffff;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 40px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp-direct:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.form-feedback {
  padding: 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

/* Contact Info Column */
.company-card-highlight {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.co-header {
  margin-bottom: 24px;
}

.co-logo-img {
  height: 42px;
  width: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
}

.co-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.co-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ch-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.ch-info {
  display: flex;
  flex-direction: column;
}

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

.ch-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

/* QR Code Showcase Box */
.qr-showcase-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(8px);
}

.qr-img-wrapper {
  background: #ffffff;
  padding: 6px;
  border-radius: 10px;
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-caption {
  display: flex;
  flex-direction: column;
}

.qr-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.qr-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Service Detail Interactive Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 6, 0.88);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--trans-normal);
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: rgba(8, 14, 11, 0.94);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: 24px;
  max-width: 580px;
  width: 100%;
  padding: 32px;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.25);
  transform: scale(0.9);
  transition: transform var(--trans-normal);
}

.modal-overlay.open .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.modal-icon-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.modal-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 245, 160, 0.2);
}

.modal-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(0, 245, 160, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 4px;
}

.modal-service-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-service-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 22px;
}

.modal-features-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.features-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.features-list li i {
  color: var(--accent-cyan);
  font-size: 13px;
}

.modal-cta-row {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: rgba(5, 8, 6, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 24px 30px;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 340px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.social-btn:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10b981;
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.footer-links,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-service-trigger {
  color: var(--text-muted);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.footer-links a:hover,
.footer-service-trigger:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-contact-list li i {
  color: var(--accent-cyan);
  font-size: 14px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright-text,
.credit-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.credit-text {
  font-family: var(--font-en);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1100px) {
  .services-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .header-container {
    padding: 8px 16px;
  }

  .nav-menu,
  .header-actions .btn-glass-contact,
  .header-actions .btn-primary-start {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  /* Mobile Drawer Open */
  .mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(6, 12, 9, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 200;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right var(--trans-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
  }

  .mobile-drawer.open {
    right: 0;
  }

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

  .drawer-title {
    font-weight: 800;
    color: #ffffff;
    font-size: 1.1rem;
  }

  .drawer-close {
    background: transparent;
    color: #ffffff;
    font-size: 20px;
  }

  .drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 30px 0;
  }

  .drawer-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 8px 0;
  }

  .drawer-link.active,
  .drawer-link:hover {
    color: var(--accent-cyan);
  }

  .w-100 {
    width: 100%;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-description {
    margin: 0 auto;
  }

  .trust-features-bar {
    width: 100%;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }

  .trust-features-bar {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .trust-divider {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-submit,
  .btn-whatsapp-direct {
    width: 100%;
    justify-content: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.95rem;
  }
}

/* ==========================================================================
   Inner Standalone Pages Styling (Services, About, Contact)
   ========================================================================== */
.page-content {
  padding-top: 120px;
  min-height: 80vh;
}

.page-hero-banner {
  padding: 30px 24px 60px;
  text-align: center;
}

.banner-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero-title {
  font-size: 2.7rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 720px;
  line-height: 1.8;
}

/* Services Deep Dive */
.services-deep-section {
  padding: 0 24px 80px;
}

.deep-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-detail-block {
  background: rgba(10, 15, 12, 0.82);
  border: 1px solid var(--border-bright);
  border-radius: 24px;
  padding: 36px 32px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
  transition: all var(--trans-normal);
}

.service-detail-block:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.25);
}

.detail-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
}

.detail-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: rgba(8, 12, 10, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px 16px;
}

.detail-img-box {
  width: 140px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background: #040914;
}

.detail-3d-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform var(--trans-normal), filter var(--trans-normal);
}

.service-detail-block:hover .detail-3d-img {
  transform: scale(1.08);
  filter: brightness(1.1) drop-shadow(0 0 20px rgba(0, 245, 160, 0.5));
}

.detail-badge {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-cyan);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(0, 245, 160, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
}

.detail-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.detail-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 20px;
}

.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.df-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.df-item i {
  color: var(--accent-cyan);
  font-size: 13px;
  flex-shrink: 0;
}

.detail-actions {
  display: flex;
}

/* About Page Specific Styles */
.about-story-section {
  padding: 0 24px 70px;
}

.story-container {
  max-width: 1100px;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.section-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.3;
}

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

.story-p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.85;
  margin-bottom: 16px;
}

.vision-mission-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vm-card {
  background: rgba(10, 15, 12, 0.82);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--trans-fast);
}

.vm-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.vm-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.vm-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.vm-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stats Standalone */
.about-stats-showcase {
  padding: 20px 24px 70px;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
}

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

.stat-box-large {
  background: rgba(10, 15, 12, 0.82);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: all var(--trans-fast);
}

.stat-box-large:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.25);
}

.stat-box-large .stat-number {
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.stat-box-large .stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.stat-box-large .stat-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Values Grid */
.values-section {
  padding: 20px 24px 80px;
}

.values-container {
  max-width: 1100px;
  margin: 0 auto;
}

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

.value-card {
  background: rgba(10, 15, 12, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px 20px;
  transition: all var(--trans-fast);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
  background: rgba(14, 20, 16, 0.92);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25);
}

.val-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tech Panel Full */
.tech-section {
  padding: 0 24px 80px;
}

.tech-container {
  max-width: 1100px;
  margin: 0 auto;
}

.tech-panel-full {
  background: rgba(8, 12, 10, 0.85);
  border: 1px solid var(--border-bright);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
}

.tech-title-center {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
}

.tech-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tech-item {
  background: rgba(12, 18, 14, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-en);
  transition: all var(--trans-fast);
}

.tech-item i {
  font-size: 20px;
  color: var(--accent-cyan);
}

.tech-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(16, 185, 129, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Contact Main Section */
.contact-main-section {
  padding: 0 24px 80px;
}

/* FAQ Section */
.faq-section {
  padding: 0 24px 90px;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.faq-item {
  background: rgba(10, 15, 12, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  transition: all var(--trans-fast);
}

.faq-item:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.faq-q i {
  color: var(--accent-cyan);
  margin-top: 4px;
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Call to action Banner */
.cta-banner-section {
  padding: 20px 24px 90px;
}

.cta-banner-card {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.28) 0%, rgba(0, 245, 160, 0.18) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(16, 185, 129, 0.25);
}

.cta-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1.05rem;
  color: #e2e8f0;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
}

/* Responsive inner pages */
@media (max-width: 950px) {
  .detail-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .stats-panel-standalone,
  .values-grid,
  .tech-logos-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 600px) {
  .stats-panel-standalone,
  .values-grid,
  .tech-logos-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-title {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Aceternity 3D Card Perspective Engine & Services SVG Backdrop
   ========================================================================== */

/* 3D Card Container holding perspective */
.three-d-card-container,
.card-container-3d {
  perspective: 1000px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3D Card Body - Holds 3D space */
.three-d-card-body,
.card-body-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  border-radius: 20px;
}

/* Hover shadow effects for 3D cards */
.three-d-card-body:hover,
.service-card:hover,
.service-detail-block:hover {
  box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.3), 
              0 0 35px 2px rgba(0, 245, 160, 0.2) !important;
}

/* 3D Card Item - Floating layer inside 3D card */
.three-d-card-item,
.card-item-3d,
[data-translate-z] {
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Services Page SVG Circle Ambient Backdrop */
.services-svg-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1298px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  filter: drop-shadow(0 0 60px rgba(16, 185, 129, 0.5));
  animation: pulseSvgCircle 8s ease-in-out infinite alternate;
}

@keyframes pulseSvgCircle {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.18;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.32;
  }
}

.services-deep-section {
  position: relative;
  overflow: hidden;
}

.services-deep-section .deep-container {
  position: relative;
  z-index: 2;
}

/* Custom 3D Card Styling on Services Page */
.service-detail-block {
  perspective: 1000px;
  transform-style: preserve-3d;
  background: rgba(10, 18, 14, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px;
  padding: 38px;
  margin-bottom: 44px;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-block:hover {
  border-color: rgba(16, 185, 129, 0.45) !important;
}

.detail-img-box {
  transform-style: preserve-3d;
  position: relative;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.18) 0%, rgba(8, 10, 12, 0.85) 75%);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Live Pulsing Green Circuit Animation ("تنبض بالحياة") & Hero 3D Card
   ========================================================================== */
.hero-bg-visual {
  animation: heroPulseGlow 4s ease-in-out infinite alternate !important;
}

@keyframes heroPulseGlow {
  0% {
    filter: brightness(0.95) drop-shadow(0 0 15px rgba(16, 185, 129, 0.3));
    opacity: 0.9;
  }
  50% {
    filter: brightness(1.25) drop-shadow(0 0 45px rgba(0, 245, 160, 0.8));
    opacity: 1;
  }
  100% {
    filter: brightness(1.05) drop-shadow(0 0 25px rgba(16, 185, 129, 0.45));
    opacity: 0.95;
  }
}

/* Pulsing energy scanline overlay */
.hero-bg-visual::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 245, 160, 0.22) 0%, transparent 60%),
              linear-gradient(45deg, transparent 40%, rgba(16, 185, 129, 0.25) 50%, transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: circuitEnergySweep 7s linear infinite;
}

@keyframes circuitEnergySweep {
  0% {
    transform: rotate(0deg) scale(0.95);
  }
  50% {
    transform: rotate(180deg) scale(1.05);
  }
  100% {
    transform: rotate(360deg) scale(0.95);
  }
}

/* Hero 3D Card Wrapper Container */
.hero-3d-card-wrapper {
  position: relative;
  width: 100%;
  /* No perspective here — vanilla-tilt handles perspective internally */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* vanilla-tilt manages all transform — remove conflicting CSS transition on transform */
.hero-3d-card-body {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: rgba(8, 14, 11, 0.72) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  transform-style: preserve-3d;       /* critical for 3D pop children */
  will-change: transform;             /* GPU layer — eliminates jitter */
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8),
              0 0 40px rgba(16, 185, 129, 0.2) !important;
  /* NO transition on transform — vanilla-tilt uses requestAnimationFrame */
  transition: box-shadow 0.4s ease, border-color 0.3s ease;
}

.hero-3d-card-body:hover {
  border-color: rgba(0, 245, 160, 0.6) !important;
  box-shadow: 0 35px 70px -10px rgba(0, 0, 0, 0.9),
              0 0 55px 5px rgba(16, 185, 129, 0.4) !important;
}

/* Hero Chip Image — pops forward via translateZ for 3D depth (tilt-child) */
.hero-chip-3d-img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  transform-style: preserve-3d;
  transform: translateZ(60px);        /* 3D depth pop out of card surface */
  will-change: transform;
  /* NO transition on transform — conflicts with tilt */
  transition: filter 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: heroChipPulsing 3.5s ease-in-out infinite alternate;
}

/* floating overlays pop even further forward */
.tilt-child {
  transform: translateZ(55px);
  transform-style: preserve-3d;
}

.hero-card-floating-badge.tilt-child {
  transform: translateZ(80px);
}

.hero-card-floating-stat.tilt-child {
  transform: translateZ(70px);
}

@keyframes heroChipPulsing {
  0% {
    filter: brightness(1) drop-shadow(0 0 12px rgba(16, 185, 129, 0.4));
  }
  100% {
    filter: brightness(1.22) drop-shadow(0 0 40px rgba(0, 245, 160, 0.85));
  }
}

/* Floating status overlays inside 3D Hero Card */
.hero-card-floating-badge {
  position: absolute;
  top: 36px;
  right: 36px;
  background: rgba(6, 16, 12, 0.9);
  border: 1px solid rgba(0, 245, 160, 0.5);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #00f5a0;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  transform-style: preserve-3d;
  pointer-events: none; /* let tilt events pass through */
}

.hero-card-floating-badge i {
  color: #00f5a0;
  font-size: 14px;
}

.hero-card-floating-stat {
  position: absolute;
  bottom: 36px;
  left: 36px;
  background: rgba(6, 16, 12, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.45);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  transform-style: preserve-3d;
  pointer-events: none;
}

.hero-card-floating-stat .stat-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.8s infinite ease-in-out;
}

/* ==========================================================================
   Subscription Request Modal
   ========================================================================== */
.sub-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 6, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.sub-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sub-modal-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  background: rgba(10, 18, 14, 0.95) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.25) !important;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.sub-modal-overlay.open .sub-modal-card {
  transform: translateY(0) scale(1);
}

.sub-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sub-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
}

.sub-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.sub-modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sub-modal-form .form-group {
  margin-bottom: 18px;
}

.sub-modal-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.sub-modal-form .form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
}

.sub-modal-form .form-control:focus {
  outline: none;
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.sub-modal-form option {
  background: #080a0c;
  color: #ffffff;
}

/* ==========================================================================
   Admin Dashboard Layout
   ========================================================================== */
.admin-body {
  background-color: #050709;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 10;
}

.admin-sidebar {
  width: 280px;
  background: rgba(8, 12, 10, 0.9) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
}

[dir="rtl"] .admin-sidebar {
  left: auto;
  right: 0;
  border-right: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  position: relative;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(16, 185, 129, 0.15);
  color: #00f5a0;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.admin-nav-badge {
  margin-left: auto;
  background: #10b981;
  color: #000000;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 20px;
}

[dir="rtl"] .admin-nav-badge {
  margin-left: 0;
  margin-right: auto;
}

.admin-main {
  flex: 1;
  margin-left: 280px;
  padding: 24px 32px;
}

[dir="rtl"] .admin-main {
  margin-left: 0;
  margin-right: 280px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-radius: 20px;
  margin-bottom: 28px;
  background: rgba(10, 18, 14, 0.7) !important;
}

.admin-page-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.metric-card {
  padding: 22px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(10, 18, 14, 0.65) !important;
}

.metric-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.metric-trend {
  font-size: 11px;
  font-weight: 700;
  display: block;
  margin-top: 4px;
}

.metric-trend.positive { color: #00f5a0; }
.metric-trend.neutral  { color: #f59e0b; }

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

/* Admin Data Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

[dir="rtl"] .admin-table {
  text-align: right;
}

.admin-table th {
  padding: 14px 18px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table td {
  padding: 16px 18px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table tr:hover td {
  background: rgba(16, 185, 129, 0.05);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
}

.status-badge.pending { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.status-badge.active  { background: rgba(16, 185, 129, 0.2);  color: #00f5a0; }
.status-badge.trial   { background: rgba(59, 130, 246, 0.2);  color: #60a5fa; }

@media (max-width: 900px) {
  .admin-sidebar {
    width: 70px;
    padding: 16px 10px;
  }
  .admin-sidebar .logo-text,
  .admin-sidebar .admin-nav-item span:not(.admin-nav-badge) {
    display: none;
  }
  .admin-main {
    margin-left: 70px;
  }
  [dir="rtl"] .admin-main {
    margin-right: 70px;
  }
}

/* ==========================================================================
   Trex Systems Interactive Subscription Wizard Styles
   ========================================================================== */
.sub-page-section {
  position: relative;
  z-index: 10;
  padding: 40px 0 80px;
}

.sub-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Stepper Progress Bar */
.sub-stepper-wrapper {
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
}

.sub-stepper-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.sub-stepper-line-bg {
  position: absolute;
  top: 20px;
  left: 21px;
  right: 21px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
  border-radius: 4px;
}

.sub-stepper-line-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #00f5a0);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.5);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
}

[dir="rtl"] .sub-stepper-line-fill,
html[dir="rtl"] .sub-stepper-line-fill {
  right: 0;
  left: auto;
}

[dir="ltr"] .sub-stepper-line-fill,
html[dir="ltr"] .sub-stepper-line-fill {
  left: 0;
  right: auto;
}

.sub-step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.sub-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0d1512;
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.sub-step-node.active .sub-step-num {
  background: #00f5a0;
  color: #080a0c;
  border-color: #00f5a0;
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.45);
  transform: scale(1.08);
}

.sub-step-node.completed .sub-step-num {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #00f5a0;
}

.sub-step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.sub-step-node.active .sub-step-label,
.sub-step-node.completed .sub-step-label {
  color: #00f5a0;
}

/* Wizard Content Grid */
.sub-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 992px) {
  .sub-content-grid {
    grid-template-columns: 8fr 4fr;
  }
}

/* Main Interactive Wizard Card */
.sub-wizard-card {
  background: rgba(13, 22, 18, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.sub-wizard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f5a0, transparent);
}

.sub-step-panel {
  display: none;
  animation: subFadeIn 0.35s ease;
}

.sub-step-panel.active {
  display: block;
}

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

.sub-step-header {
  margin-bottom: 24px;
}

.sub-step-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.sub-step-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Systems Selection Grid */
.sub-systems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 680px) {
  .sub-systems-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sub-system-card {
  background: rgba(8, 14, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.sub-system-card:hover {
  border-color: rgba(0, 245, 160, 0.3);
  background: rgba(16, 185, 129, 0.05);
  transform: translateY(-2px);
}

.sub-system-card.selected {
  background: rgba(0, 245, 160, 0.08);
  border-color: #00f5a0;
  box-shadow: 0 0 24px rgba(0, 245, 160, 0.15), inset 0 0 12px rgba(0, 245, 160, 0.05);
}

.sub-card-badge {
  position: absolute;
  top: 14px;
  background: rgba(0, 245, 160, 0.15);
  color: #00f5a0;
  border: 1px solid rgba(0, 245, 160, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}

[dir="rtl"] .sub-card-badge { left: 14px; }
[dir="ltr"] .sub-card-badge { right: 14px; }

.sub-sys-icon-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.sub-sys-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f5a0;
  font-size: 18px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sub-system-card.selected .sub-sys-icon {
  background: #00f5a0;
  color: #080a0c;
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.4);
}

.sub-sys-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.sub-sys-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sub-sys-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--text-muted);
}

.sub-radio-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sub-system-card.selected .sub-radio-check {
  border-color: #00f5a0;
  background: #00f5a0;
  color: #080a0c;
  font-size: 11px;
}

/* Step 2: Deployment & Users */
.sub-section-field {
  margin-bottom: 28px;
}

.sub-field-heading {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  display: block;
}

.sub-deployment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .sub-deployment-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sub-dep-card {
  background: rgba(8, 14, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-dep-card:hover {
  border-color: rgba(0, 245, 160, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

.sub-dep-card.selected {
  background: rgba(0, 245, 160, 0.08);
  border-color: #00f5a0;
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.15);
}

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

.sub-dep-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f5a0;
  font-size: 16px;
}

.sub-dep-card.selected .sub-dep-icon {
  background: #00f5a0;
  color: #080a0c;
}

.sub-dep-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.sub-dep-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* User Capacity Buttons */
.sub-users-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .sub-users-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sub-user-pill {
  padding: 14px 12px;
  background: rgba(8, 14, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.sub-user-pill:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(0, 245, 160, 0.3);
  color: #ffffff;
}

.sub-user-pill.selected {
  background: #00f5a0;
  color: #080a0c;
  border-color: #00f5a0;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(0, 245, 160, 0.35);
}

/* Step 3: Contact Form */
.sub-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .sub-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sub-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-input-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.sub-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.sub-input-icon {
  position: absolute;
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
}

[dir="rtl"] .sub-input-icon { right: 14px; }
[dir="ltr"] .sub-input-icon { left: 14px; }

.sub-form-control {
  width: 100%;
  padding: 12px 16px;
  background: #080d0b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.25s ease;
}

[dir="rtl"] .sub-input-box .sub-form-control {
  padding-right: 42px;
}

[dir="ltr"] .sub-input-box .sub-form-control {
  padding-left: 42px;
}

.sub-form-control:focus {
  outline: none;
  border-color: #00f5a0;
  box-shadow: 0 0 16px rgba(0, 245, 160, 0.2);
  background: #09120e;
}

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

/* Actions Bar */
.sub-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 12px;
}

.btn-sub-prev {
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-sub-prev:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.btn-sub-next {
  padding: 12px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #00f5a0);
  border: none;
  color: #080a0c;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 245, 160, 0.3);
  transition: all 0.25s ease;
}

.btn-sub-next:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 245, 160, 0.45);
}

.btn-sub-next:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Sidebar Summary Card */
.sub-summary-card {
  background: rgba(13, 22, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: 100px;
}

.sub-summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.sub-summary-icon {
  color: #00f5a0;
  font-size: 18px;
}

.sub-summary-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.sub-summary-item {
  background: rgba(8, 14, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.sub-summary-label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.sub-summary-val {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 14, 11, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.sub-summary-row-label {
  font-size: 12.5px;
  color: var(--text-muted);
}

.sub-summary-row-val {
  font-size: 13px;
  font-weight: 700;
  color: #00f5a0;
}

.sub-guarantees {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.sub-guarantee-item i {
  color: #00f5a0;
  font-size: 14px;
  flex-shrink: 0;
}

.sub-support-alert {
  margin-top: 20px;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #00f5a0;
}

/* Success Card */
.sub-success-card {
  display: none;
  background: rgba(13, 22, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 245, 160, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(0, 245, 160, 0.1);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  animation: subFadeIn 0.4s ease;
}

.sub-success-card.active {
  display: block;
}

.sub-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 245, 160, 0.15);
  border: 2px solid #00f5a0;
  color: #00f5a0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  box-shadow: 0 0 30px rgba(0, 245, 160, 0.35);
}

.sub-success-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.sub-success-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 28px;
}

.sub-success-details {
  background: rgba(8, 14, 11, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

[dir="ltr"] .sub-success-details {
  text-align: left;
}

.sub-success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

.sub-success-row strong {
  color: #ffffff;
}

.sub-success-row strong.accent {
  color: #00f5a0;
}

/* ═══════════════════════════════════════════════════════
   FUTURISTIC CYBERNETIC REDESIGN (Engineered via D:\Function Calling)
   ═══════════════════════════════════════════════════════ */

/* Cyber Scanning Laser Line */
@keyframes cyberScan {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.cyber-scanner-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f5a0, #00f0ff, transparent);
  box-shadow: 0 0 15px #00f5a0, 0 0 25px #00f0ff;
  animation: cyberScan 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 8;
  pointer-events: none;
}

/* Floating HUD Tech Badges inside Hero Card */
.hero-card-hud-tag {
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 10px;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  z-index: 10;
}

.hero-card-hud-tag .hud-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #00f5a0;
}

.hud-pulse-dot {
  width: 7px;
  height: 7px;
  background: #00f5a0;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f5a0;
  animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #00f5a0; }
}

/* Live Telemetry Metrics Bar */
.telemetry-metrics-section {
  position: relative;
  z-index: 12;
  margin-top: -30px;
  margin-bottom: 60px;
  padding: 0 24px;
}

.telemetry-container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(8, 14, 26, 0.75);
  border: 1px solid rgba(0, 245, 160, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 26px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.telemetry-container:hover {
  border-color: rgba(0, 245, 160, 0.45);
}

@media (max-width: 900px) {
  .telemetry-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 22px;
  }
}

@media (max-width: 540px) {
  .telemetry-container {
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }
}

.telemetry-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-inline-start: 2px solid rgba(0, 245, 160, 0.35);
  padding-inline-start: 18px;
}

.telemetry-val {
  font-family: var(--font-en), monospace;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #00f5a0 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.telemetry-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  margin-top: 5px;
}

.telemetry-sub {
  font-size: 11px;
  color: #94a3b8;
  font-family: monospace;
  margin-top: 2px;
}

/* Home 7 SaaS Systems Interactive Showcase */
.home-systems-section {
  position: relative;
  z-index: 10;
  padding: 40px 24px 70px;
  max-width: 1220px;
  margin: 0 auto;
}

.home-systems-header {
  text-align: center;
  margin-bottom: 36px;
}

.home-systems-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.3);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #00f5a0;
  margin-bottom: 14px;
}

.home-systems-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .home-systems-title { font-size: 24px; }
}

.home-systems-sub {
  font-size: 15px;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.home-systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.home-sys-card {
  background: rgba(11, 19, 41, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  backdrop-filter: blur(14px);
}

.home-sys-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f5a0, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-sys-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 245, 160, 0.45);
  box-shadow: 0 16px 36px rgba(0, 245, 160, 0.15);
  background: rgba(15, 27, 54, 0.9);
}

.home-sys-card:hover::before {
  opacity: 1;
}

.home-sys-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.28);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f5a0;
  font-size: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.home-sys-card:hover .home-sys-icon-box {
  background: #00f5a0;
  color: #030712;
  box-shadow: 0 0 18px rgba(0, 245, 160, 0.5);
}

.home-sys-name {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.home-sys-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.home-sys-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #00f5a0;
}

.home-sys-footer i {
  transition: transform 0.3s ease;
}

[dir="ltr"] .home-sys-card:hover .home-sys-footer i {
  transform: translateX(4px);
}

[dir="rtl"] .home-sys-card:hover .home-sys-footer i {
  transform: translateX(-4px);
}

