/* ============================================================
   Meekee Automation — Shared Stylesheet
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --bg: #000;
  --blue: #1e6eff;
  --blue-dark: #1550cc;
  --blue-glow: rgba(30, 110, 255, 0.15);
  --text: #fff;
  --muted: #a0a0a0;
  --card-bg: #111;
  --border: #222;
  --green: #25d366;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 8px;
  --transition: 0.25s ease;
}

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

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

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

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

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

a:hover {
  color: #5b9aff;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--muted); line-height: 1.7; }

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-muted { color: var(--muted); }
.text-white { color: var(--text); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-sub {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30, 110, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30, 110, 255, 0.35);
}

.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-green:hover {
  background: #1fba58;
  border-color: #1fba58;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* --- Navigation --- */
#nav-placeholder nav,
nav.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #1e6eff;
  text-decoration: none;
  font-style: italic;
  text-transform: uppercase;
}

.nav-logo:hover {
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-shop {
  border: 1.5px solid var(--blue);
  color: var(--blue) !important;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-shop::after { display: none !important; }
.nav-shop:hover { background: var(--blue); color: #fff !important; }

.nav-cta:hover {
  background: var(--blue-dark) !important;
  color: #fff !important;
}

/* Hamburger */
.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);
  transition: all var(--transition);
  transform-origin: center;
}

.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);
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 110, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 110, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30, 110, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero h1 .highlight {
  color: var(--blue);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

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

/* Page hero (smaller) */
.page-hero {
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(30, 110, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
}

/* --- Cards --- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(30, 110, 255, 0.15);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-glow);
  border: 1px solid rgba(30, 110, 255, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.card ul {
  margin-bottom: 1.5rem;
}

.card ul li {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.25rem 0;
  padding-left: 1.1rem;
  position: relative;
}

.card ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.75rem;
}

/* --- Grid Layouts --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --- Brands Strip --- */
.brands-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #080808;
}

.brands-strip .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
}

.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.brand-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 2.5rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.brand-block:hover {
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(30, 110, 255, 0.2);
}

