/* Dark palette (high-contrast, low-glare) [web:6][web:1]
--bg: #0D0D0D (base) [web:4]
--card: #161616 (surfaces) [web:1]
--text: #E6E6E6 (primary text) [web:6]
--muted: #A8A8A8 (secondary text) [web:6]
--accent: #6EE7B7 (mint) [web:4]
--accent-2: #22D3EE (cyan) [web:4]
--link: #8BE9FD (links) [web:6]
--border: #2A2A2A (dividers) [web:1]
--shadow: rgba(0,0,0,0.6) (elevation) [web:16]
*/

:root {
  --bg: #0D0D0D; /* Prefer very dark gray over pure black for comfort [web:6][web:1] */
  --card: #161616;
  --text: #E6E6E6;
  --muted: #A8A8A8;
  --accent: #6EE7B7;
  --accent-2: #22D3EE;
  --link: #8BE9FD;
  --border: #2A2A2A;
  --shadow: rgba(0,0,0,0.6);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica,Arial,sans-serif; /* Sans-serif readable in dark UIs [web:6] */
  line-height: 1.6;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus { outline: 2px solid var(--accent); outline-offset: 2px; } /* Visible focus for keyboard navigation [web:9] */

.container { width: min(1200px, 90%); margin-inline: auto; } /* Stable max width container [web:16] */

.site-header {
  position: sticky; top: 0; z-index: 50; /* Sticky header via CSS [web:7][web:10] */
  background: rgba(13,13,13,0.9);
  backdrop-filter: saturate(120%) blur(4px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 0;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo { color: var(--accent); }

.main-nav ul { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.main-nav a { padding: 8px 10px; border-radius: 10px; }
.main-nav a[aria-current="page"] { background: #191919; border: 1px solid var(--border); }

.hero { padding: 32px 0 12px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.2; margin: 0 0 10px; }
.hero p { color: var(--muted); margin: 0 0 8px; }
.hero .actions { display: flex; gap: 12px; margin-top: 16px; }
.hero-media img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 6px 24px var(--shadow); }

.section { padding: 36px 0; }
.section h2 { font-size: clamp(1.3rem, 2.5vw, 2rem); margin: 0 0 16px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid [web:16] */
  gap: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px var(--shadow); }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--border); } /* Stable media sizing [web:16] */
.card-body { padding: 14px; }
.card-body h3 { margin: 0 0 6px; }
.price { color: var(--text); font-weight: 600; }

.text-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.text-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px;
  box-shadow: 0 8px 26px var(--shadow);
}

.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq summary:focus { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.cta { text-align: center; padding-bottom: 48px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); cursor: pointer;
}
.btn-accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #042b2b; font-weight: 700; }
.btn-ghost { background: #191919; color: var(--text); }
.btn-small { padding: 8px 10px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.product-table { width: 100%; border-collapse: collapse; }
.product-table th, .product-table td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; }
.product-table th { color: var(--muted); font-weight: 600; }

.product-detail { padding: 28px 0 46px; max-width: 760px; }
.product-detail .notice { color: var(--muted); }
.specs { padding-left: 18px; }
.specs li { margin: 6px 0; }
.cta-row { display: flex; align-items: flex-start; gap: 16px; margin-top: 16px; }
.side-note {
  max-width: 320px; color: var(--muted); border-left: 3px solid var(--accent-2); padding-left: 12px;
}

.contact-form { display: grid; gap: 12px; max-width: 640px; }
.form-row { display: grid; gap: 6px; }
input, textarea {
  background: #131313; border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 10px;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.small { color: var(--muted); font-size: 0.95rem; }

.site-footer { border-top: 1px solid var(--border); padding: 22px 0; margin-top: 20px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner nav { display: flex; gap: 14px; }

.center { display: grid; place-items: center; min-height: 60vh; text-align: center; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: grid; gap: 10px; grid-template-columns: 1fr auto auto;
  background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 12px 30px var(--shadow); padding: 12px;
}
.cookie-banner p { margin: 0; color: var(--muted); }
.cookie-banner a { color: var(--link); }
.cookie-banner .btn { margin-left: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
}

@media (max-width: 600px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .main-nav ul { flex-wrap: wrap; gap: 10px; }
  .cookie-banner { grid-template-columns: 1fr; }
}
