/* ============================================
   AGS Technology - Components CSS
   مكونات الواجهة القابلة لإعادة الاستخدام
   ============================================ */

/* ==============================
   TOP BAR
   ============================== */
.topbar {
  background: var(--dark-800);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gray-300);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.topbar-item:hover { color: var(--white); }

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-400);
  flex-shrink: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.topbar-lang {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--gray-300);
  font-size: var(--text-sm);
  padding: 4px var(--space-2);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition-fast);
  cursor: pointer;
}

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

/* ==============================
   NAVIGATION
   ============================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-fixed);
  background: var(--white);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

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

.navbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

/* Logo */
.logo {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
  position: relative;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--primary-800);
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 10px;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  justify-self: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--gray-700);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-600);
  background: var(--primary-100);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

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

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  color: var(--gray-700);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--primary-100);
  color: var(--primary-600);
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.dropdown-item:hover .dropdown-item-icon {
  background: var(--primary-100);
}

.dropdown-item-icon svg {
  width: 18px;
  height: 18px;
}

.dropdown-item-info {
  flex: 1;
}

.dropdown-item-title {
  font-weight: 600;
  color: var(--gray-800);
  font-size: var(--text-sm);
}

.dropdown-item-desc {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-top: 2px;
}

/* Nav Actions */
.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-action-btn:hover {
  background: var(--primary-100);
  color: var(--primary-600);
}

.nav-action-btn svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  background: var(--accent-500);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

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

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

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

@media (max-width: 992px) {
  .navbar-inner {
    display: flex;
    justify-content: space-between;
  }
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height) - var(--topbar-height));
  display: flex;
  align-items: center;
  background: var(--dark-900);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,12,23,0.97) 0%,
    rgba(10,37,64,0.90) 40%,
    rgba(13,78,138,0.50) 70%,
    rgba(255,107,0,0.10) 100%
  );
}

/* Animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.15;
  animation: float 4s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--primary-600), transparent);
  top: -100px; right: -100px;
  animation-duration: 6s;
}

.particle:nth-child(2) {
  width: 250px; height: 250px;
  background: radial-gradient(circle, var(--accent-500), transparent);
  bottom: -50px; left: 10%;
  animation-duration: 5s;
  animation-delay: -2s;
}

.particle:nth-child(3) {
  width: 150px; height: 150px;
  background: radial-gradient(circle, var(--primary-400), transparent);
  top: 30%; left: 50%;
  animation-duration: 7s;
  animation-delay: -1s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: var(--radius-full);
  color: var(--accent-300);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
  animation: fadeInDown 0.6s ease forwards;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-400);
  border-radius: var(--radius-full);
  animation: pulse 1.5s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent-400), var(--accent-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-8);
  line-height: 1.8;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-stat-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-value span {
  color: var(--accent-400);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-1);
}

.hero-visual {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==============================
   CATEGORIES SECTION
   ============================== */
.category-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

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

.category-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,61,107,0.9), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}

.category-card:hover .category-card-overlay { opacity: 1; }

.category-card-icon {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.category-card-icon svg {
  width: 26px;
  height: 26px;
}

.category-card-body {
  padding: var(--space-5);
}

.category-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: var(--space-2);
}

.category-card-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.category-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card-count {
  font-size: var(--text-sm);
  color: var(--primary-600);
  font-weight: 600;
}

.category-card-arrow {
  width: 32px;
  height: 32px;
  background: var(--primary-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  transition: all var(--transition-fast);
}

.category-card:hover .category-card-arrow {
  background: var(--primary-600);
  color: var(--white);
  transform: translateX(-4px);
}

.category-card-arrow svg {
  width: 16px;
  height: 16px;
}

/* ==============================
   PRODUCT CARD
   ============================== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.product-card-image {
  position: relative;
  height: 220px;
  background: var(--gray-50);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image img {
  max-height: 180px;
  max-width: 90%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

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

.product-card-badges {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-card-actions {
  position: absolute;
  bottom: var(--space-3);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-action-btn {
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.product-action-btn:hover {
  background: var(--primary-600);
  color: var(--white);
  transform: scale(1.1);
}

.product-action-btn svg { width: 18px; height: 18px; }

.product-card-body {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-brand {
  font-size: var(--text-xs);
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-1);
}

.product-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: var(--space-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.product-spec-tag {
  font-size: 11px;
  padding: 2px var(--space-2);
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.product-card-footer {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.product-price-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--primary-700);
}

.product-price-rfq {
  font-size: var(--text-sm);
  color: var(--accent-600);
  font-weight: 700;
}

.product-price-old {
  font-size: var(--text-sm);
  color: var(--gray-400);
  text-decoration: line-through;
}

/* ==============================
   WHY US SECTION
   ============================== */
.why-card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--accent-500));
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

