/* ============================================
   ELECTRO — Tech Store Design System
   Pure CSS · No Frameworks
   ============================================ */

/* --- Custom Properties --- */
:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --cyan: #06B6D4;
  --cyan-light: #22D3EE;
  --dark: #111827;
  --dark-800: #1F2937;
  --dark-700: #374151;
  --dark-600: #4B5563;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 50px -12px rgba(0,0,0,.12);
  --shadow-glow: 0 0 20px rgba(37,99,235,.15), 0 0 40px rgba(6,182,212,.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --light: #0F172A;
    --white: #1E293B;
    --gray-100: #1E293B;
    --gray-200: #334155;
    --dark: #F8FAFC;
    --dark-800: #E2E8F0;
    --dark-700: #CBD5E1;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

/* --- Utilities --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-cyan { color: var(--cyan); }
.text-gray { color: var(--gray); }

/* --- Circuit Board Pattern (SVG bg) --- */
.circuit-bg {
  position: relative;
  overflow: hidden;
}
.circuit-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v15m0 30v15M0 30h15m30 0h15' stroke='%232563EB' stroke-width='.5' fill='none'/%3E%3Ccircle cx='30' cy='30' r='2' fill='%232563EB'/%3E%3Ccircle cx='30' cy='0' r='1.5' fill='%2306B6D4'/%3E%3Ccircle cx='30' cy='60' r='1.5' fill='%2306B6D4'/%3E%3Ccircle cx='0' cy='30' r='1.5' fill='%2306B6D4'/%3E%3Ccircle cx='60' cy='30' r='1.5' fill='%2306B6D4'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .header {
    background: rgba(15,23,42,.92);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo__icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .9rem;
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark-700);
  transition: var(--transition);
}
.nav__link:hover,
.nav__link.active {
  color: var(--blue);
  background: rgba(37,99,235,.06);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.btn-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-700);
  transition: var(--transition);
  font-size: 1.1rem;
}
.btn-icon:hover { background: var(--gray-100); color: var(--blue); }
.btn-icon .badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  background: var(--blue);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
@media (max-width: 720px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__link {
    width: 100%;
    padding: .75rem 1rem;
    font-size: 1rem;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
  transform: translateY(-1px);
}
.btn--outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn--ghost {
  color: var(--dark-700);
  padding: .5rem 1rem;
}
.btn--ghost:hover {
  background: var(--gray-100);
  color: var(--blue);
}
.btn--sm {
  padding: .5rem 1.25rem;
  font-size: .8rem;
}
.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}
.btn--cyan {
  background: var(--cyan);
  color: var(--white);
}
.btn--cyan:hover {
  background: #0891B2;
  transform: translateY(-1px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: clamp(480px, 70vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #0F172A 50%, #0C1A33 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  border-radius: var(--radius-full);
  color: var(--cyan-light);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero__badge .dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.hero__title span { color: var(--cyan); }

.hero__desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-light);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 40vw, 550px);
  z-index: 1;
  opacity: .9;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.12) 0%, transparent 70%);
  top: 20%; right: 15%;
  z-index: 0;
  animation: glow-pulse 4s ease-in-out infinite;
}

@media (max-width: 980px) {
  .hero__image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 400px;
    margin: 2rem auto 0;
    opacity: 1;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0;
    min-height: auto;
  }
  .hero__content { max-width: 100%; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__buttons { justify-content: center; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.section--gray { background: var(--gray-100); }

.section__header {
  margin-bottom: 2.5rem;
}
.section__tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan);
  margin-bottom: .5rem;
}
.section__tag::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: .75rem;
}
.section__subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
}
.section__header--center { text-align: center; }
.section__header--center .section__subtitle { margin-left: auto; margin-right: auto; }

/* ============================================
   CATEGORY CARDS
   ============================================ */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.category-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.category-card:hover::before { transform: scaleX(1); }
.category-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.category-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(6,182,212,.08));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
  transition: var(--transition);
}
.category-card:hover .category-card__icon {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
}

.category-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .25rem;
}
.category-card__count {
  font-size: .8rem;
  color: var(--gray);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.product-card__img {
  position: relative;
  aspect-ratio: 1;
  background: var(--gray-100);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.product-card__img img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card__img img {
  transform: scale(1.08);
}

/* "New" Pulse Badge */
.badge-new {
  position: absolute;
  top: 12px; left: 12px;
  padding: .25rem .7rem;
  background: var(--cyan);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: var(--radius-full);
  z-index: 2;
  animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,182,212,.5); }
  50% { box-shadow: 0 0 0 6px rgba(6,182,212,0); }
}

