/* mobile: prevent horizontal overflow */
html { overflow-x: clip; }
body { overflow-x: clip; }

html { background: var(--bg); }

    html { scrollbar-width: thin; scrollbar-color: var(--blue-l) var(--bg); scroll-behavior: smooth; color-scheme: dark; }
    [data-theme="light"] { color-scheme: light; }
    ::-webkit-scrollbar { width: 13px; height: 13px; background: var(--bg); }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, var(--blue-l), var(--blue));
      border-radius: 10px; border: 3px solid var(--bg); background-clip: padding-box;
    }
    ::-webkit-scrollbar-thumb:hover { background: var(--blue-l); background-clip: padding-box; }
    :root {
      --bg: #030508; --bg-card-s: #080d1c;
      --blue: #0549F9; --blue-l: #3d7eff; --blue-ll: #6da0ff;
      --blue-dim: rgba(5,73,249,0.12); --blue-glow: rgba(5,73,249,0.35);
      --white: #FEFCFE; --muted: rgba(254,252,254,0.52);
      --border: rgba(5,73,249,0.18); --border-h: rgba(5,73,249,0.5);
      --fh: 'Space Grotesk', sans-serif; --fb: 'DM Sans', sans-serif; --r: 12px;
      --shadow-sm: rgba(0,0,0,0.28);
    }
    [data-theme="light"] {
      --bg: #F2F1ED; --bg-card-s: #FFFFFF;
      --white: #1D2433; --muted: rgba(23,29,43,0.65);
      --border: rgba(60,66,84,0.14); --border-h: rgba(47,91,196,0.45);
      --blue-dim: rgba(5,73,249,0.06); --blue-glow: rgba(47,95,211,0.13);
      --blue: #2456DE; --blue-l: #3E70EE; --blue-ll: #6E9AF4;
      --shadow-sm: rgba(43,58,103,0.1);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      background: var(--bg); color: var(--white); font-family: var(--fb);
      line-height: 1.7; overflow-x: hidden; min-height: 100vh;
      display: flex; flex-direction: column;
    }
    body::before {
      content: ''; position: fixed; inset: 0;
      background-image: radial-gradient(circle, rgba(5,73,249,0.07) 1px, transparent 1px);
      background-size: 38px 38px; pointer-events: none; z-index: 0;
    }
    [data-theme="light"] body::before { background-image: radial-gradient(circle, rgba(5,73,249,0.045) 1px, transparent 1px); }
    .gradient-text {
      background: linear-gradient(120deg, var(--white) 10%, var(--blue-l) 100%);
      -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    }
    [data-theme="light"] .gradient-text {
      background: linear-gradient(120deg, #1D2433 0%, #2456DE 100%);
      -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    }
    .btn {
      display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px;
      border-radius: 8px; font-family: var(--fb); font-weight: 600; font-size: 0.9rem;
      cursor: pointer; transition: all 0.25s; text-decoration: none; border: none;
      white-space: nowrap; min-height: 44px;
    }
    .btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 0 22px var(--blue-glow); }
    .btn-primary:hover { background: var(--blue-l); box-shadow: 0 0 36px var(--blue-glow); transform: translateY(-2px); }
    [data-theme="light"] .btn-primary { background: #2456DE; color: #FFFFFF; box-shadow: 0 2px 10px rgba(36,86,222,0.25); }
    [data-theme="light"] .btn-primary:hover { background: #3E70EE; color: #FFFFFF; }
    .btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--border); }
    .btn-ghost:hover { border-color: var(--blue); color: var(--blue-l); }
    [data-theme="light"] .btn-ghost { border-color: rgba(5,73,249,0.22); color: var(--white); }
    [data-theme="light"] .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
    #nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 68px;
      display: flex; align-items: center; justify-content: space-between; padding: 0 5%;
      background: rgba(3,5,8,0.75); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
      border-bottom: 1px solid var(--border); transition: background 0.3s;
    }
    [data-theme="light"] #nav { background: rgba(242,241,237,0.92); border-bottom-color: rgba(5,73,249,0.1); }
    .nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
    .nav-logo-img { width: 34px; height: 34px; border-radius: 50%; background: url('images/favicon.png') center / contain no-repeat; flex-shrink: 0; }
    .nav-logo-name { font-family: var(--fh); font-weight: 700; font-size: 1.05rem; color: var(--white); }
    .nav-logo-name em { color: var(--blue-l); font-style: normal; }
    .nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
    .nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.2s; }
    .nav-links a:hover { color: var(--white); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
    .hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mobile-menu {
      display: none; position: fixed; top: 68px; left: 0; right: 0;
      background: rgba(3,5,8,0.97); backdrop-filter: blur(24px);
      border-bottom: 1px solid var(--border); padding: 28px 5%;
      flex-direction: column; gap: 6px; z-index: 199;
    }
    [data-theme="light"] .mobile-menu { background: rgba(242,241,237,0.98); border-bottom-color: rgba(5,73,249,0.1); }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { color: var(--muted); text-decoration: none; font-size: 1rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); transition: color 0.2s; }
    [data-theme="light"] .mobile-menu a { border-bottom-color: rgba(15,18,35,0.06); }
    .mobile-menu a:hover, .mobile-menu a:last-child { color: var(--white); }
    .mobile-menu .btn { margin-top: 8px; text-align: center; justify-content: center; }
    main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 150px 5% 110px; }
    .section-tag {
      display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 600;
      color: var(--blue-l); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px;
    }
    .section-tag::before { content: '</> '; opacity: 0.7; }
    [data-theme="light"] .section-tag { color: #2456DE; }
    h1 { font-family: var(--fh); font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.1; margin-bottom: 18px; max-width: 16ch; }
    .lede { font-size: 1.08rem; color: var(--muted); line-height: 1.75; max-width: 600px; text-wrap: pretty; margin-bottom: 36px; }
    .feat-placeholder {
      margin-top: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center;
      text-align: center; gap: 14px; padding: 72px 32px; border: 1.5px dashed var(--border-h);
      border-radius: var(--r); background: var(--blue-dim); color: var(--muted);
    }
    .feat-placeholder .fp-icon {
      width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
      background: var(--bg-card-s); border: 1px solid var(--border); color: var(--blue-l);
    }
    .feat-placeholder .fp-title { font-family: var(--fh); font-weight: 600; font-size: 1.15rem; color: var(--white); }
    .feat-placeholder .fp-sub { font-size: 0.92rem; max-width: 440px; line-height: 1.65; text-wrap: pretty; }
    .fp-mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.78rem; color: var(--blue-l); letter-spacing: 0.02em; }
    footer {
      position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 28px 5%;
      display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    }
    .foot-copy { font-size: 0.78rem; color: var(--muted); }
    .foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
    .foot-links a { font-size: 0.78rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
    .foot-links a:hover { color: var(--white); }
    .theme-toggle-fab {
      position: fixed; bottom: 28px; right: 28px; z-index: 300; width: 48px; height: 48px;
      border-radius: 50%; background: var(--bg-card-s); border: 1px solid var(--border);
      color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 20px var(--shadow-sm); transition: all 0.25s;
    }
    .theme-toggle-fab:hover { color: var(--blue-l); border-color: var(--blue); transform: translateY(-2px); }
    @media (min-width: 1440px) {
      main { max-width: 1280px; }
    }
    @media (min-width: 1920px) {
      :root { font-size: 17px; }
      main { max-width: 1400px; }
      #nav { padding: 0 calc((100vw - 1400px) / 2 + 40px); }
    }
    @media (min-width: 2560px) {
      :root { font-size: 19px; }
      main { max-width: 1600px; }
      #nav { padding: 0 calc((100vw - 1600px) / 2 + 48px); }
      body::before { background-size: 48px 48px; }
    }
    @media (max-width: 720px) {
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      main { padding: 120px 5% 80px; }
    }
    @media (max-width: 480px) {
      #nav { padding: 0 4%; }
      main { padding: 110px 4% 72px; }
      footer { flex-direction: column; align-items: flex-start; }
      .feat-placeholder { padding: 56px 22px; }
    }
  

/* externalized inline styles */
.u0{width:18px !important; height:18px !important;}
.u1{color:var(--muted) !important; font-weight:400 !important;}
.u2{color:var(--blue-l) !important;}
.u3{display:flex !important; align-items:center !important; gap:8px !important;}
.u4{width:26px !important; height:26px !important;}
.u5{margin-top:6px !important;}
.u6{width:16px !important; height:16px !important;}


/* Reserve scrollbar gutter so nav/content do not shift between short and tall pages */
html { scrollbar-gutter: stable; }


/* page-to-page transition: sequential fade via a solid overlay (opaque at first paint -> no flash) */
.page-fx {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  pointer-events: none; opacity: 1; will-change: opacity;
  animation: pfxReveal 0.1s ease forwards;
}
@keyframes pfxReveal { from { opacity: 1; } to { opacity: 0; } }
.page-fx.pfx-leave { animation: pfxCover 0.1s ease forwards; }
@keyframes pfxCover { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .page-fx, .page-fx.pfx-leave { animation: none; opacity: 0; }
}


/* ============================================================
   FEATURES PAGE — interactive demo styles
   ============================================================ */
.ic-sm { width: 16px; height: 16px; }
.ic-md { width: 20px; height: 20px; }
.ic-lg { width: 24px; height: 24px; }

/* jump nav */
.feat-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 44px; }
.feat-jump a {
  font-size: 0.8rem; font-weight: 500; color: var(--muted); text-decoration: none;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-card-s); transition: all 0.2s; white-space: nowrap;
}
.feat-jump a:hover { color: var(--white); border-color: var(--border-h); }

