/* ============================================================
   Liege-Pro Limited – Main Stylesheet
   Brand: Microsoft Solutions Partner
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:       #026aff;      /* Brand Blue */
  --primary-dark:  #011552;      /* Interstellar Blue */
  --primary-light: #4d95ff;
  --accent:        #db008e;      /* Deep Pink */
  --accent-hover:  #a8006c;      /* Deep Pink – darker hover */
  --dark:          #011552;      /* Interstellar Blue */
  --dark-2:        #021b6b;      /* Deep navy variation */
  --text:          #1E293B;
  --text-muted:    #64748B;
  --border:        #e4e8f0;
  --bg-light:      #f6f8fa;
  --bg-white:      #FFFFFF;
  --success:       #10B981;
  --warning:       #F59E0B;
  --radius:        8px;
  --radius-lg:     16px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 16px rgba(2,106,255,.12);
  --shadow-lg:     0 20px 60px rgba(1,21,82,.18);
  --transition:    all .25s cubic-bezier(.4,0,.2,1);
  --font-main:     'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading:  'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --max-width:     1600px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.65;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
iframe, video, embed, object { max-width: 100%; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { margin-bottom: 1rem; }

/* ---------- Utilities ---------- */
.container     { max-width: var(--max-width); width: 100%; margin: 0 auto; padding: 0 clamp(16px, 4vw, 64px); }
.section       { padding: 80px 0; }
.section-sm    { padding: 48px 0; }
.section-lg    { padding: 120px 0; }
.text-center   { text-align: center; }
.text-white    { color: #fff !important; }
.text-muted    { color: var(--text-muted); }
.text-primary  { color: var(--primary); }
.text-accent   { color: var(--accent); }
.bg-light      { background: var(--bg-light); }
.bg-dark       { background: var(--dark); color: #fff; }
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.gap-1         { gap: 8px; }
.gap-2         { gap: 16px; }
.gap-3         { gap: 24px; }
.gap-4         { gap: 32px; }
.grid          { display: grid; }
.grid-2        { grid-template-columns: repeat(2, 1fr); }
.grid-3        { grid-template-columns: repeat(3, 1fr); }
.grid-4        { grid-template-columns: repeat(4, 1fr); }
.mb-1          { margin-bottom: 8px; }
.mb-2          { margin-bottom: 16px; }
.mb-3          { margin-bottom: 24px; }
.mb-4          { margin-bottom: 32px; }
.mt-auto       { margin-top: auto; }
.fw-600        { font-weight: 600; }
.fw-700        { font-weight: 700; }
.badge         { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.badge-primary { background: rgba(0,120,212,.12); color: var(--primary); }
.badge-accent  { background: rgba(219,0,142,.12); color: var(--accent); }
.badge-success { background: rgba(16,185,129,.12); color: var(--success); }
.divider       { height: 1px; background: var(--border); margin: 32px 0; }

/* ---------- Section Header ---------- */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);   /* Deep Pink – brand accent */
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,120,212,.35);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,107,0,.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: #fff;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; justify-content: center; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--dark-2);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: rgba(255,255,255,.8); }
.top-bar a:hover { color: var(--accent); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar svg { width: 13px; height: 13px; margin-right: 4px; }

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
}
.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: 0 4px 12px rgba(2,106,255,.35);
}
.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}
.logo span { color: var(--primary); }
.logo .tagline { font-size: .65rem; font-weight: 400; color: var(--text-muted); display: block; line-height: 1; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-weight: 500;
  font-size: .9rem;
  color: var(--text);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--bg-light);
}
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.dropdown-item:hover { background: var(--bg-light); }
.dropdown-item-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #f0f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.dropdown-item-icon img { width: 26px; height: 26px; object-fit: contain; }
.dropdown-item-text .title { font-weight: 600; font-size: .875rem; color: var(--dark); }
.dropdown-item-text .desc  { font-size: .78rem; color: var(--text-muted); margin-top: 1px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.cart-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-badge.visible { display: flex; }

/* Mobile nav toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, #0d2137 70%, #0a192f 100%);
  color: #fff;
  padding: 100px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,120,212,.35) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,107,0,.15) 0%, transparent 50%);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-badge svg { width: 14px; height: 14px; color: var(--accent); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--primary-light); }
.hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat { }
.stat-num { font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 4px; }

.hero-visual { position: relative; }
.hero-card-stack { position: relative; }
.hero-main-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.hero-main-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.partner-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.ms-logo-mini {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.ms-logo-mini div { border-radius: 2px; }
.ms-logo-mini div:nth-child(1) { background: #F25022; }
.ms-logo-mini div:nth-child(2) { background: #7FBA00; }
.ms-logo-mini div:nth-child(3) { background: #00A4EF; }
.ms-logo-mini div:nth-child(4) { background: #FFB900; }
.partner-text { font-size: .8rem; color: rgba(255,255,255,.9); }
.partner-text strong { display: block; font-weight: 700; }

.service-icons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.service-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.service-icon-item:hover { background: rgba(0,120,212,.3); border-color: var(--primary); }
.service-icon-item svg { width: 22px; height: 22px; color: var(--primary-light); }
.service-icon-item span { font-size: .68rem; color: rgba(255,255,255,.7); line-height: 1.3; }

.floating-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.floating-card-1 { bottom: -20px; left: -65px; }
.floating-card-2 { top: -20px; right: -20px; }
.fc-icon { width: 36px; height: 36px; border-radius: 8px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; }
.fc-num  { font-size: 1.4rem; font-weight: 800; color: var(--dark); line-height: 1; }
.fc-label{ font-size: .72rem; color: var(--text-muted); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; box-shadow: 0 0 0 3px rgba(16,185,129,.3); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 3px rgba(16,185,129,.25)} 50%{box-shadow:0 0 0 6px rgba(16,185,129,.1)} }

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-body { padding: 28px; }
.card-img { width: 100%; height: 200px; object-fit: cover; }

/* Service Card */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: left;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary-light); }
.service-card:hover::after { transform: scaleX(1); }
.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-card-icon {
  background: var(--bg-light);
}
.service-card:hover .service-card-icon img { transform: scale(1.1); }
.service-card-icon svg { width: 26px; height: 26px; color: var(--primary); transition: color .25s; }
.service-card-icon img { width: 36px; height: 36px; object-fit: contain; transition: transform .25s; }
.service-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service-card p  { color: var(--text-muted); font-size: .9rem; margin: 0; flex: 1; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 20px;
  transition: var(--transition);
}
.service-card-link svg { width: 14px; height: 14px; transition: transform .2s; }
.service-card-link:hover { gap: 10px; }
.service-card-link:hover svg { transform: translateX(4px); }

