/* ==========================================================================
   H.G.pencilShop Tools Portal - Enterprise Style System v1.4.1
   Design System: B2B Blueprint Navy & Standalone / kintone-Toyokumo 2-Lane UI
   ========================================================================== */

:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #090d16;

  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;

  --cyan-500: #06b6d4;
  --cyan-600: #0284c7;
  --cyan-700: #0369a1;

  --teal-600: #0d9488;
  --teal-700: #0f766e;

  --emerald-50: #ecfdf5;
  --emerald-600: #059669;
  --emerald-700: #047857;

  --amber-50: #fffbeb;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;

  /* Authentic Uncustomized kintone / Toyokumo Colors */
  --kt-global-bar: #4b4b4b;
  --kt-canvas-bg: #f5f5f5;
  --kt-border: #e3e7e8;
  --kt-blue: #3498db;
  --kt-blue-hover: #2980b9;
  --kt-label-gray: #666666;
  --kt-text: #333333;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.12), 0 2px 4px -2px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.18), 0 4px 8px -4px rgb(0 0 0 / 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--slate-100);
  color: var(--slate-800);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-700);
}

.w-full {
  width: 100%;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. Site Header (Dark Enterprise Navy)
   ========================================================================== */
.site-header {
  background: var(--slate-900);
  border-bottom: 2px solid var(--cyan-600);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.badge-author {
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

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

.nav-link {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--slate-300);
}

.nav-link:hover {
  color: #ffffff;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-mobile-contact {
  display: none;
  align-items: center;
  white-space: nowrap;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.header-mobile-contact:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: var(--cyan-600);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.header-cta:hover {
  background: var(--cyan-700);
  color: #ffffff;
}

/* ==========================================================================
   2. Hero Section (Blueprint Dark Navy + Architecture Board)
   ========================================================================== */
.hero-section {
  padding: 56px 0 52px;
  background-color: #0b1528;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--slate-800);
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 36px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.hero-title {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero-title-accent {
  color: #38bdf8;
}

.hero-lead {
  font-size: 15px;
  color: var(--slate-300);
  margin-bottom: 26px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-600);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease;
  border: 1px solid #3b82f6;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-700);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.85);
  color: #f8fafc;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-600);
  transition: background 0.15s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--slate-700);
  color: #ffffff;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--slate-300);
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.7);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-700);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}

/* Hero Right Architecture Panel */
.hero-arch-panel {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid #334155;
  border-top: 3px solid #38bdf8;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.arch-panel-header {
  font-size: 12px;
  font-weight: 700;
  color: #7dd3fc;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arch-layer-box {
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 10px;
}

.arch-layer-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.arch-env-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.arch-pill {
  text-align: center;
  padding: 6px 4px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
}

.arch-pill-kt {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
}

.arch-pill-kv {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: #bfdbfe;
}

.arch-pill-fb {
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.5);
  color: #a5f3fc;
}

.arch-connector {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  padding: 4px 0;
}

.arch-gas-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #e2e8f0;
  gap: 8px;
}

.arch-zero-badge {
  background: #065f46;
  color: #a7f3d0;
  border: 1px solid #10b981;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

/* ==========================================================================
   3. Cost & Architecture Comparison Section (Visual Value Strip)
   ========================================================================== */
.comparison-section {
  padding: 44px 0;
  background: #f1f5f9;
  border-bottom: 1px solid var(--slate-300);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comp-box {
  background: #ffffff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.comp-box-sub {
  border-top: 4px solid var(--slate-400);
}

.comp-box-ours {
  border: 2px solid var(--primary-600);
  border-top: 4px solid var(--primary-600);
  background: #ffffff;
}

.comp-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comp-list {
  list-style: none;
  font-size: 13.5px;
  color: var(--slate-700);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.comp-total-bar {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comp-total-sub {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.comp-total-ours {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* ==========================================================================
   4. Section Header
   ========================================================================== */
.section-header {
  margin-bottom: 28px;
}

.section-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-700);
  margin-bottom: 6px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 14.5px;
  color: var(--slate-700);
  max-width: 780px;
}

/* ==========================================================================
   5. Interactive Live Demos Section (Industrial Slate Background)
   ========================================================================== */
.demos-section {
  padding: 56px 0;
  background: #dde4ed;
  border-bottom: 1px solid var(--slate-300);
}

/* Demo Navigation Tabs */
.demo-tabs-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 2px;
}

.demo-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate-700);
  background: #cbd5e1;
  border: 1px solid #94a3b8;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.demo-tab-btn:hover {
  background: #e2e8f0;
  color: var(--slate-900);
}

.demo-tab-btn.active {
  background: var(--slate-900);
  color: #ffffff;
  border-color: var(--slate-900);
}

.demo-tab-btn .tab-badge {
  font-size: 11px;
  background: rgba(15, 23, 42, 0.12);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--slate-800);
}

