/* =============================================
   TURGAY ROBOTICS – Frontend Stylesheet
   Design: Clean white / light industrial
   ============================================= */

:root {
  --bg:          #f5f7fb;
  --bg-2:        #edf0f7;
  --bg-card:     #ffffff;
  --bg-card-h:   #f8faff;
  --border:      rgba(0,0,0,0.08);
  --border-h:    rgba(0,150,200,0.3);
  --accent:      #0099cc;
  --accent-dim:  rgba(0,153,204,0.1);
  --accent-2:    #6d28d9;
  --accent-glow: rgba(0,153,204,0.25);
  --text:        #2d3748;
  --text-muted:  #718096;
  --text-dim:    #a0aec0;
  --white:       #0f172a;
  --danger:      #e53e3e;
  --success:     #38a169;
  --font:        'Inter', system-ui, sans-serif;
  --font-head:   'Space Grotesk', 'Inter', sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.07);
  --shadow-card: 0 0 0 1px var(--border), 0 8px 32px rgba(0,0,0,0.06);
  --transition:  0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: #007aaa;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,153,204,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ---- Pill / Badge ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid rgba(0,153,204,0.2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}
.badge-blue  { background: rgba(0,153,204,0.1); color: var(--accent); }
.badge-purple{ background: rgba(109,40,217,0.1); color: #7c3aed; }
.badge-green { background: rgba(56,161,105,0.1); color: var(--success); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  background: rgba(245,247,251,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled {
  background: rgba(245,247,251,0.98);
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), #0066aa);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #ffffff;
  flex-shrink: 0;
}
.logo-accent { color: var(--accent); }
.logo:hover .logo-icon { box-shadow: 0 0 16px var(--accent-glow); }

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(0,0,0,0.05);
}
.nav-link.active { color: var(--accent); }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header {
  padding: 9px 20px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.btn-header:hover {
  background: #007aaa;
  box-shadow: 0 4px 16px rgba(0,153,204,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px 8px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 98;
  backdrop-filter: blur(4px);
}
.mobile-overlay.show { display: block; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0,153,204,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(109,40,217,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  border: 1px solid rgba(0,153,204,0.2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow i { font-size: 0.65rem; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--accent), #0055aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-card-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #0055aa, transparent);
}
.hero-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.hero-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.hero-card-specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.spec-chip {
  padding: 4px 12px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hero-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.hero-mini-card:hover {
  border-color: var(--border-h);
  background: var(--bg-card-h);
}
.hero-mini-icon {
  width: 36px; height: 36px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.hero-mini-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}
.hero-mini-val { font-size: 0.72rem; color: var(--text-muted); }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .pill { margin-bottom: 16px; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.product-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,153,204,0.15);
}
.product-card.featured {
  grid-column: span 2;
  flex-direction: row;
}

.product-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #dde4f0 0%, #c8d4e8 50%, #dde4f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.product-card.featured .product-img {
  width: 45%;
  aspect-ratio: auto;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
}
.product-img-placeholder i { font-size: 2.8rem; color: var(--accent); opacity: 0.4; }
.product-img-placeholder span { font-size: 0.75rem; }
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.08), transparent 50%);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}
.product-card.featured .product-name { font-size: 1.3rem; }

.product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.product-features li {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.product-features li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap var(--transition);
}
.product-link:hover { gap: 10px; }

/* =============================================
   FEATURES / WHY SECTION
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.feature-card:hover {
  border-color: var(--border-h);
  background: var(--bg-card-h);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.fi-blue   { background: rgba(0,153,204,0.1); color: var(--accent); }
.fi-purple { background: rgba(109,40,217,0.1); color: #7c3aed; }
.fi-green  { background: rgba(56,161,105,0.1); color: var(--success); }

.feature-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.feature-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   STATS BAND
   ============================================= */
.stats-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-band-item {}
.stat-band-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-band-num span { color: var(--accent); }
.stat-band-label { font-size: 0.85rem; color: var(--text-muted); }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-section {
  padding: 80px 0;
}
.cta-box {
  background: linear-gradient(135deg, rgba(0,153,204,0.06) 0%, rgba(109,40,217,0.05) 100%);
  border: 1px solid rgba(0,153,204,0.15);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.cta-box-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.cta-box-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0,153,204,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   PRODUCTS LIST PAGE
   ============================================= */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* =============================================
   PRODUCT DETAIL
   ============================================= */
.product-detail {
  padding: 100px 0 80px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.product-detail-img {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-img .placeholder-icon {
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.25;
}
.product-detail-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.product-detail-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
}
.product-detail-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text);
}
.feature-item i { color: var(--accent); font-size: 0.7rem; flex-shrink: 0; }

.specs-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.specs-table table { width: 100%; border-collapse: collapse; }
.specs-table td {
  padding: 11px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child { color: var(--text-muted); font-weight: 500; width: 40%; }
.specs-table td:last-child { color: var(--white); font-weight: 600; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-info-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.contact-item-val {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}
.contact-item-val a:hover { color: var(--accent); }

/* Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: all var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0,153,204,0.1);
}
.form-select { cursor: pointer; }
.form-select option { background: #ffffff; color: var(--text); }
.form-textarea { resize: vertical; min-height: 120px; }

.form-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.form-alert.success {
  background: rgba(56,161,105,0.08);
  border: 1px solid rgba(56,161,105,0.25);
  color: var(--success);
}
.form-alert.error {
  background: rgba(229,62,62,0.08);
  border: 1px solid rgba(229,62,62,0.25);
  color: var(--danger);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 14px;
  margin-bottom: 20px;
  max-width: 260px;
}
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.footer-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a, .footer-col ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-contact li i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-contact li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-credits { font-size: 0.78rem !important; color: var(--text-dim) !important; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 14px 0;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-dim); }
.breadcrumb .current { color: var(--text); }

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =============================================
   RESPONSIVE
   ============================================= */

/* ── Tablet: 1024px ── */
@media (max-width: 1024px) {
  .hero-inner           { gap: 40px; }
  .products-grid        { grid-template-columns: 1fr 1fr; }
  .product-card.featured{ grid-column: span 2; }
  .features-grid        { grid-template-columns: 1fr 1fr; }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid         { grid-template-columns: 1fr 1.2fr; gap: 32px; }
}

/* ── Mobile: 768px ── */
@media (max-width: 768px) {

  /* Mobile nav drawer */
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(245,247,251,0.99);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link      { padding: 12px 16px; font-size: 0.95rem; border-radius: 8px; }
  .hamburger     { display: flex; }
  .btn-header    { display: none; }

  /* Section spacing */
  .section    { padding: 56px 0; }
  .section-sm { padding: 36px 0; }

  /* Hero */
  .hero              { padding: 96px 0 52px; }
  .hero-inner        { grid-template-columns: 1fr; gap: 0; }
  .hero-visual       { display: none; }
  .hero-title        { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero-sub          { font-size: 0.95rem; }
  .hero-actions      { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
  .hero-stats        { gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; }
  .stat-num          { font-size: 1.5rem; }

  /* Page hero (inner pages) */
  .page-hero         { padding: 96px 0 40px; }
  .page-hero-title   { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Products */
  .products-grid                     { grid-template-columns: 1fr; }
  .product-card.featured             { grid-column: 1; flex-direction: column; }
  .product-card.featured .product-img{ width: 100%; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-card  { padding: 20px; }

  /* Stats band */
  .stats-band-grid  { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-band-num    { font-size: 1.9rem; }

  /* Product detail */
  .product-detail      { padding: 80px 0 48px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .features-list       { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-row     { grid-template-columns: 1fr; }

  /* CTA */
  .cta-section { padding: 48px 0; }
  .cta-box     { padding: 36px 20px; }
  .cta-actions { flex-direction: column; align-items: center; gap: 10px; }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline { width: 100%; max-width: 320px; justify-content: center; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .site-footer   { padding: 48px 0 0; }

  /* Section head */
  .section-head  { margin-bottom: 36px; }
  .section-title { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .section-sub   { font-size: 0.9rem; }
}

/* ── Small mobile: 480px ── */
@media (max-width: 480px) {
  .container  { padding: 0 16px; }
  .hero-title { font-size: 1.75rem; }
  .hero-sub   { font-size: 0.9rem; }
  .hero-eyebrow { font-size: 0.7rem; }

  .features-grid  { grid-template-columns: 1fr; }
  .stats-band-grid{ grid-template-columns: 1fr 1fr; }
  .stat-band-num  { font-size: 1.6rem; }

  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-item  { min-width: 80px; }

  .product-card .product-body { padding: 18px; }

  .contact-form-card,
  .contact-info-card { padding: 20px; }

  .cta-box { padding: 28px 16px; }
  .cta-box-title { font-size: 1.4rem; }

  .footer-grid { gap: 20px; }
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  padding: 32px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.hero-slider > .container {
  position: relative;
}

.slider-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #1a1a2e;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.slider-track {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide.prev   { opacity: 0; z-index: 0; }

/* Media backgrounds */
.slide-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1a2e;
}
.slide-media video,
.slide-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  pointer-events: none;
}
.slide-media-video {
  overflow: hidden;
}
.slide-media-empty {
  background: linear-gradient(135deg, #dde4f0 0%, #c8d4e8 100%);
}

/* Dark overlay on media */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.62) 0%,
    rgba(0,0,0,0.35) 60%,
    rgba(0,0,0,0.1) 100%
  );
  z-index: 1;
}

/* Text content */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 24px;
  animation: slideIn 0.7s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.slide-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

.slide-btn {
  font-size: 0.9rem;
  padding: 13px 28px;
}

/* Navigation arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.slider-arrow:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.5);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.slider-dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .slider-wrap { height: 320px; }
  .slide-title { font-size: 1.5rem; }
  .slide-sub   { font-size: 0.88rem; }
  .slider-arrow { width: 34px; height: 34px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .hero-slider { padding: 20px 0; }
  .slider-wrap { height: 240px; border-radius: 10px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .slide-sub   { display: none; }
}