/* Product Card */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary-light); }
.product-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.product-card-header::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.product-card-icon { width: 52px; height: 52px; background: rgba(255,255,255,.92); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 6px; }
.product-card-icon img { width: 36px; height: 36px; object-fit: contain; }
.product-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { margin-bottom: 8px; font-size: 1.05rem; }
.product-card-body p { color: var(--text-muted); font-size: .875rem; flex: 1; }
.product-card-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price { font-size: 1rem; font-weight: 700; color: var(--primary); }

/* Blog Card */
.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-card-img {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-card-img svg { width: 60px; height: 60px; color: rgba(255,255,255,.3); }
.blog-card-img-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .8rem; color: var(--text-muted); }
.blog-card-body h3 { margin-bottom: 10px; font-size: 1rem; }
.blog-card-body p  { color: var(--text-muted); font-size: .875rem; flex: 1; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 600; color: var(--primary); margin-top: 20px;
}
.blog-read-more svg { width: 14px; height: 14px; }

/* Testimonial Card */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; color: var(--warning); fill: var(--warning); }
.testimonial-text { font-style: italic; color: var(--text-muted); margin-bottom: 20px; font-size: .95rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: .9rem;
}
.author-name { font-weight: 600; font-size: .9rem; }
.author-role { font-size: .8rem; color: var(--text-muted); }