.demo-tab-btn.active .tab-badge {
  background: var(--cyan-600);
  color: #ffffff;
}

/* Browser Simulator Window Frame */
.simulator-card {
  background: #ffffff;
  border: 2px solid var(--slate-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.sim-window-bar {
  background: var(--slate-900);
  color: #ffffff;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sim-window-dots {
  display: flex;
  gap: 6px;
}

.sim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-600);
}

.sim-dot:nth-child(1) { background: #ef4444; }
.sim-dot:nth-child(2) { background: #f59e0b; }
.sim-dot:nth-child(3) { background: #10b981; }

.sim-window-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-300);
  font-family: var(--font-mono);
  background: var(--slate-800);
  padding: 3px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-700);
}

.sim-window-tag {
  font-size: 11px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.sim-body {
  padding: 0;
  background: #f5f5f5;
  position: relative;
  min-height: 520px;
}

/* ==========================================================================
   6. Authentic Uncustomized Default kintone / kViewer / FormBridge Screens
      ("何のカスタムもしていない素のダサい標準画面" 忠実再現)
   ========================================================================== */

/* --- A. Raw Default kintone UI (.raw-kintone-wrap) --- */
.raw-kintone-wrap {
  background: #f5f5f5;
  color: #333333;
  font-family: "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
  min-height: 470px;
}

/* Cybozu Global Navigation Bar (#4b4b4b) */
.raw-kt-globalbar {
  background: #4b4b4b;
  color: #ffffff;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.raw-kt-global-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.raw-kt-cloud-logo {
  font-weight: 700;
  font-size: 14px;
  color: #ffcc00;
  letter-spacing: 0.02em;
}

.raw-kt-global-search {
  background: #ffffff;
  border: 1px solid #333333;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  color: #666666;
  width: 180px;
}

.raw-kt-global-right {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #dddddd;
  font-size: 11.5px;
}

/* Uncustomized App Breadcrumbs & Title Bar (#f5f5f5) */
.raw-kt-appbar {
  background: #f5f5f5;
  border-bottom: 1px solid #e3e7e8;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.raw-kt-app-icon {
  width: 32px;
  height: 32px;
  background: #3498db;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.raw-kt-app-title-block {
  display: flex;
  flex-direction: column;
}

.raw-kt-breadcrumb {
  font-size: 11px;
  color: #3498db;
}

.raw-kt-app-name {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
}

/* Uncustomized Record List Menubar (kintone.app.getHeaderMenuSpaceElement) */
.raw-kt-menubar {
  background: #f5f5f5;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #e3e7e8;
}

.raw-kt-menubar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.raw-kt-view-select {
  height: 32px;
  border: 1px solid #e3e7e8;
  background: #f7f9fa;
  color: #333333;
  padding: 0 10px;
  font-size: 12px;
}

.raw-kt-icon-btn {
  height: 32px;
  padding: 0 10px;
  background: #f7f9fa;
  border: 1px solid #e3e7e8;
  color: #666666;
  font-size: 12px;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.raw-kt-menubar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Standard Dull kintone Table (.recordlist-gaia) */
.raw-kt-table-wrap {
  padding: 0 16px 20px;
  overflow-x: auto;
  background: #f5f5f5;
}

.recordlist-gaia {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e3e7e8;
  font-size: 12.5px;
  color: #333333;
}

.recordlist-gaia th {
  background: #f5f5f5;
  border: 1px solid #e3e7e8;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: normal;
  color: #666666;
  text-align: left;
  white-space: nowrap;
}

.recordlist-gaia td {
  border: 1px solid #e3e7e8;
  padding: 7px 10px;
  vertical-align: middle;
}

.recordlist-gaia tr:nth-child(even) td {
  background: #fafafa;
}

.raw-kt-detail-icon {
  color: #3498db;
  font-size: 14px;
  text-align: center;
  width: 32px;
}

.raw-kt-row-ops {
  color: #999999;
  font-size: 12px;
  text-align: center;
  width: 54px;
  white-space: nowrap;
}

/* Standard Dull kintone Record Detail Canvas (.control-gaia / .subtable-gaia) */
.raw-kt-detail-canvas {
  background: #f5f5f5;
  padding: 16px 20px 24px;
}

.raw-kt-row-gaia {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.control-gaia {
  display: flex;
  flex-direction: column;
  min-width: 160px;
}

.control-label-gaia {
  font-size: 12px;
  color: #666666;
  background: #f5f5f5;
  padding: 2px 4px;
  margin-bottom: 3px;
}

.control-value-gaia {
  background: #eeeeee;
  border: 1px solid #e3e7e8;
  padding: 6px 10px;
  font-size: 13px;
  color: #333333;
  min-height: 32px;
}

.subtable-gaia {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e3e7e8;
  font-size: 12.5px;
  margin-top: 6px;
}

.subtable-gaia th {
  background: #f5f5f5;
  border: 1px solid #e3e7e8;
  padding: 6px 10px;
  color: #666666;
  font-weight: normal;
  font-size: 11.5px;
  text-align: left;
}

.subtable-gaia td {
  border: 1px solid #e3e7e8;
  padding: 6px 10px;
  background: #eeeeee;
}

/* --- B. Raw Default kViewer UI (.raw-kviewer-wrap) --- */
.raw-kviewer-wrap {
  background: #f9fafb;
  color: #212529;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  min-height: 470px;
  position: relative;
}

.raw-kv-header {
  background: #ffffff;
  border-top: 3px solid #2185d0;
  border-bottom: 1px solid #d4d4d5;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.raw-kv-title {
  font-size: 16px;
  font-weight: 700;
  color: #1b1c1d;
}

.raw-kv-search-bar {
  display: flex;
  gap: 6px;
}

.raw-kv-search-input {
  border: 1px solid #d4d4d5;
  border-radius: 3px;
  padding: 6px 10px;
  font-size: 12.5px;
  width: 220px;
}

.raw-kv-search-btn {
  background: #e0e1e2;
  border: 1px solid #cacbcd;
  color: #333333;
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: 3px;
  cursor: pointer;
}

.raw-kv-body {
  padding: 18px 20px;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.raw-kv-body.kv-locked {
  filter: blur(8px) grayscale(50%);
  pointer-events: none;
  user-select: none;
  opacity: 0.2;
}

.raw-kv-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #d4d4d5;
  font-size: 13px;
}

.raw-kv-table th {
  background: #f9fafb;
  border: 1px solid #d4d4d5;
  padding: 9px 12px;
  text-align: left;
  font-weight: 700;
  color: #333333;
}

.raw-kv-table td {
  border: 1px solid #d4d4d5;
  padding: 9px 12px;
  color: #333333;
}

/* --- C. Raw Default FormBridge UI (.raw-fb-wrap) --- */
.raw-fb-wrap {
  background: #edeff2;
  padding: 22px 16px;
  min-height: 470px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.raw-fb-sheet {
  background: #ffffff;
  border: 1px solid #dcdfe6;
  border-top: 4px solid #3b82f6;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 28px;
  position: relative;
}

.raw-fb-title {
  font-size: 18px;
  font-weight: normal;
  color: #303133;
  padding-bottom: 12px;
  border-bottom: 1px solid #ebeef5;
  margin-bottom: 18px;
}

.raw-fb-field {
  margin-bottom: 16px;
}

.raw-fb-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #606266;
  margin-bottom: 6px;
}

.raw-fb-req {
  background: #f56c6c;
  color: #ffffff;
  font-size: 10px;
  font-weight: normal;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 6px;
}

.raw-fb-input {
  width: 100%;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  padding: 8px 10px;
  font-size: 13.5px;
  color: #303133;
  background: #ffffff;
}

.raw-fb-input:focus {
  outline: none;
  border-color: #409eff;
}

.raw-fb-submit-row {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #ebeef5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.raw-fb-default-submit {
  background: #67c23a;
  color: #ffffff;
  border: 1px solid #67c23a;
  padding: 10px 26px;
  font-size: 14px;
  border-radius: 3px;
  cursor: pointer;
}

/* ==========================================================================
   7. Authentic Product Variant Overlays & Modals (Vol.1 - Vol.5 Exact Styles)
   ========================================================================== */

/* Vol.1: kviewer_2fa_gate_v1.3.8.js Exact Styles */
.kv-2fa-overlay-stage {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.kv-2fa-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  width: 92%;
  max-width: 420px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.kv-2fa-box h2 {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
}

.kv-2fa-box p {
  font-size: 12.5px;
  color: #4b5563;
  margin: 0 0 18px 0;
  line-height: 1.5;
}

.kv-2fa-input-group {
  text-align: left;
  margin-bottom: 14px;
}

.kv-2fa-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}

.kv-2fa-input-group input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

.kv-2fa-input-group input:focus {
  border-color: #2563eb;
}

.kv-2fa-btn {
  width: 100%;
  padding: 11px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.kv-2fa-btn:hover {
  background: #1d4ed8;
}

.kv-2fa-error {
  background: #fee2e2;
  border: 1px solid #f87171;
  color: #991b1b;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 14px;
  text-align: left;
}

.kv-2fa-otp-inputs {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 0;
}

.kv-2fa-otp-digit {
  width: 46px;
  height: 54px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  font-family: var(--font-mono);
}

.kv-2fa-otp-digit:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.kv-2fa-links {
  margin-top: 14px;
  font-size: 12px;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kv-2fa-link {
  color: #2563eb;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  font-size: 12px;
}

/* Simulator Modal Stage (for Vol.2, Vol.4, Vol.5 Modals inside Simulator) */
.sim-inner-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.74);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* ==========================================================================
   8. Virtual Email Inbox Widget (#portal-virtual-inbox)
   ========================================================================== */
.virtual-inbox-widget {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 340px;
  max-width: calc(100% - 32px);
  background: #0f172a;
  color: #f8fafc;
  border: 2px solid #38bdf8;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 30px -8px rgba(0, 0, 0, 0.45);
  z-index: 95;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.virtual-inbox-header {
  background: #0284c7;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.virtual-inbox-toggle-btn {
  background: rgba(15, 23, 42, 0.3);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  padding: 1px 7px;
  font-size: 11px;
  cursor: pointer;
}

.virtual-inbox-body {
  padding: 12px;
  max-height: 220px;
  overflow-y: auto;
  font-size: 12px;
  line-height: 1.5;
}

.virtual-inbox-widget.minimized .virtual-inbox-body {
  display: none;
}

.virtual-mail-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 8px;
}

.virtual-mail-subject {
  font-weight: 700;
  color: #7dd3fc;
  margin-bottom: 4px;
}

.virtual-mail-meta {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.virtual-mail-action-btn {
  margin-top: 8px;
  width: 100%;
  background: #10b981;
  color: #090d16;
  font-weight: 800;
  font-size: 12px;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.virtual-mail-action-btn:hover {
  background: #34d399;
}

/* Demo Bottom Control Bar */
.demo-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--slate-900);
  color: var(--slate-200);
  padding: 14px 20px;
  border-top: 1px solid var(--slate-700);
  flex-wrap: wrap;
  gap: 12px;
}

.demo-explanation {
  font-size: 13px;
  color: var(--slate-300);
}

.demo-explanation strong {
  color: #38bdf8;
}

.demo-buy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
}

.demo-buy-link:hover {
  color: #fde68a;
  text-decoration: underline;
}

/* ==========================================================================
   9. Video Guide Section
   ========================================================================== */
.video-section {
  padding: 56px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--slate-300);
}

.video-nav-container {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.video-tab-bar {
  display: inline-flex;
  background: var(--slate-100);
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-300);
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.video-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 13px;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.video-tab-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--slate-900);
}

.video-tab-btn.active {
  background: #ffffff;
  color: var(--slate-900);
  font-weight: 700;
  border-color: var(--slate-300);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.video-tab-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--slate-200);
  color: var(--slate-700);
  line-height: 1.2;
}

.video-tab-btn.active .video-tab-badge {
  background: var(--primary-600);
  color: #ffffff;
}

.video-tab-time {
  font-size: 11px;
  color: var(--slate-500);
}

.video-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 36px;
  align-items: flex-start;
}