/* feature card */
.feat {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 34px; align-items: start;
  background: var(--bg-card-s); border: 1px solid var(--border); border-radius: 18px;
  padding: 30px; margin-bottom: 26px; scroll-margin-top: 92px;
}
.feat-info { display: flex; flex-direction: column; }
.feat-ic {
  width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-dim); border: 1px solid var(--border); color: var(--blue-l); margin-bottom: 16px;
}
.feat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.feat-name { font-family: var(--fh); font-weight: 700; font-size: 1.32rem; line-height: 1.2; }
.feat-prices { display: flex; align-items: baseline; gap: 8px; flex-shrink: 0; }
.feat-mkt { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; opacity: 0.7; }
.feat-price { font-family: var(--fh); font-weight: 700; font-size: 1.25rem; color: var(--blue-l); }
.feat-from, .feat-addon { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.feat-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; text-wrap: pretty; }
.feat-incl { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.feat-incl li { position: relative; padding-left: 26px; font-size: 0.9rem; line-height: 1.5; color: var(--white); }
.feat-incl li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-dim); border: 1px solid var(--border-h);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%233d7eff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.feat-incl li strong { color: var(--blue-l); font-weight: 600; }
.feat-try {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 0.78rem; font-weight: 600; color: var(--blue-l); letter-spacing: 0.02em;
  padding: 7px 12px; border-radius: 8px; background: var(--blue-dim); border: 1px dashed var(--border-h);
}