/* ---------- Partners / Logo Banner ---------- */
.logos-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.partner-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.partner-logo-item:hover { color: var(--primary); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.partner-logo-img { height: 40px; width: auto; object-fit: contain; display: block; }
.ms-color-logo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 24px; height: 24px; }
.ms-color-logo div { border-radius: 1px; }
.ms-color-logo div:nth-child(1) { background: #F25022; }
.ms-color-logo div:nth-child(2) { background: #7FBA00; }
.ms-color-logo div:nth-child(3) { background: #00A4EF; }
.ms-color-logo div:nth-child(4) { background: #FFB900; }

/* ---------- Product Screenshot Showcase ---------- */
.product-screenshot-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 64px rgba(1,21,82,.20);
  border: 1px solid var(--border);
  background: var(--bg-light);
}
.product-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 540px;
  object-fit: cover;
  object-position: top;
  transition: transform .6s ease;
}
.product-screenshot-wrapper:hover .product-screenshot-img { transform: scale(1.02); }

/* ---------- Product Image Carousel ---------- */
.product-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 64px rgba(1,21,82,.20);
  border: 1px solid var(--border);
  background: var(--bg-light);
}
.product-carousel .carousel-track {
  display: flex;
  gap: 0;
  transition: transform .5s ease;
}
.product-carousel .carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  flex: 0 0 100%;
}
.product-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.88);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.22);
  transition: background .2s, transform .2s;
  color: var(--text);
}
.product-carousel .carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.product-carousel .carousel-prev { left: 14px; }
.product-carousel .carousel-next { right: 14px; }
.product-carousel .carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  align-items: center;
}
.product-carousel .carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: background .25s, transform .25s;
  border: 1.5px solid rgba(255,255,255,.8);
  padding: 0;
}
.product-carousel .carousel-dot.active { background: #fff; width: 9px; border-radius: 50%; transform: scale(1.3); }

/* ---------- Why Choose Us ---------- */
.feature-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.feature-item:hover { background: var(--bg-light); }
.feature-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; color: #fff; }
.feature-content h4 { margin-bottom: 6px; }
.feature-content p  { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, #0a192f 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 80px 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,120,212,.3) 0%, transparent 60%);
}
.cta-banner .container { position: relative; z-index: 1; text-align: center; }
.cta-banner h2    { color: #fff; margin-bottom: 16px; }
.cta-banner p     { color: rgba(255,255,255,.75); max-width: 540px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-banner-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Form Styles ---------- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  transition: var(--transition);
  background: #fff;
  color: var(--text);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,120,212,.12);
}
.form-control::placeholder { color: #A8B5C8; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius);
  color: #065F46;
  font-weight: 500;
  margin-top: 16px;
}
.form-success.show { display: flex; align-items: center; gap: 10px; }

/* ---------- Contact Page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
}
.contact-info-card h3 { color: #fff; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,.7); margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-detail-label { font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.contact-detail-value { font-weight: 600; color: #fff; }
.contact-detail-value a { color: var(--primary-light); }
.contact-info-value a { color: inherit; text-decoration: none; transition: var(--transition); }
.contact-info-value a:hover { color: var(--primary-light); }
.social-links { display: flex; gap: 10px; margin-top: 32px; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); }
.social-link svg { width: 18px; height: 18px; color: #fff; }

.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  margin-top: 40px;
  border: 1px solid var(--border);
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ---------- Shop/Cart Sidebar ---------- */
.cart-sidebar {
  position: fixed;
  top: 0; right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--bg-white);
  box-shadow: -8px 0 40px rgba(0,0,0,.12);
  z-index: 2000;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-sidebar-overlay.visible { opacity: 1; visibility: visible; }
.cart-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-sidebar-header h3 { font-size: 1.1rem; }
.cart-close { background: var(--bg-light); border: none; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.cart-close:hover { background: #fee2e2; color: #ef4444; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty { text-align: center; padding: 48px 0; color: var(--text-muted); }
.cart-empty svg { width: 56px; height: 56px; margin: 0 auto 16px; opacity: .3; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item-icon { width: 50px; height: 50px; border-radius: 10px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-item-icon svg { width: 24px; height: 24px; color: var(--primary); }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: .9rem; }
.cart-item-price { font-size: .8rem; color: var(--text-muted); }
.cart-item-remove { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; border-radius: 4px; }
.cart-item-remove:hover { color: #ef4444; background: #fee2e2; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; }

/* ---------- Page Hero (Inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: 72px 0 64px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(2,106,255,.3) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,.3); }
.breadcrumb-current { color: rgba(255,255,255,.9); }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p   { color: rgba(255,255,255,.75); max-width: 600px; font-size: 1.05rem; }

/* ---------- About Page ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-img-card .pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-stats-overlay {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat-item { text-align: center; }
.about-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.about-stat-label { font-size: .75rem; color: var(--text-muted); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-item {
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}
.value-item h4 { margin-bottom: 6px; color: var(--primary); font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.value-item h4 .value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(1,21,82,.07);
  color: var(--primary);
  flex-shrink: 0;
}
.value-item p  { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ---------- Expertise Bars ---------- */
.expertise-item { margin-bottom: 20px; }
.expertise-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .9rem; }
.expertise-header span:first-child { font-weight: 600; }
.expertise-header span:last-child  { color: var(--primary); font-weight: 700; }
.progress-bar { height: 8px; background: var(--border); border-radius: 100px; overflow: hidden; }
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 100px;
  width: 0;
  transition: width 1.2s cubic-bezier(.4,0,.2,1) .2s;
}

/* ---------- Blog Page ---------- */
.blog-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.blog-sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 { margin-bottom: 16px; font-size: .95rem; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 4px 12px;
  background: var(--bg-light);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.tag:hover, .tag.active { background: var(--primary); color: #fff; }
.category-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.category-list li:last-child { border: none; }
.category-list a { display: flex; justify-content: space-between; font-size: .9rem; color: var(--text); }
.category-list a:hover { color: var(--primary); }
.recent-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.recent-post:last-child { border: none; }
.recent-post-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.recent-post-icon svg { width: 18px; height: 18px; color: var(--primary); }
.recent-post-title { font-size: .85rem; font-weight: 600; color: var(--text); }
.recent-post-title:hover { color: var(--primary); }
.recent-post-date { font-size: .75rem; color: var(--text-muted); }

/* ---------- Newsletter ---------- */
.newsletter-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  color: #fff;
}
.newsletter-box h4 { color: #fff; margin-bottom: 8px; }
.newsletter-box p  { color: rgba(255,255,255,.75); font-size: .875rem; margin-bottom: 16px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  padding: 10px 14px;
  border-radius: var(--radius);
  border: none;
  font-size: .875rem;
}
.newsletter-form input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }

/* ---------- Shop Page ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.shop-sidebar { position: sticky; top: 90px; }
.filter-widget {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.filter-widget h4 { font-size: .9rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: .875rem;
  color: var(--text);
  transition: color .2s;
}
.filter-option:hover { color: var(--primary); }
.filter-option input[type="checkbox"] { accent-color: var(--primary); width: 15px; height: 15px; }
.shop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.shop-header h2 { font-size: 1.4rem; }
.shop-count { color: var(--text-muted); font-size: .875rem; }
.sort-select {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  background: var(--bg-white);
}
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-img { height: 100px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer-brand-name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: #fff; display: block; margin-bottom: 10px; letter-spacing: -.01em; }
.footer-tagline-main { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: #a8c8ff; display: block; margin-bottom: 6px; }
.footer-tagline-sub { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.6; display: block; }
.footer-col h4 { color: #fff; font-size: .9rem; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 10px; font-size: .875rem; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a, .footer-contact-item span { color: rgba(255,255,255,.7); }
.footer-contact-item a:hover { color: var(--primary-light); }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social-link:hover { background: var(--primary); }
.footer-social-link svg { width: 16px; height: 16px; color: rgba(255,255,255,.8); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: var(--primary-light); }
.ms-partner-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  margin-top: 16px;
}
.ms-partner-footer img { background: rgba(255,255,255,.92); border-radius: 4px; padding: 3px 8px; }

/* ---------- Carousels ---------- */
.carousel-wrapper { position: relative; }
.carousel-track-outer { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.carousel-track .service-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
}
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all .25s;
  border: none;
  padding: 0;
}
.carousel-dot.active { background: var(--primary); width: 22px; border-radius: 4px; }

/* Testimonial carousel */
.testimonial-carousel .carousel-track .testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial-carousel-inner { max-width: 800px; margin: 0 auto; }

/* Partners marquee */
.marquee-wrapper { overflow: hidden; position: relative; }
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-light), transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(to left, var(--bg-light), transparent); }
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive carousel */
@media (max-width: 960px) {
  .carousel-track .service-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 540px) {
  .carousel-track .service-card { flex: 0 0 100%; }
  .testimonial-carousel .carousel-track .testimonial-card { max-width: 100%; }
}

/* ---------- Neural Network Background Canvas ---------- */
#neural-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}
/* Ensure all page content sits above the canvas
   Only add to elements that don't already have explicit position rules */
section, article, main, footer, .top-bar {
  position: relative;
  z-index: 1;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 500;
  border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Toast Notification ---------- */
.toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3000; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .875rem;
  font-weight: 500;
  animation: toastIn .3s ease;
  min-width: 280px;
  max-width: 400px;
}
.toast.success { background: #054835; border-left: 3px solid var(--success); }
.toast.error   { background: #450a0a; border-left: 3px solid #ef4444; }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }
@keyframes toastIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: none; } }

/* =====================================================
   RESPONSIVE — Mobile & Tablet
   Breakpoints:
     1140px  large tablet / small desktop
      960px  tablet  (hamburger nav)
      768px  mobile
      480px  small mobile
   ===================================================== */

/* ── Large tablet / small desktop (≤1140px) ── */
@media (max-width: 1140px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 80px 0 60px; }
  .hero p { max-width: 640px; }

  /* Footer: 3-col condensed */
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }

  /* Service cards stay 3 col but tighten */
  .grid-3 { gap: 20px; }

  /* Partner logo strip */
  .partner-logo-item { min-width: 120px; padding: 12px 16px; }
}

