@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ═══════════════════════════════════════════════════════════
   SAP Fiori / UI5 Theme — authentic Fiori Launchpad aesthetic
   Horizon theme colours (SAP's current design system)
   ═══════════════════════════════════════════════════════════ */
:root {
  /* SAP Horizon colour tokens */
  --sap-shell:        #1873B4;
  --sap-shell-dark:   #0F5A8E;
  --sap-shell-txt:    #FFFFFF;
  --sap-blue:         #0064D9;
  --sap-blue-light:   #0070F2;
  --sap-blue-ghost:   #EEF4FE;
  --sap-green:        #107E7E;
  --sap-green-bg:     #E7F7F7;
  --sap-amber:        #C87500;
  --sap-amber-bg:     #FFF4E0;
  --sap-red:          #BB0000;
  --sap-red-bg:       #FFE4E4;
  --sap-success:      #256F3A;
  --sap-success-bg:   #E8F8ED;

  /* Surfaces */
  --page-bg:          #F5F6F7;
  --shell-bg:         #F7F8F9;
  --card-bg:          #FFFFFF;
  --card-border:      #D4D4D4;
  --card-border-hover:#0064D9;
  --divider:          #E0E0E0;
  --input-border:     #8D8D8D;
  --input-focus:      #0064D9;

  /* Typography */
  --text-primary:     #32363A;
  --text-secondary:   #6A6D70;
  --text-muted:       #A1A1A1;
  --text-link:        #0064D9;

  /* Typography — Inter for UI, Inter Tight for headings, JetBrains Mono for code */
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter Tight', 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Spacing & shape */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg: 12px;
  --tile-radius: 4px;
  --trans: .15s ease;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 14px; }
body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── HIDE OLD DARK BACKGROUND ELEMENTS ───────────────────── */
.bg-mesh, .bg-grid { display: none; }

/* ═══════════════════════════════════════════════════════════
   SAP SHELL BAR (top navigation)
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--sap-shell);
  border-bottom: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; padding: 0 16px; gap: 16px; max-width: none;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-mark {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark img { width: 36px; }
.nav-logo-mark-fallback {
  background: #fff; color: var(--sap-shell); font-weight: 700;
  font-size: 11px; width: 36px; height: 22px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .05em;
}
.nav-logo-text { font-size: 15px; font-weight: 500; color: #fff; }
.nav-logo-sub  { font-size: 11px; color: rgba(255,255,255,.75); }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  font-size: 13px; color: rgba(255,255,255,.9);
  padding: 0 14px; height: 44px; display: flex; align-items: center;
  border-bottom: 2px solid transparent; transition: background var(--trans);
}
.nav-links a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.nav-links a.active { border-bottom-color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* Shell bar buttons */
.btn-ghost {
  padding: 0 12px; height: 32px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.5);
  font-size: 13px; color: #fff; background: transparent;
  transition: background var(--trans); white-space: nowrap;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-primary {
  padding: 0 16px; height: 32px; border-radius: var(--radius-sm);
  background: #fff; color: var(--sap-blue); font-size: 13px;
  font-weight: 500; border: 1px solid #fff; transition: all var(--trans);
  white-space: nowrap;
}
.btn-primary:hover { background: rgba(255,255,255,.9); }

/* ═══════════════════════════════════════════════════════════
   HERO / PAGE HEADER
   ═══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #1873B4 0%, #0F5A8E 100%);
  padding: 40px 0 48px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  font-size: 12px; color: #fff; margin-bottom: 20px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #7FDBDA; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.display { font-size: clamp(22px,3vw,32px); font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 14px; }
.display em { font-style: normal; color: #7FDBDA; }
.body-lg { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 24px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-lg { padding: 0 24px; height: 40px; font-size: 14px; }
.hero-stats { display: flex; gap: 28px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stat-num { font-size: 24px; font-weight: 700; color: #fff; }
.hero-stat-lbl { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 2px; }
.free-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sap-success-bg); border: 1px solid #107843;
  color: var(--sap-success); border-radius: 999px;
  padding: 4px 12px; font-size: 12px; font-weight: 500;
}
.free-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--sap-success); }

/* Hero card (right column preview) */
.hero-card {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: var(--tile-radius); padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.hero-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.hero-card-module { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.hero-card-sub { font-size: 12px; color: var(--text-secondary); }
.hero-card-icon { width: 40px; height: 40px; background: var(--sap-blue-ghost); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.hero-card-tcodes { background: #F5F6F7; border-radius: var(--radius-sm); padding: 10px 12px; margin: 12px 0; }
.hero-card-tcodes-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.tcode-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.tcode-pill { font-family: var(--font-mono); font-size: 11px; background: var(--sap-blue-ghost); border: 1px solid #B8D4F8; color: var(--sap-blue); padding: 2px 7px; border-radius: var(--radius-sm); }
.hero-card-editions { display: flex; gap: 8px; margin-top: 12px; }
.edition-chip { flex: 1; padding: 7px 10px; border-radius: var(--radius-sm); border: 1px solid var(--card-border); font-size: 11px; text-align: center; background: #F5F6F7; }
.edition-pub { border-color: #107843; color: var(--sap-success); background: var(--sap-success-bg); }
.edition-priv { border-color: #0064D9; color: var(--sap-blue); background: var(--sap-blue-ghost); }
.edition-chip-label { font-weight: 600; }
.edition-chip-sub { font-size: 10px; opacity: .8; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section    { padding: 48px 0; }
.section-sm { padding: 40px 0; }

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */
.headline { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.eyebrow  { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sap-blue); }
.text-center { text-align: center; }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ═══════════════════════════════════════════════════════════
   SAP FIORI TILE GRID — authentic Launchpad style
   ═══════════════════════════════════════════════════════════ */
.modules-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }

/* Group label (like Fiori Launchpad group header) */
.tile-group-label {
  font-size: 14px; font-weight: 700; color: var(--text-primary);
  padding: 0 0 10px; margin-bottom: 12px;
  border-bottom: 1px solid var(--divider);
  display: flex; align-items: center; gap: 10px;
}
.tile-group-label::after { content:''; flex:1; height:1px; background:var(--divider); }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(174px, 1fr));
  gap: 10px;
}

/* SAP Fiori Tile — matches the screenshot exactly */
.module-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--tile-radius);
  padding: 0;
  cursor: pointer;
  transition: border-color var(--trans), box-shadow var(--trans);
  position: relative;
  min-height: 148px;
  display: flex; flex-direction: column;
  overflow: hidden;
  text-align: left;
}
.module-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 4px 12px rgba(0,100,217,.12);
}
.module-card.free { border-top: 3px solid var(--sap-green); }
.module-card.locked:hover { border-color: var(--sap-blue); }

/* Tile header area */
.module-card-inner { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.module-title {
  font-size: 13px; font-weight: 700; color: var(--text-primary);
  line-height: 1.35; margin-bottom: 4px;
}
.module-sub {
  font-size: 11px; color: var(--text-secondary); line-height: 1.45;
  flex: 1; overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Tile footer — mimics the SAP tile number/icon footer */
.module-tile-footer {
  padding: 8px 14px;
  border-top: 1px solid #F0F0F0;
  background: #FAFAFA;
  display: flex; align-items: center; justify-content: space-between;
}
.module-tcodes-short {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 120px;
}
.module-tile-icon { font-size: 20px; opacity: .55; }

/* Tile badge (top-right) */
.module-badge {
  position: absolute; top: 8px; right: 8px;
  font-size: 10px; font-weight: 600; padding: 2px 8px;
  border-radius: 999px; white-space: nowrap;
}
.module-badge.free   { background: var(--sap-success-bg); color: var(--sap-success); border: 1px solid #107843; }
.module-badge.locked { background: var(--sap-blue-ghost); color: var(--sap-blue); border: 1px solid #B8D4F8; }

/* Lock overlay on hover */
.lock-overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--trans);
  border-radius: var(--tile-radius);
}
.module-card.locked:hover .lock-overlay { opacity: 1; }
.lock-cta { text-align: center; padding: 16px; }
.lock-cta p { font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; }

/* ═══════════════════════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-sm); padding: 20px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.feature-card:hover { border-color: var(--sap-blue); box-shadow: 0 2px 8px rgba(0,100,217,.08); }
.feature-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 12px;
  background: var(--sap-blue-ghost);
}
.feature-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.feature-card p  { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.pricing-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-sm); padding: 24px; position: relative;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.pricing-card:hover { border-color: var(--sap-blue); }
.pricing-card.featured { border: 2px solid var(--sap-blue); }
.pricing-card.featured::after {
  content:'Most Popular'; position:absolute; top:-1px; right:16px;
  font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  background:var(--sap-blue); color:#fff; padding:3px 10px; border-radius:0 0 4px 4px;
}
.pricing-icon { width:44px; height:44px; border-radius:var(--radius-sm); margin-bottom:16px; display:flex; align-items:center; justify-content:center; font-size:20px; background:var(--sap-blue-ghost); }
.pricing-name { font-size:16px; font-weight:700; margin-bottom:6px; color:var(--text-primary); }
.pricing-desc { font-size:12px; color:var(--text-secondary); margin-bottom:18px; line-height:1.6; }
.pricing-amount { display:flex; align-items:baseline; gap:6px; margin-bottom:4px; }
.pricing-original { font-size:13px; color:var(--text-muted); text-decoration:line-through; }
.pricing-price { font-size:28px; font-weight:700; color:var(--text-primary); }
.pricing-unit { font-size:12px; color:var(--text-secondary); }
.pricing-savings { font-size:11px; color:var(--sap-success); margin-bottom:20px; display:flex; align-items:center; gap:4px; }
.pricing-features { list-style:none; display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.pricing-features li { display:flex; align-items:flex-start; gap:8px; font-size:12px; color:var(--text-secondary); }
.pricing-features li::before { content:'✓'; color:var(--sap-success); font-weight:700; flex-shrink:0; }
.pricing-btn { width:100%; padding:10px; border-radius:var(--radius-sm); font-size:13px; font-weight:600; transition:all var(--trans); cursor:pointer; }
.pricing-btn-primary { background:var(--sap-blue); color:#fff; border:1px solid var(--sap-blue); }
.pricing-btn-primary:hover { background:#0055B8; }
.pricing-btn-outline { background:transparent; border:1px solid var(--sap-blue); color:var(--sap-blue); }
.pricing-btn-outline:hover { background:var(--sap-blue-ghost); }

/* ═══════════════════════════════════════════════════════════
   SCENARIO SEARCH
   ═══════════════════════════════════════════════════════════ */
.scenario-search {
  width:100%; padding:8px 12px; font-size:13px;
  background:var(--card-bg); border:1px solid var(--input-border);
  border-radius:var(--radius-sm); color:var(--text-primary);
  font-family:var(--font); transition:border-color var(--trans);
  margin-bottom:10px;
}
.scenario-search::placeholder { color:var(--text-muted); }
.scenario-search:focus { outline:none; border-color:var(--input-focus); box-shadow:0 0 0 2px rgba(0,100,217,.15); }
.sc-tabs { display:flex; gap:0; border-bottom:1px solid var(--divider); margin-bottom:14px; overflow-x:auto; }
.sc-tab { padding:7px 14px; font-size:12px; font-weight:500; color:var(--text-secondary); cursor:pointer; border-bottom:2px solid transparent; background:none; white-space:nowrap; transition:color var(--trans),border-color var(--trans); }
.sc-tab:hover { color:var(--text-primary); }
.sc-tab.active { color:var(--sap-blue); border-bottom-color:var(--sap-blue); }
.scenario-list { display:flex; flex-direction:column; gap:4px; max-height:300px; overflow-y:auto; }
.scenario-item { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:9px 12px; border-radius:var(--radius-sm); border:1px solid var(--card-border); cursor:pointer; transition:all var(--trans); background:var(--card-bg); text-align:left; }
.scenario-item:hover { border-color:var(--sap-blue); background:var(--sap-blue-ghost); }
.scenario-item.selected { border-color:var(--sap-blue); background:var(--sap-blue-ghost); }
.scenario-item.locked-sc { opacity:.55; cursor:not-allowed; }
.scenario-item.locked-sc:hover { border-color:var(--card-border); background:var(--card-bg); }
.sc-title { font-size:12px; font-weight:500; color:var(--text-primary); margin-bottom:3px; }
.sc-tags { display:flex; flex-wrap:wrap; gap:3px; }
.sc-tag { font-family:var(--font-mono); font-size:10px; background:var(--sap-blue-ghost); border:1px solid #B8D4F8; color:var(--sap-blue); padding:1px 5px; border-radius:var(--radius-sm); }
.sc-lock { font-size:11px; color:var(--sap-amber); display:flex; align-items:center; gap:3px; flex-shrink:0; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.testimonial-card { background:var(--card-bg); border:1px solid var(--card-border); border-radius:var(--radius-sm); padding:20px; }
.testimonial-stars { color:var(--sap-amber); font-size:14px; letter-spacing:2px; margin-bottom:12px; }
.testimonial-text { font-size:12px; color:var(--text-secondary); line-height:1.7; margin-bottom:16px; font-style:italic; }
.testimonial-author { display:flex; align-items:center; gap:10px; }
.testimonial-avatar { width:36px; height:36px; border-radius:50%; background:var(--sap-blue); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:#fff; flex-shrink:0; }
.testimonial-name { font-size:13px; font-weight:600; color:var(--text-primary); }
.testimonial-role { font-size:11px; color:var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════ */
.cta-banner {
  background:var(--sap-blue); border-radius:var(--radius-sm);
  padding:48px; text-align:center;
}
.cta-banner h2 { font-size:22px; font-weight:700; color:#fff; margin-bottom:12px; }
.cta-banner p  { color:rgba(255,255,255,.85); margin-bottom:24px; font-size:13px; line-height:1.6; }
.cta-actions   { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.cta-banner .btn-primary { background:#fff; color:var(--sap-blue); border:1px solid #fff; }
.cta-banner .btn-ghost   { border-color:rgba(255,255,255,.6); color:#fff; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer { background:#fff; border-top:1px solid var(--divider); padding:40px 0 24px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.footer-brand p { font-size:12px; color:var(--text-secondary); margin-top:10px; line-height:1.7; max-width:240px; }
.footer-col h4 { font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--text-muted); margin-bottom:12px; }
.footer-col ul { display:flex; flex-direction:column; gap:8px; }
.footer-col ul li a { font-size:12px; color:var(--text-secondary); transition:color var(--trans); }
.footer-col ul li a:hover { color:var(--sap-blue); text-decoration:none; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:20px; border-top:1px solid var(--divider); font-size:11px; color:var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   MODALS (small: auth, payment, settings)
   ═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position:fixed; inset:0; z-index:200;
  background:rgba(0,0,0,.45);
  display:flex; align-items:center; justify-content:center;
  padding:20px; opacity:0; pointer-events:none; transition:opacity var(--trans);
}
.modal-overlay.open { opacity:1; pointer-events:all; }
.modal {
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--radius-sm); width:100%; max-width:520px;
  max-height:92vh; overflow-y:auto;
  transform:translateY(10px); transition:transform var(--trans);
  box-shadow:0 8px 32px rgba(0,0,0,.18);
}
.modal-overlay.open .modal { transform:translateY(0); }
.modal-header {
  padding:16px 20px; border-bottom:1px solid var(--divider);
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:16px; background:var(--sap-shell);
  position:sticky; top:0; z-index:2;
}
.modal-title { font-size:15px; font-weight:700; color:#fff; }
.modal-sub   { font-size:11px; color:rgba(255,255,255,.8); margin-top:3px; }
.modal-close {
  width:28px; height:28px; border-radius:var(--radius-sm);
  border:1px solid rgba(255,255,255,.4); color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:all var(--trans); flex-shrink:0; font-size:14px;
  background:transparent; cursor:pointer;
}
.modal-close:hover { background:rgba(255,255,255,.15); }
.modal-body   { padding:20px; }
.modal-footer { padding:14px 20px; border-top:1px solid var(--divider); display:flex; gap:10px; justify-content:flex-end; background:#F5F6F7; }

/* ═══════════════════════════════════════════════════════════
   GUIDE MODAL — fullscreen Fiori-style panel
   ═══════════════════════════════════════════════════════════ */
.modal-overlay.guide-overlay { padding:0; align-items:stretch; justify-content:stretch; }
.guide-modal-shell { display:flex; flex-direction:column; width:100%; height:100%; background:var(--page-bg); overflow:hidden; }

/* Guide top bar — SAP shell style */
.guide-topbar {
  display:flex; align-items:center; justify-content:space-between;
  padding:0 20px; height:44px; flex-shrink:0;
  background:var(--sap-shell); border-bottom:none;
  box-shadow:0 1px 4px rgba(0,0,0,.2);
}
.guide-topbar-left { display:flex; align-items:center; gap:12px; }
.guide-module-icon { font-size:18px; }
.guide-module-name { font-size:14px; font-weight:600; color:#fff; }
.guide-module-sub  { font-size:11px; color:rgba(255,255,255,.75); margin-top:1px; }
.guide-topbar-right { display:flex; align-items:center; gap:8px; }
.guide-close-btn {
  width:32px; height:32px; border-radius:var(--radius-sm);
  border:1px solid rgba(255,255,255,.4); color:#fff;
  background:transparent; cursor:pointer; font-size:14px;
  display:flex; align-items:center; justify-content:center;
  transition:all var(--trans);
}
.guide-close-btn:hover { background:rgba(255,255,255,.15); }

/* Guide body split */
.guide-body { display:flex; flex:1; overflow:hidden; }

/* Left config panel — light Fiori sidebar */
.guide-config-panel {
  width:280px; flex-shrink:0;
  background:#fff; border-right:1px solid var(--divider);
  overflow-y:auto; padding:16px;
  display:flex; flex-direction:column;
}
.guide-config-panel::-webkit-scrollbar { width:4px; }
.guide-config-panel::-webkit-scrollbar-thumb { background:var(--card-border); border-radius:2px; }

.config-section { margin-bottom:18px; }
.config-section-title {
  font-size:10px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--text-muted);
  margin-bottom:8px; display:flex; align-items:center; gap:6px;
}
.config-step-num {
  width:16px; height:16px; border-radius:50%;
  background:var(--sap-blue); color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:9px; font-weight:700; flex-shrink:0;
}
.opt-row { display:flex; flex-direction:column; gap:4px; }
.opt-chip {
  padding:7px 10px; border-radius:var(--radius-sm); border:1px solid var(--card-border);
  font-size:12px; color:var(--text-secondary); cursor:pointer;
  transition:all var(--trans); background:var(--card-bg); text-align:left;
}
.opt-chip:hover { border-color:var(--sap-blue); color:var(--text-primary); background:var(--sap-blue-ghost); }
.opt-chip.active { border-color:var(--sap-blue); background:var(--sap-blue-ghost); color:var(--sap-blue); font-weight:500; }
.opt-chip-row { display:flex; flex-wrap:wrap; gap:4px; }
.opt-chip-row .opt-chip { flex:1 1 auto; min-width:0; }
.persona-chips { display:grid; grid-template-columns:1fr 1fr; gap:4px; }
.persona-chip {
  padding:7px 8px; border-radius:var(--radius-sm); border:1px solid var(--card-border);
  cursor:pointer; transition:all var(--trans); background:var(--card-bg); text-align:left;
}
.persona-chip:hover { border-color:var(--sap-blue); background:var(--sap-blue-ghost); }
.persona-chip.active { border-color:var(--sap-green); background:var(--sap-green-bg); }
.persona-chip .pc-title { font-size:11px; font-weight:600; color:var(--text-primary); }
.persona-chip .pc-sub   { font-size:10px; color:var(--text-secondary); margin-top:1px; }
.persona-chip.active .pc-title { color:var(--sap-green); }

.config-retrieve-btn {
  width:100%; padding:10px; border-radius:var(--radius-sm);
  background:var(--sap-blue); color:#fff; font-size:13px;
  font-weight:600; cursor:pointer; border:1px solid var(--sap-blue);
  transition:all var(--trans); margin-top:4px;
  display:flex; align-items:center; justify-content:center; gap:6px;
}
.config-retrieve-btn:hover { background:#0055B8; }
.config-retrieve-btn:disabled { opacity:.45; cursor:not-allowed; }

/* Right content panel */
.guide-content-panel { flex:1; overflow-y:auto; background:var(--page-bg); }
.guide-content-panel::-webkit-scrollbar { width:6px; }
.guide-content-panel::-webkit-scrollbar-thumb { background:var(--card-border); border-radius:3px; }

/* Content tabs — Fiori tab bar style */
.guide-content-tabs {
  display:flex; gap:0; border-bottom:1px solid var(--divider);
  background:#fff; overflow-x:auto; flex-shrink:0;
  position:sticky; top:0; z-index:5;
}
.guide-content-tab {
  padding:12px 18px; font-size:12px; font-weight:500;
  color:var(--text-secondary); cursor:pointer; white-space:nowrap;
  border-bottom:2px solid transparent; background:none;
  transition:color var(--trans),border-color var(--trans);
}
.guide-content-tab:hover { color:var(--text-primary); }
.guide-content-tab.active { color:var(--sap-blue); border-bottom-color:var(--sap-blue); font-weight:600; }

.guide-tab-panel { display:none; padding:24px 28px 48px; }
.guide-tab-panel.active { display:block; }

/* ═══════════════════════════════════════════════════════════
   GUIDE DOCUMENT RENDERING
   ═══════════════════════════════════════════════════════════ */
.guide-doc { max-width:800px; }
.guide-doc-title { font-size:20px; font-weight:700; color:var(--text-primary); margin-bottom:6px; line-height:1.25; }
.guide-doc-meta { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.guide-doc-badge { font-size:11px; font-weight:600; padding:3px 10px; border-radius:999px; }
.badge-edition { background:var(--sap-blue-ghost); border:1px solid #B8D4F8; color:var(--sap-blue); }
.badge-persona { background:var(--sap-amber-bg); border:1px solid #F0C070; color:var(--sap-amber); }
.badge-type    { background:var(--sap-success-bg); border:1px solid #90CCA0; color:var(--sap-success); }

.guide-section-card { background:var(--card-bg); border:1px solid var(--card-border); border-radius:var(--radius-sm); margin-bottom:16px; overflow:hidden; }
.guide-section-header { padding:12px 16px; background:#F5F6F7; border-bottom:1px solid var(--divider); display:flex; align-items:center; gap:10px; }
.guide-section-num { width:24px; height:24px; border-radius:var(--radius-sm); background:var(--sap-blue); color:#fff; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex-shrink:0; }
.guide-section-title { font-size:13px; font-weight:700; color:var(--text-primary); }
.guide-section-body { padding:16px; }

.guide-step { display:flex; gap:12px; margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid #F0F0F0; }
.guide-step:last-child { margin-bottom:0; padding-bottom:0; border-bottom:none; }
.guide-step-num { width:28px; height:28px; border-radius:50%; flex-shrink:0; background:var(--sap-blue-ghost); border:1.5px solid var(--sap-blue); color:var(--sap-blue); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; margin-top:1px; }
.guide-step-content { flex:1; }
.guide-step-title { font-size:13px; font-weight:600; color:var(--text-primary); margin-bottom:5px; }
.guide-step-body { font-size:12px; color:var(--text-secondary); line-height:1.7; }
.guide-step-body p { margin-bottom:6px; }
.guide-step-body p:last-child { margin-bottom:0; }

.guide-substep { display:flex; gap:8px; margin:5px 0; padding:6px 10px; background:var(--sap-blue-ghost); border-radius:var(--radius-sm); border-left:2px solid var(--sap-blue); }
.guide-substep-num  { font-size:11px; font-weight:700; color:var(--sap-blue); flex-shrink:0; min-width:26px; }
.guide-substep-text { font-size:12px; color:var(--text-primary); line-height:1.55; }

.tcode-ref { display:inline-flex; align-items:center; font-family:var(--font-mono); font-size:11px; background:var(--sap-blue-ghost); border:1px solid #B8D4F8; color:var(--sap-blue); padding:1px 7px; border-radius:var(--radius-sm); margin:1px 2px; }
.gui-path  { font-size:11px; color:var(--text-muted); font-style:italic; margin-bottom:5px; padding:5px 8px; background:#F5F6F7; border-radius:var(--radius-sm); border-left:2px solid var(--divider); }

.guide-callout { padding:12px 16px; border-radius:var(--radius-sm); margin:10px 0; font-size:12px; line-height:1.65; display:flex; gap:10px; }
.guide-callout.info { background:var(--sap-blue-ghost); border:1px solid #B8D4F8; color:#00428C; }
.guide-callout.tip  { background:var(--sap-success-bg); border:1px solid #90CCA0; color:#1A5C2A; }
.guide-callout.warn { background:var(--sap-amber-bg); border:1px solid #F0C070; color:#6B3E00; }
.guide-callout-icon { font-size:16px; flex-shrink:0; margin-top:1px; }
.guide-callout-body { flex:1; }
.guide-callout-body strong { font-weight:600; display:block; margin-bottom:2px; }

.guide-trouble-table { width:100%; border-collapse:collapse; font-size:12px; }
.guide-trouble-table th { text-align:left; padding:8px 12px; background:#F5F6F7; color:var(--text-muted); font-size:10px; text-transform:uppercase; letter-spacing:.07em; font-weight:700; border-bottom:1px solid var(--divider); }
.guide-trouble-table td { padding:10px 12px; border-bottom:1px solid #F0F0F0; vertical-align:top; }
.guide-trouble-table td:first-child { color:var(--text-primary); font-weight:500; width:38%; }
.guide-trouble-table td:last-child  { color:var(--text-secondary); line-height:1.55; }
.guide-trouble-table tr:last-child td { border-bottom:none; }
.guide-trouble-table tr:hover td { background:var(--sap-blue-ghost); }

/* Guide status bar */
.output-meta { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.output-status { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--text-secondary); }
.status-dot { width:7px; height:7px; border-radius:50%; }
.status-dot.generating { background:var(--sap-amber); animation:pulse 1s infinite; }
.status-dot.done { background:var(--sap-success); }
.output-actions { display:flex; gap:6px; }
.icon-btn { width:28px; height:28px; border-radius:var(--radius-sm); border:1px solid var(--card-border); color:var(--text-secondary); display:flex; align-items:center; justify-content:center; transition:all var(--trans); font-size:14px; cursor:pointer; background:var(--card-bg); }
.icon-btn:hover { border-color:var(--sap-blue); color:var(--sap-blue); background:var(--sap-blue-ghost); }

/* Configure step labels */
.configure-step { margin-bottom:16px; }
.step-label { font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--text-muted); margin-bottom:6px; display:flex; align-items:center; gap:6px; }
.step-label::before { content:attr(data-step); width:16px; height:16px; background:var(--sap-blue); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:9px; color:#fff; flex-shrink:0; }

/* ═══════════════════════════════════════════════════════════
   VISUALS
   ═══════════════════════════════════════════════════════════ */
.vis-section { margin-bottom:24px; }
.vis-label { font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--sap-blue); margin-bottom:8px; margin-top:6px; display:flex; align-items:center; gap:6px; }
.vis-explain { font-size:12px; color:var(--text-secondary); line-height:1.7; margin-bottom:12px; padding:10px 14px; background:var(--sap-blue-ghost); border-radius:var(--radius-sm); border-left:3px solid var(--sap-blue); }
.vis-explain strong { color:var(--text-primary); font-weight:600; }
.vis-sub-label { font-size:12px; font-weight:600; color:var(--text-secondary); margin-bottom:6px; padding-left:2px; }
.vis-note { font-size:12px; color:var(--text-secondary); text-align:center; padding:16px; background:var(--sap-blue-ghost); border-radius:var(--radius-sm); border:1px solid #B8D4F8; }
.vis-caption { font-size:11px; color:var(--text-muted); text-align:center; margin-top:4px; font-style:italic; }

/* ═══════════════════════════════════════════════════════════
   AUTH FORMS
   ═══════════════════════════════════════════════════════════ */
.auth-form { display:flex; flex-direction:column; gap:12px; }
.auth-switch { text-align:center; font-size:12px; color:var(--text-secondary); margin-top:4px; }
.auth-switch a { color:var(--sap-blue); }
.stripe-field-label { font-size:11px; font-weight:600; color:var(--text-secondary); margin-bottom:4px; letter-spacing:.04em; text-transform:uppercase; }
.stripe-input {
  width:100%; padding:8px 10px; margin-bottom:10px;
  background:var(--card-bg); border:1px solid var(--input-border);
  border-radius:var(--radius-sm); color:var(--text-primary);
  font-family:var(--font); font-size:13px; transition:border-color var(--trans);
}
.stripe-input:focus { outline:none; border-color:var(--input-focus); box-shadow:0 0 0 2px rgba(0,100,217,.15); }
.stripe-input::placeholder { color:var(--text-muted); }
.stripe-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.stripe-secure { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--text-muted); margin-top:8px; }
.stripe-secure::before { content:'🔒'; }

/* ═══════════════════════════════════════════════════════════
   PAYMENT MODAL
   ═══════════════════════════════════════════════════════════ */
.payment-summary { display:flex; justify-content:space-between; align-items:center; padding:14px; background:var(--sap-blue-ghost); border:1px solid #B8D4F8; border-radius:var(--radius-sm); margin-bottom:16px; }
.payment-module-name { font-weight:600; font-size:13px; color:var(--text-primary); }
.payment-module-sub  { font-size:11px; color:var(--text-secondary); margin-top:2px; }
.payment-price-block { text-align:right; }
.payment-original    { font-size:11px; color:var(--text-muted); text-decoration:line-through; }
.payment-final       { font-size:22px; font-weight:700; color:var(--text-primary); }
.payment-savings-tag { font-size:11px; color:var(--sap-success); }
.payment-card { background:#F5F6F7; border:1px solid var(--card-border); border-radius:var(--radius-sm); padding:16px; margin:14px 0; }

/* ═══════════════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════════════ */
.toast {
  position:fixed; bottom:20px; right:20px; z-index:500;
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--radius-sm); padding:12px 16px;
  font-size:12px; color:var(--text-primary);
  box-shadow:0 4px 16px rgba(0,0,0,.14);
  transform:translateY(60px); opacity:0;
  transition:all .22s cubic-bezier(.34,1.56,.64,1);
  max-width:300px;
}
.toast.show { transform:translateY(0); opacity:1; }
.toast.success { border-left:3px solid var(--sap-success); }
.toast.error   { border-left:3px solid var(--sap-red); }
.toast.info    { border-left:3px solid var(--sap-blue); }

/* ═══════════════════════════════════════════════════════════
   SPINNER
   ═══════════════════════════════════════════════════════════ */
.spinner { display:inline-block; width:14px; height:14px; border:2px solid rgba(255,255,255,.3); border-top-color:#fff; border-radius:50%; animation:spin .7s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════
   SECTIONS WITH ALTERNATE BG
   ═══════════════════════════════════════════════════════════ */
.section-alt { background:#fff; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width:960px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero-card { display:none; }
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .testimonials-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:24px; }
  .guide-body { flex-direction:column; }
  .guide-config-panel { width:100%; border-right:none; border-bottom:1px solid var(--divider); max-height:38vh; }
}
@media (max-width:640px) {
  .nav-links { display:none; }
  .features-grid { grid-template-columns:1fr; }
  .section { padding:32px 0; }
  .hero { padding:28px 0 36px; }
  .modules-grid { grid-template-columns:repeat(auto-fill,minmax(148px,1fr)); }
  .footer-grid { grid-template-columns:1fr; }
  .guide-content-tab { padding:10px 12px; font-size:11px; }
  .guide-tab-panel { padding:16px 14px 32px; }
}

/* ═══════════════════════════════════════════════════════════
   UTILS
   ═══════════════════════════════════════════════════════════ */
.hidden { display:none !important; }
.flex { display:flex; }
.items-center { align-items:center; }
.gap-8 { gap:8px; }
.gap-16 { gap:16px; }

/* ═══════════════════════════════════════════════════════════
   GUIDE VISUAL UPGRADES — Inter font + rich visual elements
   ═══════════════════════════════════════════════════════════ */

/* Override guide doc with Inter */
.guide-doc,
.guide-step-body,
.guide-substep-text,
.guide-callout,
.guide-trouble-table { font-family: 'Inter', -apple-system, sans-serif; }

.guide-doc-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 22px; font-weight: 700; letter-spacing: -0.3px;
  line-height: 1.2; color: var(--text-primary);
}
.guide-section-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: -0.1px;
}
.guide-step-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: -0.1px;
  line-height: 1.3; margin-bottom: 7px;
}
.guide-step-body { font-size: 13.5px; line-height: 1.8; color: #3D3D3D; }
.guide-substep-text { font-size: 13px; line-height: 1.65; color: var(--text-primary); }
.guide-callout { font-size: 13px; line-height: 1.75; }
.guide-callout.info { background: #EEF6FF; border: 1px solid #BDD8FF; color: #0A3D8F; }
.guide-callout.tip  { background: #EDFFF4; border: 1px solid #9DE0B8; color: #0A5C2B; }
.guide-callout.warn { background: #FFFBEB; border: 1px solid #F5D87A; color: #7A4A00; }
.guide-callout-body strong { font-family: 'Inter Tight', sans-serif; font-size: 13px; }
.guide-section-header { background: linear-gradient(to right, #EEF4FF, #F5F6F7); }
.guide-section-num { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
.guide-step-num { width: 32px; height: 32px; border: 2px solid var(--sap-blue); font-size: 12px; }
.guide-substep { background: #F8FAFF; border-left: 3px solid var(--sap-blue); padding: 9px 12px; }
.guide-substep-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; }
.tcode-ref { font-size: 11.5px; background: #EEF4FF; border: 1px solid #C5D8FF; color: #1A4DB8; padding: 2px 8px; font-weight: 500; letter-spacing: .03em; }
.guide-trouble-table { font-size: 13px; border-radius: 8px; overflow: hidden; border: 1px solid var(--card-border); }
.guide-trouble-table th { background: var(--sap-blue); color: #fff; font-size: 11px; padding: 10px 14px; font-family: 'Inter Tight', sans-serif; }
.guide-trouble-table td { padding: 11px 14px; }
.guide-trouble-table td:first-child { font-weight: 600; color: var(--text-primary); }
.guide-trouble-table td:last-child { color: #3D3D3D; line-height: 1.6; }
.guide-trouble-table tr:nth-child(even) td { background: #F8FAFF; }

/* ── Process flow strip ─────────────────────────────────── */
.guide-process-flow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin: 16px 0; padding: 14px 16px;
  background: linear-gradient(135deg, #EEF4FF, #F5F6F7);
  border: 1px solid #C5D8FF; border-radius: 8px;
}
.guide-flow-step { display: flex; align-items: center; gap: 6px; }
.guide-flow-box {
  background: #fff; border: 1.5px solid var(--sap-blue); border-radius: 6px;
  padding: 7px 12px; font-size: 12px; font-weight: 600; color: var(--sap-blue);
  font-family: 'Inter Tight', sans-serif; white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,100,217,.08);
}
.guide-flow-box.flow-start { background: var(--sap-blue); color: #fff; }
.guide-flow-box.flow-end   { background: var(--sap-success); color: #fff; border-color: var(--sap-success); }
.guide-flow-arrow { color: var(--sap-blue); font-size: 16px; font-weight: 700; flex-shrink: 0; }
.guide-flow-tcode { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-muted); display: block; text-align: center; margin-top: 3px; }

/* ── Field reference table ──────────────────────────────── */
.guide-field-table {
  width: 100%; border-collapse: collapse; margin: 14px 0;
  font-size: 13px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--card-border);
  font-family: 'Inter', sans-serif;
}
.guide-field-table th {
  background: var(--sap-blue); color: #fff; font-weight: 600;
  padding: 9px 14px; text-align: left; font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em;
  font-family: 'Inter Tight', sans-serif;
}
.guide-field-table td { padding: 9px 14px; border-bottom: 1px solid #F0F0F0; vertical-align: top; }
.guide-field-table tr:last-child td { border-bottom: none; }
.guide-field-table tr:nth-child(even) td { background: #F8FAFF; }
.guide-field-name  { font-weight: 600; color: var(--text-primary); white-space: nowrap; }
.guide-field-value { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #1A4DB8; background: #EEF4FF; padding: 2px 6px; border-radius: 3px; display: inline-block; }
.guide-field-note  { font-size: 12px; color: var(--text-muted); font-style: italic; }

/* ── Key points highlight ───────────────────────────────── */
.guide-key-points {
  background: linear-gradient(135deg, #EEF6FF, #F0FAFF);
  border: 1px solid #BDD8FF; border-radius: 8px;
  padding: 16px 18px; margin: 14px 0;
}
.guide-key-points-title {
  font-size: 11px; font-weight: 700; color: var(--sap-blue);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
  font-family: 'Inter Tight', sans-serif;
}
.guide-key-points ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.guide-key-points ul li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-primary); line-height: 1.55;
  font-family: 'Inter', sans-serif;
}
.guide-key-points ul li::before { content: '✓'; color: var(--sap-success); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── TEXT SIZE INCREASES for guide readability ───────────── */
.guide-doc-title    { font-size: 24px; }
.guide-section-title { font-size: 15px; }
.guide-step-title   { font-size: 15px; }
.guide-step-body    { font-size: 14px; line-height: 1.85; }
.guide-substep-text { font-size: 13.5px; line-height: 1.7; }
.guide-callout      { font-size: 13.5px; line-height: 1.8; }
.guide-trouble-table { font-size: 13.5px; }
.guide-trouble-table th { font-size: 12px; }
.guide-field-table  { font-size: 13.5px; }
.guide-field-table th { font-size: 12px; }
.guide-key-points ul li { font-size: 13.5px; }
.guide-process-flow .guide-flow-box { font-size: 13px; padding: 8px 14px; }
.guide-substep { padding: 10px 14px; }
.guide-substep-num { font-size: 12px; }
.tcode-ref { font-size: 12px; padding: 3px 9px; }
.guide-tab-panel { padding: 28px 32px 56px; }
.guide-content-tab { font-size: 13px; padding: 14px 20px; }
.guide-section-body { padding: 20px 22px; }
.guide-step { gap: 16px; margin-bottom: 20px; padding-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════
   SHOPPING CART
   ═══════════════════════════════════════════════════════════ */

/* Nav cart button */
.cart-nav-btn {
  position: relative; width: 40px; height: 40px;
  border-radius: 4px; border: 1px solid rgba(255,255,255,.4);
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans); margin-right: 4px;
}
.cart-nav-btn:hover { background: rgba(255,255,255,.15); }
.cart-nav-icon { font-size: 18px; line-height: 1; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #E53935; color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--sap-shell);
  font-family: 'Inter Tight', sans-serif;
}

/* Cart overlay */
.cart-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity var(--trans);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

/* Cart slide-out panel */
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 95vw;
  background: #fff; z-index: 301;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 32px rgba(0,0,0,.15);
}
.cart-panel.open { transform: translateX(0); }

/* Cart panel header */
.cart-panel-header {
  padding: 16px 20px; background: var(--sap-shell);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.cart-panel-title { font-size: 16px; font-weight: 700; color: #fff; font-family: 'Inter Tight', sans-serif; }
.cart-panel-close {
  width: 30px; height: 30px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,.4); color: #fff;
  background: transparent; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.cart-panel-close:hover { background: rgba(255,255,255,.15); }

/* Cart panel body */
.cart-panel-body {
  flex: 1; overflow-y: auto; padding: 0;
  display: flex; flex-direction: column;
}
.cart-panel-body::-webkit-scrollbar { width: 4px; }
.cart-panel-body::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 2px; }

/* Empty state */
.cart-empty { padding: 48px 24px; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cart-empty-icon  { font-size: 48px; margin-bottom: 16px; opacity: .5; }
.cart-empty-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; font-family: 'Inter Tight', sans-serif; }
.cart-empty-sub   { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px; }
.cart-browse-btn  { padding: 10px 24px; background: var(--sap-blue); color: #fff; border: none; border-radius: 4px; font-size: 13px; font-weight: 600; cursor: pointer; }

/* Cart items */
.cart-items { flex: 1; overflow-y: auto; }
.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--divider);
  transition: background var(--trans);
}
.cart-item:hover { background: #FAFAFA; }
.cart-item-icon { font-size: 24px; flex-shrink: 0; width: 40px; height: 40px; background: var(--sap-blue-ghost); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; color: var(--text-primary); font-family: 'Inter Tight', sans-serif; }
.cart-item-sub  { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.cart-item-price  { font-size: 14px; font-weight: 700; color: var(--text-primary); font-family: 'Inter Tight', sans-serif; }
.cart-item-remove {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--card-border); color: var(--text-muted);
  background: transparent; cursor: pointer; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--trans);
}
.cart-item-remove:hover { border-color: #E53935; color: #E53935; background: #FFF0F0; }

/* Cart summary */
.cart-summary { padding: 16px 20px; border-top: 1px solid var(--divider); background: #F8FAFF; }
.cart-savings { font-size: 12px; color: var(--sap-success); font-weight: 600; margin-bottom: 10px; text-align: center; background: var(--sap-success-bg); border: 1px solid #90CCA0; border-radius: 4px; padding: 5px 10px; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cart-total-label  { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.cart-total-amount { font-size: 20px; font-weight: 700; color: var(--text-primary); font-family: 'Inter Tight', sans-serif; }
.cart-note { font-size: 11px; color: var(--text-muted); text-align: center; }

/* Cart actions */
.cart-actions { padding: 16px 20px 8px; display: flex; flex-direction: column; gap: 8px; }
.cart-checkout-btn {
  width: 100%; padding: 14px; border-radius: 4px;
  background: var(--sap-blue); color: #fff;
  font-size: 15px; font-weight: 700; border: none; cursor: pointer;
  transition: background var(--trans); font-family: 'Inter Tight', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cart-checkout-btn:hover { background: #0055B8; }
.cart-checkout-btn:disabled { opacity: .65; cursor: not-allowed; }
.cart-clear-btn {
  width: 100%; padding: 8px; border-radius: 4px;
  background: transparent; color: var(--text-muted);
  font-size: 12px; border: 1px solid var(--card-border); cursor: pointer;
  transition: all var(--trans);
}
.cart-clear-btn:hover { border-color: #E53935; color: #E53935; }

/* Trust badges */
.cart-trust {
  padding: 10px 20px 16px;
  display: flex; justify-content: center; gap: 16px;
  font-size: 11px; color: var(--text-muted);
}

/* ── Tile Add to Cart button ──────────────────────────────── */
.tile-cart-btn {
  width: 100%; padding: 7px 10px;
  background: var(--sap-blue); color: #fff;
  border: none; border-radius: 0 0 4px 4px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: background var(--trans); font-family: 'Inter Tight', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.tile-cart-btn:hover { background: #0055B8; }
.tile-cart-btn.in-cart { background: var(--sap-success); }
.tile-cart-btn.in-cart:hover { background: #0A5C2B; }

/* ═══════════════════════════════════════════════════════════
   INTERACTIVE GUIDE PLAYER — split screen layout
   ═══════════════════════════════════════════════════════════ */

/* Shell — fills the entire guide-content-panel */
.gp-shell {
  display: flex; height: 100%; overflow: hidden;
  font-family: 'Inter', -apple-system, sans-serif;
}

/* ── LEFT PANEL — process flow navigator ──────────────────── */
.gp-left {
  width: 260px; flex-shrink: 0;
  background: #fff; border-right: 1px solid var(--divider);
  display: flex; flex-direction: column; overflow: hidden;
}
.gp-flow-header {
  padding: 14px 16px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); border-bottom: 1px solid var(--divider);
  background: #F5F6F7; flex-shrink: 0;
}
.gp-flow-nav {
  flex: 1; overflow-y: auto; padding: 12px 8px;
}
.gp-flow-nav::-webkit-scrollbar { width: 3px; }
.gp-flow-nav::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 2px; }

/* Flow node */
.gp-flow-node {
  display: flex; gap: 0; cursor: pointer;
  border-radius: 6px; transition: background var(--trans);
  padding: 4px 4px 0; margin-bottom: 0;
}
.gp-flow-node:hover { background: var(--sap-blue-ghost); }
.gp-flow-node.active { background: var(--sap-blue-ghost); }
.gp-flow-node.done .gp-node-num { background: var(--sap-success); border-color: var(--sap-success); color: #fff; }

.gp-node-left {
  display: flex; flex-direction: column; align-items: center;
  width: 32px; flex-shrink: 0; padding-top: 4px;
}
.gp-node-num {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: #fff; border: 2px solid var(--card-border);
  color: var(--text-muted); font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--trans);
  font-family: 'Inter Tight', sans-serif;
}
.gp-flow-node.active .gp-node-num {
  background: var(--sap-blue); border-color: var(--sap-blue); color: #fff;
}
.gp-node-line {
  width: 2px; flex: 1; min-height: 16px;
  background: var(--divider); margin: 3px 0 0;
}
.gp-flow-node.done .gp-node-line { background: var(--sap-success); }
.gp-flow-node.active .gp-node-line { background: var(--sap-blue); }

.gp-node-content {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 4px 6px 12px; flex: 1; min-width: 0;
}
.gp-node-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.gp-node-info { flex: 1; min-width: 0; }
.gp-node-title {
  font-size: 12px; font-weight: 500; color: var(--text-primary);
  line-height: 1.35; word-break: break-word;
}
.gp-flow-node.active .gp-node-title { font-weight: 700; color: var(--sap-blue); }
.gp-node-tcode {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-muted); margin-top: 2px;
  background: #F0F4FF; padding: 1px 5px; border-radius: 3px;
  display: inline-block;
}

/* Progress bar */
.gp-progress {
  padding: 12px 14px; border-top: 1px solid var(--divider);
  flex-shrink: 0; background: #F5F6F7;
}
.gp-progress-label { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.gp-progress-bar { height: 6px; background: var(--divider); border-radius: 3px; overflow: hidden; }
.gp-progress-fill { height: 100%; background: var(--sap-blue); border-radius: 3px; transition: width .3s ease; }

/* ── RIGHT PANEL — step detail ────────────────────────────── */
.gp-right {
  flex: 1; display: flex; flex-direction: column;
  overflow: hidden; background: var(--page-bg);
}
.gp-step-view {
  flex: 1; overflow-y: auto; padding: 24px 28px 32px;
}
.gp-step-view::-webkit-scrollbar { width: 5px; }
.gp-step-view::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 3px; }

/* Step header */
.gp-step-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.gp-step-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px; font-size: 12px;
  font-weight: 600; color: #fff; letter-spacing: .02em;
}
.gp-step-num-badge {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
}
.gp-step-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 16px; line-height: 1.2; letter-spacing: -.3px;
}

/* Why box */
.gp-why-box {
  display: flex; gap: 10px; padding: 12px 16px;
  background: #EEF6FF; border: 1px solid #BDD8FF;
  border-radius: 8px; margin-bottom: 18px; font-size: 13.5px;
  color: #0A3D8F; line-height: 1.7;
}
.gp-why-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.gp-why-text { flex: 1; }

/* Navigation path */
.gp-nav-path {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  padding: 8px 12px; background: #F5F6F7; border-radius: 6px;
  margin-bottom: 18px; font-size: 12px;
}
.gp-nav-part { color: var(--sap-blue); font-weight: 500; }
.gp-nav-sep  { color: var(--text-muted); }

/* Screen wrapper */
.gp-screen-wrap {
  margin-bottom: 22px; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
}
.gp-screen-wrap svg { display: block; width: 100%; }

/* Fields table */
.gp-fields-section { margin-bottom: 22px; }
.gp-fields-title {
  font-size: 13px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 10px; font-family: 'Inter Tight', sans-serif;
}
.gp-fields-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
  border-radius: 8px; overflow: hidden; border: 1px solid var(--card-border);
}
.gp-fields-table th {
  background: var(--sap-blue); color: #fff; padding: 9px 14px;
  text-align: left; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  font-family: 'Inter Tight', sans-serif;
}
.gp-fields-table td { padding: 10px 14px; border-bottom: 1px solid #F0F0F0; vertical-align: top; }
.gp-fields-table tr:last-child td { border-bottom: none; }
.gp-fields-table tr:nth-child(even) td { background: #F8FAFF; }
.gp-field-highlight td { background: #FFFBEB !important; border-left: 3px solid #C87500; }
.gp-field-name { font-weight: 600; color: var(--text-primary); }
.gp-field-req  { color: #E53935; font-weight: 700; margin-left: 2px; }
.gp-field-value {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  background: #EEF4FF; border: 1px solid #C5D8FF;
  color: #1A4DB8; padding: 2px 8px; border-radius: 4px;
  display: inline-block;
}
.gp-field-note { font-size: 12px; color: var(--text-secondary); line-height: 1.55; }

/* Instructions list */
.gp-instructions { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.gp-instruction-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 14px; background: #fff;
  border: 1px solid var(--card-border); border-radius: 6px;
}
.gp-inst-num {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--sap-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; font-family: 'Inter Tight', sans-serif;
}
.gp-inst-text { font-size: 13.5px; color: var(--text-primary); line-height: 1.65; padding-top: 2px; }

/* Before / After */
.gp-before-after { margin-bottom: 22px; }
.gp-ba-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; font-family: 'Inter Tight', sans-serif; }
.gp-ba-row   { display: flex; align-items: center; gap: 12px; }
.gp-ba-box   { flex: 1; padding: 14px 16px; border-radius: 8px; }
.gp-ba-before { background: #FFF0F0; border: 1px solid #FFAAAA; }
.gp-ba-after  { background: #EDFFF4; border: 1px solid #9DE0B8; }
.gp-ba-label  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; font-family: 'Inter Tight', sans-serif; }
.gp-ba-before .gp-ba-label { color: #B00; }
.gp-ba-after  .gp-ba-label { color: #0A5C2B; }
.gp-ba-content { font-size: 13px; color: var(--text-primary); line-height: 1.6; }
.gp-ba-arrow   { font-size: 20px; color: var(--sap-blue); font-weight: 700; flex-shrink: 0; }

/* Tip / Warning */
.gp-tip-box, .gp-warn-box {
  display: flex; gap: 10px; padding: 12px 16px; border-radius: 8px;
  margin-bottom: 18px; font-size: 13px; line-height: 1.7;
}
.gp-tip-box  { background: #EDFFF4; border: 1px solid #9DE0B8; color: #0A5C2B; }
.gp-warn-box { background: #FFFBEB; border: 1px solid #F5D87A; color: #7A4A00; }
.gp-tip-icon, .gp-warn-icon { font-size: 16px; flex-shrink: 0; }
.gp-tip-text, .gp-warn-text { flex: 1; }

/* Complete card */
.gp-complete-card {
  text-align: center; padding: 48px 32px; max-width: 520px; margin: 0 auto;
}
.gp-complete-icon  { font-size: 56px; margin-bottom: 20px; }
.gp-complete-title { font-family: 'Inter Tight', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.gp-complete-sub   { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.gp-complete-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Navigation bar */
.gp-nav-bar {
  padding: 14px 24px; background: #fff; border-top: 1px solid var(--divider);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.gp-nav-left, .gp-nav-right { min-width: 120px; }
.gp-nav-right { text-align: right; }
.gp-nav-center { display: flex; gap: 6px; align-items: center; }
.gp-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--card-border); cursor: pointer;
  transition: all var(--trans);
}
.gp-dot.active { background: var(--sap-blue); width: 20px; border-radius: 4px; }
.gp-dot.done   { background: var(--sap-success); }
.gp-btn-prev, .gp-btn-next {
  padding: 8px 18px; border-radius: 4px; font-size: 13px;
  font-weight: 600; cursor: pointer; transition: all var(--trans);
  font-family: 'Inter Tight', sans-serif;
}
.gp-btn-prev {
  background: transparent; border: 1px solid var(--card-border);
  color: var(--text-secondary);
}
.gp-btn-prev:hover { border-color: var(--sap-blue); color: var(--sap-blue); }
.gp-btn-next {
  background: var(--sap-blue); border: 1px solid var(--sap-blue); color: #fff;
}
.gp-btn-next:hover { background: #0055B8; }
.gp-btn-complete { background: var(--sap-success); border-color: var(--sap-success); }
.gp-btn-complete:hover { background: #1A5C2A; }

/* Responsive */
@media (max-width: 900px) {
  .gp-shell { flex-direction: column; }
  .gp-left  { width: 100%; border-right: none; border-bottom: 1px solid var(--divider); max-height: 200px; }
  .gp-flow-nav { display: flex; gap: 0; flex-direction: row; overflow-x: auto; padding: 8px; }
  .gp-flow-node { flex-direction: column; min-width: 100px; }
  .gp-node-line { display: none; }
  .gp-step-view { padding: 16px 16px 24px; }
}
