/* ===============================================
   NEW INSPIRE TECH SOLUTIONS - MODERN DESIGN SYSTEM
   Premium NAS Solutions Website
   =============================================== */

/* ---------- CSS VARIABLES & DESIGN TOKENS ---------- */
:root {
  /* Color Palette - Professional Tech Blue with Trustworthy Accents */
  --primary-color: #0066ff;
  --primary-dark: #0052cc;
  --primary-light: #3385ff;
  --secondary-color: #00d4aa;
  --accent-orange: #ff6b35;
  --accent-purple: #6c5ce7;

  /* Neutrals */
  --dark-bg: #0a0e27;
  --dark-secondary: #151b3d;
  --dark-tertiary: #1e2749;
  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --text-muted: #7a8ba8;
  --border-color: rgba(255, 255, 255, 0.1);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
  --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #1e2749 100%);
  --gradient-card: linear-gradient(135deg, rgba(21, 27, 61, 0.8) 0%, rgba(30, 39, 73, 0.6) 100%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ---------- GLOBAL RESET & BASE STYLES ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-primary);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-primary);
}

p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

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

/* ---------- UTILITY CLASSES ---------- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ---------- BOOTSTRAP OVERRIDES ---------- */
/* Custom spacing for Bootstrap grid */
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

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

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 102, 255, 0.5);
}

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

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* ---------- HEADER & NAVIGATION ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(10, 14, 39, 0.98);
}

.navbar {
  padding: 1.25rem 0;
}

.navbar-brand.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.logo-img {
  height: 50px;
  width: auto;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: 500;
  /* color: var(--text-secondary); */
  transition: var(--transition-base);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text-primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 2rem);
}

.navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 102, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 2rem;
}

.section-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.05;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: -2;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(50px);
  }
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
  top: -200px;
  right: -200px;
}

.hero-glow-2 {
  bottom: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.1);
  }
}

/* Hero content now uses Bootstrap grid */


.hero-text {
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: var(--spacing-sm);
}

.hero h1 {
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

.hero-images-row {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
}

.hero-images-row .hero-image-wrapper {
  flex: 1;
  min-width: 0;
  height: auto;
  aspect-ratio: 16/9;
}

.hero-images-row .hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.stat-card {
  text-align: center;
  padding: var(--spacing-md);
 /*background: var(--gradient-card);*/
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- SERVICES SECTION ---------- */
/* Services grid now uses Bootstrap grid */

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 102, 255, 0.2);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

.service-features {
  list-style: none;
  margin-top: var(--spacing-sm);
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: 700;
}

/* ---------- PRODUCTS SECTION ---------- */
/* Brands showcase now uses Bootstrap grid */

.brand-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  text-align: center;
  transition: var(--transition-base);
  min-width: 180px;
}

.brand-card:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.brand-logo {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

/* Products grid now uses Bootstrap grid */

.product-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.product-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #1e2749 0%, #0a0e27 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.product-info {
  padding: var(--spacing-md);
}

.product-category {
  font-size: 0.85rem;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-card h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.35rem;
}

.product-specs {
  list-style: none;
  margin: var(--spacing-sm) 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.product-specs li {
  padding: 0.3rem 0;
}

/* ---------- TESTIMONIALS ---------- */
/* Testimonials grid now uses Bootstrap grid */
#testimonials .row .col {
  display: flex;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  position: relative;
  transition: var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  flex: 1;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: auto;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

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

.rating {
  color: #ffd700;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* ---------- ABOUT SECTION ---------- */
/* About content now uses Bootstrap grid */

.about-section {
  position: relative;
  background-image: url('images/about.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #151b3d 0%, #151b3d 40%, transparent 100%);
  z-index: 0;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-features {
  list-style: none;
  margin-top: var(--spacing-md);
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
}

.about-features li:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-content h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- CONTACT SECTION ---------- */
/* Contact container now uses Bootstrap grid */

.contact-info {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
}

.contact-info h3 {
  margin-bottom: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-details p,
.contact-details a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-details a:hover {
  color: var(--primary-light);
}

.contact-form {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Form message styling */
.form-message {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1rem;
  font-weight: 500;
}

.form-message.alert-success {
  background: rgba(0, 212, 170, 0.1);
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.form-message.alert-danger {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* Google Maps Container - Remove container padding */
.maps-container {
  margin-bottom: 0;
  width: calc(100% + (2 * var(--spacing-md)));
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.maps-container iframe {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  margin-top: var(--spacing-xl);
}

/* Footer content now uses Bootstrap grid */

.footer-section h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.footer-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-base);
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1024px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

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

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .section {
    padding: var(--spacing-md) 0;
  }
}

/* ---------- SCROLL ANIMATIONS ---------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- LOADING STATES ---------- */
.loading {
  text-align: center;
  padding: var(--spacing-lg);
  color: var(--text-secondary);
}

/* ---------- ACCESSIBILITY ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for keyboard navigation */
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

a:focus {
  outline: none;
  outline-offset: 0;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- PRODUCT SHOWCASE GALLERY ---------- */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.product-gallery-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-gallery-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 102, 255, 0.3);
}

.product-gallery-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #1e2749 0%, #0a0e27 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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

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

.product-gallery-info {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-gallery-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.product-gallery-info .product-category {
  font-size: 0.85rem;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.product-gallery-info .product-desc {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
}

.product-highlights {
  list-style: none;
  margin-top: auto;
  padding-top: var(--spacing-sm);
}

.product-highlights li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- BRAND LOGO COLORS ---------- */
.brand-synology {
  background: linear-gradient(135deg, #ff7a00 0%, #ff9933 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800;
  letter-spacing: 2px;
}

.brand-qnap {
  background: linear-gradient(135deg, #00a650 0%, #00cc66 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800;
  letter-spacing: 2px;
}

.brand-netgear {
  background: linear-gradient(135deg, #0066cc 0%, #3399ff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800;
  letter-spacing: 2px;
}

.brand-asustor {
  background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800;
  letter-spacing: 2px;
}

.brand-card:hover .brand-logo {
  transform: scale(1.1);
  transition: var(--transition-base);
}

/* Hero - Featured Synology NAS Products (4-box grid under stats) */
.hero-products-wrapper {
  margin-top: var(--spacing-lg);
}

.hero-products-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.hero-products-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  max-width: 650px;
}

.hero-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.hero-product-card {
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  font-size: 0.95rem;
}

.hero-product-img-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: rgba(5, 10, 40, 0.8);*/
  background: #ffffff;
}

.hero-product-img {
  width: 100%;
  max-width: 220px;
  display: block;
}

.hero-product-icon span {
  font-size: 2.5rem;
  padding: 1.5rem 0;
}

.hero-product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.hero-product-type {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.hero-product-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hero-product-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-product-highlights li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}