/* ── Tablet portrait — hamburger starts here (≤960px) ── */
@media (max-width: 960px) {

  /* ── Navigation ── */
  .nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 8px 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav-item { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-item:last-child { border-bottom: none; }
  .nav-link {
    padding: 12px 8px;
    font-size: .95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin: 0 0 8px;
    min-width: unset;
    padding: 4px 0;
  }
  .dropdown-item { padding: 10px 12px; }
  .hamburger { display: flex; }

  /* ── Grids ── */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .form-row { grid-template-columns: 1fr; }

  /* ── Hero ── */
  .hero { padding: 72px 0 56px; }
  .hero-stats { gap: 24px; }
  .service-icons-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  /* ── Partner logos ── */
  .logos-track { gap: 12px; }
  .partner-logo-item { padding: 12px 14px; font-size: .78rem; }
  .partner-logo-img { height: 28px; }

  /* ── Page hero ── */
  .page-hero { padding: 60px 0 52px; }
  .page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }

  /* ── Feature items (service page 3-col → 2-col) ── */
  .feature-item { padding: 16px; }

  /* ── Product showcase ── */
  .product-showcase { margin-top: 40px !important; }
  .product-carousel .product-screenshot-img { max-height: 420px; }

  /* ── Testimonials ── */
  .testimonial-card { padding: 28px 24px; }

  /* ── Carousel responsive ── */
  .carousel-track .service-card { flex: 0 0 calc(50% - 12px); }

  /* ── Values grid ── */
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── About stats ── */
  .about-stats-overlay { grid-template-columns: repeat(2, 1fr); }

  /* ── Section spacing ── */
  .section { padding: 60px 0; }
  .section-lg { padding: 80px 0; }
  .section-header { margin-bottom: 44px; }
  .gap-4 { gap: 28px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {

  /* ── Spacing ── */
  .section { padding: 52px 0; }
  .section-lg { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .gap-3 { gap: 16px; }
  .gap-4 { gap: 20px; }

  /* ── Top bar ── */
  .top-bar { font-size: .75rem; }
  .top-bar .top-bar-left { display: none; }
  .top-bar .top-bar-right { margin: 0 auto; gap: 12px; }

  /* ── Header ── */
  .header .container { height: 72px; }
  .logo-img { height: 54px; }
  .nav { top: 72px; max-height: calc(100vh - 72px); }
  .nav-actions .btn-primary { font-size: .82rem; padding: 8px 14px; }

  /* ── Grids ── */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }

  /* ── Hero ── */
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero p { font-size: .95rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat { min-width: 110px; }
  .hero-badge { font-size: .72rem; padding: 6px 12px; }
  .hero-actions { flex-wrap: wrap; gap: 10px; }

  /* ── Service icons in hero ── */
  .service-icons-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .service-icon-item { padding: 8px 6px; }
  .service-icon-item span { font-size: .6rem; }

  /* ── Partner logo strip ── */
  .logos-strip { gap: 8px; flex-wrap: wrap; justify-content: center; }
  .partner-logo-item { min-width: 100px; padding: 10px 12px; font-size: .75rem; }
  .partner-logo-img { height: 24px; }

  /* ── Page hero ── */
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .page-hero p { font-size: .95rem; }
  .breadcrumb { font-size: .78rem; }

  /* ── About grid ── */
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-stats-overlay { position: static; margin-top: 16px; grid-template-columns: repeat(2, 1fr); }
  .floating-card-1, .floating-card-2 { display: none; }

  /* ── Feature items (service pages) ── */
  .feature-item { flex-direction: column; gap: 12px; padding: 16px; }
  .feature-icon { width: 44px; height: 44px; flex-shrink: 0; }

  /* ── Product carousel ── */
  .product-carousel .product-screenshot-img { max-height: 320px; }
  .product-carousel .carousel-btn { width: 36px; height: 36px; font-size: 22px; }
  .product-carousel .carousel-prev { left: 8px; }
  .product-carousel .carousel-next { right: 8px; }
  .product-showcase p { font-size: .9rem; }

  /* ── Values grid ── */
  .values-grid { grid-template-columns: 1fr; }

  /* ── Contact page ── */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { padding: 28px 20px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .contact-form-card { padding: 28px 20px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .contact-hours-grid { grid-template-columns: 1fr; }
  .social-links-panel { gap: 10px; }
  .faq-grid { grid-template-columns: 1fr; }
  .map-wrapper { height: 260px; }

  /* ── Shop ── */
  .shop-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .shop-sidebar { grid-template-columns: 1fr; }
  .product-card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-card-footer .btn { width: 100%; justify-content: center; }

  /* ── Checkout ── */
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }

  /* ── Blog ── */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-img { height: 180px; }

  /* ── Testimonials ── */
  .testimonial-carousel .carousel-track .testimonial-card { max-width: 100%; padding: 24px 18px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; }
  .ms-partner-footer { flex-wrap: wrap; gap: 8px; }

  /* ── Cart sidebar ── */
  .cart-sidebar { width: 100%; right: -100%; }

  /* ── CTA banner ── */
  .cta-banner { text-align: center; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .cta-banner-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* ── Misc ── */
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
  .carousel-track .service-card { flex: 0 0 100%; }
  .testimonial-carousel .carousel-track .testimonial-card { max-width: 100%; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {

  /* ── Spacing & container ── */
  .container { padding: 0 14px; }
  .section { padding: 40px 0; }
  .section-lg { padding: 52px 0; }
  .section-header { margin-bottom: 28px; }

  /* ── Typography ── */
  h1 { font-size: clamp(1.55rem, 8vw, 2.2rem); }
  h2 { font-size: clamp(1.25rem, 6vw, 1.7rem); }
  h3 { font-size: clamp(1rem, 4.5vw, 1.25rem); }

  /* ── Header ── */
  .header .container { height: 64px; }
  .logo-img { height: 46px; }
  .nav { top: 64px; max-height: calc(100vh - 64px); }
  .nav-actions .btn-primary { display: none; }
  .cart-btn .cart-badge { font-size: .6rem; }

  /* ── Hero ── */
  .hero { padding: 44px 0 36px; }
  .hero h1 { font-size: clamp(1.55rem, 9vw, 2.2rem); }
  .hero-actions { flex-direction: column; gap: 10px; }
  .btn-lg { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { gap: 12px; }
  .stat-num { font-size: 1.3rem; }
  .stat-label { font-size: .72rem; }
  .hero-badge { font-size: .7rem; padding: 5px 10px; }

  /* ── Service icons grid ── */
  .service-icons-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

  /* ── Partner logos ── */
  .partner-logo-item { min-width: 90px; padding: 8px 10px; }
  .partner-logo-img { height: 20px; }
  .partner-logo-item span { font-size: .68rem; }

  /* ── Page hero ── */
  .page-hero { padding: 40px 0 32px; }
  .page-hero h1 { font-size: clamp(1.35rem, 7vw, 1.8rem); }
  .page-hero p { font-size: .88rem; }
  .page-hero img[style*="height:56px"] { height: 44px !important; }

  /* ── Product carousel ── */
  .product-carousel .product-screenshot-img { max-height: 240px; }
  .product-carousel .carousel-btn { width: 30px; height: 30px; font-size: 18px; }
  .product-carousel .carousel-dots { bottom: 8px; gap: 6px; }
  .product-carousel .carousel-dot { width: 7px; height: 7px; }

  /* ── Feature items ── */
  .feature-item { padding: 14px; gap: 10px; }

  /* ── About ── */
  .about-stats-overlay { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* ── Contact ── */
  .contact-info-card { padding: 22px 16px; }
  .contact-form-card { padding: 22px 16px; }
  .map-wrapper { height: 220px; }
  .faq-item { padding: 14px 16px; }

  /* ── Shop / product ── */
  .shop-sidebar { grid-template-columns: 1fr; }
  .product-card-footer .btn { font-size: .8rem; }

  /* ── Blog ── */
  .blog-card-body { padding: 16px; }

  /* ── Testimonials ── */
  .testimonial-card { padding: 20px 16px; }
  .testimonial-card p { font-size: .88rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-links { flex-direction: column; gap: 6px; align-items: center; }
  .footer-brand .logo-img { height: 62px; }
  .ms-partner-footer { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-social { gap: 8px; }
  .footer-social a { width: 34px; height: 34px; }

  /* ── CTA ── */
  .cta-banner-actions .btn { max-width: 100%; }

  /* ── Cards & misc ── */
  .service-card { padding: 20px 18px; }
  .product-card { border-radius: var(--radius); }
  .back-to-top { bottom: 12px; right: 12px; width: 38px; height: 38px; border-radius: 10px; }
  .toast { min-width: calc(100vw - 32px); font-size: .82rem; }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.fade-in { animation: fadeInUp .6s ease forwards; }