.video-frame-container {
  background: var(--slate-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 2px solid var(--slate-700);
  display: flex;
  flex-direction: column;
}

.video-player-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}

.video-info-bar {
  background: #0f172a;
  padding: 12px 18px;
  border-top: 1px solid var(--slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.video-info-title {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
}

.video-info-cuts {
  font-size: 12px;
  color: var(--slate-400);
}

.video-current-highlight {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.highlight-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.highlight-tag {
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.highlight-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}

.highlight-desc {
  font-size: 13px;
  color: var(--slate-700);
  line-height: 1.6;
  margin: 0;
}

.step-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  gap: 14px;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--slate-900);
  color: #fbbf24;
  font-weight: 800;
  font-size: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.step-desc {
  font-size: 13px;
  color: var(--slate-600);
}

/* ==========================================================================
   10. Products Catalog Section (Distinct Category Borders & Platform Pills)
   ========================================================================== */
.products-section {
  padding: 56px 0;
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-300);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-card.vol-1 { border-top: 5px solid #2563eb; }
.product-card.vol-2 { border-top: 5px solid #0284c7; }
.product-card.vol-3 { border-top: 5px solid #4f46e5; }
.product-card.vol-4 { border-top: 5px solid #059669; }
.product-card.vol-5 { border-top: 5px solid #0d9488; }

.card-header {
  padding: 18px 22px 14px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.card-badge-vol {
  font-size: 11px;
  font-weight: 800;
  background: var(--slate-900);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.card-env-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.env-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--slate-200);
  color: var(--slate-700);
}

.card-title {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.35;
}

.card-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-desc {
  font-size: 13.5px;
  color: var(--slate-700);
  line-height: 1.6;
}

.card-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card-feature-item {
  font-size: 12.5px;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-feature-item::before {
  content: "✓";
  color: var(--emerald-600);
  font-weight: 800;
}

.card-price-box {
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 8px;
  margin-top: auto;
}

.price-label {
  font-size: 12px;
  color: var(--slate-600);
  font-weight: 700;
  white-space: nowrap;
}

.price-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
  font-variant-numeric: tabular-nums;
}

.price-val span {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--slate-600);
}

.card-actions {
  padding: 0 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-coconala {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--slate-900);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}

.btn-coconala:hover {
  background: var(--slate-700);
  color: #ffffff;
}

.btn-booth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #e11d48;
  border: 1.5px solid #e11d48;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px;
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}

.btn-booth:hover {
  background: #fff1f2;
  color: #be123c;
}

/* ==========================================================================
   11. Corporate Payment & Invoicing Policy Box (Honest Tax-Exempt Disclosure)
   ========================================================================== */
.invoicing-banner {
  background: #ffffff;
  border: 2px solid var(--slate-300);
  border-left: 6px solid var(--slate-900);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
}

.invoicing-banner h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.invoicing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.invoicing-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 13px;
  color: var(--slate-700);
  line-height: 1.6;
}

.invoicing-item strong {
  display: block;
  color: var(--slate-900);
  font-size: 13.5px;
  margin-bottom: 4px;
}

/* ==========================================================================
   12. Security & Quality Section (Dark Enterprise Trust Block)
   ========================================================================== */
.security-section {
  padding: 56px 0;
  background: var(--slate-900);
  color: #ffffff;
  border-bottom: 1px solid var(--slate-800);
}

.security-section .section-label {
  color: #38bdf8;
}

.security-section .section-title {
  color: #ffffff;
}

.security-section .section-desc {
  color: var(--slate-300);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sec-card {
  padding: 24px;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-top: 3px solid #10b981;
  border-radius: var(--radius-lg);
}

.sec-icon {
  width: 38px;
  height: 38px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.sec-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.sec-desc {
  font-size: 13px;
  color: var(--slate-300);
  line-height: 1.65;
}

/* ==========================================================================
   13. Developer Profile & Footer
   ========================================================================== */
.profile-section {
  padding: 52px 0;
  background: var(--slate-200);
  border-bottom: 1px solid var(--slate-300);
}

.profile-card {
  background: #ffffff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.profile-name-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.profile-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
}

.profile-handle {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
}

.profile-bio {
  font-size: 13.5px;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 14px;
}

.note-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0d9488;
}

.site-footer {
  background: var(--slate-950);
  padding: 32px 0;
  font-size: 12.5px;
  color: var(--slate-400);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--slate-400);
}

.footer-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   14. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .comparison-grid,
  .video-grid,
  .security-grid,
  .invoicing-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .profile-avatar-img {
    margin: 0 auto;
  }
  .profile-name-row {
    justify-content: center;
  }
}

.demo-form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }
  .header-mobile-contact {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 8px;
  }
  .logo-area {
    gap: 8px;
    min-width: 0;
  }
  .brand-logo-img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  .brand-title {
    font-size: 14px;
    white-space: nowrap;
  }
  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .header-mobile-contact {
    font-size: 11px;
    padding: 5px 8px;
  }
  .header-cta {
    font-size: 11px;
    padding: 6px 8px;
  }
  .hero-title {
    font-size: 26px;
  }
  .badge-author {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .kv-2fa-otp-digit {
    width: 38px;
    height: 46px;
    font-size: 18px;
  }
  .virtual-inbox-widget {
    width: calc(100% - 24px);
    right: 12px;
    bottom: 12px;
  }
  .demo-form-grid-2col {
    grid-template-columns: 1fr;
  }
  .raw-kt-detail-canvas .control-gaia {
    max-width: 100%;
    width: 100% !important;
  }
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.profile-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0284c7;
  background: #0f172a;
}

/* ==========================================================================
   15. SEO & Performance Enhancements (Video Facade, Static Video Index, FAQ)
   ========================================================================== */
.video-facade-btn {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000000;
  cursor: pointer;
  display: block;
}

.video-facade-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transition: opacity 0.15s ease, transform 0.2s ease;
}

.video-facade-btn:hover img {
  opacity: 1;
}

.video-facade-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.62) 100%);
  color: #ffffff;
  padding: 16px;
}

