/* ==========================================================================
   SHIV IMPEX GLOBAL - MODERN DESIGN SYSTEM & MAIN STYLESHEET (V2 OPTIMIZED)
   Fixes: Smooth Scrolling, Responsive Navbar, Hero Slider Stability, Image Fallbacks
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Core Brand Colors */
  --primary: #025982;
  --primary-light: #0378b0;
  --primary-dark: #013b56;
  --accent: #ee7124;
  --accent-hover: #ff853a;
  --accent-glow: rgba(238, 113, 36, 0.35);
  
  /* Light Theme (Default) */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-glass-card: rgba(255, 255, 255, 0.85);
  --border-color: #e2e8f0;
  --border-color-hover: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #0b1320;
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 16px 32px -8px rgba(2, 89, 130, 0.15), 0 0 0 1px rgba(238, 113, 36, 0.3);
  --hero-overlay: linear-gradient(135deg, rgba(2, 89, 130, 0.9) 0%, rgba(11, 19, 32, 0.88) 100%);
  --table-stripe: #f8fafc;
  --table-border: #e2e8f0;
}

[data-theme="dark"] {
  /* Dark Theme */
  --bg-main: #090e17;
  --bg-surface: #0f1726;
  --bg-surface-elevated: #162033;
  --bg-surface-subtle: #141f33;
  --bg-glass: rgba(15, 23, 38, 0.92);
  --bg-glass-card: rgba(22, 32, 51, 0.85);
  --border-color: #1e2d44;
  --border-color-hover: #2e4366;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;
  --header-bg: rgba(9, 14, 23, 0.95);
  --footer-bg: #05080e;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 16px 40px rgba(238, 113, 36, 0.2), 0 0 15px rgba(2, 89, 130, 0.3);
  --hero-overlay: linear-gradient(135deg, rgba(9, 14, 23, 0.94) 0%, rgba(2, 89, 130, 0.85) 100%);
  --table-stripe: #121c2d;
  --table-border: #1e2d44;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }

p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

p.lead {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent);
}

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

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-padding-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Custom Interactive Cursor (Desktop) */
.custom-cursor-dot, .custom-cursor-follower {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, opacity 0.2s ease;
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
}

.custom-cursor-follower {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--accent);
  background-color: rgba(238, 113, 36, 0.06);
}

@media (max-width: 1024px) {
  .custom-cursor-dot, .custom-cursor-follower {
    display: none !important;
  }
}

/* Preloader - Non Blocking */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #0b1320;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.preloader-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.preloader-brand .accent-text {
  color: var(--accent);
}

.preloader-spark-box {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  margin: 0 auto 0.8rem;
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #025982, #ee7124, #ff853a);
  border-radius: 4px;
  transition: width 0.2s ease;
  box-shadow: 0 0 10px var(--accent);
}

.preloader-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-topbar {
  background: #0b1320;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .header-topbar {
  background: #05080e;
}

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

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-link {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.topbar-link:hover {
  color: var(--accent);
}

.topbar-badge {
  background: rgba(238, 113, 36, 0.15);
  color: var(--accent);
  padding: 0.12rem 0.55rem;
  border-radius: 15px;
  font-size: 0.72rem;
  font-weight: 600;
}

.navbar {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  transition: all 0.25s ease;
}

.site-header.scrolled .navbar {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, #012b3e 100%);
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(238, 113, 36, 0.2);
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.brand-title span {
  color: var(--accent);
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Nav Menu Items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: var(--bg-surface-subtle);
}

.nav-link svg.arrow-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

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

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.dropdown-link:hover {
  background: var(--bg-surface-subtle);
  color: var(--accent);
  padding-left: 0.85rem;
}

.dropdown-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(2, 89, 130, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

[data-theme="dark"] .dropdown-icon {
  background: rgba(238, 113, 36, 0.15);
  color: var(--accent);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.theme-toggle-btn, .search-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover, .search-toggle-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-surface-subtle);
}

.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d85c12 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff8234 0%, var(--accent) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--accent-glow);
}

.btn-secondary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 89, 130, 0.25);
}

