/* MAXNIKA LED — global styles */
:root {
  --bg: #070b14;
  --bg2: #0b1120;
  --surface: #101827;
  --surface2: #16213a;
  --line: rgba(148, 163, 184, 0.14);
  --txt: #e8edf5;
  --muted: #97a3b6;
  --accent: #00c2ff;
  --accent2: #2f6bff;
  --grad: linear-gradient(135deg, #00c2ff 0%, #2f6bff 100%);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(2, 6, 23, 0.5);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

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

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 0.06em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--grad);
  display: grid; place-items: center; font-size: 15px; color: #04101d; font-weight: 900;
}
.brand small { color: var(--muted); font-weight: 600; font-size: 11px; letter-spacing: 0.28em; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--txt); }
.nav-cta {
  background: var(--grad); color: #04101d !important; padding: 9px 18px;
  border-radius: 999px; font-weight: 700 !important;
}
.nav-burger { display: none; background: none; border: 1px solid var(--line); color: var(--txt); border-radius: 8px; padding: 6px 10px; font-size: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .15s, box-shadow .15s; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #04101d; box-shadow: 0 8px 24px rgba(0, 149, 255, .3); }
.btn-ghost { border-color: rgba(148,163,184,.35); color: var(--txt); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 110px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(47, 107, 255, 0.22), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(0, 194, 255, 0.12), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(0, 194, 255, 0.35); padding: 7px 14px; border-radius: 999px;
  background: rgba(0, 194, 255, 0.07);
}
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; margin: 22px 0 18px; font-weight: 800; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats b { font-size: 26px; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--muted); font-size: 13.5px; }
.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-visual .frame img { width: 100%; height: 460px; object-fit: cover; }
.hero-visual .chip {
  position: absolute; background: rgba(13, 20, 36, 0.88); border: 1px solid var(--line);
  backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 16px; font-size: 13.5px; font-weight: 600;
}
.hero-visual .chip.c1 { left: -18px; bottom: 36px; }
.hero-visual .chip.c2 { right: -14px; top: 34px; }
.hero-visual .chip b { color: var(--accent); }

/* ---------- sections ---------- */
section.block { padding: 84px 0; }
section.block.alt { background: var(--bg2); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.sec-head .kicker { margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.2; }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s; display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-5px); border-color: rgba(0, 194, 255, 0.45); }
.cat-card img { height: 190px; width: 100%; object-fit: cover; }
.cat-card .body { padding: 20px 22px 24px; }
.cat-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: 14.5px; }
.cat-card .more { color: var(--accent); font-size: 14px; font-weight: 600; margin-top: 14px; display: inline-block; }

/* product cards */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s; display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-5px); border-color: rgba(0, 194, 255, 0.45); }
.p-card .thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #0d1424; }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.p-card:hover .thumb img { transform: scale(1.05); }
.p-card .tag {
  position: absolute; left: 12px; top: 12px; font-size: 11.5px; font-weight: 700;
  background: rgba(7, 11, 20, 0.78); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px; color: var(--accent); letter-spacing: .04em;
}
.p-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-card h3 { font-size: 15.5px; line-height: 1.45; font-weight: 600; }
.p-card .meta { color: var(--muted); font-size: 13px; }
.p-card .cta-row { margin-top: auto; display: flex; gap: 10px; }
.p-card .cta-row a { flex: 1; text-align: center; }
.p-card .btn-quote { background: var(--grad); color: #04101d; border-radius: 10px; padding: 10px 0; font-weight: 700; font-size: 14px; }
.p-card .btn-detail { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--muted); }
.p-card .btn-detail:hover { color: var(--txt); border-color: var(--accent); }

/* feature blocks */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.feat .ico { font-size: 26px; margin-bottom: 14px; }
.feat h3 { font-size: 17px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 14.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #04101d;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* applications strip */
.apps-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16 / 8.4;
}
.app-tile img { width: 100%; height: 100%; object-fit: cover; }
.app-tile .cap {
  position: absolute; inset: auto 0 0 0; padding: 14px 18px;
  background: linear-gradient(transparent, rgba(4, 8, 16, 0.92)); font-weight: 700; font-size: 15.5px;
}

/* faq */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 700; cursor: pointer; font-size: 15.5px; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 14.5px; }

