/* habnet.net - Editorial Portal & Changelog Blog Theme (Habnet Sky & Emerald) */
:root {
  --sky: #0ea5e9;
  --sky-dark: #0369a1;
  --emerald: #4ea819;
  --emerald-dark: #2f720d;
  --ink: #0f172a;
  --muted: #475569;
  --surface: #ffffff;
  --bg: #f1f5f9;
  --border: #e2e8f0;
  --amber: #f59e0b;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
img.pixel { width: auto; height: auto; max-width: none; flex-shrink: 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Native 188x53 Habnet Logo (Exact Original Size) */
.habnet-logo-native {
  width: 188px;
  height: 53px;
  max-width: none;
  flex-shrink: 0;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px -14px rgba(15, 23, 42, 0.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 80px; padding: 10px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; flex-shrink: 0; }
.brand-pill {
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: #e0f2fe; color: #0369a1;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a {
  padding: 8px 13px; border-radius: 10px; font-size: 14px; font-weight: 600;
  color: var(--ink); transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover, .nav a.active { background: #e0f2fe; color: var(--sky-dark); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 12px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-has-pixel { padding: 4px 18px 4px 10px; min-height: 50px; }
.btn-ico { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(180deg, #5cc41f 0%, #419412 100%);
  color: #ffffff; border-color: #2f720d;
  box-shadow: 0 4px 0 #265b0a;
}
.btn-primary:hover { box-shadow: 0 5px 14px rgba(65, 148, 18, 0.35), 0 4px 0 #265b0a; }
.btn-sky {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff; border-color: #0369a1;
  box-shadow: 0 4px 0 #075985;
}
.btn-outline {
  background: rgba(255, 255, 255, 0.95); color: var(--ink); border-color: var(--border);
}
.btn-outline:hover { border-color: var(--sky); color: var(--sky-dark); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #075985 0%, #0284c7 48%, #15803d 100%);
  color: #ffffff; padding: 56px 0 52px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url('/assets/hotel-panorama.webp') center bottom / cover no-repeat;
  opacity: 0.22; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 89, 133, 0.68) 0%, rgba(15, 23, 42, 0.84) 100%);
  pointer-events: none;
}
.hero-split {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 0.95fr; gap: 32px; align-items: center;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.03em; margin-bottom: 16px;
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(1.95rem, 4.1vw, 3rem);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.02em;
}
.hero p.lead {
  margin: 0 0 24px; font-size: 1.05rem; color: rgba(255, 255, 255, 0.92); max-width: 680px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero Visual Showcase Card */
.hero-showcase {
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 46px -16px rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(10px);
}
.showcase-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 16px;
  background: rgba(15, 23, 42, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px; font-weight: 700; color: #e0f2fe;
}
.showcase-bar-left { display: inline-flex; align-items: center; gap: 8px; }
.showcase-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0c4a6e; }
.showcase-stage > img.panorama {
  width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
}
.showcase-stage::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(15, 23, 42, 0.85) 100%);
  pointer-events: none;
}
.showcase-currencies {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.curr-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15, 23, 42, 0.82); border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #f8fafc;
}
.frank-strip {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(78, 168, 25, 0.24));
}
.frank-sprite {
  width: 117px; height: 88px; max-width: none; flex-shrink: 0;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}
.frank-bubble {
  background: rgba(255, 255, 255, 0.96); color: #0f172a;
  padding: 10px 13px; border-radius: 13px; font-size: 12.5px; line-height: 1.45;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.2);
}
.frank-bubble strong { color: #0369a1; display: block; margin-bottom: 2px; font-size: 13px; }

.hero-stats {
  position: relative; z-index: 2; margin-top: 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px;
}
.stat-box {
  background: rgba(15, 23, 42, 0.5); border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 12px;
}
.stat-ico {
  width: 58px; height: 58px; border-radius: 13px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid; place-items: center;
}
.stat-val { font-size: 1.2rem; font-weight: 800; color: #86efac; line-height: 1.15; }
.stat-lbl { font-size: 12px; color: rgba(255, 255, 255, 0.88); }

/* Sections & Cards */
section.section { padding: 54px 0; }
.section-head { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.8vw, 2.05rem); font-weight: 800; letter-spacing: -0.015em; }
.section-head p { margin: 0; color: var(--muted); max-width: 680px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.card:hover { transform: translateY(-2px); border-color: #bae6fd; box-shadow: 0 18px 34px -16px rgba(2, 132, 199, 0.24); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.icon-badge {
  width: 62px; height: 62px; border-radius: 15px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.icon-badge.emerald { background: linear-gradient(145deg, #f7fee7, #ecfccb); border-color: #bef264; }
.icon-badge.amber { background: linear-gradient(145deg, #fffbeb, #fef3c7); border-color: #fcd34d; }
.icon-badge.purple { background: linear-gradient(145deg, #faf5ff, #f3e8ff); border-color: #d8b4fe; }
.card-tag {
  display: inline-block; width: fit-content; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px; background: #ecfccb; color: #365314;
}
.card-tag.sky { background: #e0f2fe; color: #075985; }
.card-tag.amber { background: #fef3c7; color: #92400e; }
.card-tag.purple { background: #f3e8ff; color: #6b21a8; }
.card h3 { margin: 0; font-size: 1.18rem; font-weight: 800; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.cmd {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; background: #f1f5f9; color: #0f172a;
  padding: 2px 7px; border-radius: 6px; border: 1px solid #cbd5e1;
}

/* Visual Highlight Strip inside Editorial */
.visual-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px;
  margin: 22px 0;
}
.mini-feature {
  display: flex; align-items: center; gap: 12px;
  background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; padding: 13px 14px;
}
.mini-feature strong { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.25; }
.mini-feature span { font-size: 12px; color: var(--muted); }

/* Editorial Article Layout */
.article-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: clamp(22px, 4vw, 42px); box-shadow: var(--shadow);
}
.article-wrap h2 { margin-top: 28px; margin-bottom: 10px; font-size: 1.42rem; }
.article-wrap h2:first-child { margin-top: 0; }
.article-wrap ul { padding-left: 20px; color: var(--muted); }
.article-wrap li { margin-bottom: 8px; }
.heading-with-icon { display: flex; align-items: center; gap: 12px; }
.heading-with-icon h2 { margin: 0; }

/* Timeline Changelog */
.changelog-item {
  border-left: 4px solid var(--emerald); padding: 6px 0 6px 20px; margin-bottom: 26px;
}
.changelog-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.changelog-date { font-size: 12px; font-weight: 800; color: var(--sky-dark); text-transform: uppercase; letter-spacing: 0.04em; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
details.faq {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px;
}
details.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.faq summary::after { content: "+"; font-size: 1.25rem; color: var(--sky-dark); font-weight: 800; }
details.faq[open] summary::after { content: "-"; }
details.faq p { margin: 12px 0 0; color: var(--muted); font-size: 0.95rem; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #0369a1 55%, #15803d 100%);
  color: #ffffff; border-radius: 22px; padding: 34px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-banner h2 { margin: 0 0 8px; font-size: 1.65rem; }
.cta-banner p { margin: 0; color: rgba(255, 255, 255, 0.88); max-width: 560px; }

/* Footer */
.site-footer {
  background: #0f172a; color: #cbd5e1; padding: 42px 0 28px; margin-top: 32px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px;
  margin-bottom: 28px;
}
.site-footer h4 { color: #ffffff; margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2); padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center;
  font-size: 12.5px; color: #94a3b8;
}
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.82); margin-bottom: 12px; }
.breadcrumb a { color: #bae6fd; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header-inner { padding: 12px 0; flex-direction: column; align-items: flex-start; }
  .hero { padding: 40px 0 36px; }
  .frank-strip { flex-direction: column; text-align: center; }
}
