:root {
  --primary: #1d4ed8;
  --primary-dark: #0f172a;
  --accent: #0ea5e9;
  --soft: #eff6ff;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(148, 163, 184, 0.24);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(16px);
  background: rgba(255,255,255,.88); border-bottom: 1px solid var(--border);
}
.nav-wrap { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 0; }
.brand { display:flex; align-items:center; gap:12px; }
.brand img { width:70px; height:48px; object-fit:contain; border-radius:12px; }
.brand span { display:block; font-size:1.35rem; font-weight:800; letter-spacing:.02em; color:var(--primary-dark); }
.brand small { color:var(--accent); font-weight:700; }
.main-nav { display:flex; align-items:center; gap:18px; }
.main-nav a { padding:12px 16px; border-radius:999px; font-weight:600; color:var(--muted); }
.main-nav a:hover, .main-nav a.active { background: var(--soft); color: var(--primary-dark); }
.nav-cta { background: linear-gradient(135deg, var(--primary), var(--accent)); color:#fff !important; box-shadow: var(--shadow); }
.mobile-toggle { display:none; border:0; background:var(--soft); font-size:1.35rem; width:48px; height:48px; border-radius:16px; }
.hero {
  padding: 70px 0 32px;
}
.hero-grid { display:grid; grid-template-columns: 1.08fr .92fr; gap:32px; align-items:center; }
.hero-card, .glass-card, .product-card, .stat-card, .info-card, .contact-card, .page-panel {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy { padding: 20px 10px 20px 0; }
.badge {
  display:inline-flex; align-items:center; gap:10px; padding:10px 16px; border-radius:999px;
  background:linear-gradient(90deg, rgba(14,165,233,.12), rgba(29,78,216,.12)); color:var(--primary);
  font-weight:800; margin-bottom:18px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.02; margin:0 0 18px; }
.hero p { font-size:1.06rem; color:var(--muted); line-height:1.8; margin:0 0 24px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:15px 22px; border-radius:999px;
  font-weight:800; border:1px solid transparent; transition: .25s ease; cursor:pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color:#fff; }
.btn-outline { border-color: var(--border); background:#fff; color:var(--primary-dark); }
.btn:hover { transform: translateY(-2px); }
.hero-visual { overflow:hidden; position:relative; }
.hero-visual img { width:100%; height:100%; object-fit:cover; min-height:500px; }
.hero-overlay {
  position:absolute; inset:auto 24px 24px 24px; background:rgba(15,23,42,.84); color:#fff; border-radius:22px; padding:22px;
}
.hero-overlay h3 { margin:0 0 10px; font-size:1.25rem; }
.section { padding: 28px 0 70px; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:26px; }
.section-head h2 { margin:0; font-size: clamp(1.7rem, 4vw, 3rem); }
.section-head p { margin:0; max-width:620px; color:var(--muted); line-height:1.8; }
.grid-4 { display:grid; grid-template-columns: repeat(4, 1fr); gap:22px; }
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
.grid-2 { display:grid; grid-template-columns: repeat(2, 1fr); gap:22px; }
.stat-card, .info-card { padding:24px; }
.stat-card strong { display:block; font-size:2.2rem; color:var(--primary); }
.stat-card span { color:var(--muted); line-height:1.6; }
.product-card { overflow:hidden; }
.product-thumb { aspect-ratio: 4/3; background:#e0f2fe; }
.product-thumb img { width:100%; height:100%; object-fit:cover; }
.product-body { padding:22px; }
.product-meta { display:flex; justify-content:space-between; gap:10px; margin-bottom:10px; font-size:.92rem; color:var(--muted); }
.price { font-weight:800; color:var(--primary-dark); font-size:1.2rem; margin: 14px 0 18px; }
.product-actions { display:flex; gap:10px; flex-wrap:wrap; }
.tag { display:inline-flex; padding:8px 12px; border-radius:999px; background: var(--soft); color:var(--primary); font-weight:700; font-size:.88rem; }
.service-list { display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; }
.service-item { padding:20px; background:#fff; border-radius:22px; border:1px solid var(--border); box-shadow:var(--shadow); }
.service-item h3 { margin:0 0 10px; }
.service-item p { margin:0; color:var(--muted); line-height:1.7; }
.banner { padding:32px; border-radius:32px; background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent)); color:#fff; }
.banner p { color: rgba(255,255,255,.82); line-height:1.8; }
.shop-layout { display:grid; grid-template-columns: 280px 1fr; gap:24px; align-items:start; }
.sidebar { padding:24px; position:sticky; top:94px; }
.sidebar h3 { margin-top:0; }
.filter-link { display:block; padding:12px 14px; border-radius:16px; color:var(--muted); border:1px solid transparent; }
.filter-link:hover, .filter-link.active { background:var(--soft); border-color:rgba(14,165,233,.18); color:var(--primary-dark); }
.search-form { display:flex; gap:10px; margin:18px 0 0; }
.search-form input, .form-control {
  width:100%; padding:14px 16px; border:1px solid var(--border); border-radius:16px; outline:none; font:inherit;
}
.search-form button, .btn-admin { border:0; border-radius:16px; padding:14px 18px; font-weight:800; background:linear-gradient(135deg, var(--primary), var(--accent)); color:#fff; }
.product-page { display:grid; grid-template-columns: 1fr 1fr; gap:28px; align-items:start; }
.product-gallery, .product-detail { padding:26px; }
.product-gallery img { width:100%; border-radius:24px; }
.detail-list { display:grid; grid-template-columns: repeat(2,1fr); gap:14px; margin:22px 0; }
.detail-box { padding:18px; border-radius:20px; background:var(--soft); }
.detail-box span { display:block; color:var(--muted); margin-bottom:6px; }
.page-panel { padding:30px; }
.poster-preview { border-radius:26px; overflow:hidden; border:1px solid var(--border); }
.contact-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
.contact-card { padding:24px; }
.form-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:18px; }
.textarea { min-height:160px; resize:vertical; }
.site-footer { padding:44px 0 0; background: #0f172a; color:#fff; margin-top:80px; }
.footer-grid { display:grid; grid-template-columns: 1.1fr .9fr .8fr; gap:24px; }
.footer-logo { width:110px; background:#fff; padding:10px; border-radius:16px; margin-bottom:14px; }
.site-footer p, .site-footer h4 { margin:0 0 10px; }
.copyright { text-align:center; padding:18px; margin-top:18px; border-top:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.75); }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse: collapse; }
th, td { padding:14px 12px; border-bottom:1px solid var(--border); text-align:left; }
.admin-shell { min-height:100vh; display:grid; grid-template-columns: 280px 1fr; background:#f8fafc; }
.admin-sidebar { background:#0f172a; color:#fff; padding:28px 22px; }
.admin-sidebar a { display:block; padding:12px 14px; margin-bottom:8px; border-radius:16px; color:rgba(255,255,255,.78); }
.admin-sidebar a:hover, .admin-sidebar a.active { background:rgba(255,255,255,.1); color:#fff; }
.admin-main { padding:28px; }
.admin-top { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.notice { padding:14px 18px; border-radius:14px; margin-bottom:18px; }
.notice.success { background:#dcfce7; color:#166534; }
.notice.error { background:#fee2e2; color:#991b1b; }
.login-screen { min-height:100vh; display:grid; place-items:center; padding:20px; background: radial-gradient(circle at top left, #dbeafe, #ffffff 55%); }
.login-box { width:min(500px, 100%); padding:32px; }
@media (max-width: 1024px) {
  .hero-grid, .grid-4, .grid-3, .grid-2, .product-page, .shop-layout, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position:static; }
}
@media (max-width: 768px) {
  .mobile-toggle { display:block; }
  .main-nav {
    position:absolute; top:78px; left:16px; right:16px; background:#fff; border:1px solid var(--border); box-shadow:var(--shadow);
    border-radius:24px; padding:16px; display:none; flex-direction:column; align-items:stretch;
  }
  .main-nav.open { display:flex; }
  .hero-grid, .grid-4, .grid-3, .grid-2, .product-page, .contact-grid, .footer-grid, .form-grid, .detail-list { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position:sticky; top:0; z-index:100; }
}

body::before {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at top left, rgba(14,165,233,.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(29,78,216,.10), transparent 26%);
}
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }
.eyebrow { display:inline-block; margin-bottom:10px; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); font-weight:800; }
.hero-mini-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:24px; }
.hero-mini-stats div, .results-bar, .install-box, .detail-chip, .install-chip, .mini-badge {
  background: rgba(255,255,255,.86); border:1px solid var(--border); border-radius:18px; box-shadow: var(--shadow);
}
.hero-mini-stats div { padding:16px; }
.hero-mini-stats strong { display:block; font-size:1rem; }
.hero-mini-stats span { color:var(--muted); font-size:.92rem; }
.split-highlight { display:grid; grid-template-columns: 1.1fr .9fr; gap:24px; align-items:stretch; }
.custom-install-card { padding:28px; display:flex; flex-direction:column; justify-content:center; }
.mini-badge { display:inline-flex; width:max-content; padding:8px 12px; margin-bottom:14px; color:var(--primary); font-weight:800; }
.feature-list { margin:18px 0 0; padding-left:18px; color:var(--muted); line-height:1.8; }
.feature-list li { margin-bottom:8px; }
.price-block { display:flex; flex-direction:column; gap:4px; margin:18px 0 14px; }
.price-note { color:var(--accent); font-size:.92rem; font-weight:700; }
.install-chip { padding:11px 14px; color:var(--primary-dark); font-weight:700; font-size:.92rem; margin-bottom:14px; }
.testimonial-card p { font-style:italic; }
.shop-layout { display:grid; grid-template-columns: 290px 1fr; gap:24px; align-items:start; }
.filter-stack { display:grid; gap:10px; margin-bottom:18px; }
.filters-form { display:grid; gap:12px; }
.filter-actions { display:flex; gap:12px; flex-wrap:wrap; }
.checkbox-line { display:flex; align-items:center; gap:10px; color:var(--muted); font-weight:600; }
.results-bar { padding:16px 18px; margin-bottom:18px; font-weight:600; }
.empty-state { margin-top:24px; text-align:center; }
.product-page { display:grid; grid-template-columns: .95fr 1.05fr; gap:28px; align-items:start; }
.product-gallery img { width:100%; max-height:680px; object-fit:cover; border-radius:22px; }
.detail-price .price { font-size:2.1rem; }
.detail-points { display:flex; flex-wrap:wrap; gap:12px; margin:18px 0; }
.detail-chip { padding:12px 16px; font-weight:700; }
.install-box { padding:20px; margin:20px 0; }
.inner-panel { box-shadow:none; margin-top:8px; }
.detail-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:24px; }
.product-video { width:100%; border-radius:24px; background:#000; }
.notice.info { background:rgba(14,165,233,.08); color:#075985; }
.admin-stat-grid .stat-card { min-height:140px; }
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3, .grid-2, .product-page, .split-highlight, .shop-layout, .hero-grid { grid-template-columns: 1fr; }
  .hero-mini-stats { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
  .main-nav { position:absolute; top:84px; right:16px; left:16px; background:#fff; padding:16px; border-radius:22px; box-shadow:var(--shadow); border:1px solid var(--border); display:none; flex-direction:column; align-items:stretch; }
  .main-nav.open { display:flex; }
  .mobile-toggle { display:block; }
  .section-head { flex-direction:column; align-items:start; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns:1fr; }
  .site-header { position:sticky; }
  .shop-layout { grid-template-columns:1fr; }
}

/* V3 visual cleanup */
.brand span { font-size:1.15rem; }
.brand small { letter-spacing:.08em; text-transform:uppercase; }
.hero { padding: 54px 0 24px; }
.hero p, .section-head p, .service-item p, .info-card p, .contact-card p, .banner p, .product-body p { line-height:1.65; }
.badge { font-size:.92rem; }
.hero-overlay p, .copyright { opacity:.86; }
.icon-badge {
  width:56px; height:56px; border-radius:18px; display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(255,255,255,.92), rgba(239,246,255,.92));
  box-shadow:0 14px 34px rgba(37,99,235,.14);
  margin-bottom:16px;
}
.icon-badge svg { width:34px; height:34px; display:block; }
.stat-card, .info-card, .contact-card, .service-item, .product-card, .page-panel { position:relative; overflow:hidden; }
.stat-card::after, .info-card::after, .contact-card::after, .service-item::after, .page-panel::after {
  content:""; position:absolute; inset:auto -40px -40px auto; width:120px; height:120px; border-radius:50%;
  background:radial-gradient(circle, rgba(59,130,246,.12), rgba(168,85,247,.02) 65%, transparent 70%);
}
.stat-card strong { font-size:1.4rem; }
.stat-card span { display:block; margin-top:6px; }
.section-head.compact p { max-width:540px; }
.content-tight { max-width:820px; }
.product-body h3, .page-panel h3, .contact-card h3, .info-card h3 { margin:0 0 10px; }
.product-body p { color:var(--muted); font-size:.97rem; }
.price-note, .install-chip, .detail-chip { font-size:.9rem; }
.clean-list, .feature-list { list-style:none; padding:0; margin:18px 0 0; display:grid; gap:12px; }
.clean-list li, .feature-list li {
  display:flex; align-items:flex-start; gap:12px; padding:12px 14px; border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(239,246,255,.82)); border:1px solid var(--border);
}
.clean-list li::before, .feature-list li::before {
  content:""; flex:0 0 12px; width:12px; height:12px; margin-top:5px; border-radius:999px;
  background:linear-gradient(135deg, #22c55e, #06b6d4, #8b5cf6);
}
.illustration-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.illustration-card {
  padding:24px; border-radius:26px; border:1px solid var(--border); background:rgba(255,255,255,.95); box-shadow:var(--shadow);
}
.illustration-card .icon-badge { margin-bottom:18px; }
.illustration-card p { margin:0; color:var(--muted); }
.contact-stack { display:grid; gap:22px; }
.contact-line { display:flex; align-items:center; gap:14px; color:var(--text); font-weight:700; }
.contact-line small { display:block; color:var(--muted); font-weight:600; }
.contact-line .icon-badge { width:50px; height:50px; margin:0; }
.contact-line .icon-badge svg { width:28px; height:28px; }
.hero-mini-stats div, .results-bar, .notice.info { border:1px solid var(--border); background:rgba(255,255,255,.82); }
.notice.info { color:var(--primary-dark); }
.hero-visual::before {
  content:""; position:absolute; inset:16px; border-radius:26px; border:1px solid rgba(255,255,255,.3); pointer-events:none;
}
.product-card .product-thumb { background:linear-gradient(135deg, #e0f2fe, #eef2ff, #f5f3ff); }
.footer-grid { align-items:start; }
.footer-list { display:grid; gap:10px; color:rgba(255,255,255,.88); }
.footer-list .contact-line { color:#fff; font-weight:700; }
.footer-list .contact-line small { color:rgba(255,255,255,.72); }
.footer-list .icon-badge { background:rgba(255,255,255,.08); box-shadow:none; }
.footer-list .icon-badge svg { width:24px; height:24px; }
.slim-copy { max-width:700px; }
.split-highlight { display:grid; grid-template-columns:1.1fr .9fr; gap:22px; }
.mini-badge { display:inline-flex; padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.14); color:#fff; font-size:.82rem; font-weight:800; }
.custom-install-card { padding:28px; background:linear-gradient(135deg, #0f172a, #1d4ed8, #8b5cf6); color:#fff; }
.custom-install-card p { color:rgba(255,255,255,.86); }
.visual-row { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.visual-chip { display:flex; gap:12px; align-items:center; padding:14px 16px; border-radius:18px; background:rgba(255,255,255,.12); }
.visual-chip .icon-badge { width:46px; height:46px; margin:0; background:rgba(255,255,255,.14); }
.visual-chip .icon-badge svg { width:26px; height:26px; }
.page-hero-clean { margin-bottom:24px; }
.page-hero-clean h1, .page-hero-clean h2 { margin:8px 0 10px; }
.about-table td:first-child { font-weight:800; color:var(--primary-dark); }
@media (max-width:1024px) {
  .illustration-grid, .split-highlight, .visual-row { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
  .illustration-grid, .split-highlight, .visual-row { grid-template-columns:1fr; }
  .brand img { width:58px; height:42px; }
  .container { width:min(100%, calc(100% - 20px)); }
  .hero-copy { padding-right:0; }
  .btn { width:100%; }
  .product-actions .btn, .detail-actions .btn, .filter-actions .btn { width:100%; }
}
