/* Elevators Hub — indigo + amber design system */
:root {
  --ink: #17153b;
  --muted: #5f5b7a;
  --blue: #4f46e5;          /* primary (kept name for existing rules) */
  --indigo: #4f46e5;
  --indigo-d: #3730a3;
  --night: #1e1b4b;
  --amber: #f59e0b;
  --amber-d: #b45309;
  --cyan: #f59e0b;
  --sky: #eef0ff;
  --line: #e6e4f3;
  --soft: #f7f6fd;
  --white: #fff;
  --shadow-sm: 0 1px 2px rgba(23, 21, 59, .05), 0 4px 12px rgba(23, 21, 59, .05);
  --shadow: 0 12px 32px rgba(23, 21, 59, .09);
  --shadow-lg: 0 24px 60px rgba(23, 21, 59, .16);
  --glow: 0 10px 24px rgba(79, 70, 229, .28);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #fbfaff;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; margin: 0; overflow-wrap: break-word; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.gradient-text { color: transparent; background: linear-gradient(100deg, #fbbf24, #f59e0b 45%, #fb923c); background-clip: text; -webkit-background-clip: text; }
:focus-visible { outline: 3px solid rgba(245, 158, 11, .55); outline-offset: 2px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.stuck { box-shadow: 0 6px 24px rgba(23,21,59,.08); }
.nav { position: relative; height: 70px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; display: block; filter: drop-shadow(0 6px 12px rgba(79,70,229,.3)); }
.brand-name { font: 800 21px "Plus Jakarta Sans", sans-serif; letter-spacing: -.6px; color: var(--night); white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--amber); margin-left: 5px; }
.brand-logo { display: block; width: 190px; height: 46px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; padding: 10px 14px; border-radius: 10px; color: #4b4769; font-size: 14px; font-weight: 600; transition: .2s; }
.nav-links a:hover { color: var(--indigo); background: var(--sky); }
.nav-links a.active { color: var(--indigo); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -14px; height: 3px; border-radius: 3px 3px 0 0; background: var(--amber); }
.nav-links small { font-size: 10px; font-weight: 700; color: var(--amber-d); background: #fef3c7; padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.nav-drop { position: relative; }
.nav-drop-btn {
  padding: 10px 14px; border-radius: 10px; color: #4b4769; font-size: 14px; font-weight: 600;
  background: none; border: 0; cursor: pointer; font-family: inherit; transition: .2s;
}
.nav-drop-btn::after { content: " ▾"; font-size: 10px; }
.nav-drop-btn:hover, .nav-drop:hover .nav-drop-btn { color: var(--indigo); background: var(--sky); }
.nav-drop-btn.active { color: var(--indigo); background: var(--sky); }
.nav-sub {
  display: none; position: absolute; top: calc(100% - 2px); left: 0; min-width: 230px;
  padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 40;
  flex-direction: column; gap: 2px;
}
.nav-drop:hover .nav-sub, .nav-drop.open .nav-sub, .nav-drop:focus-within .nav-sub { display: flex; }
.nav-sub a { display: block; padding: 10px 12px; border-radius: 10px; white-space: nowrap; }
.nav-sub a.active::after { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-trigger { width: 250px; padding: 10px 12px; display: flex; gap: 9px; align-items: center; border: 1px solid var(--line); background: var(--soft); color: #7d7999; border-radius: 12px; cursor: pointer; font-size: 13px; transition: .2s; }
.search-trigger:hover { border-color: #c7c3f5; background: #fff; }
.search-ico { font-size: 17px; line-height: 1; color: var(--indigo); }
.kbd { margin-left: auto; border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; background: #fff; font-size: 10.5px; color: #7d7999; }
.menu-btn { display: none; background: var(--sky); border: 0; width: 42px; height: 42px; border-radius: 12px; font-size: 20px; color: var(--night); cursor: pointer; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--indigo); box-shadow: var(--glow); }
.btn-primary:hover { background: var(--indigo-d); box-shadow: 0 14px 30px rgba(79,70,229,.34); }
.btn-accent { color: #1f1300; background: linear-gradient(180deg, #fbbf24, #f59e0b); box-shadow: 0 10px 22px rgba(245,158,11,.32); }
.btn-accent:hover { box-shadow: 0 14px 28px rgba(245,158,11,.42); }
.btn-secondary { color: var(--indigo); background: var(--sky); box-shadow: inset 0 0 0 1px #d9d6fb; }
.btn-secondary:hover { background: #e4e2ff; }
.btn-ghost { color: #4b4769; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.btn-white { background: #fff; color: var(--night); box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 120px; color: #fff; background:
  radial-gradient(700px 420px at 85% 10%, rgba(245,158,11,.22), transparent 60%),
  radial-gradient(800px 500px at 0% 100%, rgba(99,102,241,.45), transparent 60%),
  linear-gradient(160deg, #1e1b4b, #2e1065 70%, #1e1b4b); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.blob { display: none; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; color: var(--indigo-d); background: var(--sky); box-shadow: inset 0 0 0 1px #d9d6fb; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; }
.hero .pill, .pill-dark { color: #fde68a; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.pill-dot { width: 7px; height: 7px; background: #fbbf24; border-radius: 50%; box-shadow: 0 0 0 4px rgba(251,191,36,.2); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(251,191,36,0); } }
.hero h1 { max-width: 680px; margin: 22px 0 18px; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.05; letter-spacing: -2.2px; }
.hero-copy { margin: 0; max-width: 600px; color: #c9c6ec; font-size: 17px; line-height: 1.7; }
.hero-search { position: relative; max-width: 640px; margin: 30px 0 20px; display: flex; align-items: center; padding: 7px 7px 7px 16px; background: #fff; border-radius: 16px; box-shadow: 0 24px 50px rgba(8, 6, 36, .45); }
.hero-search .search-ico { font-size: 20px; }
.hero-search input { flex: 1; border: 0; outline: 0; padding: 12px 12px; min-width: 0; color: var(--ink); background: transparent; }
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; color: #d8d5f5; font-weight: 600; margin-right: 8px; }
.trust-row span::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; color: #1f1300; background: #fbbf24; font-weight: 800; }
.hero-panel { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.07); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px rgba(8,6,36,.35); }
.hero-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; font-size: 13px; }
.hero-panel-head strong { font: 700 15px "Plus Jakarta Sans", sans-serif; }
.hero-panel-head a { color: #fcd34d; font-weight: 600; }
.hero-tool { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; transition: .2s; }
.hero-tool + .hero-tool { margin-top: 4px; }
.hero-tool:hover { background: rgba(255,255,255,.1); }
.hero-tool .tool-icon { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; font-size: 16px; box-shadow: none; }
.hero-tool span { min-width: 0; flex: 1; }
.hero-tool b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tool small { color: #aca8d6; font-size: 12px; }
.hero-tool i { font-style: normal; color: #fcd34d; opacity: 0; transform: translateX(-4px); transition: .2s; }
.hero-tool:hover i { opacity: 1; transform: none; }
.stats-band { position: relative; z-index: 2; margin-top: -64px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 24px 22px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font: 800 30px "Plus Jakarta Sans", sans-serif; letter-spacing: -1px; color: var(--indigo); }
.stat span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #3f3b5e; transition: .2s; }
.chip:hover { border-color: #c7c3f5; color: var(--indigo); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.chip i { font-style: normal; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 11px; background: linear-gradient(135deg, var(--g1), var(--g2)); }

/* ---------- sections ---------- */
.section { position: relative; padding: 80px 0; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 32px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--amber-d); text-transform: uppercase; font-size: 11.5px; font-weight: 800; letter-spacing: 1.6px; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--amber); }
.section-title { font-size: clamp(27px, 3.6vw, 38px); letter-spacing: -1.3px; }
.section-sub { color: var(--muted); margin: 10px 0 0; line-height: 1.65; max-width: 560px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--indigo); font-weight: 700; font-size: 14px; white-space: nowrap; }
.text-link:hover { gap: 10px; transition: gap .2s; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.split-intro { position: sticky; top: 100px; }
.split-intro .btn { margin-top: 22px; }

/* ---------- tool cards ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool-card {
  position: relative; display: flex; min-height: 136px; gap: 14px; padding: 18px 18px 22px; overflow: hidden;
  background: #fff; border-radius: 16px; border: 1px solid var(--line);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, border-color .25s;
}
.tool-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--g1), var(--g2)); opacity: 0; transition: opacity .25s; }
.tool-card:hover { transform: translateY(-4px); border-color: #cfcbf7; box-shadow: var(--shadow); }
.tool-card:hover::before { opacity: 1; }
.tool-icon { position: relative; flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: 19px; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 6px 14px rgba(23,21,59,.14); }
.tool-card h3 { position: relative; font-size: 15px; letter-spacing: -.2px; margin: 2px 0 6px; }
.tool-card p { position: relative; color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 0; }
.tool-tag { position: relative; display: inline-block; margin-top: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: #4b4769; padding: 3px 8px; border-radius: 6px; background: var(--soft); border: 1px solid var(--line); }
.card-arrow { position: absolute; right: 14px; top: 14px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #a5a1c4; font-size: 13px; transition: .25s; }
.tool-card:hover .card-arrow { color: #1f1300; background: #fbbf24; }
.hot-badge { position: absolute; right: 14px; top: 14px; font-size: 9.5px; font-weight: 800; letter-spacing: .6px; padding: 3px 8px; border-radius: 999px; color: #b45309; background: #fef3c7; }

/* ---------- categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { position: relative; overflow: hidden; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, border-color .25s; }
.category-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--g1), var(--g2)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.category-card:hover { transform: translateY(-4px); border-color: #cfcbf7; box-shadow: var(--shadow); }
.category-card:hover::after { transform: scaleX(1); }
.category-top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.category-icon { position: relative; width: 50px; height: 50px; display: grid; place-items: center; font-size: 22px; color: #fff; border-radius: 14px; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 8px 18px rgba(23,21,59,.14); }
.category-count { position: relative; font-size: 11.5px; font-weight: 700; color: var(--amber-d); padding: 5px 10px; border-radius: 999px; background: #fef3c7; }
.category-card h3 { position: relative; font-size: 18px; letter-spacing: -.4px; }
.category-card p { position: relative; color: var(--muted); font-size: 13px; min-height: 40px; line-height: 1.5; }

/* ---------- features & steps ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: .25s; }
.feature:hover { border-color: #cfcbf7; box-shadow: var(--shadow); }
.feature-icon { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; font-size: 21px; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.feature h3 { font-size: 16.5px; letter-spacing: -.3px; align-self: end; }
.feature p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 6px 0 0; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.step-num { margin-bottom: 18px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #fff; font: 800 17px "Plus Jakarta Sans", sans-serif; background: var(--night); box-shadow: inset 0 -3px 0 #fbbf24; }
.step h3 { font-size: 17px; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 0; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-cover { position: relative; height: 172px; overflow: hidden; background: #ece9fb; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.blog-card:hover .blog-cover img { transform: scale(1.04); }
.blog-cover span { position: relative; z-index: 1; }
.blog-time { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.blog-content { padding: 20px 22px 24px; }
.blog-meta { font-size: 11.5px; color: var(--amber-d); font-weight: 700; margin-bottom: 10px; }
.blog-card h3 { font-size: 17px; line-height: 1.35; letter-spacing: -.3px; }
.blog-card p { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---------- page hero / catalog ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 50px; color: #fff; background:
  radial-gradient(600px 300px at 90% 0%, rgba(245,158,11,.2), transparent 60%),
  linear-gradient(160deg, #1e1b4b, #2e1065); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero > .container { position: relative; }
.page-hero .pill { color: #fde68a; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 46px); letter-spacing: -1.6px; margin: 14px 0; max-width: 820px; }
.page-hero p { color: #c9c6ec; max-width: 700px; margin: 0; line-height: 1.7; }
.page-hero .hero-search { margin: 26px 0 0; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: #c9c6ec; }
.page-hero .breadcrumbs a:hover { color: #fcd34d; }
.filter-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; overflow: auto; padding-bottom: 6px; }
.filter-bar::-webkit-scrollbar { height: 5px; }
.filter-bar::-webkit-scrollbar-thumb { background: #d9d6fb; border-radius: 9px; }
.filter-btn { white-space: nowrap; background: #fff; color: #4b4769; padding: 9px 15px; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 600; border: 1px solid var(--line); transition: .2s; }
.filter-btn:hover { color: var(--indigo); border-color: #c7c3f5; }
.filter-btn.active { color: #fff; background: var(--night); border-color: var(--night); box-shadow: inset 0 -3px 0 #fbbf24; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.catalog-grid .tool-card { min-height: 128px; }

/* ---------- tool page ---------- */
.tool-page { padding: 42px 0 84px; }
.breadcrumbs { font-size: 12.5px; color: #8697aa; margin-bottom: 26px; }
.breadcrumbs a { color: var(--blue); font-weight: 600; }
.tool-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.tool-panel { border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.tool-panel-head { position: relative; display: flex; gap: 16px; align-items: center; padding: 26px; overflow: hidden; background: linear-gradient(120deg, #f4f3ff, #fff8eb); }
.tool-panel-head::before { content: ""; position: absolute; right: -40px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: linear-gradient(135deg, var(--g1), var(--g2)); opacity: .18; filter: blur(30px); }
.tool-panel-head h1 { position: relative; font-size: 26px; letter-spacing: -.9px; }
.tool-panel-head p { position: relative; margin: 5px 0 0; color: var(--muted); font-size: 13.5px; }
.tool-workspace { padding: 26px; }
.tool-workspace.video-workspace { padding: 0; overflow: hidden; }
.video-embed { display:block; width:100%; min-height: 920px; border:0; background:#fff; }
.tool-textarea { width: 100%; min-height: 220px; border: 0; border-radius: 14px; padding: 16px; resize: vertical; outline: 0; line-height: 1.6; color: var(--ink); background: #f9f8ff; box-shadow: inset 0 0 0 1px #dedbf3; transition: .2s; }
.tool-textarea:focus, .field input:focus, .field select:focus { background: #fff; box-shadow: inset 0 0 0 1px #8b84f0, 0 0 0 4px rgba(99,102,241,.14); }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.result-box { margin-top: 20px; padding: 18px; border-radius: 14px; background: linear-gradient(120deg, #f6f5ff, #fffaf0); box-shadow: inset 0 0 0 1px #dedbf3; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 58px; font-size: 14px; line-height: 1.6; }
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.metric { padding: 15px; text-align: center; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.metric strong { display: block; font: 800 22px "Plus Jakarta Sans"; color: transparent; background: linear-gradient(120deg, #4f46e5, #7c3aed); background-clip: text; -webkit-background-clip: text; }
.metric span { font-size: 11px; color: var(--muted); font-weight: 600; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fields.one { grid-template-columns: 1fr; }
.fields.three { grid-template-columns: repeat(3, 1fr); }
.field { min-width: 0; }
.field.span-2 { grid-column: span 2; }
.field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; color: #52647a; }
.field input, .field select, .field textarea { width: 100%; padding: 13px; border: 0; border-radius: 12px; outline: 0; background: #f9f8ff; box-shadow: inset 0 0 0 1px #dedbf3; transition: .2s; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="range"] { padding: 0; background: transparent; box-shadow: none; accent-color: #4f46e5; }
.field .hint { display: block; margin-top: 6px; font-size: 11px; color: #7b8a9d; }
.preview-wrap { margin-top: 18px; padding: 14px; border-radius: 16px; background: #f9f8ff; box-shadow: inset 0 0 0 1px #dedbf3; overflow: auto; text-align: center; }
.preview-wrap canvas, .preview-wrap img, .preview-wrap svg { max-width: 100%; height: auto; border-radius: 10px; }
.preview-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; font-size: 12px; color: #5d7086; font-weight: 600; }
.file-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: #eef0ff; font-size: 12px; font-weight: 600; color: #3f3b6e; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.md-preview { text-align: left; color: #3d5168; line-height: 1.7; }
.md-preview h1, .md-preview h2, .md-preview h3 { margin: 16px 0 8px; }
.md-preview code { background: #f1effc; padding: 1px 6px; border-radius: 6px; }
.handwriting { font-family: "Segoe Script","Bradley Hand",cursive; font-size: 28px; line-height: 1.8; color: #1e3a5f; text-align: left; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.swatch { width: 54px; height: 54px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.sci-pad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.sci-pad button { padding: 14px 8px; border: 0; border-radius: 12px; background: #f5f4fc; font-weight: 700; cursor: pointer; color: #2c2850; }
.sci-pad button:hover { background: #eceafc; }
.sci-pad .op { background: #eef0ff; color: #4338ca; }
.sci-pad .eq { background: linear-gradient(120deg, #6366f1, #3730a3); color: #fff; }
.sig-pad { width: 100%; height: 160px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #dedbf3; cursor: crosshair; touch-action: none; }
.busy { opacity: .7; pointer-events: none; }
.result-box.has-html { white-space: normal; }
.result-box table { width: 100%; border-collapse: collapse; font-size: 13px; }
.result-box th, .result-box td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #e6e4f3; }
.doc-sheet { background:#fff; border-radius:16px; padding:24px; box-shadow:inset 0 0 0 1px #dedbf3; text-align:left; color:#1e3a5f; }
.doc-top { display:flex; justify-content:space-between; gap:16px; margin-bottom:18px; }
.doc-mark { font:800 14px "Plus Jakarta Sans",sans-serif; letter-spacing:1.5px; color:#4f46e5; }
.doc-meta { display:flex; justify-content:space-between; gap:16px; margin-bottom:16px; font-size:13px; }
.doc-table { width:100%; border-collapse:collapse; font-size:13px; }
.doc-table th, .doc-table td { padding:8px 6px; border-bottom:1px solid #e6e4f3; text-align:left; }
.doc-totals { margin-top:14px; text-align:right; font-size:14px; }
.doc-notes { color:#6b7c90; font-size:12px; margin-top:18px; }
.fancy-row { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid #edf2f7; }
.fancy-row code { flex:1; font-size:16px; overflow-wrap:anywhere; }
.vcard-preview { width:min(100%, 360px); min-height:180px; margin:8px auto; padding:22px; border-radius:18px; background:linear-gradient(135deg,#0f2740,#4338ca); color:#fff; text-align:left; }
.vcard-preview strong { display:block; font-size:22px; }
.vcard-preview span, .vcard-preview em { display:block; opacity:.85; margin-top:4px; }
.yt-preview { text-align:left; }
.yt-preview strong { display:block; font-size:16px; }
.yt-preview span, .yt-preview small { display:block; color:#66788c; font-size:12px; margin-top:4px; }
.util-bill { background:#fff; border-radius:18px; padding:22px; box-shadow:inset 0 0 0 1px #dedbf3; text-align:left; color:#12324f; }
.util-bill-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; margin-bottom:8px; }
.util-co { font:800 18px "Plus Jakarta Sans",sans-serif; }
.util-sub { color:#6b7c90; font-size:13px; margin-top:2px; }
.util-badge { background:#4338ca; color:#fff; font:800 12px "Plus Jakarta Sans",sans-serif; letter-spacing:1px; padding:8px 10px; border-radius:10px; }
.util-ref { background:linear-gradient(120deg,#f1f0ff,#fffaf0); border-radius:14px; padding:12px 16px; margin:14px 0; }
.util-ref span { display:block; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:#5b7190; }
.util-ref strong { display:block; font-size:26px; letter-spacing:.08em; margin-top:4px; }
.util-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:8px 0 14px; }
.util-grid span { display:block; color:#6b7c90; font-size:11px; }
.util-grid b { font-size:13.5px; }
.util-addr { color:#4d6178; font-size:13px; margin:0 0 10px; }
.util-pay { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }
.util-pay div { background:#f6f5ff; border-radius:12px; padding:12px 14px; }
.util-pay span { display:block; font-size:12px; color:#5b7190; }
.util-pay strong { display:block; font-size:20px; margin-top:4px; color:#4338ca; }
.util-note { font-size:12px; color:#6b7c90; margin:12px 0 0; }
.bill-barcode { display:block; max-width:100%; height:56px; margin-top:10px; }
.hint { color:#66788c; font-size:13px; line-height:1.55; margin:10px 0 0; }
.billcheck-grid { display:grid; grid-template-columns: 1fr auto auto; gap:12px; align-items:end; }
.billcheck[data-mode="portal"] .billcheck-grid { grid-template-columns: 1fr auto auto auto; }
.billcheck-grid input, .billcheck-grid select { height:48px; }
.billcheck-grid .btn-primary { height:48px; padding:0 18px; }
.billcheck-ref { min-width:0; }
.billcheck-error { margin-top:12px; padding:12px 14px; border-radius:12px; background:#fff7ed; box-shadow:inset 0 0 0 1px #fed7aa; color:#b45309; font-size:13.5px; }
.billcheck-result { margin-top:18px; }
.billcheck-bar { display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; align-items:center; margin-bottom:12px; }
.billcheck-bar p { margin:0; font-weight:600; color:#1e3a5f; }
.billcheck-bar code { font-family:ui-monospace,Consolas,monospace; background:#f1f0ff; color:#4338ca; padding:2px 8px; border-radius:6px; }
.billcheck-actions { display:flex; gap:8px; flex-wrap:wrap; }
.billcheck-frame { position:relative; border-radius:16px; overflow:hidden; min-height:760px; background:#fff; box-shadow:inset 0 0 0 1px #dedbf3; }
.billcheck-frame.loading::after { content:"Loading bill…"; position:absolute; inset:0; display:grid; place-items:center; background:rgba(247,251,255,.94); color:#66788c; font-weight:600; z-index:2; }
.billcheck-frame iframe { width:100%; height:900px; border:0; display:block; background:#fff; }
@media (max-width: 720px) {
  .billcheck-grid { grid-template-columns: 1fr 1fr; }
  .billcheck-ref { grid-column: 1 / -1; }
  .billcheck-grid .btn-primary { grid-column: 1 / -1; }
  .billcheck-frame { min-height:560px; }
  .billcheck-frame iframe { height:700px; }
}
@media (max-width: 680px) {
  .util-grid, .util-pay { grid-template-columns:1fr 1fr; }
}
.portal-list { margin:8px 0 0; padding-left:18px; line-height:1.85; }
.portal-list a { color:#4f46e5; font-weight:600; }
.fb-preview { max-width:420px; background:#fff; border-radius:12px; box-shadow:0 8px 24px rgba(16,36,62,.12); text-align:left; overflow:hidden; }
.fb-preview header { display:flex; gap:10px; align-items:center; padding:12px 14px; }
.fb-preview header b { display:block; font-size:14px; }
.fb-preview header span { color:#657789; font-size:12px; }
.fb-preview .fb-body { padding:0 14px 14px; font-size:15px; }
.color-dot { display:inline-block; width:14px; height:14px; border-radius:50%; vertical-align:middle; margin-right:6px; box-shadow:inset 0 0 0 1px rgba(0,0,0,.12); }
@media (max-width: 680px) {
  .fields.three, .compare-grid { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: auto; }
}
.upload-zone { display: block; text-align: center; padding: 48px 20px; border-radius: 18px; background: linear-gradient(120deg, #f8f7ff, #fffaf0); box-shadow: inset 0 0 0 2px #d4d0f5; cursor: pointer; transition: .25s; }
.upload-zone:hover { box-shadow: inset 0 0 0 2px #8b84f0; transform: translateY(-2px); }
.upload-zone input { display: none; }
.upload-zone .big-icon { width: 74px; height: 74px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 32px; color: #fff; border-radius: 22px; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 16px 30px rgba(79,70,229,.22); }
.upload-zone p { color: var(--muted); font-size: 13px; margin: 8px 0 16px; }
.sidebar-card { border-radius: 20px; padding: 22px; margin-bottom: 16px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.sidebar-card h3 { font-size: 15.5px; margin-bottom: 14px; }
.side-link { display: flex; align-items: center; gap: 11px; padding: 10px 0; font-size: 13px; font-weight: 600; color: #4d5f76; transition: .2s; }
.side-link + .side-link { border-top: 1px solid #efedf8; }
.side-link:hover { color: var(--blue); }
.side-link .tool-icon { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
.perk-list { display: grid; gap: 10px; }
.perk-list span { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #4d5f76; font-weight: 600; }
.perk-list span::before { content: "✓"; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; color: #fff; background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.info-section { margin-top: 26px; padding: 28px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.info-section h2 { font-size: 21px; letter-spacing: -.6px; margin-top: 22px; }
.info-section h2:first-child { margin-top: 0; }
.info-section p, .info-section li { color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ---------- prompts ---------- */
.prompt-card { position: relative; display: block; padding: 24px; border-radius: 20px; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: .28s; }
.prompt-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prompt-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--g1), var(--g2)); }
.prompt-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.prompt-card h3 { font-size: 17px; letter-spacing: -.4px; }
.prompt-text { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 8px 0 16px; }

/* ---------- article ---------- */
.article { max-width: 810px; margin: auto; padding: 48px 0 84px; }
.article h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.16; letter-spacing: -1.9px; }
.article-meta { color: #7688a0; margin: 16px 0 30px; font-size: 13px; font-weight: 600; }
.article-cover-photo { margin: 0 0 34px; }
.article-cover-photo img { width: 100%; height: auto; border-radius: 26px; display: block; box-shadow: var(--shadow-lg); background: #e2e8f0; }
.article-cover-photo figcaption, .article-body figcaption { color: #7688a0; font-size: 13px; margin-top: 8px; text-align: center; }
.article-body { font-size: 16.5px; color: #4a5c73; line-height: 1.85; }
.article-body h2 { color: var(--ink); margin-top: 36px; font-size: 26px; letter-spacing: -.8px; }
.article-body h3 { color: var(--ink); margin-top: 22px; font-size: 19px; letter-spacing: -.4px; }
.article-body figure { margin: 28px 0; }
.article-body figure img { width: 100%; height: auto; border-radius: 18px; display: block; background: #f1f5f9; }
.article-body ul, .article-body ol { margin: 12px 0 12px 22px; }
.article-body li { margin: 6px 0; }
.article-related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-related h2 { font-size: 20px; margin-bottom: 12px; }
.article-related a { display: block; margin: 8px 0; color: #4f46e5; font-weight: 600; }

/* ---------- cta & footer ---------- */
.cta { position: relative; padding: 60px 40px; text-align: center; color: #fff; border-radius: 26px; overflow: hidden; background:
  radial-gradient(500px 260px at 100% 0%, rgba(245,158,11,.35), transparent 60%),
  linear-gradient(135deg, #312e81, #1e1b4b); box-shadow: 0 30px 60px rgba(30,27,75,.3); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(27px, 4vw, 38px); letter-spacing: -1.3px; margin-top: 16px; }
.cta p { color: #d8d5f5; margin: 12px 0 24px; }
.cta .btn-white { color: #1f1300; background: linear-gradient(180deg, #fbbf24, #f59e0b); box-shadow: 0 12px 26px rgba(245,158,11,.35); }
.site-footer { position: relative; margin-top: 10px; padding: 0 0 24px; background: #15132e; color: #c4c1e3; overflow: hidden; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0; margin-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cta h3 { color: #fff; font-size: 20px; letter-spacing: -.4px; }
.footer-cta p { margin: 6px 0 0; color: #a9a5cf; font-size: 14px; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-logo { background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-intro { max-width: 330px; font-size: 13px; line-height: 1.75; color: #a9a5cf; margin: 16px 0 12px; }
.footer-mail { color: #fcd34d; font-weight: 600; font-size: 13.5px; }
.footer-col h4 { color: #fff; font: 700 13px "Plus Jakarta Sans", sans-serif; letter-spacing: .6px; text-transform: uppercase; margin: 0 0 16px; }
.footer-col a { display: block; font-size: 13px; margin: 11px 0; color: #b4b0d8; transition: .2s; }
.footer-col a:hover { color: #fcd34d; transform: translateX(2px); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #8c88b5; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; padding: 13px 20px; border-radius: 12px; color: #fff; font-size: 13px; font-weight: 600; background: var(--night); box-shadow: var(--shadow-lg), inset 0 -3px 0 #fbbf24; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .28s; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .search-trigger { width: 200px; }
}
@media (max-width: 980px) {
  .tools-grid, .category-grid, .catalog-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .split-intro { position: static; }
  .tool-shell { grid-template-columns: 1fr; }
  .search-trigger { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1200px); }
  .nav { height: 62px; gap: 14px; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand-name { font-size: 19px; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-actions { gap: 0; }
  .menu-btn { display: block; margin-left: 8px; }
  .nav-links.open { display: flex; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--sky); }
  .nav-drop { width: 100%; }
  .nav-drop-btn { width: 100%; text-align: left; }
  .nav-sub { position: static; box-shadow: none; border: 0; background: var(--soft); margin: 4px 0 0; display: none; }
  .nav-drop.open .nav-sub, .nav-drop:focus-within .nav-sub { display: flex; }
  .nav-drop:hover .nav-sub { display: none; }
  .nav-drop.open:hover .nav-sub { display: flex; }
  .hero { padding: 44px 0 100px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 42px); letter-spacing: -1.2px; }
  .page-hero h1, .article h1 { font-size: clamp(27px, 7.6vw, 36px); letter-spacing: -1px; }
  .hero-copy { font-size: 15.5px; }
  .hero-search { padding-left: 12px; }
  .hero-search .btn { padding: 12px 14px; }
  .hero-search .search-ico { display: none; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: start; }
  .tools-grid, .category-grid, .catalog-grid, .blog-grid, .features, .steps { grid-template-columns: 1fr; }
  .fields, .metric-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; }
  .stat strong { font-size: 24px; }
  .footer-cta { flex-direction: column; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .article-cover { height: 210px; font-size: 62px; }
  .cta { padding: 44px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Elevators Hub Pro ---------- */
html.is-pro ins.adsbygoogle, html.is-pro .google-auto-placed, html.is-pro .adsbygoogle { display: none !important; }
.pro-badge { display: inline-flex; align-items: center; vertical-align: middle; padding: 2px 7px; border-radius: 6px; font: 800 10px "Inter", sans-serif; letter-spacing: .6px; color: #1f1300; background: linear-gradient(180deg, #fcd34d, #f59e0b); }
.nav-links small.nav-pro { color: #fff; background: var(--indigo); }
.auth-slot { display: inline-flex; }
.auth-btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--night); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; transition: .2s; }
.auth-btn:hover { border-color: #c7c3f5; color: var(--indigo); }

.pro-lock { text-align: center; padding: 34px 22px; border-radius: 18px; background: linear-gradient(160deg, #f6f5ff, #fff8eb); border: 1px dashed #cfcbf7; }
.pro-lock-icon { font-size: 34px; margin-bottom: 8px; }
.pro-lock h2 { font-size: 22px; margin: 12px 0 8px; letter-spacing: -.4px; }
.pro-lock p { color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.65; }
.pro-lock-actions { justify-content: center; margin: 20px 0 18px; }
.pro-perks { list-style: none; padding: 0; margin: 0 auto; max-width: 520px; text-align: left; display: grid; gap: 8px; }
.pro-perks li { display: flex; gap: 9px; font-size: 13.5px; color: #3f3b5e; }
.pro-perks li::before { content: "✓"; flex: 0 0 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 800; color: #1f1300; background: #fbbf24; }
.pro-lock-note { margin-top: 16px !important; font-size: 12.5px; }

.pro-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(15, 13, 40, .55); backdrop-filter: blur(4px); }
.pro-modal-card { position: relative; width: min(420px, 100%); padding: 28px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
.pro-modal-card h2 { font-size: 22px; letter-spacing: -.5px; }
.pro-modal-lead { color: var(--muted); font-size: 14px; line-height: 1.6; }
.pro-modal-x { position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--soft); font-size: 20px; cursor: pointer; color: var(--muted); }
.pro-login-form { display: grid; gap: 10px; }
.pro-login-form label { font-size: 12px; font-weight: 700; color: #52647a; }
.pro-login-form input { padding: 13px; border: 0; border-radius: 12px; background: #f9f8ff; box-shadow: inset 0 0 0 1px #dedbf3; outline: 0; }
.pro-login-form input:focus { background: #fff; box-shadow: inset 0 0 0 1px #8b84f0, 0 0 0 4px rgba(99,102,241,.14); }
.pro-google { width: 100%; }
.pro-or { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--muted); font-size: 12px; }
.pro-or::before, .pro-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pro-modal-note { min-height: 20px; font-size: 13.5px; color: var(--indigo-d); line-height: 1.55; }
.pro-modal-fine { font-size: 11.5px; color: var(--muted); margin: 0; }
.pro-modal-fine a { color: var(--indigo); }

.pro-notice { margin-bottom: 20px; padding: 14px 18px; border-radius: 14px; font-size: 14px; line-height: 1.6; }
.pro-notice a { color: var(--indigo); font-weight: 700; }
.pro-notice-ok { background: #ecfdf5; box-shadow: inset 0 0 0 1px #a7f3d0; color: #065f46; }
.pro-notice-warn { background: #fff7ed; box-shadow: inset 0 0 0 1px #fed7aa; color: #9a3412; }
.pro-notice-info { background: var(--sky); box-shadow: inset 0 0 0 1px #d9d6fb; color: var(--indigo-d); }

.pro-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 20px; margin-bottom: 56px; }
.pro-plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pro-plan.featured { border: 2px solid #fbbf24; box-shadow: 0 20px 44px rgba(245,158,11,.18); }
.pro-plan-tag { position: absolute; top: -12px; left: 24px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #1f1300; background: #fbbf24; }
.pro-plan h3 { font-size: 18px; }
.pro-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.pro-price strong { font: 800 34px "Plus Jakarta Sans", sans-serif; letter-spacing: -1px; color: var(--night); }
.pro-price span { color: var(--muted); font-size: 14px; }
.pro-saving { margin: 0 0 16px; font-size: 13px; font-weight: 700; color: var(--amber-d); }
.pro-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; }
.pro-plan li { font-size: 14px; color: #3f3b5e; }
.pro-plan li::before { content: "✓ "; color: var(--indigo); font-weight: 800; }
.pro-features { display: grid; gap: 16px; margin-bottom: 40px; grid-template-columns: repeat(3, 1fr); }
.pro-faq h3 { font-size: 16px; margin: 18px 0 4px; }

.account-grid { display: grid; gap: 20px; }
.account-card { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.account-card h2 { font-size: 20px; letter-spacing: -.4px; margin-bottom: 6px; }
.account-card h3 { font-size: 15px; margin: 22px 0 12px; }
.account-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.account-status h2 { margin: 0; }
.account-status p { margin: 0; flex: 1 1 260px; color: var(--muted); }
.acct-list { display: grid; gap: 10px; margin-top: 14px; }
.acct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.acct-main { flex: 1 1 220px; min-width: 0; }
.acct-main b { display: block; }
.acct-main span { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.acct-remind { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #3f3b5e; }
.acct-row .btn { padding: 9px 14px; font-size: 13px; }
.table-scroll { overflow-x: auto; margin-top: 12px; }
.acct-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.acct-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.acct-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.acct-table td small { display: block; color: var(--muted); font-size: 12px; }
.acct-table input { width: 100%; max-width: 160px; padding: 8px 10px; border: 0; border-radius: 10px; background: #f9f8ff; box-shadow: inset 0 0 0 1px #dedbf3; }
.acct-table .btn { padding: 6px 10px; }

.pro-savebar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(120deg, #f6f5ff, #fff8eb); border: 1px solid #e6e4f3; font-size: 13.5px; }
.pro-savebar > span:first-child { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pro-savebar a { color: var(--indigo); font-weight: 700; }
.pro-detected { margin-left: auto; font-weight: 700; color: var(--amber-d); }
.pro-saveform { display: flex; gap: 8px; flex: 1 1 260px; }
.pro-saveform input { flex: 1; min-width: 0; padding: 9px 12px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #dedbf3; }
.pro-saveform .btn { padding: 9px 16px; }
.billcheck-error .btn { margin-left: 8px; padding: 7px 12px; font-size: 13px; }

@media (max-width: 980px) {
  .pro-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-actions .search-trigger { display: none; }
  .auth-btn { padding: 9px 12px; font-size: 13px; }
  .pro-plans, .pro-features { grid-template-columns: 1fr; }
  .account-card { padding: 20px; }
}
.nav-links a, .nav-drop-btn, .nav-actions .btn { white-space: nowrap; }
@media (max-width: 1360px) {
  .nav { gap: 14px; }
  .nav-links a, .nav-drop-btn { padding: 10px 10px; }
  .nav-actions .btn-accent { display: none; }
  .search-trigger { width: 190px; }
}

/* ---------- Pro: login, payments, dashboard, admin ---------- */
.pro-modal-card { max-height: calc(100vh - 32px); overflow-y: auto; }
.pro-modal-card.wide { width: min(560px, 100%); }
.pro-tabs, .dash-tabs { display: flex; gap: 4px; padding: 4px; margin: 14px 0 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); overflow-x: auto; }
.pro-tabs button, .dash-tabs button { flex: 1; white-space: nowrap; padding: 9px 14px; border: 0; border-radius: 9px; background: none; color: #4b4769; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.pro-tabs button[aria-selected="true"], .dash-tabs button[aria-selected="true"] { background: #fff; color: var(--indigo); box-shadow: var(--shadow-sm); }
.dash-tabs { margin: 24px 0 16px; }
.pro-form { display: grid; gap: 10px; }
.pro-form[hidden] { display: none; }
.pro-form h3 { margin: 0; font-size: 15px; }
.pro-form label { font-size: 12px; font-weight: 700; color: #52647a; }
.pro-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .pro-form textarea, .pro-form select { width: 100%; padding: 12px; border: 0; border-radius: 12px; background: #f9f8ff; box-shadow: inset 0 0 0 1px #dedbf3; outline: 0; color: var(--ink); font: inherit; }
.pro-form input:focus, .pro-form textarea:focus { background: #fff; box-shadow: inset 0 0 0 1px #8b84f0, 0 0 0 4px rgba(99,102,241,.14); }
.pro-form-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.linkish { border: 0; background: none; padding: 0; color: var(--indigo); font-weight: 600; font-size: 13px; cursor: pointer; }
.pay-methods { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.pay-methods legend, .pay-step { font-size: 13.5px; font-weight: 700; color: var(--night); margin: 0 0 8px; }
.pay-step { margin: 8px 0 0; }
.pay-method { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14px !important; font-weight: 500 !important; color: var(--ink) !important; cursor: pointer; }
.pay-method:has(input:checked) { border-color: var(--indigo); background: var(--sky); }
.pro-plan-actions { display: grid; gap: 8px; }

.dash-stats, .admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-stats { grid-template-columns: repeat(3, 1fr); margin-bottom: 8px; }
.dash-stat { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.dash-stat span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.dash-stat strong { display: block; margin-top: 6px; font: 800 22px "Plus Jakarta Sans", sans-serif; color: var(--night); }
.dash-cta { display: grid; place-items: center; }
.account-card[hidden] { display: none; }
.status-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: capitalize; background: var(--soft); color: #4b4769; }
.status-paid, .status-approved { background: #ecfdf5; color: #065f46; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-rejected, .status-failed { background: #fef2f2; color: #991b1b; }
.status-refunded { background: #eef0ff; color: var(--indigo-d); }
.acct-table td .status-chip + small { margin-top: 4px; }
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 12px; }
.sec-grid > .pro-form { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); align-content: start; }
.mfa-qr { display: inline-block; width: 190px; height: 190px; background: #fff; border-radius: 12px; padding: 8px; border: 1px solid var(--line); }
.danger-zone { margin-top: 24px; padding: 18px; border-radius: 14px; border: 1px solid #fecaca; background: #fef2f2; }
.danger-zone h3 { margin: 0 0 6px; color: #991b1b; font-size: 15px; }
.btn-danger { color: #fff; background: #dc2626; box-shadow: 0 8px 18px rgba(220,38,38,.22); }
.btn-danger:hover { background: #b91c1c; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.acct-table small.mono { display: block; }

.admin-gate { max-width: 520px; }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.admin-toolbar h2 { margin: 0; }
.admin-toolbar select, .admin-search input { padding: 10px 12px; border: 0; border-radius: 10px; background: #f9f8ff; box-shadow: inset 0 0 0 1px #dedbf3; font: inherit; }
.admin-search { display: flex; gap: 8px; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 14px; }
.admin-pay { display: grid; gap: 10px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); }
.admin-pay-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; }
.admin-pay dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: 13.5px; }
.admin-pay dt { color: var(--muted); }
.admin-pay dd { margin: 0; overflow-wrap: anywhere; }
.admin-note { padding: 10px 12px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #dedbf3; font: inherit; }
.admin-actions { white-space: nowrap; }
.admin-actions .btn, .acct-table .btn { padding: 6px 10px; font-size: 12.5px; }
.admin-check { display: flex !important; align-items: center; gap: 8px; font-size: 14px !important; color: var(--ink) !important; }
.admin-plans { display: grid; gap: 10px; }
.admin-plan { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); }
.admin-plan b { flex: 1 1 140px; align-self: center; }
.admin-plan label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: #52647a; }
.admin-plan input[type="number"] { width: 120px; padding: 9px 10px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #dedbf3; }

@media (max-width: 980px) {
  .dash-stats, .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .sec-grid { grid-template-columns: 1fr; }
  .dash-stat strong { font-size: 18px; }
}
.search-trigger span { white-space: nowrap; }
@media (max-width: 1360px) { .search-trigger .kbd { display: none; } }

/* ---------- account menu ---------- */
.acct-menu { position: relative; }
.acct-toggle { gap: 8px; padding: 6px 12px 6px 6px; }
.acct-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; font-size: 13px; background: linear-gradient(135deg, #6366f1, #312e81); }
.acct-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 45; }
.acct-menu.open .acct-dropdown { display: grid; gap: 2px; }
.acct-dd-head { padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 13px; overflow-wrap: anywhere; }
.acct-dd-head small { display: block; margin-top: 3px; color: var(--muted); }
.acct-dropdown a, .acct-dropdown button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: #3f3b5e; font: 600 14px "Inter", sans-serif; cursor: pointer; }
.acct-dropdown a:hover, .acct-dropdown button:hover { background: var(--sky); color: var(--indigo); }
.acct-dropdown .acct-logout { color: #b91c1c; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.acct-dropdown .acct-logout:hover { background: #fef2f2; color: #991b1b; }
@media (max-width: 680px) {
  .acct-label { display: none; }
  .acct-dropdown { position: fixed; left: 12px; right: 12px; top: 70px; min-width: 0; }
}

/* ---------- pending counts & dashboard buy section ---------- */
.count-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 800; vertical-align: middle; }
.count-dot { width: 8px; height: 8px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 0 3px #fee2e2; }
.dash-buy { margin-top: 20px; border: 2px solid #fde68a; background: linear-gradient(160deg, #fffbeb, #fff); }
.dash-plans { margin: 16px 0 0; justify-content: start; }