/* demo frame */
.feat-demo { background: var(--bg); border: 1px solid var(--border); border-radius: 13px; overflow: hidden; }
.demo-chrome {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  border-bottom: 1px solid var(--border); background: var(--bg-card-s);
}
.demo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-h); opacity: 0.6; }
.demo-dot:nth-child(1) { background: #ff5f57; opacity: 0.85; }
.demo-dot:nth-child(2) { background: #febc2e; opacity: 0.85; }
.demo-dot:nth-child(3) { background: #28c840; opacity: 0.85; }
.demo-cap { margin-left: 8px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.72rem; color: var(--muted); }
.demo-body { padding: 20px; }

/* ---------- PAGES ---------- */
.pg-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.pg-tab {
  flex: 1; padding: 9px 4px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-card-s);
  color: var(--muted); font-family: var(--fh); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all 0.2s;
}
.pg-tab:hover { color: var(--white); border-color: var(--border-h); }
.pg-tab.is-on { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 18px var(--blue-glow); }
.pg-map { display: flex; flex-direction: column; align-items: center; min-height: 132px; justify-content: center; margin-bottom: 18px; }
.pg-home {
  padding: 8px 18px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 600; font-size: 0.82rem;
  font-family: var(--fh); box-shadow: 0 0 18px var(--blue-glow);
}
.pg-conn { width: 2px; height: 16px; background: var(--border-h); }
.pg-conn-h { height: 14px; }
.pg-children { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 340px; max-width: 100%; margin-top: 16px; }
.pg-node {
  min-width: 76px; text-align: center;
  padding: 6px 12px; border-radius: 8px; background: var(--blue-dim); border: 1px solid var(--border-h);
  color: var(--white); font-size: 0.76rem; font-weight: 500; animation: pgPop 0.32s ease both;
}
@keyframes pgPop { from { opacity: 0; transform: translateY(-6px) scale(0.92); } to { opacity: 1; transform: none; } }
.pg-always { border-top: 1px solid var(--border); padding-top: 16px; }
.pg-always-h { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.pg-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; align-items: stretch; }
.pg-extra { display: flex; flex-direction: column; }
.pg-extra .pg-browser, .pg-extra .seo-card { height: 158px; }
.pg-extra-h { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; white-space: nowrap; }
.pg-chip { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue-l); background: var(--blue-dim); border: 1px solid var(--border-h); padding: 2px 7px; border-radius: 999px; }
.pg-sd-box { height: 96px; overflow-y: auto; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-card-s); padding: 10px 12px; }
.pg-sd-inner p { font-size: 0.76rem; color: var(--muted); line-height: 1.55; margin-bottom: 8px; }
.pg-sd-box::-webkit-scrollbar { width: 8px; }
.pg-sd-box::-webkit-scrollbar-track { background: transparent; }
.pg-sd-box::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue-l), var(--blue)); border-radius: 6px; }
.seo-card { border: 1px solid var(--border); border-radius: 9px; background: var(--bg-card-s); padding: 11px 12px; overflow: hidden; }
.seo-top { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.seo-fav { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.seo-url { font-size: 0.72rem; color: var(--muted); }
.seo-title { font-size: 0.86rem; color: var(--blue-l); font-weight: 600; line-height: 1.25; margin-bottom: 3px; }
.seo-desc { font-size: 0.72rem; color: var(--muted); line-height: 1.5; }

/* ---------- QUOTE GENERATOR ---------- */
.qg-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qg-list { display: flex; flex-direction: column; gap: 8px; }
.qg-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-card-s); cursor: pointer; transition: all 0.18s; text-align: left;
}
.qg-item:hover { border-color: var(--border-h); }
.qg-check {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border-h); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.18s;
}
.qg-check svg { opacity: 0; transform: scale(0.5); transition: all 0.18s; }
.qg-item.is-on { border-color: var(--blue); background: var(--blue-dim); }
.qg-item.is-on .qg-check { background: var(--blue); border-color: var(--blue); }
.qg-item.is-on .qg-check svg { opacity: 1; transform: none; }
.qg-it-name { flex: 1; font-size: 0.84rem; font-weight: 500; }
.qg-it-price { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.qg-item.is-on .qg-it-price { color: var(--blue-l); }
.qg-quote { border: 1px solid var(--border); border-radius: 11px; background: var(--bg-card-s); padding: 14px; display: flex; flex-direction: column; }
.qg-q-head { font-family: var(--fh); font-weight: 600; font-size: 0.82rem; margin-bottom: 10px; }
.qg-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; min-height: 0; overflow-y: auto; padding-right: 4px; }
.qg-empty { font-size: 0.78rem; color: var(--muted); font-style: italic; }
.qg-line { display: flex; justify-content: space-between; font-size: 0.78rem; animation: pgPop 0.25s ease both; }
.qg-line span:first-child { color: var(--muted); }
.qg-line span:last-child { font-weight: 600; }
.qg-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px; font-size: 0.84rem; }
.qg-total-v { font-family: var(--fh); font-weight: 700; font-size: 1.15rem; color: var(--blue-l); }
.qg-send { margin-top: 12px; width: 100%; justify-content: center; font-size: 0.82rem; padding: 9px; min-height: 40px; }
.qg-send:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* ---------- CONFIGURATOR ---------- */
.cf-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 18px; align-items: stretch; }
.cf-preview { position: relative; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-card-s); padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 150px; overflow: hidden; }
.cf-bars { display: flex; align-items: flex-end; gap: 5px; height: 100%; }
.cf-bar { flex: 1; min-width: 6px; background: linear-gradient(180deg, var(--blue-l), var(--blue)); border-radius: 4px 4px 0 0; transition: height 0.35s cubic-bezier(.2,.8,.2,1); animation: pgPop 0.3s ease both; }
.cf-badge { position: absolute; top: 12px; left: 12px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--blue); padding: 4px 10px; border-radius: 999px; box-shadow: 0 0 14px var(--blue-glow); }
.cf-controls { display: flex; flex-direction: column; gap: 16px; }
.cf-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cf-lab { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.cf-val { font-family: var(--fh); font-weight: 700; color: var(--blue-l); font-size: 0.95rem; }
.cf-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--blue-dim); outline: none; cursor: pointer; }
.cf-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); border: 3px solid var(--bg-card-s); box-shadow: 0 0 12px var(--blue-glow); cursor: pointer; }
.cf-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid var(--bg-card-s); box-shadow: 0 0 12px var(--blue-glow); cursor: pointer; }
.cf-toggles { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.cf-tog { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-card-s); color: var(--white); font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all 0.18s; }
.cf-tog b { color: var(--muted); font-weight: 600; }
.cf-tog:hover { border-color: var(--border-h); }
.cf-tog.is-on { border-color: var(--blue); background: var(--blue-dim); }
.cf-tog.is-on b { color: var(--blue-l); }
.cf-out { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; }
.cf-out-lab { font-size: 0.8rem; color: var(--muted); }
.cf-out-price { font-family: var(--fh); font-weight: 700; font-size: 1.5rem; color: var(--blue-l); }

