@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0b1014;
  --panel: #121a20;
  --panel-2: #172229;
  --line: rgba(201, 220, 220, .13);
  --text: #edf3ef;
  --muted: #94a5a2;
  --lime: #c6e868;
  --lime-soft: rgba(198, 232, 104, .13);
  --orange: #f5a55c;
  --danger: #f06c63;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Noto Sans SC', system-ui, sans-serif; line-height: 1.65; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent 70%); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.site-shell { max-width: 1500px; margin: 0 auto; padding: 0 42px; position: relative; }
.topbar, .admin-topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--bg); background: var(--lime); clip-path: polygon(50% 0, 100% 100%, 0 100%); font: 700 21px/1 'Barlow Condensed', sans-serif; padding-top: 8px; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { letter-spacing: .08em; font-size: 16px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: .14em; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 48px; }
.nav-link { color: var(--muted); font-size: 13px; transition: color .2s ease; position: relative; }
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link.is-active::after { content: ''; position: absolute; left: 50%; bottom: -31px; width: 4px; height: 4px; transform: translateX(-50%); border-radius: 50%; background: var(--lime); }
.admin-entry, .admin-back { color: var(--lime); border: 1px solid rgba(198, 232, 104, .35); padding: 8px 14px; border-radius: 999px; font-size: 12px; }
.admin-entry span, .admin-back span { margin-left: 4px; }
.hero-section { min-height: 570px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr); gap: 60px; align-items: center; padding: 65px 0 90px; }
.eyebrow { margin: 0 0 14px; color: var(--lime); font: 600 11px/1.2 'Barlow Condensed', 'Noto Sans SC', sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px var(--lime-soft); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 670px; margin-bottom: 24px; font-size: clamp(48px, 7vw, 88px); line-height: .98; letter-spacing: -.06em; font-weight: 800; }
h1 em { color: var(--lime); font-style: normal; }
.hero-lede { max-width: 490px; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #14200d; background: var(--lime); }
.button-primary:hover { background: #d9f582; }
.button-ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.03); }
.button-ghost:hover { border-color: rgba(198,232,104,.42); }
.button-secondary { color: var(--lime); border-color: rgba(198,232,104,.36); background: var(--lime-soft); }
.button-full { width: 100%; }
.hero-metrics { display: flex; gap: 40px; margin-top: 56px; }
.hero-metrics div { display: flex; flex-direction: column; }
.hero-metrics strong { font: 600 31px/1 'Barlow Condensed', sans-serif; letter-spacing: .01em; }
.hero-metrics span { margin-top: 6px; color: var(--muted); font-size: 11px; }
.metric-unit { color: var(--lime); font-size: 18px !important; margin: 0 !important; display: inline !important; }
.hero-art { min-height: 425px; border: 1px solid var(--line); border-radius: 28px; position: relative; overflow: hidden; background: radial-gradient(circle at 52% 42%, rgba(198,232,104,.2), transparent 19%), radial-gradient(circle at 52% 42%, rgba(198,232,104,.05), transparent 48%), #101a1f; box-shadow: var(--shadow); }
.hero-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(130deg, transparent 0 44%, rgba(198,232,104,.08) 44.2% 44.4%, transparent 44.6%), linear-gradient(30deg, transparent 0 58%, rgba(198,232,104,.06) 58.2% 58.4%, transparent 58.6%); }
.radar-grid { position: absolute; inset: 11%; border: 1px solid rgba(198,232,104,.24); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 35px, rgba(198,232,104,.13) 36px 37px); }
.radar-grid::before, .radar-grid::after { content: ''; position: absolute; background: rgba(198,232,104,.22); }
.radar-grid::before { left: 50%; top: 0; width: 1px; height: 100%; }
.radar-grid::after { left: 0; top: 50%; width: 100%; height: 1px; }
.hero-ring { position: absolute; border: 1px solid rgba(245,165,92,.62); border-radius: 50%; }
.ring-one { width: 48px; height: 48px; left: 43%; top: 38%; box-shadow: 0 0 0 7px rgba(245,165,92,.08); }
.ring-two { width: 110px; height: 110px; left: 32%; top: 25%; border-color: rgba(245,165,92,.24); }
.hero-crosshair { position: absolute; width: 8px; height: 8px; left: calc(43% + 20px); top: calc(38% + 20px); border: 1px solid var(--orange); border-radius: 50%; }
.hero-crosshair span { position: absolute; background: var(--orange); }
.hero-crosshair span:first-child { width: 20px; height: 1px; left: -7px; top: 3px; }
.hero-crosshair span:last-child { height: 20px; width: 1px; left: 3px; top: -7px; }
.hero-badge { position: absolute; top: 28px; right: 30px; display: flex; flex-direction: column; align-items: flex-end; color: var(--lime); font: 600 12px/1 'Barlow Condensed', sans-serif; letter-spacing: .2em; }
.hero-badge strong { color: var(--text); font-size: 60px; line-height: .9; letter-spacing: -.04em; }
.hero-coordinate { position: absolute; bottom: 28px; left: 30px; color: var(--muted); font: 600 12px/1.7 'Barlow Condensed', sans-serif; letter-spacing: .12em; }
.hero-coordinate span { color: var(--lime); font-size: 10px; }
.section-anchor { scroll-margin-top: 25px; }
.services-section { padding: 42px 0 84px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
h2 { margin-bottom: 0; font-size: clamp(26px, 3vw, 39px); line-height: 1.2; letter-spacing: -.04em; }
.section-note { max-width: 330px; margin-bottom: 5px; color: var(--muted); font-size: 12px; text-align: right; }
.filter-bar { display: flex; gap: 8px; padding: 30px 0 24px; border-bottom: 1px solid var(--line); }
.filter-button { padding: 8px 14px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: transparent; font-size: 12px; }
.filter-button:hover, .filter-button.is-selected { color: var(--text); border-color: rgba(198,232,104,.28); background: var(--lime-soft); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 24px; }
.product-card { min-height: 257px; display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); position: relative; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.product-card::after { content: ''; position: absolute; width: 130px; height: 130px; right: -46px; bottom: -59px; border: 1px solid rgba(198,232,104,.19); border-radius: 50%; box-shadow: 0 0 0 14px rgba(198,232,104,.03), 0 0 0 28px rgba(198,232,104,.02); }
.product-card:hover { border-color: rgba(198,232,104,.46); transform: translateY(-3px); }
.product-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.product-tag { color: var(--lime); padding: 4px 7px; border-radius: 5px; background: var(--lime-soft); font-size: 10px; }
.product-category { color: var(--muted); font: 600 11px 'Barlow Condensed', sans-serif; letter-spacing: .12em; }
.product-card h3 { margin: 24px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.product-card p { min-height: 44px; margin-bottom: 21px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.product-bottom { display: flex; justify-content: space-between; align-items: end; margin-top: auto; }
.product-price { color: var(--lime); font: 600 30px/1 'Barlow Condensed', sans-serif; }
.product-price small { margin-left: 3px; color: var(--muted); font: 400 11px 'Noto Sans SC', sans-serif; }
.detail-button { color: var(--text); border-bottom: 1px solid rgba(198,232,104,.5); background: transparent; font-size: 12px; padding: 3px 0; }
.empty-state { padding: 80px 20px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); margin-top: 24px; }
.empty-icon { color: var(--lime); font-size: 36px; }
.empty-state h3 { margin: 8px 0; color: var(--text); }
.empty-state p { margin: 0; font-size: 12px; }
.notice-section { padding: 0 0 84px; }
.notice-panel { display: flex; align-items: center; gap: 20px; padding: 27px 30px; border: 1px solid rgba(245,165,92,.25); border-radius: var(--radius); background: linear-gradient(100deg, rgba(245,165,92,.1), rgba(245,165,92,.03)); }
.notice-icon { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; color: var(--bg); background: var(--orange); border-radius: 50%; font-weight: 800; }
.notice-panel h2 { margin-bottom: 7px; font-size: 22px; }
.notice-panel p:not(.eyebrow) { max-width: 670px; margin-bottom: 0; color: var(--muted); font-size: 12px; }
.text-link { margin-left: auto; flex: 0 0 auto; color: var(--lime); font-size: 12px; white-space: nowrap; }
.text-link span { margin-left: 6px; }
.contact-section { display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 80px; padding: 10px 0 95px; }
.contact-section h2 { max-width: 530px; font-size: clamp(30px, 4vw, 50px); }
.contact-copy { max-width: 450px; margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.contact-card-top { color: var(--muted); font-size: 11px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px var(--lime-soft); }
.contact-account { padding: 27px 0 23px; font-size: 18px; font-weight: 700; }
.copy-hint { min-height: 20px; margin: 8px 0 0; color: var(--lime); font-size: 11px; text-align: center; }
.site-footer { display: flex; justify-content: space-between; padding: 24px 0 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.mobile-nav { display: none; }
.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(3, 7, 9, .78); backdrop-filter: blur(7px); }
.modal-backdrop[hidden] { display: none; }
.detail-modal { width: min(100%, 470px); padding: 33px; border: 1px solid rgba(198,232,104,.28); border-radius: 20px; background: #121c20; box-shadow: var(--shadow); position: relative; }
.modal-close { position: absolute; top: 12px; right: 15px; color: var(--muted); border: 0; background: transparent; font-size: 27px; }
.modal-kicker { color: var(--lime); font: 600 11px 'Barlow Condensed', sans-serif; letter-spacing: .15em; }
.detail-modal h2 { margin: 10px 0 7px; }
.modal-price { margin-bottom: 20px; color: var(--lime); font: 600 36px/1 'Barlow Condensed', sans-serif; }
.detail-modal p { color: var(--muted); font-size: 13px; }
.modal-meta { min-height: 20px; margin: 17px 0 24px; color: var(--orange); font-size: 11px; }
.admin-page { min-height: 100vh; background: #0d1418; }
.admin-shell { max-width: 1040px; margin: 0 auto; padding: 0 30px; }
.admin-topbar { margin-bottom: 60px; }
.admin-top-actions { display: flex; align-items: center; gap: 10px; }
.admin-main { padding-bottom: 80px; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 26px; }
.admin-heading h1 { margin: 0; font-size: 47px; letter-spacing: -.06em; }
.save-status { color: var(--muted); font-size: 11px; }
.admin-card { margin-bottom: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(18, 26, 32, .78); }
.admin-card-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-card-heading h2 { font-size: 24px; }
.card-index { color: var(--lime); font: 600 20px 'Barlow Condensed', sans-serif; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-bottom: 22px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 11px; }
.form-span-2 { grid-column: span 2; }
input, textarea, select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--text); background: rgba(255,255,255,.04); font-size: 13px; }
input:focus, textarea:focus, select:focus { border-color: rgba(198,232,104,.6); box-shadow: 0 0 0 3px var(--lime-soft); }
select option { color: #111; }
.admin-products { display: grid; gap: 10px; }
.admin-product-row { display: grid; grid-template-columns: 1fr 105px 95px auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); }
.admin-product-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.admin-product-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.admin-product-name small { color: var(--muted); font-size: 10px; }
.admin-product-price { color: var(--lime); font: 600 21px 'Barlow Condensed', sans-serif; }
.admin-product-category { color: var(--muted); font-size: 11px; }
.admin-row-actions { display: flex; justify-content: end; gap: 8px; }
.mini-button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: transparent; font-size: 11px; }
.mini-button:hover { color: var(--text); border-color: rgba(198,232,104,.4); }
.mini-button.danger:hover { color: var(--danger); border-color: rgba(240,108,99,.4); }
.published-pill { color: var(--lime); padding: 4px 7px; border-radius: 5px; background: var(--lime-soft); font-size: 10px; }
.published-pill.off { color: var(--muted); background: rgba(255,255,255,.06); }
.admin-tips ol { margin: 0; padding-left: 19px; color: var(--muted); font-size: 12px; line-height: 2.1; }
.switch-row { flex-direction: row !important; align-items: center; }
.switch-row input { position: absolute; opacity: 0; width: 1px; }
.switch-ui { width: 35px; height: 20px; padding: 3px; border-radius: 999px; background: #334047; transition: background .2s; }
.switch-ui::after { content: ''; display: block; width: 14px; height: 14px; border-radius: 50%; background: white; transition: transform .2s; }
.switch-row input:checked + .switch-ui { background: var(--lime); }
.switch-row input:checked + .switch-ui::after { transform: translateX(15px); background: var(--bg); }
.editor-modal { max-height: calc(100vh - 40px); overflow: auto; }
.login-modal > p { margin: 10px 0 19px; color: var(--muted); font-size: 12px; }
.login-label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 13px; color: var(--muted); font-size: 11px; }
.login-error { min-height: 20px; margin: 0 0 8px !important; color: var(--danger) !important; }

@media (max-width: 850px) {
  .site-shell { padding: 0 20px 79px; }
  .topbar { height: 70px; }
  .desktop-nav, .admin-entry { display: none; }
  .hero-section { grid-template-columns: 1fr; gap: 35px; padding: 55px 0 64px; }
  .hero-art { min-height: 310px; }
  .hero-metrics { margin-top: 40px; gap: 27px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { display: block; }
  .section-note { margin: 13px 0 0; text-align: left; }
  .contact-section { grid-template-columns: 1fr; gap: 29px; }
  .site-footer { flex-direction: column; gap: 6px; }
  .mobile-nav { position: fixed; z-index: 10; right: 12px; bottom: 12px; left: 12px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 5px; border: 1px solid var(--line); border-radius: 15px; background: rgba(16, 25, 30, .92); box-shadow: 0 13px 40px rgba(0,0,0,.38); backdrop-filter: blur(12px); }
  .mobile-nav-link { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 10px; }
  .mobile-nav-link span { font-size: 17px; line-height: 1.3; }
  .mobile-nav-link.is-active { color: var(--lime); }
  .admin-shell { padding: 0 18px; }
  .admin-topbar { margin-bottom: 42px; }
  .admin-back { padding: 7px 10px; font-size: 11px; }
  .admin-top-actions { gap: 7px; }
  .admin-top-actions .button { min-height: 37px; padding: 0 10px; font-size: 10px; }
  .admin-heading h1 { font-size: 38px; }
}
@media (max-width: 560px) {
  .hero-section { padding-top: 38px; }
  h1 { font-size: clamp(45px, 15vw, 65px); }
  .hero-lede { font-size: 13px; }
  .hero-art { min-height: 255px; border-radius: 20px; }
  .hero-coordinate { left: 20px; bottom: 20px; }
  .hero-badge { top: 21px; right: 20px; }
  .hero-badge strong { font-size: 45px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 225px; }
  .notice-panel { align-items: start; flex-wrap: wrap; padding: 22px; }
  .notice-panel .text-link { margin-left: 58px; }
  .contact-card { padding: 21px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-span-2 { grid-column: auto; }
  .admin-card { padding: 20px; }
  .admin-product-row { grid-template-columns: 1fr auto; gap: 7px 12px; }
  .admin-product-category { grid-column: 1; }
  .admin-row-actions { grid-column: 2; grid-row: 1 / span 2; }
  .admin-product-price { grid-column: 1; }
}