.badge-sale {
  position: absolute;
  top: 12px; right: 12px;
  padding: .25rem .7rem;
  background: var(--danger);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  z-index: 2;
}

.product-card__actions {
  position: absolute;
  bottom: 12px; right: 12px;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 2;
}
.product-card:hover .product-card__actions {
  opacity: 1;
  transform: translateX(0);
}
.product-card__actions button {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--dark-700);
  transition: var(--transition);
}
.product-card__actions button:hover {
  background: var(--blue);
  color: var(--white);
}

.product-card__body {
  padding: 1.25rem;
}
.product-card__brand {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cyan);
  margin-bottom: .35rem;
}
.product-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .5rem;
  line-height: 1.3;
}
.product-card__rating {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .8rem;
  color: var(--warning);
  margin-bottom: .6rem;
}
.product-card__rating span {
  color: var(--gray);
  font-size: .75rem;
}
.product-card__price {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.product-card__price-current {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
}
.product-card__price-old {
  font-size: .9rem;
  color: var(--gray-light);
  text-decoration: line-through;
}

/* ============================================
   BRAND LOGOS
   ============================================ */
.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
  padding: 2rem 0;
}
.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-light);
  transition: var(--transition);
  letter-spacing: .02em;
  opacity: .5;
}
.brand-logo:hover { opacity: 1; color: var(--dark); }

/* ============================================
   FEATURES / USP
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.feature-card__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(6,182,212,.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue);
}
.feature-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .25rem;
}
.feature-card__desc {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #0C1A33 100%);
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  gap: 3rem;
}
.promo__content { flex: 1; z-index: 2; position: relative; }
.promo__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.promo__desc {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  max-width: 440px;
}
.promo__image {
  flex: 0 0 auto;
  width: clamp(200px, 25vw, 360px);
  z-index: 2;
}
.promo__image img {
  width: 100%;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.3));
}
.promo::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v15m0 30v15M0 30h15m30 0h15' stroke='%2306B6D4' stroke-width='.5' fill='none'/%3E%3Ccircle cx='30' cy='30' r='2' fill='%2306B6D4'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.promo__glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.15) 0%, transparent 70%);
  top: -50px; right: -50px;
}

@media (max-width: 720px) {
  .promo { flex-direction: column; text-align: center; }
  .promo__desc { margin-left: auto; margin-right: auto; }
}

/* ============================================
   SPEC COMPARISON TABLE
   ============================================ */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.compare {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: .9rem;
}
.compare th,
.compare td {
  padding: .85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.compare thead th {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.compare thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody tr:hover { background: rgba(37,99,235,.03); }
.compare .highlight { color: var(--blue); font-weight: 600; }
.compare .check { color: var(--success); }
.compare .cross { color: var(--danger); }

/* ============================================
   FILTER TABS
   ============================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-tab {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 500;
  color: var(--dark-700);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(135deg, var(--dark) 0%, #0F172A 100%);
  text-align: center;
  overflow: hidden;
}
.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: .75rem;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--gray-light);
}
.page-hero__breadcrumb a {
  color: var(--cyan-light);
  transition: var(--transition);
}
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.stat-item__num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .25rem;
}
.stat-item__label {
  font-size: .85rem;
  color: var(--gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}
.team-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--gray-200);
}
.team-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: .25rem;
}
.team-card__role {
  font-size: .85rem;
  color: var(--gray);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.contact-info-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.contact-info-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(6,182,212,.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
}
.contact-info-card__label {
  font-size: .8rem;
  color: var(--gray);
  margin-bottom: .2rem;
}
.contact-info-card__value {
  font-weight: 600;
  font-size: .95rem;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--dark-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  background: var(--white);
  color: var(--dark);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group .form-ok {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(16,185,129,.1);
}
.form-group .form-err {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
.form-msg {
  font-size: .8rem;
  margin-top: .35rem;
  display: none;
}
.form-msg.ok { color: var(--success); display: block; }
.form-msg.err { color: var(--danger); display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: var(--gray-light);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer__desc {
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 300px;
}
.footer__social {
  display: flex;
  gap: .75rem;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--gray-light);
  transition: var(--transition);
}
.footer__social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.footer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.footer__links li { margin-bottom: .6rem; }
.footer__links a {
  font-size: .9rem;
  color: var(--gray-light);
  transition: var(--transition);
}
.footer__links a:hover { color: var(--cyan); }
.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 720px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CART TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transform: translateY(120%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  display: flex;
  gap: .75rem;
  max-width: 480px;
}
.newsletter input {
  flex: 1;
  padding: .75rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: var(--font-body);
  outline: none;
}
.newsletter input:focus {
  border-color: var(--blue);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .promo { flex-direction: column; text-align: center; }
}