/* ---------- FORMS ---------- */
.ff-form { display: flex; flex-direction: column; gap: 13px; position: relative; }
.ff-field { display: flex; flex-direction: column; gap: 5px; }
.ff-lab { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.ff-input { width: 100%; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-card-s); color: var(--white); font-family: var(--fb); font-size: 0.86rem; transition: border-color 0.18s; }
.ff-input::placeholder { color: var(--muted); opacity: 0.6; }
.ff-input:focus { outline: none; border-color: var(--blue); }
.ff-area { resize: none; min-height: 64px; }
.ff-field.invalid .ff-input { border-color: #ff5f57; }
.ff-err { font-size: 0.72rem; color: #ff7b75; display: none; }
.ff-field.invalid .ff-err { display: block; }
.ff-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ff-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.ff-spam { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; color: var(--blue-l); }
.ff-submit { font-size: 0.84rem; padding: 9px 18px; min-height: 40px; }
.ff-success { display: none; align-items: center; gap: 12px; padding: 14px; border-radius: 11px; background: var(--blue-dim); border: 1px solid var(--border-h); }
.ff-success.show { display: flex; animation: pgPop 0.3s ease both; }
.ff-success-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ff-success div { display: flex; flex-direction: column; }
.ff-success strong { font-size: 0.88rem; }
.ff-success span { font-size: 0.78rem; color: var(--muted); }

/* ---------- SEARCH (content + menu shared bar) ---------- */
.sc-bar { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card-s); margin-bottom: 12px; transition: border-color 0.18s; }
.sc-bar:focus-within { border-color: var(--blue); }
.sc-mag { color: var(--muted); flex-shrink: 0; }
.sc-input { flex: 1; background: none; border: none; outline: none; color: var(--white); font-family: var(--fb); font-size: 0.9rem; }
.sc-input::placeholder { color: var(--muted); opacity: 0.6; }
.sc-results { display: flex; flex-direction: column; gap: 8px; height: 200px; overflow-y: auto; padding-right: 4px; }
.sc-res { position: relative; display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; padding: 10px 30px 10px 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-card-s); font-family: inherit; color: inherit; cursor: pointer; transition: border-color 0.15s, background 0.15s; animation: pgPop 0.22s ease both; }
.sc-res:hover { border-color: var(--border-h); background: var(--blue-dim); }
.sc-res-go { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.2rem; line-height: 1; }
.sc-res:hover .sc-res-go { color: var(--blue-l); }
.sc-res-t { font-size: 0.85rem; font-weight: 600; }
.sc-res-d { font-size: 0.74rem; color: var(--muted); line-height: 1.45; }
.sc-res .hl { background: rgba(61,126,255,0.28); color: var(--blue-ll); border-radius: 3px; padding: 0 1px; }
.sc-none { font-size: 0.8rem; color: var(--muted); font-style: italic; padding: 10px 2px; }

/* ---------- SEARCH MENU ---------- */
.sm-list { display: flex; flex-direction: column; gap: 7px; height: 200px; overflow-y: auto; padding-right: 4px; }
.sm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 13px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-card-s); animation: pgPop 0.2s ease both; }
.sm-row-l { display: flex; flex-direction: column; gap: 1px; }
.sm-row-n { font-size: 0.85rem; font-weight: 600; }
.sm-row-c { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.sm-row-p { font-family: var(--fh); font-weight: 700; color: var(--blue-l); font-size: 0.9rem; }
.sm-row .hl { background: rgba(61,126,255,0.28); color: var(--blue-ll); border-radius: 3px; padding: 0 1px; }

/* ---------- BOOKING ---------- */
.bk-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; position: relative; height: 250px; }
.bk-month { font-family: var(--fh); font-weight: 600; font-size: 0.88rem; margin-bottom: 10px; }
.bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-head span { text-align: center; font-size: 0.66rem; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.bk-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 7px; font-size: 0.76rem; border: 1px solid transparent; background: var(--bg-card-s); color: var(--white); cursor: pointer; transition: all 0.15s; }
.bk-day:hover:not(.bk-off):not(.bk-booked) { border-color: var(--blue); color: var(--blue-l); }
.bk-day.bk-off { opacity: 0.25; cursor: default; }
.bk-day.bk-booked { background: transparent; color: var(--muted); opacity: 0.45; text-decoration: line-through; cursor: not-allowed; }
.bk-day.bk-avail { border-color: var(--border-h); background: var(--blue-dim); }
.bk-day.is-sel { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 14px var(--blue-glow); }
.bk-side { display: flex; flex-direction: column; min-height: 0; }
.bk-side-h { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.bk-slots { display: flex; flex-direction: column; gap: 6px; flex: 1; overflow-y: auto; min-height: 0; }
.bk-slot { padding: 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card-s); color: var(--white); font-size: 0.78rem; font-weight: 500; cursor: pointer; transition: all 0.15s; animation: pgPop 0.2s ease both; }
.bk-slot:hover { border-color: var(--border-h); }
.bk-slot.is-sel { background: var(--blue); color: #fff; border-color: var(--blue); }
.bk-confirm { margin-top: 10px; width: 100%; justify-content: center; font-size: 0.8rem; padding: 9px; min-height: 38px; }
.bk-confirm:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.bk-done { position: absolute; inset: 0; background: var(--bg); border-radius: 11px; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 20px; }
.bk-done.show { display: flex; animation: pgPop 0.3s ease both; }
.bk-done-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; box-shadow: 0 0 22px var(--blue-glow); }
.bk-done strong { font-family: var(--fh); font-size: 1.05rem; }
.bk-done span { font-size: 0.82rem; color: var(--muted); }
.bk-reset { margin-top: 12px; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border-h); background: transparent; color: var(--blue-l); font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.bk-reset:hover { background: var(--blue-dim); }