/* cta band */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(0, 194, 255, 0.18), transparent 55%),
    radial-gradient(700px 300px at 90% 100%, rgba(47, 107, 255, 0.22), transparent 55%),
    var(--surface);
  border: 1px solid var(--line); border-radius: 22px; text-align: center; padding: 64px 28px;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: 64px 0 44px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(28px, 3.6vw, 42px); }
.page-head p { color: var(--muted); margin-top: 10px; max-width: 640px; }
.crumbs { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.crumbs a { color: var(--accent); }

/* ---------- products page ---------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 34px 0 26px; }
.chip-f {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 600;
  transition: all .15s;
}
.chip-f:hover { color: var(--txt); }
.chip-f.active { background: var(--grad); color: #04101d; border-color: transparent; }
.search-box { margin-left: auto; position: relative; }
.search-box input {
  background: var(--surface); border: 1px solid var(--line); color: var(--txt);
  border-radius: 999px; padding: 10px 18px 10px 40px; width: 240px; font-size: 14px; outline: none;
}
.search-box input:focus { border-color: var(--accent); }
.search-box::before { content: "⌕"; position: absolute; left: 15px; top: 8px; color: var(--muted); font-size: 17px; }
.result-count { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; padding: 48px 0; }
.pd-gallery .main-img {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0d1424;
}
.pd-gallery .main-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumbs img {
  aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; cursor: pointer;
  border: 2px solid transparent; opacity: .75; transition: opacity .15s, border-color .15s;
}
.pd-thumbs img:hover, .pd-thumbs img.on { opacity: 1; border-color: var(--accent); }
.pd-info h1 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.25; }
.pd-info .cat-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent);
  border: 1px solid rgba(0, 194, 255, .35); background: rgba(0, 194, 255, .07);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; letter-spacing: .05em;
}
.pd-info .desc { color: var(--muted); margin: 16px 0 22px; }
.key-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.key-specs .ks { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; }
.key-specs .ks b { display: block; font-size: 14.5px; }
.key-specs .ks span { color: var(--muted); font-size: 12.5px; }
.app-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 26px; }
.app-chips span { background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-note { color: var(--muted); font-size: 13px; margin-top: 14px; }

.spec-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; background: rgba(148, 163, 184, 0.04); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.pd-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 56px; }
.pd-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pd-sec h2 { font-size: 19px; margin-bottom: 14px; }
.pd-sec p, .pd-sec li { color: var(--muted); font-size: 14.5px; }
.pd-sec ul li { padding: 7px 0 7px 24px; position: relative; }
.pd-sec ul li::before { content: "▹"; position: absolute; left: 2px; color: var(--accent); }

.related h2 { font-size: 24px; margin-bottom: 22px; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--txt);
  border-radius: 10px; padding: 12px 14px; font-size: 14.5px; outline: none; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.contact-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; padding: 48px 0 84px; }
.contact-cards { display: grid; gap: 14px; align-content: start; }
.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.c-card b { display: block; margin-bottom: 4px; }
.c-card span { color: var(--muted); font-size: 14.5px; }
.form-ok {
  display: none; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.4);
  color: #7ee2a8; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 14.5px;
}

/* about */
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.about-cols img { border-radius: 18px; border: 1px solid var(--line); object-fit: cover; width: 100%; height: 100%; }
.about-cols .txt h2 { font-size: 24px; margin-bottom: 14px; }
.about-cols .txt p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 56px 0 30px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-grid h4 { font-size: 15px; margin-bottom: 14px; letter-spacing: .04em; }
.foot-grid p, .foot-grid a { color: var(--muted); font-size: 14px; display: block; padding: 4px 0; }
.foot-grid a:hover { color: var(--accent); }
.foot-brand p { max-width: 300px; }
.copyright { text-align: center; color: var(--muted); font-size: 13px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }

/* whatsapp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #22c55e;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(34, 197, 94, 0.4);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .feat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-strip { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg2); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 18px 5%; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .hero { padding: 60px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual .frame img { height: 300px; }
  .hero-visual .chip.c1 { left: 8px; }
  .hero-visual .chip.c2 { right: 8px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: 1fr; }
  .apps-strip { grid-template-columns: 1fr; }
  .feat-grid, .steps { grid-template-columns: 1fr; }
  .pd { grid-template-columns: 1fr; gap: 30px; padding-top: 28px; }
  .pd-sections { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .key-specs { grid-template-columns: 1fr; }
}