.video-facade-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dc2626;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}

.video-facade-btn:hover .video-facade-play {
  background: #b91c1c;
  transform: scale(1.06);
}

.video-facade-text {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.video-static-overview {
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.video-overview-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 14px;
}

.video-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.video-overview-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.video-overview-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.video-overview-desc {
  font-size: 12px;
  color: var(--slate-600);
  line-height: 1.55;
}

.video-overview-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  border-top: 1px solid var(--slate-200);
  padding-top: 8px;
}

.video-overview-select-btn {
  background: none;
  border: 1px solid var(--primary-600);
  color: var(--primary-700);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  cursor: pointer;
}

.video-overview-select-btn:hover {
  background: #eff6ff;
}

.product-video-row {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.product-video-row a {
  color: var(--primary-700);
  font-weight: 600;
  text-decoration: none;
}

.product-video-row a:hover {
  text-decoration: underline;
}

.faq-section {
  padding: 56px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--slate-300);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
}

.faq-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--primary-600);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--slate-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-700);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 13.5px;
  color: var(--slate-700);
  line-height: 1.7;
  border-top: 1px solid var(--slate-200);
  padding-top: 12px;
}

.contact-section {
  padding: 48px 0;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-300);
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--slate-300);
  border-top: 4px solid var(--primary-600);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-info {
  flex: 1;
}

