/* LANLIQ Cooltech global styles */
:root {
  --brand: #0ea5e9;
  --brand-dark: #0369a1;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-soft: #f8fafc;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  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: 700; font-size: 18px; color: var(--ink); }
.brand img { height: 30px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--ink); font-size: 14px; }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: 8px 16px;
  border-radius: 6px; font-weight: 500;
}
.nav-cta:hover { background: var(--brand-dark); text-decoration: none; }
.lang-switch { font-size: 13px; color: var(--muted); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 100%);
  color: #fff; padding: 96px 0;
}
.hero h1 { font-size: 44px; line-height: 1.2; margin: 0 0 16px; }
.hero p.lead { font-size: 18px; color: #bae6fd; max-width: 720px; }
.hero .cta-row { margin-top: 32px; display: flex; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 6px; font-weight: 500;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-soft); }
h2 { font-size: 30px; margin: 0 0 12px; }
.subtitle { color: var(--muted); margin: 0 0 40px; max-width: 760px; }

/* Product cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 24px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(14,165,233,0.10); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.card .icon { font-size: 28px; margin-bottom: 12px; }

/* Feature list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 8px 0 8px 28px; position: relative; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700;
}

/* Footer */
footer { background: var(--ink); color: #94a3b8; padding: 48px 0; font-size: 14px; }
footer a { color: #cbd5e1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }

/* Forms */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; margin-bottom: 4px; color: var(--muted); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 14px; font-family: inherit;
}
.form-row textarea { min-height: 120px; }

/* Table (admin) */
table.admin { width: 100%; border-collapse: collapse; font-size: 14px; }
table.admin th, table.admin td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.admin th { background: var(--bg-soft); font-weight: 600; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.badge.published { background: #dcfce7; color: #166534; }
.badge.draft { background: #fef9c3; color: #854d0e; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
