:root {
  --bg: #0d1117;
  --bg-alt: #11161f;
  --surface: #161d29;
  --surface-2: #1d2532;
  --border: #2a3342;
  --text: #e6ebf2;
  --text-muted: #9aa7b8;
  --accent: #f5a623;
  --accent-2: #ff7a1a;
  --accent-ink: #1a1204;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ===== Top bar ===== */
.topbar {
  background: #070a0f;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.topbar-inner {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.45rem 0;
  justify-content: center;
}
.topbar-item a { color: var(--text-muted); }
.topbar-item a:hover { color: var(--accent); text-decoration: none; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  font-weight: 800;
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}
.brand-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text);
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--accent);
  color: var(--accent-ink) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: #ffb84d; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(245, 166, 35, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(255, 122, 26, 0.12), transparent 60%),
    var(--bg);
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.5px;
}
.hero-title .accent {
  color: var(--accent);
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 30rem;
  margin: 1.2rem 0;
}
.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.hero-tags li {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--surface);
}
.hero-media img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center;
}

/* ===== Sections ===== */
.section { padding: 4.5rem 0; }
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
}
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}
.section-head h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.section-sub { color: var(--text-muted); margin-top: 0.8rem; }

/* ===== Product ===== */
.product-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}
.product-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.product-media img { max-height: 520px; object-fit: cover; width: 100%; }
.product-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}
.product-body p { color: var(--text-muted); }
.checklist { list-style: none; margin-top: 1.4rem; }
.checklist li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.18s, border-color 0.18s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature-icon { font-size: 1.9rem; margin-bottom: 0.6rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 3 / 4;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ===== Specs table ===== */
.specs-wrap { max-width: 760px; margin: 0 auto; }
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.specs-table th, .specs-table td {
  padding: 0.85rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: 0; }
.specs-table th {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  width: 34%;
  background: var(--bg-alt);
}

/* ===== Why us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.contact-line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.5rem;
  width: 2.2rem;
  text-align: center;
}
.contact-line strong { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.contact-line a { color: var(--text); font-size: 1.05rem; }
.contact-line a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.contact-form input, .contact-form textarea, .contact-form select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
}
.contact-form select { cursor: pointer; }
.contact-form select option { background: var(--bg); color: var(--text); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-note { font-size: 0.82rem; color: var(--text-muted); }

/* ===== Footer ===== */
.site-footer {
  background: #070a0f;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand { margin-bottom: 0.8rem; }
.footer-tag { color: var(--text-muted); font-size: 0.9rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.6rem;
  line-height: 1;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 4%;
    gap: 0.4rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.5rem 0; width: 100%; }
  .nav-toggle { display: flex; }

  .hero-inner, .product-grid, .contact-grid, .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-media { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