.brand-block .brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand-block .brand-tagline {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* --- Application Tiles --- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.app-tile {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
  cursor: default;
}

.app-tile:hover {
  border-color: var(--blue);
  background: #131313;
  transform: translateY(-2px);
}

.app-tile .app-icon {
  font-size: 1.5rem;
  color: var(--blue);
  min-width: 48px;
  text-align: center;
}

.app-tile .app-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.app-tile .app-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* --- Why Us / Feature Blocks --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-block {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.feature-block h4 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-block p {
  font-size: 0.875rem;
}

/* --- CTA Strip --- */
.cta-strip {
  background: linear-gradient(135deg, #0a1628 0%, #0d1f44 50%, #0a1628 100%);
  border-top: 1px solid rgba(30, 110, 255, 0.3);
  border-bottom: 1px solid rgba(30, 110, 255, 0.3);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(30, 110, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip .container { position: relative; z-index: 1; }

.cta-strip h2 {
  margin-bottom: 0.75rem;
}

.cta-strip p {
  margin-bottom: 2rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Specs Table --- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  background: #111;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: 35%;
}

.specs-table td {
  color: var(--text);
  background: #0a0a0a;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table-wrap {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 110, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0a0a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: #111;
}

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

.form-success {
  display: none;
  background: rgba(30, 110, 255, 0.1);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  color: var(--blue);
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

/* --- Contact Layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 1.25rem;
  color: var(--blue);
  min-width: 36px;
  height: 36px;
  background: var(--blue-glow);
  border: 1px solid rgba(30, 110, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  text-align: center;
}

.contact-item-text .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.contact-item-text p {
  color: var(--text);
  font-size: 0.9rem;
  margin: 0;
}

/* --- Blog Cards --- */
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(30, 110, 255, 0.15);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #0d1f44, #1a2a5e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.blog-card-meta .tag {
  color: var(--blue);
  font-weight: 600;
  margin-right: 0.75rem;
}

.blog-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.blog-card p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* --- Brand Detail --- */
.brand-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.brand-section:last-child {
  border-bottom: none;
}

.brand-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.brand-logo-large {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
}

.brand-logo-large .name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.brand-logo-large .origin {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Application Sections --- */
.app-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.app-section:last-child { border-bottom: none; }

.app-section-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.app-section-icon {
  font-size: 2rem;
  color: var(--blue);
  text-align: center;
}

.app-section h3 {
  margin-bottom: 0.75rem;
  color: var(--text);
}

/* --- Product Hero --- */
.product-hero {
  padding: 5rem 0 4rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 0% 50%, rgba(30, 110, 255, 0.12) 0%, transparent 60%);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.product-hero-img {
  background: linear-gradient(135deg, #0d1f44 0%, #091530 100%);
  border: 1px solid rgba(30, 110, 255, 0.2);
  border-radius: 16px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.product-hero-img img,
img.product-hero-img {
  max-width: 480px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #222;
  display: block;
  margin: 2rem auto;
}

.product-tag {
  display: inline-block;
  background: rgba(30, 110, 255, 0.15);
  border: 1px solid rgba(30, 110, 255, 0.3);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* --- Comparison Section --- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.comparison-col {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.comparison-col.highlight {
  border-color: var(--blue);
  background: rgba(30, 110, 255, 0.05);
}

.comparison-col h4 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.comparison-col h4.blue { color: var(--blue); }
.comparison-col h4.red { color: #ff4444; }

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.check-list li .icon {
  font-size: 0.9rem;
  min-width: 18px;
}

.check-list.green li .icon { color: #25d366; }
.check-list.red li .icon { color: #ff4444; }

/* --- Values/Team --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.value-card .icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* --- Footer --- */
.site-footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-brand .logo span { color: var(--blue); }

.footer-brand p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-col h5 {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  margin: 0;
}

/* --- Img Placeholder --- */
.img-placeholder {
  background: linear-gradient(135deg, #0d1f44, #111);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .section { padding: 3.5rem 0; }

  /* Nav mobile */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a::after { display: none; }

  .hamburger { display: flex; }

  #nav-placeholder nav,
  nav.main-nav {
    position: sticky;
  }

  .nav-inner { position: relative; }

  /* Grids */
  .grid-3,
  .grid-2,
  .grid-4,
  .app-grid,
  .feature-grid,
  .values-grid,
  .comparison-grid,
  .contact-grid,
  .brand-detail-grid,
  .product-hero-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80vh;
    padding: 3rem 0;
  }

  .hero p { font-size: 1rem; }
  .hero-btns { flex-direction: column; }

  .brands-row { flex-direction: column; align-items: stretch; }
  .brand-block { text-align: center; }

  .product-hero-img { height: 220px; }

  .cta-btns { flex-direction: column; align-items: center; }

  .footer-inner { gap: 2rem; }

  .app-section-inner {
    grid-template-columns: 1fr;
  }

  .app-section-icon {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .card { padding: 1.5rem; }
  .btn { width: 100%; justify-content: center; }
  .hero-btns .btn { width: auto; }
}

/* ============================================================
   Services Page
   ============================================================ */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.service-card--alt {
  background: #0a0a14;
  border-color: #1e3a8a33;
}

.service-img {
  height: 260px;
  flex-shrink: 0;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, black 25%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 25%, transparent 100%);
}

.service-content {
  padding: 0 2.5rem 2.5rem;
  flex: 1;
}

.service-content h2 {
  margin: 0.5rem 0 1rem;
  font-size: 1.6rem;
}

.service-content > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 1.2rem;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.8rem;
}

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

@media (max-width: 768px) {
  .service-img {
    height: 200px;
  }
  .service-content {
    padding: 0 1.5rem 2rem;
  }
  .service-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Brand Logos Strip
   ============================================================ */
.brand-logo {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.brand-logo:hover { opacity: 1; }
.brand-logo--light-bg {
  filter: none;
  background: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  opacity: 0.9;
}

/* ============================================================
   Product Slideshow
   ============================================================ */
.slideshow-section {
  padding: 5rem 0;
  background: #050508;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.slideshow {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.slides-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card-bg);
}

.slide-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: clamp(200px, 35vh, 380px);
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-brand-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.slide-brand-badge img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.slide-brand-badge--light img {
  filter: none;
  background: #fff;
  border-radius: 4px;
  padding: 2px 6px;
}

.slide-caption {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.slide-caption h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
}

.slide-caption p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
}
.slide-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.slide-btn--prev { left: 1rem; }
.slide-btn--next { right: 1rem; }

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 1rem 0 1.25rem;
  background: var(--card-bg);
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.slide-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .slide {
    grid-template-columns: 1fr;
  }
  .slide-img-wrap {
    min-height: clamp(140px, 28vh, 220px);
  }
  .slide-caption {
    padding: 1.5rem;
  }
  .slide-caption h3 {
    font-size: 1.25rem;
  }
}

/* Slideshow at top of page — flush under nav, full width, no section padding */
.slideshow-section--hero {
  padding-top: 0;
  padding-bottom: 0;
}
.slideshow-section--hero .slideshow {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  max-width: 100%;
}
.slideshow-section--hero .slide-img-wrap {
  min-height: clamp(260px, 42vh, 520px);
}
@media (max-width: 1024px) {
  .slideshow-section--hero .slide-img-wrap {
    min-height: clamp(220px, 38vh, 400px);
  }
}
@media (max-width: 768px) {
  .slideshow-section--hero .slide-img-wrap {
    min-height: clamp(160px, 30vh, 260px);
  }
}

/* Service slides (no photo — icon-based) */
.slide--service {
  background: #06060f;
}
.slide-service-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  background: linear-gradient(135deg, #0a0a1a 0%, #0d1433 100%);
  border-right: 1px solid var(--border);
  font-size: 7rem;
  color: var(--blue);
}
@media (max-width: 768px) {
  .slide-service-visual {
    min-height: 160px;
    font-size: 4rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

/* Contain mode for portrait/square product images in slideshow */
.slide-img-wrap--contain {
  background: #0a0a12;
  padding: 1.5rem;
}
.slide-img-wrap--contain img {
  object-fit: contain;
}

/* 2-card centered grid */
.grid-2-centered {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 2rem;
  justify-content: center;
}
@media (max-width: 768px) {
  .grid-2-centered { grid-template-columns: 1fr; }
}

/* Brand logo inside product card */
.card-brand-logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-brand-logo img {
  max-height: 48px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.card-brand-logo--light img {
  filter: none;
  background: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  max-height: 44px;
}

/* Brand logo sized to match card-icon */
.card-icon-logo {
  height: 4rem;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.card-icon-logo--light {
  background: #fff;
  border-radius: 4px;
  padding: 4px 10px;
  height: 3.5rem;
}