/* ---------- MAP ---------- */
.mp-styletabs { display: flex; gap: 7px; margin-bottom: 12px; }
.mp-st-tab { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-card-s); color: var(--muted); font-size: 0.76rem; font-weight: 600; cursor: pointer; transition: all 0.18s; }
.mp-st-tab:hover { color: var(--white); }
.mp-st-tab.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.mp-map { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; text-decoration: none; }
.mp-svg { display: block; width: 100%; height: 200px; }
.mp-bg { fill: #0b1730; transition: fill 0.4s; }
.mp-road { stroke: #2a3c63; stroke-width: 9; fill: none; transition: stroke 0.4s; }
.mp-road-sm { stroke-width: 5; }
.mp-blk { fill: #16294d; transition: fill 0.4s; }
.mp-grn { fill: #1c5a3a; transition: fill 0.4s; }
.mp-map[data-style="dark"] .mp-bg { fill: #06080f; }
.mp-map[data-style="dark"] .mp-road { stroke: #1a2030; }
.mp-map[data-style="dark"] .mp-blk { fill: #11151f; }
.mp-map[data-style="dark"] .mp-grn { fill: #14302a; }
.mp-map[data-style="mint"] .mp-bg { fill: #0a2a24; }
.mp-map[data-style="mint"] .mp-road { stroke: #1d5247; }
.mp-map[data-style="mint"] .mp-blk { fill: #103b32; }
.mp-map[data-style="mint"] .mp-grn { fill: #1f6b4d; }
.mp-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); color: #fff; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)); z-index: 2; animation: mpBob 2.2s ease-in-out infinite; }
.mp-pin svg { fill: var(--blue); stroke: #fff; stroke-width: 1.5; }
@keyframes mpBob { 0%,100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -116%); } }
.mp-ring { position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--blue); opacity: 0.5; animation: mpRing 2.2s ease-out infinite; }
@keyframes mpRing { 0% { width: 8px; height: 8px; opacity: 0.6; } 100% { width: 60px; height: 60px; opacity: 0; } }
.mp-open { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%) translateY(8px); display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 0.78rem; font-weight: 600; opacity: 0; transition: all 0.25s; box-shadow: 0 4px 16px rgba(0,0,0,0.4); white-space: nowrap; }
.mp-map:hover .mp-open { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- SITE ANIMATIONS ---------- */
.sa-wrap { display: flex; flex-direction: column; gap: 14px; }
.sa-page { border: 1px solid var(--border); border-radius: 11px; background: var(--bg-card-s); padding: 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.sa-nav { display: flex; align-items: center; gap: 8px; }
.sa-logo { width: 26px; height: 10px; border-radius: 4px; background: var(--blue); }
.sa-link { width: 34px; height: 7px; border-radius: 4px; background: var(--blue-dim); border: 1px solid var(--border); }
.sa-link:nth-child(2) { margin-left: auto; }
.sa-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 12px; align-items: center; }
.sa-hero-l { display: flex; flex-direction: column; gap: 7px; }
.sa-h1 { height: 13px; border-radius: 4px; background: var(--white); opacity: 0.85; width: 90%; }
.sa-h2 { height: 8px; border-radius: 4px; background: var(--muted); width: 70%; }
.sa-btn { height: 22px; width: 70px; border-radius: 6px; background: var(--blue); margin-top: 4px; }
.sa-hero-img { height: 64px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--blue-l)); }
.sa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sa-card { height: 40px; border-radius: 7px; background: var(--blue-dim); border: 1px solid var(--border); }
.sa-page.anim .sa-nav, .sa-page.anim .sa-hero-l, .sa-page.anim .sa-hero-img, .sa-page.anim .sa-card { animation: saReveal 0.6s cubic-bezier(.2,.8,.2,1) both; }
.sa-page.anim .sa-hero-l { animation-delay: 0.12s; }
.sa-page.anim .sa-hero-img { animation-delay: 0.24s; }
.sa-page.anim .sa-card:nth-child(1) { animation-delay: 0.36s; }
.sa-page.anim .sa-card:nth-child(2) { animation-delay: 0.46s; }
.sa-page.anim .sa-card:nth-child(3) { animation-delay: 0.56s; }
@keyframes saReveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sa-ctrls { display: flex; gap: 10px; align-items: center; }
.sa-btn-replay { font-size: 0.8rem; padding: 8px 16px; min-height: 38px; }
.sa-toggle { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card-s); color: var(--muted); font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: all 0.18s; }
.sa-toggle b { color: var(--blue-l); }
.sa-toggle.off b { color: var(--muted); }

/* ---------- COMPLEX ANIMATIONS ---------- */
.cx-wrap { display: flex; flex-direction: column; gap: 16px; }
.cx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cx-tilt { perspective: 700px; height: 170px; }
.cx-tilt-inner { position: relative; width: 100%; height: 100%; border-radius: 13px; background: linear-gradient(135deg, var(--blue), var(--blue-l)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transform-style: preserve-3d; transition: transform 0.1s ease-out; box-shadow: 0 14px 36px rgba(5,73,249,0.32); overflow: hidden; }
.cx-tilt-glow { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.45), transparent 65%); pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.cx-tilt:hover .cx-tilt-glow { opacity: 1; }
.cx-tilt-label { font-family: var(--fh); font-weight: 700; font-size: 1.25rem; color: #fff; transform: translateZ(40px); }
.cx-tilt-sub { font-size: 0.74rem; color: rgba(255,255,255,0.82); transform: translateZ(24px); }
.cx-magzone { position: relative; height: 170px; border-radius: 13px; border: 1px solid var(--border); background: var(--bg-card-s); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; overflow: hidden; }
.cx-mag { padding: 13px 26px; border-radius: 10px; background: var(--blue); color: #fff; font-family: var(--fh); font-weight: 600; font-size: 0.92rem; border: none; cursor: pointer; transition: transform 0.18s ease-out, box-shadow 0.2s; box-shadow: 0 0 20px var(--blue-glow); }
.cx-mag-hint { font-size: 0.74rem; color: var(--muted); }

/* ---------- POPUPS ---------- */
.pu-stage { position: relative; height: 210px; border-radius: 11px; border: 1px solid var(--border); background: var(--bg-card-s); overflow: hidden; margin-bottom: 14px; }
.pu-site { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.pu-site-bar { display: flex; align-items: center; gap: 8px; }
.pu-site-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); }
.pu-site-line { flex: 1; height: 9px; border-radius: 4px; background: var(--blue-dim); border: 1px solid var(--border); }
.pu-site-body { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.pu-sl { height: 11px; border-radius: 4px; background: var(--blue-dim); border: 1px solid var(--border); }
.pu-sl-1 { width: 80%; } .pu-sl-2 { width: 95%; } .pu-sl-3 { width: 65%; }
.pu-banner { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 14px; background: var(--blue); color: #fff; font-size: 0.78rem; font-weight: 500; transform: translateY(-110%); transition: transform 0.35s cubic-bezier(.2,.8,.2,1); z-index: 4; }
.pu-banner.show { transform: none; }
.pu-modalwrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); opacity: 0; pointer-events: none; transition: opacity 0.25s; z-index: 6; }
.pu-modalwrap.show { opacity: 1; pointer-events: auto; }
.pu-modal { position: relative; width: 66%; max-width: 220px; background: var(--bg); border: 1px solid var(--border-h); border-radius: 12px; padding: 15px 15px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 5px; transform: scale(0.88); transition: transform 0.28s cubic-bezier(.2,1.2,.3,1); }
.pu-modalwrap.show .pu-modal { transform: none; }
.pu-modal-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 16px var(--blue-glow); }
.pu-modal-h { font-family: var(--fh); font-size: 0.88rem; }
.pu-modal-sub { font-size: 0.7rem; color: var(--muted); line-height: 1.45; }
.pu-modal-cta { margin-top: 4px; font-size: 0.76rem; padding: 7px 16px; min-height: 34px; }
.pu-toast { position: absolute; bottom: 12px; right: 12px; max-width: 78%; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border-h); font-size: 0.76rem; box-shadow: 0 8px 24px rgba(0,0,0,0.4); transform: translateX(120%); transition: transform 0.4s cubic-bezier(.2,.8,.2,1); z-index: 5; }
.pu-toast.show { transform: none; }
.pu-toast-ic { width: 24px; height: 24px; border-radius: 50%; background: var(--blue-dim); border: 1px solid var(--border-h); color: var(--blue-l); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pu-x { background: none; border: none; color: inherit; font-size: 1.05rem; line-height: 1; cursor: pointer; opacity: 0.7; padding: 0 2px; flex-shrink: 0; }
.pu-x:hover { opacity: 1; }
.pu-x-modal { position: absolute; top: 8px; right: 11px; color: var(--muted); }
.pu-triggers { display: flex; flex-wrap: wrap; gap: 8px; }
.pu-trig { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card-s); color: var(--white); font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: all 0.18s; }
.pu-trig:hover { border-color: var(--blue); color: var(--blue-l); }
.pu-trig-timed { border-style: dashed; }

/* ---------- HOSTING ---------- */
.hd-wrap { display: flex; flex-direction: column; gap: 14px; }
.hd-search { display: flex; align-items: stretch; gap: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card-s); overflow: hidden; }
.hd-search:focus-within { border-color: var(--blue); }
.hd-input { flex: 1; min-width: 0; padding: 11px 14px; background: none; border: none; outline: none; color: var(--white); font-family: var(--fb); font-size: 0.9rem; }
.hd-input::placeholder { color: var(--muted); opacity: 0.55; }
.hd-tld { display: flex; align-items: center; padding: 0 4px 0 0; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.hd-check { border-radius: 0; font-size: 0.82rem; padding: 0 18px; min-height: auto; box-shadow: none; }
.hd-result { min-height: 46px; display: flex; align-items: center; }
.hd-card { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font-size: 0.85rem; animation: pgPop 0.28s ease both; }
.hd-card.ok { background: rgba(40,200,90,0.1); border: 1px solid rgba(40,200,90,0.4); }
.hd-card.no { background: rgba(255,95,87,0.08); border: 1px solid rgba(255,95,87,0.35); }
.hd-card .hd-card-ic { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.hd-card.ok .hd-card-ic { background: #28c840; }
.hd-card.no .hd-card-ic { background: #ff5f57; }
.hd-card-txt { flex: 1; }
.hd-card-txt b { font-weight: 600; }
.hd-card-txt span { display: block; font-size: 0.74rem; color: var(--muted); }
.hd-card-price { font-family: var(--fh); font-weight: 700; color: var(--blue-l); font-size: 0.92rem; }
.hd-checking { font-size: 0.82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.hd-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border-h); border-top-color: var(--blue-l); animation: hdSpin 0.7s linear infinite; }
@keyframes hdSpin { to { transform: rotate(360deg); } }
.hd-stack { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.hd-step { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card-s); }
.hd-step strong { font-size: 0.85rem; display: block; }
.hd-step span { font-size: 0.76rem; color: var(--muted); }
.hd-step-ic { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.hd-ic-netlify { background: #0e7c86; }
.hd-ic-name { background: #d4541e; }
.hd-arrow { display: flex; justify-content: center; color: var(--border-h); }

/* ---------- CTA ---------- */
.feat-cta { text-align: center; padding: 48px 24px; margin-top: 16px; border-radius: 18px; background: var(--blue-dim); border: 1px solid var(--border-h); }
.feat-cta-h { font-family: var(--fh); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.feat-cta-sub { font-size: 0.95rem; color: var(--muted); max-width: 480px; margin: 0 auto 22px; line-height: 1.6; }
.feat-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- light-mode tweaks ---------- */
[data-theme="light"] .demo-dot { opacity: 1; }
[data-theme="light"] .mp-bg { fill: #add0ff; }
[data-theme="light"] .mp-road { stroke: #ffffff; }
[data-theme="light"] .mp-blk { fill: #cfe2f7; }
[data-theme="light"] .mp-grn { fill: #9fd9b4; }
[data-theme="light"] .mp-map[data-style="dark"] .mp-bg { fill: #2a3550; }
[data-theme="light"] .mp-map[data-style="dark"] .mp-road { stroke: #46506a; }
[data-theme="light"] .mp-map[data-style="dark"] .mp-blk { fill: #353f59; }
[data-theme="light"] .mp-map[data-style="dark"] .mp-grn { fill: #35564a; }
[data-theme="light"] .mp-map[data-style="mint"] .mp-bg { fill: #b8ead9; }
[data-theme="light"] .mp-map[data-style="mint"] .mp-road { stroke: #ffffff; }
[data-theme="light"] .mp-map[data-style="mint"] .mp-blk { fill: #93d9bd; }
[data-theme="light"] .mp-map[data-style="mint"] .mp-grn { fill: #4faf80; }
[data-theme="light"] .sc-res .hl, [data-theme="light"] .sm-row .hl { background: rgba(36,86,222,0.16); color: #2456DE; }
[data-theme="light"] .sa-h1 { background: #1D2433; opacity: 0.8; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .feat-try { margin-top: 8px; }
}
@media (max-width: 560px) {
  .qg-wrap, .cf-wrap, .cx-wrap, .bk-wrap, .pg-extras { grid-template-columns: 1fr; }
  .demo-body { padding: 14px; }
}


/* ===== fix-pass: new demo component styles ===== */
.sc-results::-webkit-scrollbar, .sm-list::-webkit-scrollbar, .qg-lines::-webkit-scrollbar { width: 7px; }
.sc-results::-webkit-scrollbar-track, .sm-list::-webkit-scrollbar-track, .qg-lines::-webkit-scrollbar-track { background: transparent; }
.sc-results::-webkit-scrollbar-thumb, .sm-list::-webkit-scrollbar-thumb, .qg-lines::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue-l), var(--blue)); border-radius: 5px; }
.bk-slots::-webkit-scrollbar { width: 6px; }
.bk-slots::-webkit-scrollbar-track { background: transparent; }
.bk-slots::-webkit-scrollbar-thumb { background: var(--border-h); border-radius: 5px; }

/* PAGES — website-wide custom scrollbar browser */
.pg-browser { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg-card-s); display: flex; flex-direction: column; }
.pg-bro-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border-bottom: 1px solid var(--border); background: var(--bg); }
.pg-bro-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-h); }
.pg-bro-addr { margin-left: 8px; font-size: 0.66rem; color: var(--muted); font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.pg-bro-page { flex: 1; min-height: 134px; overflow-y: scroll; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.pg-bro-hero { height: 42px; border-radius: 6px; background: linear-gradient(135deg, var(--blue), var(--blue-l)); flex-shrink: 0; }
.pg-bro-line { height: 9px; border-radius: 3px; background: var(--blue-dim); border: 1px solid var(--border); flex-shrink: 0; }
.pg-bro-line.w90 { width: 90%; } .pg-bro-line.w85 { width: 85%; } .pg-bro-line.w80 { width: 80%; }
.pg-bro-line.w75 { width: 75%; } .pg-bro-line.w70 { width: 70%; } .pg-bro-line.w60 { width: 60%; } .pg-bro-line.w50 { width: 50%; }
.pg-bro-imgs { display: flex; gap: 8px; flex-shrink: 0; }
.pg-bro-imgs span { flex: 1; height: 38px; border-radius: 6px; background: var(--blue-dim); border: 1px solid var(--border); }
.pg-bro-block { height: 52px; border-radius: 6px; background: var(--blue-dim); border: 1px solid var(--border); flex-shrink: 0; }
.pg-bro-page::-webkit-scrollbar { width: 12px; }
.pg-bro-page::-webkit-scrollbar-track { background: var(--bg); }
.pg-bro-page::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue-l), var(--blue)); border-radius: 8px; border: 3px solid var(--bg-card-s); background-clip: padding-box; }
.pg-bro-page::-webkit-scrollbar-thumb:hover { background: var(--blue-l); background-clip: padding-box; }
.pg-extra-cap { display: block; font-size: 0.68rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* CONFIGURATOR — t-shirt product configurator */
.cf-stage { position: relative; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-card-s); display: flex; align-items: center; justify-content: center; min-height: 200px; overflow: hidden; }
.cf-shirt { width: 74%; max-width: 168px; height: auto; transition: transform 0.3s cubic-bezier(.2,.8,.2,1); transform-origin: center; }
.cf-shirt-body { fill: #3d7eff; stroke: rgba(0,0,0,0.18); stroke-width: 1.4; transition: fill 0.3s; }
.cf-print { fill: rgba(255,255,255,0.9); opacity: 0; transition: opacity 0.25s; }
.cf-print.show { opacity: 1; }
.cf-size-badge { position: absolute; top: 12px; right: 12px; white-space: nowrap; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; background: var(--blue); padding: 4px 10px; border-radius: 999px; box-shadow: 0 0 14px var(--blue-glow); }
.cf-swatches { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.cf-sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; padding: 0; }
.cf-sw:hover { transform: scale(1.12); }
.cf-sw.is-on { border-color: var(--white); box-shadow: 0 0 0 2px var(--blue); }
.cf-sizes { display: flex; gap: 7px; margin-top: 8px; }
.cf-size { flex: 1; padding: 8px 0; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card-s); color: var(--white); font-family: var(--fh); font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: all 0.18s; }
.cf-size:hover { border-color: var(--border-h); }
.cf-size.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.cf-tog[data-opt] b { color: var(--muted); font-weight: 600; }
.cf-tog[data-opt].is-on b { color: var(--blue-l); }

/* SITE ANIM — disabled replay */
.sa-btn-replay.is-off { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* POPUPS — timed toggle */
.pu-trig-timed { display: inline-flex; align-items: center; gap: 7px; }
.pu-timed-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-h); transition: background 0.2s, box-shadow 0.2s; }
.pu-trig-timed[data-on="true"] { border-color: var(--blue); color: var(--blue-l); background: var(--blue-dim); }
.pu-trig-timed[data-on="true"] .pu-timed-dot { background: var(--blue-l); box-shadow: 0 0 8px var(--blue-glow); }

/* HOSTING — authorization pipeline */
.hd-auth { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card-s); }
.hd-auth-lab { font-size: 0.84rem; font-weight: 600; }
.hd-auth-toggle { position: relative; width: 46px; height: 26px; border-radius: 999px; border: none; background: var(--border-h); cursor: pointer; transition: background 0.25s; flex-shrink: 0; padding: 0; }
.hd-auth-toggle[data-on="true"] { background: var(--blue); box-shadow: 0 0 14px var(--blue-glow); }
.hd-auth-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.25s cubic-bezier(.2,.8,.2,1); }
.hd-auth-toggle[data-on="true"] .hd-auth-knob { transform: translateX(20px); }
.hd-pipe { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.hd-pstep { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card-s); opacity: 0.45; transition: opacity 0.3s, border-color 0.3s; }
.hd-pstep.done { opacity: 1; border-color: var(--border-h); }
.hd-pstep-ic { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; filter: grayscale(0.65); transition: filter 0.3s; }
.hd-pstep.done .hd-pstep-ic { filter: none; }
.hd-ic-name { background: #d4541e; }
.hd-ic-netlify { background: #0e7c86; }
.hd-ic-live { background: var(--blue); }
.hd-pstep-txt { flex: 1; }
.hd-pstep-txt strong { font-size: 0.84rem; display: block; }
.hd-pstep-txt span { font-size: 0.74rem; color: var(--muted); }
.hd-pstep-check { width: 22px; height: 22px; border-radius: 50%; background: #28c840; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; opacity: 0; transform: scale(0.5); transition: all 0.3s; }
.hd-pstep.done .hd-pstep-check { opacity: 1; transform: none; }
.hd-note { font-size: 0.78rem; color: var(--muted); text-align: center; padding-top: 2px; line-height: 1.45; }
.hd-note.ok { color: var(--blue-l); }


/* COMPLEX — minigame */
.cx-game { border: 1px solid var(--border); border-radius: 13px; background: var(--bg-card-s); overflow: hidden; }
.cx-game-hud { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.cx-game-title { font-family: var(--fh); font-weight: 600; font-size: 0.86rem; }
.cx-game-stat { font-size: 0.78rem; color: var(--muted); }
.cx-game-stat b { color: var(--blue-l); font-family: var(--fh); font-weight: 700; }
.cx-game-btn { padding: 7px 16px; border-radius: 8px; background: var(--blue); color: #fff; border: none; font-family: var(--fb); font-weight: 600; font-size: 0.8rem; cursor: pointer; box-shadow: 0 0 16px var(--blue-glow); transition: background 0.2s; }
.cx-game-btn:hover { background: var(--blue-l); }
.cx-game-area { position: relative; height: 180px; overflow: hidden; }
.cx-orb { position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer; background: radial-gradient(circle at 35% 30%, var(--blue-ll), var(--blue)); box-shadow: 0 0 18px var(--blue-glow); opacity: 0; transform: scale(0.4); transition: opacity 0.12s, transform 0.12s; pointer-events: none; }
.cx-orb.live { opacity: 1; transform: scale(1); pointer-events: auto; }
.cx-orb.live:hover { transform: scale(1.08); }
.cx-game-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 26px; font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
.cx-game-msg.hide { display: none; }
@media (max-width: 560px) { .cx-row { grid-template-columns: 1fr; } }


/* COMPLEX minigame — fullscreen + promo */
.cx-game-full { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-left: auto; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card-s); color: var(--muted); cursor: pointer; transition: all 0.2s; }
.cx-game-full:hover { color: var(--blue-l); border-color: var(--border-h); }
.cx-game.cx-max { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(880px, calc(100vw - 48px)); height: min(600px, calc(100vh - 48px)); z-index: 9998; border: 1px solid var(--border-h); border-radius: 16px; display: flex; flex-direction: column; background: var(--bg); box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 100vmax rgba(3,5,8,0.62); animation: cxPopIn 0.2s ease both; }
@keyframes cxPopIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.cx-game.cx-max .cx-game-area { flex: 1; height: auto; }
.cx-promo { display: flex; flex-direction: column; align-items: center; gap: 9px; animation: pgPop 0.3s ease both; }
.cx-promo-h { font-size: 0.92rem; font-weight: 600; color: var(--white); }
.cx-promo-code { display: inline-flex; align-items: center; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 700; font-size: 1.1rem; color: var(--blue-l); background: var(--blue-dim); border: 1px dashed var(--border-h); padding: 9px 20px; border-radius: 10px; letter-spacing: 0.12em; }
.cx-promo-copy { font-family: var(--fb); font-size: 0.74rem; font-weight: 600; letter-spacing: 0; color: #fff; background: var(--blue); border: none; padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.cx-promo-copy:hover { background: var(--blue-l); }
.cx-promo-sub { font-size: 0.78rem; color: var(--muted); }


/* BOOKING — inline confirmation chip */
.bk-confirmed { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; background: var(--blue-dim); border: 1px solid var(--border-h); font-size: 0.8rem; animation: pgPop 0.28s ease both; }
.bk-confirmed-ic { width: 22px; height: 22px; border-radius: 50%; background: #28c840; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }


/* SEARCH CONTENT — fake page viewer */
.sc-wrap { position: relative; }
.sc-pageview { position: absolute; inset: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; display: none; flex-direction: column; z-index: 4; overflow: hidden; }
.sc-pageview.show { display: flex; animation: pgPop 0.2s ease both; }
.sc-page-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--bg-card-s); flex-shrink: 0; }
.sc-page-title { font-family: var(--fh); font-weight: 600; font-size: 0.92rem; }
.sc-page-x { background: none; border: 1px solid var(--border); color: var(--muted); width: 26px; height: 26px; border-radius: 7px; cursor: pointer; font-size: 1.1rem; line-height: 1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-page-x:hover { color: var(--white); border-color: var(--border-h); }
.sc-page-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.sc-page-body h4 { font-family: var(--fh); font-size: 1.05rem; font-weight: 700; }
.sc-page-body p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; text-wrap: pretty; }
.sc-page-hero { height: 64px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--blue-l)); flex-shrink: 0; margin-bottom: 2px; }
.sc-page-body::-webkit-scrollbar { width: 7px; }
.sc-page-body::-webkit-scrollbar-track { background: transparent; }
.sc-page-body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue-l), var(--blue)); border-radius: 5px; }

/* mobile: prevent iOS zoom-on-focus (inputs must be >=16px) */
@media (max-width: 600px) {
  input:not([type="checkbox"]):not([type="radio"]), textarea, select { font-size: 16px !important; }
}