.btn-secondary:hover {
  background: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-surface-subtle);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--card-shadow-hover);
}

.card-glass {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: rgba(2, 89, 130, 0.1);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

[data-theme="dark"] .section-tag {
  background: rgba(238, 113, 36, 0.15);
  color: var(--accent);
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Hero Section (Rock Solid V2) */
.hero-slider-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: #0b1320;
  color: #ffffff;
  padding: 120px 0 60px 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 120px 0 60px 0;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  backdrop-filter: blur(1.5px);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-slide-title {
  color: #ffffff;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-slide-title span {
  color: var(--accent);
}

.hero-slide-desc {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.3rem;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 0.4rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent);
}

/* Product Card & Visual Metallic Fallback */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.product-img-wrapper {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #101c2e 0%, #08111e 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}

.product-graphic-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4a6d8c, #0a1b2a);
  box-shadow: inset -4px -4px 8px rgba(0,0,0,0.6), inset 4px 4px 8px rgba(255,255,255,0.4), 0 8px 20px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.2);
}

.product-tag-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(11, 19, 32, 0.85);
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: 15px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.product-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-specs-list {
  margin-bottom: 1.1rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border-color);
  font-size: 0.82rem;
}

.product-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  color: var(--text-secondary);
}

.product-spec-row strong {
  color: var(--text-primary);
}

/* Tool Box */
.tool-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.form-control, .form-select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.selector-result-card {
  background: var(--bg-surface-subtle);
  border: 1.5px dashed var(--accent);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.25rem;
}

/* Tables */
.specs-table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--table-border);
  box-shadow: var(--card-shadow);
  background: var(--bg-surface);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.specs-table th {
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1rem;
  font-weight: 600;
}

.specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--table-border);
  color: var(--text-secondary);
}

.specs-table tr:nth-child(even) {
  background: var(--table-stripe);
}

.specs-table td strong {
  color: var(--text-primary);
}

/* App Cards */
.app-card {
  position: relative;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1320;
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.app-card:hover img {
  transform: scale(1.08);
}

.app-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 14, 23, 0.95) 0%, rgba(9, 14, 23, 0.35) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
}

.app-card-title {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.app-card-desc {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Breadcrumb */
.breadcrumb-hero {
  position: relative;
  padding: 8rem 0 3.5rem;
  background: linear-gradient(135deg, #090e17 0%, var(--primary-dark) 100%);
  color: #ffffff;
  text-align: center;
}

.breadcrumb-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.breadcrumb-nav a { color: #cbd5e1; }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-nav .active { color: var(--accent); font-weight: 600; }

/* Features */
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #0378b0 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

[data-theme="dark"] .feature-icon-box {
  background: linear-gradient(135deg, var(--accent) 0%, #d85c12 100%);
}

/* Footer */
.site-footer {
  background-color: var(--footer-bg);
  color: #94a3b8;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2.5px;
  background: var(--accent);
}

.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #94a3b8; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.footer-links a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: #cbd5e1;
  font-size: 0.88rem;
}

.footer-contact-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 0.2rem; }

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Modals & Drawers */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 23, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  padding: 2rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Offcanvas */
.mobile-offcanvas {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 10001;
  padding: 1.75rem 1.25rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-offcanvas.active { right: 0; }

.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.offcanvas-backdrop.active { opacity: 1; visibility: visible; }

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease;
}

.whatsapp-float { background: #25d366; color: #ffffff; }
.whatsapp-float:hover { transform: scale(1.1); }

.scroll-top-btn {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
}

.scroll-top-btn.visible { opacity: 1; visibility: visible; }

/* Responsive Breakpoints */
@media (max-width: 1140px) {
  .nav-menu { gap: 0.1rem; }
  .nav-link { font-size: 0.85rem; padding: 0.45rem 0.55rem; }
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-topbar { display: none; }
  .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr; }
  .hero-stats-strip { grid-template-columns: 1fr; gap: 1rem; }
  .hero-slide { min-height: 620px; padding: 100px 0 50px 0; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .slider-controls { right: 1rem; bottom: 1rem; }
  .floating-actions { bottom: 1rem; right: 1rem; }
  .section-padding { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
