/* =====================================================
   ColdLog – Unified Design System
   Elegant • Operational • Infrastructure-Grade
   ===================================================== */

/* ========== RESET & GLOBAL ========== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f6f7f9;
  color: #1f2937;
}

/* Typography */
h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #111827;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #111827;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #111827;
}

p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========== LINKS & BUTTONS ========== */
a {
  color: inherit;
  text-decoration: none;
}

.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: #0d6efd;
  color: #ffffff;
  padding: 14px 22px;
}

.btn.primary:hover {
  background: #0b5ed7;
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #1f2937;
  padding: 14px 22px;
}

.btn.secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* Native buttons (App) */
button {
  background: #111827;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

button:hover {
  background: #1f2937;
}

button.secondary {
  background: #e5e7eb;
  color: #111827;
}

button.secondary:hover {
  background: #d1d5db;
}

/* ========== INPUTS ========== */
input,
select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  width: 320px;
}

input:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  white-space: nowrap;
}

.logo a {
  font-weight: 700;
  color: #111827;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav a {
  font-weight: 500;
  color: #1f2937;
}

/* ========== LANDING LAYOUT ========== */
.landing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.hero {
  padding-top: 140px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 720px;
  margin-bottom: 40px;
}

.hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: #0d6efd;
  margin-top: 18px;
}

.cta {
  display: flex;
  gap: 16px;
}

/* ========== SECTIONS ========== */
.section {
  margin-top: 120px;
}

/* ========== GRID & CARDS ========== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

/* ========== STEPS ========== */
.steps {
  margin-top: 32px;
  line-height: 1.9;
}

/* ========== HIGHLIGHT ========== */
.highlight {
  background: #f7f9fc;
  padding: 64px 40px;
  border-radius: 16px;
  text-align: center;
}

/* ========== TABLES (APP) ========== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

th {
  background: #111827;
  color: #ffffff;
  padding: 12px;
  text-align: left;
}

td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
}

/* ========== STATUS COLORS ========== */
.temp-ok {
  color: #059669;
  font-weight: 600;
}

.temp-alert {
  color: #dc2626;
  font-weight: 600;
  background: #fee2e2;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ========== FOOTER ========== */
.footer {
  margin-top: 64px;
  padding: 24px 0;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

.footer a {
  color: #6b7280;
}

.footer a:hover {
  text-decoration: underline;
}