.contact-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
  margin: 4px 0 10px;
}

.contact-desc {
  font-size: 13.5px;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 8px;
}

.contact-note {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.6;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-contact-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-600);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-contact-form:hover {
  background: var(--primary-700);
  color: #ffffff;
  transform: translateY(-1px);
}

.contact-eta {
  font-size: 11.5px;
  color: var(--slate-500);
}

@media (max-width: 768px) {
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 18px;
  }
  .contact-action {
    width: 100%;
    align-items: flex-start;
  }
  .btn-contact-form {
    width: 100%;
  }
}

/* ==========================================================================
   16. 2-Lane Catalog & Environment Badges (v1.4.0)
   ========================================================================== */
.lane-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.lane-filter-btn {
  appearance: none;
  background: #ffffff;
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lane-filter-btn:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

.lane-filter-btn.active {
  background: var(--slate-900);
  color: #ffffff;
  border-color: var(--slate-900);
}

.lane-block {
  margin-bottom: 36px;
}

.lane-block-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--slate-200);
}

.lane-block-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0;
}

.lane-block-subtitle {
  font-size: 13px;
  color: var(--slate-600);
  margin-top: 4px;
}

.lane-plan-note {
  font-size: 12.5px;
  color: #b91c1c;
  font-weight: 700;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.card-badge-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.env-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.env-badge--html {
  background: var(--emerald-50);
  color: var(--emerald-700);
  border-color: #6ee7b7;
}

.env-badge--win {
  background: #f0f9ff;
  color: var(--cyan-700);
  border-color: #bae6fd;
}

.env-badge--kintone {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: #bfdbfe;
}

.product-card.lane-a-html {
  border-top: 5px solid var(--emerald-600);
}

.product-card.lane-a-win {
  border-top: 5px solid var(--cyan-600);
}

.btn-trial-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--emerald-600);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}

.btn-trial-dl:hover {
  background: var(--emerald-700);
  color: #ffffff;
}

.product-video-note {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 600;
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .lane-switcher {
    flex-direction: column;
  }
  .lane-filter-btn {
    width: 100%;
    text-align: left;
  }
}