.why-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: all var(--transition-base);
}

.why-card:hover .why-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.why-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: var(--space-3);
}

.why-card-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.8;
}

/* ==============================
   SERVICES SECTION
   ============================== */
.service-card {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
}

.service-card-content { flex: 1; }

.service-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: var(--space-2);
}

.service-card-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
}

/* ==============================
   PARTNERS SECTION
   ============================== */
.partners-track {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  animation: scroll 20s linear infinite;
}

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

.partner-logo {
  flex-shrink: 0;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-4);
  filter: grayscale(100%) opacity(0.4);
  transition: all var(--transition-base);
}

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

/* ==============================
   STATS COUNTER
   ============================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-800), var(--dark-800));
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-value .unit {
  color: var(--accent-400);
}

.stat-label {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ==============================
   CTA SECTION
   ============================== */
.cta-section {
  background: linear-gradient(135deg, var(--dark-900), var(--primary-900));
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(21,101,192,0.3), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==============================
   WHATSAPP FLOAT BUTTON
   ============================== */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: var(--z-fixed);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}

.whatsapp-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: all var(--transition-bounce);
  position: relative;
}

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

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid #25D366;
  animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-tooltip {
  background: var(--white);
  color: var(--gray-800);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--dark-900);
  padding-top: var(--space-16);
}

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

.footer-about {}

.footer-logo {
  margin-bottom: var(--space-4);
}

.footer-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-base);
  border: 1px solid rgba(255,255,255,0.1);
}

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

.social-btn svg { width: 18px; height: 18px; }

.footer-col-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--accent-500);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-link {
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

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

.footer-link svg { width: 14px; height: 14px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  background: rgba(21,101,192,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-icon svg {
  width: 16px;
  height: 16px;
  color: var(--primary-400);
}

.footer-contact-text {
  flex: 1;
}

.footer-contact-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact-value {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.footer-bottom {
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
}

.footer-certs {
  display: flex;
  gap: var(--space-2);
}

.cert-badge {
  padding: 4px var(--space-3);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

/* ==============================
   BREADCRUMB
   ============================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: var(--space-6);
}

.breadcrumb-item { display: flex; align-items: center; gap: var(--space-2); }
.breadcrumb-item a { color: var(--primary-600); }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); }

/* ==============================
   TABS
   ============================== */
.tabs {
  display: flex;
  gap: var(--space-2);
  background: var(--gray-100);
  padding: var(--space-1);
  border-radius: var(--radius-xl);
  overflow-x: auto;
}

.tab-btn {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--gray-600);
  transition: all var(--transition-fast);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--white);
  color: var(--primary-600);
  box-shadow: var(--shadow-sm);
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ==============================
   TOAST NOTIFICATIONS
   ============================== */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border-right: 4px solid var(--primary-500);
  min-width: 280px;
  animation: slideInLeft 0.4s ease forwards;
}

.toast.success { border-color: var(--success); }
.toast.warning { border-color: var(--warning); }
.toast.error { border-color: var(--danger); }

.toast-icon { flex-shrink: 0; }
.toast-icon svg { width: 22px; height: 22px; }
.toast.success .toast-icon svg { color: var(--success); }
.toast.warning .toast-icon svg { color: var(--warning); }
.toast.error .toast-icon svg { color: var(--danger); }

.toast-content { flex: 1; }
.toast-title { font-weight: 700; font-size: var(--text-sm); color: var(--gray-800); }
.toast-msg { font-size: var(--text-xs); color: var(--gray-500); }

/* ==============================
   PAGE HEADER
   ============================== */
.page-header {
  background: linear-gradient(135deg, var(--dark-800), var(--primary-800));
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.page-header-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.page-header-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.65);
}

/* ==============================
   LOADING SKELETON
   ============================== */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

/* ==============================
   RESPONSIVE ADJUSTMENTS
   ============================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .topbar-info .topbar-item:not(:first-child) { display: none; }
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
  .hero-stats { gap: var(--space-6); }
}
