/* ===================================================
   HubFold — Main Stylesheet
   Design: Premium light SaaS, Inter typography
=================================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f9fafb; color: #111827; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a, button { cursor: pointer; text-decoration: none; background: none; border: none; font-family: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }
.hidden { display: none !important; }
.w-full { width: 100%; }
.flex { display: flex; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.gap-2 { gap: 0.5rem; }
.flex-wrap { flex-wrap: wrap; }

/* ---- Colors ---- */
:root {
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-pale: #eff6ff;
  --blue-mid: #dbeafe;
  --indigo: #4f46e5;
  --indigo-pale: #eef2ff;
  --violet: #7c3aed;
  --violet-pale: #f5f3ff;
  --slate: #475569;
  --slate-pale: #f1f5f9;
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --surface-3: #f3f4f6;
  --accent: #2563eb;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.10), 0 8px 20px rgba(0,0,0,0.06);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

/* ---- Text Accent ---- */
.text-accent { color: var(--accent); }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===================== NAV ===================== */
.nav-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1260px; margin: 0 auto; padding: 0 1.5rem; height: 64px; gap: 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; color: var(--text-primary); }
.logo-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; display: block; transform: scale(1.34); transform-origin: center; }
.logo-sm { width: 26px; height: 26px; font-size: 0.75rem; border-radius: 6px; }
.logo-sm img { transform: scale(1.4); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; flex: 1; justify-content: center; }
.nav-link { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); padding: 6px 10px; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.nav-link:hover { color: var(--text-primary); background: var(--surface-3); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-hamburger { display: none; background: none; border: none; font-size: 1.1rem; color: var(--text-muted); padding: 6px; }
.nav-mobile { display: none; flex-direction: column; padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--border); background: white; gap: 0.25rem; }
.nav-mobile.open { display: flex; }
.nav-mobile-link { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); padding: 10px 12px; border-radius: 8px; transition: background 0.2s; }
.nav-mobile-link:hover { background: var(--surface-3); }
.nav-mobile-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ===================== BUTTONS ===================== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: white; font-size: 0.875rem; font-weight: 600; padding: 10px 20px; border-radius: 8px; transition: background 0.2s, box-shadow 0.2s, transform 0.15s; border: 1.5px solid transparent; }
.btn-primary:hover { background: #1d4ed8; box-shadow: 0 4px 14px rgba(37,99,235,0.35); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.75; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-primary.btn-lg { padding: 13px 26px; font-size: 0.95rem; border-radius: 10px; }
.btn-primary.btn-sm { padding: 8px 16px; font-size: 0.8rem; border-radius: 7px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--blue); font-size: 0.875rem; font-weight: 600; padding: 10px 20px; border-radius: 8px; border: 1.5px solid var(--blue); transition: background 0.2s, transform 0.15s; }
.btn-outline:hover { background: var(--blue-pale); transform: translateY(-1px); }
.btn-outline.btn-lg { padding: 13px 26px; font-size: 0.95rem; border-radius: 10px; }
.btn-outline.btn-sm { padding: 7px 14px; font-size: 0.8rem; border-radius: 7px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--text-secondary); font-size: 0.875rem; font-weight: 500; padding: 9px 16px; border-radius: 8px; border: 1.5px solid var(--border); transition: background 0.2s, border-color 0.2s; }
.btn-ghost:hover { background: var(--surface-3); border-color: #d1d5db; }
.btn-ghost.btn-sm { padding: 7px 14px; font-size: 0.8rem; border-radius: 7px; }
.btn-ghost.btn-xs { padding: 4px 10px; font-size: 0.75rem; border-radius: 6px; }
.btn-danger { display: inline-flex; align-items: center; gap: 8px; background: var(--danger); color: white; font-size: 0.875rem; font-weight: 600; padding: 10px 20px; border-radius: 8px; border: none; transition: background 0.2s; }
.btn-danger:hover { background: #b91c1c; }

/* ===================== SECTIONS ===================== */
.section { padding: 80px 0; }
.section.bg-subtle { background: var(--surface-2); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); background: var(--blue-pale); border: 1px solid var(--blue-mid); padding: 4px 12px; border-radius: 100px; margin-bottom: 16px; }
.section-header h2 { font-size: 2.25rem; font-weight: 800; line-height: 1.22; color: var(--text-primary); }
.section-desc { margin-top: 12px; color: var(--text-muted); font-size: 1rem; }
.section-cta-note { text-align: center; margin-top: 48px; color: var(--text-muted); font-size: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===================== HERO ===================== */
.hero-section { background: white; padding: 100px 0 80px; margin-top: 64px; overflow: hidden; position: relative; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 60% -10%, rgba(37,99,235,0.05) 0%, transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; color: var(--blue); background: var(--blue-pale); border: 1px solid var(--blue-mid); padding: 5px 14px; border-radius: 100px; margin-bottom: 20px; }
.hero-headline { font-size: 3rem; font-weight: 900; line-height: 1.12; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 20px; }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 520px; line-height: 1.7; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-support { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.support-point { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: var(--text-secondary); font-weight: 500; }
.support-point i { color: var(--success); font-size: 0.8rem; flex-shrink: 0; }

/* ---- Flow Diagram ---- */
.hero-visual { position: relative; }
.flow-diagram { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px 24px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.flow-diagram::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--indigo), var(--violet)); }
.flow-label { text-align: center; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 14px; }
.flow-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.flow-source { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); }
.flow-source i { color: var(--blue); width: 16px; text-align: center; }
.flow-arrow-block { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 18px; }
.flow-arrows { display: flex; justify-content: center; gap: 20px; }
.flow-arrows span { width: 2px; height: 20px; background: linear-gradient(to bottom, var(--border), var(--blue-light)); border-radius: 2px; }
.flow-engine { background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%); border-radius: var(--radius); padding: 14px 20px; text-align: center; width: 100%; box-shadow: 0 4px 16px rgba(37,99,235,0.3); }
.engine-icon { color: white; font-size: 1.25rem; margin-bottom: 4px; }
.engine-label { color: white; font-weight: 700; font-size: 0.9rem; }
.engine-sub { color: rgba(255,255,255,0.75); font-size: 0.72rem; margin-top: 2px; }
.flow-arrow-down { width: 2px; height: 20px; background: linear-gradient(to bottom, var(--blue-light), var(--border)); border-radius: 2px; }
.flow-folders { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flow-folder { display: flex; align-items: center; gap: 8px; border-radius: 10px; padding: 10px 12px; font-size: 0.8rem; font-weight: 600; border: 1px solid transparent; }
.folder-blue { background: var(--blue-pale); color: var(--blue); border-color: var(--blue-mid); }
.folder-indigo { background: var(--indigo-pale); color: var(--indigo); border-color: #c7d2fe; }
.folder-violet { background: var(--violet-pale); color: var(--violet); border-color: #ddd6fe; }
.folder-slate { background: var(--slate-pale); color: var(--slate); border-color: #e2e8f0; }

/* ===================== PAIN CARDS ===================== */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; transition: box-shadow 0.2s, border-color 0.2s; }
.pain-card:hover { box-shadow: var(--shadow-md); border-color: #d1d5db; }
.pain-icon { width: 40px; height: 40px; background: #fef2f2; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #dc2626; font-size: 1rem; flex-shrink: 0; }
.pain-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.55; }

/* ===================== STEPS ===================== */
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.step-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: box-shadow 0.2s; }
.step-card:hover { box-shadow: var(--shadow-md); }
.step-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--indigo)); }
.step-num { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 12px; }
.step-icon { width: 48px; height: 48px; background: var(--blue-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.1rem; margin: 0 auto 14px; }
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.step-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }
.step-connector { display: flex; align-items: center; justify-content: center; padding: 0 12px; color: var(--text-faint); font-size: 0.9rem; margin-top: 40px; }

/* ===================== WHO IT'S FOR ===================== */
.roles-industries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.roles-block { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.block-label { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 18px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; background: var(--surface-3); border: 1px solid var(--border); border-radius: 100px; font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); transition: background 0.15s, border-color 0.15s; }
.chip:hover { background: var(--blue-pale); border-color: var(--blue-mid); color: var(--blue); }
.chip-alt { background: var(--indigo-pale); border-color: #c7d2fe; color: var(--indigo); }
.chip-alt:hover { background: #e0e7ff; }

/* ===================== FEATURE CARDS ===================== */
.feature-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s; }
.feature-card:hover { box-shadow: var(--shadow-md); border-color: #d1d5db; transform: translateY(-2px); }
.feature-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 14px; }
.fi-blue { background: var(--blue-pale); color: var(--blue); }
.fi-indigo { background: var(--indigo-pale); color: var(--indigo); }
.fi-violet { background: var(--violet-pale); color: var(--violet); }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.feature-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* ===================== BENEFITS ===================== */
.benefits-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.benefits-text .section-label { display: inline-flex; }
.benefits-text h2 { font-size: 2rem; font-weight: 800; line-height: 1.25; margin: 12px 0 24px; }
.benefits-list { display: flex; flex-direction: column; gap: 14px; }
.benefit-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }
.benefit-item i { width: 20px; height: 20px; background: #dcfce7; color: var(--success); border-radius: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; }
.benefits-stat-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-block { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); text-align: center; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--blue); letter-spacing: -0.02em; }
.stat-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; line-height: 1.4; }

/* ===================== WORKFLOW ===================== */
.workflow-steps { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.workflow-step { display: grid; grid-template-columns: 24px 1fr; gap: 24px; padding-bottom: 32px; position: relative; }
.workflow-step:not(:last-child)::after { content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--blue-mid), transparent); }
.ws-dot { width: 24px; height: 24px; border-radius: 100%; background: var(--blue); flex-shrink: 0; margin-top: 2px; box-shadow: 0 0 0 4px var(--blue-pale); }
.ws-dot-2 { background: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-pale); }
.ws-dot-3 { background: var(--violet); box-shadow: 0 0 0 4px var(--violet-pale); }
.ws-dot-4 { background: #0891b2; box-shadow: 0 0 0 4px #e0f2fe; }
.ws-dot-5 { background: var(--success); box-shadow: 0 0 0 4px #dcfce7; }
.ws-content { display: flex; align-items: flex-start; gap: 16px; padding-top: 1px; }
.ws-num { width: 32px; height: 32px; background: white; border: 1.5px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; color: var(--text-muted); flex-shrink: 0; }
.ws-text strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.ws-text p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.55; }

/* ===================== TRUST ===================== */
.trust-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust-chip { display: flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 18px; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); box-shadow: var(--shadow-sm); }
.trust-chip i { color: var(--blue); }

/* ===================== CTA SECTION ===================== */
.cta-section { padding: 80px 0; }
.cta-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 56px 56px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--indigo), var(--violet)); }
.cta-content h2 { font-size: 2rem; font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.cta-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 28px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-panel { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; }
.cp-row { display: flex; align-items: center; gap: 8px; }
.cp-header { background: var(--surface-3); border-radius: 8px; padding: 8px 12px; margin-bottom: 12px; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.cp-dot { width: 8px; height: 8px; border-radius: 100%; }
.cp-green { background: var(--success); box-shadow: 0 0 6px rgba(22,163,74,0.5); }
.cp-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 0.82rem; }
.cp-item:last-of-type { border-bottom: none; }
.cp-item i { width: 16px; text-align: center; }
.cp-item span:first-of-type { flex: 1; color: var(--text-secondary); }
.cp-tag { font-size: 0.72rem; font-weight: 600; color: var(--blue); background: var(--blue-pale); padding: 2px 8px; border-radius: 100px; }
.cp-footer { margin-top: 12px; display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--success); padding-top: 10px; border-top: 1px solid var(--border-light); }

/* ===================== PAGE HERO VARIANTS ===================== */
.page-hero { background: white; padding: 100px 0 80px; margin-top: 64px; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.page-hero-content .section-label { display: inline-flex; }
.page-hero-content h1 { font-size: 2.6rem; font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; margin: 14px 0 18px; }
.page-hero-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.page-hero-simple { background: white; padding: 100px 0 60px; margin-top: 64px; border-bottom: 1px solid var(--border); }
.page-hero-simple .section-label { display: inline-flex; margin-bottom: 16px; }
.page-hero-simple h1 { font-size: 2.6rem; font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; max-width: 700px; }
.page-hero-sub { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; max-width: 600px; margin-top: 14px; }

/* ---- Product Mock ---- */
.product-mock { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.pm-header { background: var(--surface-3); border-bottom: 1px solid var(--border); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.pm-dot { width: 10px; height: 10px; border-radius: 100%; }
.pm-dot.r { background: #ef4444; } .pm-dot.y { background: #eab308; } .pm-dot.g { background: #22c55e; }
.pm-title { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-left: 6px; }
.pm-body { padding: 20px; }
.pm-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.pm-stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; text-align: center; }
.pms-val { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); }
.pms-label { font-size: 0.68rem; color: var(--text-faint); margin-top: 2px; }
.pm-feed-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin-bottom: 10px; }
.pm-feed { display: flex; flex-direction: column; gap: 2px; }
.pm-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 0.82rem; transition: background 0.15s; }
.pm-row:hover { background: var(--surface-2); }
.pm-row span:first-of-type { flex: 1; color: var(--text-secondary); font-weight: 500; }
.pm-dest { font-size: 0.72rem; color: var(--blue); font-weight: 600; background: var(--blue-pale); padding: 2px 8px; border-radius: 100px; }

/* ===================== PRODUCT DETAILS ===================== */
.product-detail-list { display: flex; flex-direction: column; gap: 0; }
.pd-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--border); align-items: start; }
.pd-item:last-child { border-bottom: none; }
.pd-icon { width: 48px; height: 48px; background: var(--blue-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.1rem; margin-top: 4px; }
.pd-text h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.pd-text p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ===================== FEATURES DETAIL ===================== */
.features-detail-list { display: flex; flex-direction: column; gap: 20px; }
.fdi-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 56px 1fr; gap: 24px; transition: box-shadow 0.2s; }
.fdi-card:hover { box-shadow: var(--shadow-md); }
.fdi-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.fdi-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; }
.fdi-meta { display: flex; flex-direction: column; gap: 10px; }
.fdi-meta-item { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.fdi-meta-item strong { color: var(--text-secondary); }
.fdi-outcome { background: var(--blue-pale); border: 1px solid var(--blue-mid); border-radius: 8px; padding: 10px 14px; color: var(--blue); display: flex; align-items: flex-start; gap: 8px; }
.fdi-outcome i { margin-top: 2px; flex-shrink: 0; }
.fdi-outcome strong { color: var(--blue); }

/* ===================== USE CASES ===================== */
.usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.uc-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.uc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.uc-icon { width: 44px; height: 44px; background: var(--blue-pale); border-radius: 11px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1rem; margin-bottom: 14px; }
.uc-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.uc-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ===================== INDUSTRIES ===================== */
.industry-list { display: flex; flex-direction: column; gap: 24px; }
.industry-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ic-header { display: flex; align-items: center; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.15s; }
.ic-header:hover { background: var(--surface-2); }
.ic-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ic-header h3 { font-size: 1rem; font-weight: 700; flex: 1; }
.ic-toggle { color: var(--text-faint); font-size: 0.85rem; transition: transform 0.2s; }
.ic-body { padding: 0 28px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.ic-body.open { max-height: 400px; padding: 24px 28px; }
.ic-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ic-col h5 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin-bottom: 10px; }
.ic-col ul { display: flex; flex-direction: column; gap: 6px; }
.ic-col ul li { font-size: 0.83rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 6px; }
.ic-col ul li::before { content: ''; width: 5px; height: 5px; border-radius: 100%; background: var(--blue); margin-top: 7px; flex-shrink: 0; }

/* ===================== PRICING ===================== */
.industry-selector-block { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 40px; box-shadow: var(--shadow-sm); }
.isb-header { margin-bottom: 20px; }
.isb-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.isb-header p { font-size: 0.83rem; color: var(--text-muted); }
.isb-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.isb-btn { padding: 7px 14px; background: var(--surface-2); border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); transition: all 0.15s; cursor: pointer; }
.isb-btn:hover { border-color: var(--blue-light); color: var(--blue); background: var(--blue-pale); }
.isb-btn.selected { background: var(--blue); color: white; border-color: var(--blue); }
.isb-selected { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; font-size: 0.85rem; color: #15803d; font-weight: 500; }
.isb-selected i { color: #16a34a; }
.pricing-plan-shell { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; margin-bottom: 52px; box-shadow: var(--shadow-sm); }
.pricing-plan-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.pricing-plan-copy h3 { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.pricing-plan-copy p { font-size: 0.85rem; color: var(--text-muted); max-width: 540px; }
.billing-toggle-row { display: flex; align-items: center; justify-content: center; gap: 14px; background: white; border: 1px solid var(--border); border-radius: 100px; padding: 10px 14px; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.bt-label { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); transition: color 0.2s; }
.bt-label.active { color: var(--text-primary); }
.billing-toggle { position: relative; width: 48px; height: 26px; background: var(--border); border-radius: 100px; transition: background 0.25s; border: none; cursor: pointer; }
.billing-toggle.annual { background: var(--blue); }
.bt-knob { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: white; border-radius: 100%; transition: transform 0.25s; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.bt-knob.shifted { transform: translateX(22px); }
.bt-save { font-size: 0.72rem; font-weight: 700; background: #dcfce7; color: #15803d; padding: 2px 7px; border-radius: 100px; margin-left: 6px; }
.pricing-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 18px; }
.pricing-card { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px; transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s; position: relative; min-height: 100%; }
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pricing-card.popular { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1), var(--shadow-md); }
.popular-badge { position: absolute; top: 16px; right: 16px; background: var(--blue); color: white; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.pc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pc-name { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.pc-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.pc-cycle { background: var(--surface-2); border: 1px solid var(--border-light); border-radius: 100px; padding: 6px 10px; font-size: 0.74rem; font-weight: 700; color: var(--text-secondary); white-space: nowrap; }
.pc-price-block { display: flex; flex-direction: column; gap: 6px; }
.pc-price { display: flex; align-items: baseline; gap: 4px; }
.pc-price .amount { font-size: 2rem; font-weight: 900; color: var(--text-primary); letter-spacing: -0.02em; }
.pc-price .per { font-size: 0.8rem; color: var(--text-muted); }
.pc-billing-note { font-size: 0.8rem; color: var(--text-muted); }
.pc-savings { display: inline-flex; width: fit-content; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 100px; background: var(--surface-2); color: var(--text-secondary); font-size: 0.78rem; font-weight: 600; }
.pc-savings.annual { background: #dcfce7; color: #15803d; }
.pc-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.pc-meta-item { background: var(--surface-2); border: 1px solid var(--border-light); border-radius: 12px; padding: 12px; }
.pc-meta-label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 4px; }
.pc-meta-item strong { font-size: 0.86rem; color: var(--text-primary); line-height: 1.4; }
.pc-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-feat { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-secondary); }
.pc-feat i { color: var(--success); font-size: 0.72rem; width: 14px; flex-shrink: 0; }
.pricing-sales-note { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: white; border: 1px dashed var(--border); border-radius: 14px; font-size: 0.84rem; color: var(--text-muted); }
.pricing-sales-note i { color: var(--blue); }
.pricing-sales-note a { color: var(--blue); font-weight: 700; cursor: pointer; }
.pricing-compare-block { margin: 0 0 60px; }
.pricing-compare-block h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.compare-table th { background: var(--surface-3); padding: 12px 16px; text-align: left; font-weight: 700; font-size: 0.8rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.compare-table th:first-child { border-radius: 8px 0 0 0; } .compare-table th:last-child { border-radius: 0 8px 0 0; }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.compare-table tr:hover td { background: var(--surface-2); }
.ct-y { color: var(--success); } .ct-n { color: var(--text-faint); }
.pricing-faq { background: var(--surface-2); border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--border); }
.pricing-faq h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.pfaq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pfaq-item strong { display: block; font-size: 0.875rem; color: var(--text-primary); margin-bottom: 6px; }
.pfaq-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ===================== ABOUT ===================== */
.about-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.about-block { margin-bottom: 40px; }
.about-block h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; }
.about-block p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }
.mission-block blockquote { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; font-style: italic; padding-left: 20px; border-left: 3px solid var(--blue); }
.about-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }
.about-stat-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); text-align: center; }
.asc-num { font-size: 1.8rem; font-weight: 900; color: var(--blue); }
.asc-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.about-team-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.about-team-card h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin-bottom: 16px; }
.team-member { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.team-member:last-child { border-bottom: none; }
.tm-avatar { width: 36px; height: 36px; border-radius: 100%; background: var(--blue); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
.tm-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.tm-role { font-size: 0.75rem; color: var(--text-muted); }

/* ===================== FAQ ===================== */
.faq-container { max-width: 760px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; background: white; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--text-primary); transition: background 0.15s; }
.faq-question:hover { background: var(--surface-2); }
.faq-icon { color: var(--blue); transition: transform 0.2s; flex-shrink: 0; }
.faq-icon.open { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer.open { max-height: 300px; }
.faq-answer-inner { padding: 0 22px 18px; font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

/* ===================== BLOG ===================== */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.blog-featured { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.blog-featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--indigo)); }
.bf-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); background: var(--blue-pale); padding: 3px 10px; border-radius: 100px; display: inline-block; margin-bottom: 14px; }
.blog-featured h2 { font-size: 1.3rem; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.blog-featured p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.bf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; font-size: 0.78rem; color: var(--text-faint); }
.bf-meta i { margin-right: 4px; }
.blog-tag { background: var(--blue-pale); color: var(--blue); padding: 2px 8px; border-radius: 100px; font-weight: 600; }
.blog-cards { display: flex; flex-direction: column; gap: 14px; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; cursor: pointer; }
.blog-card:hover { box-shadow: var(--shadow-md); }
.bc-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--indigo); background: var(--indigo-pale); padding: 2px 8px; border-radius: 100px; display: inline-block; margin-bottom: 8px; }
.blog-card h4 { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; line-height: 1.4; }
.blog-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }
.bc-meta { display: flex; gap: 12px; margin-top: 10px; font-size: 0.75rem; color: var(--text-faint); }
.blog-topics { margin-top: 8px; }
.blog-topics h3 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 14px; }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.contact-form-block { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.cf-header { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.cf-header i { color: var(--blue); font-size: 1.1rem; }
.cf-header h3 { font-size: 1.05rem; font-weight: 700; }
.contact-info-block { display: flex; flex-direction: column; gap: 14px; }
.contact-info-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.ci-icon { color: var(--blue); font-size: 1.1rem; margin-bottom: 8px; }
.contact-info-card h4 { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.contact-info-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ===================== FORMS ===================== */
.form-body { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.form-input { padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.875rem; color: var(--text-primary); background: white; transition: border-color 0.2s, box-shadow 0.2s; outline: none; width: 100%; }
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-input::placeholder { color: var(--text-faint); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 40px; }
.pw-wrap button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-faint); font-size: 0.85rem; background: none; border: none; cursor: pointer; }
.pw-wrap button:hover { color: var(--text-muted); }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); cursor: pointer; }
.checkbox-label input { accent-color: var(--blue); width: 14px; height: 14px; }
.link-sm { font-size: 0.82rem; color: var(--blue); font-weight: 500; }
.link-sm:hover { text-decoration: underline; }
.link-accent { color: var(--blue); font-weight: 600; }
.link-accent:hover { text-decoration: underline; }
.form-section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); padding-top: 8px; border-top: 1px solid var(--border); margin-top: 4px; }
.label-optional { font-size: 0.74rem; color: var(--text-faint); font-weight: 500; }

/* ===================== AUTH PAGES ===================== */
.auth-page { min-height: 100vh; background: var(--surface-2); }
.auth-container { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-card { background: white; padding: 48px 48px; display: flex; flex-direction: column; justify-content: center; max-width: 500px; width: 100%; margin: 0 auto; }
.auth-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; color: var(--text-primary); margin-bottom: 32px; cursor: pointer; width: fit-content; }
.auth-logo-mark { width: 124px; max-width: 100%; height: auto; display: block; }
.auth-card h2 { font-size: 1.6rem; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.auth-sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }
.auth-switch { font-size: 0.84rem; color: var(--text-muted); text-align: center; margin-top: 20px; }
.auth-switch-muted { font-size: 0.78rem; color: var(--text-faint); }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-faint); margin-top: 16px; background: none; border: none; cursor: pointer; transition: color 0.2s; }
.auth-back:hover { color: var(--text-muted); }
.portal-auth-feedback { border-radius: 10px; padding: 12px 14px; font-size: 0.82rem; line-height: 1.6; display: flex; gap: 10px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; margin-top: 14px; }
.portal-auth-feedback.info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.portal-auth-feedback.error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.admin-auth-feedback { border-radius: 10px; padding: 12px 14px; font-size: 0.82rem; line-height: 1.6; display: flex; gap: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; margin-top: 14px; }
.admin-auth-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.auth-side { background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #4338ca 100%); display: flex; align-items: center; justify-content: center; padding: 48px; }
.auth-side-content { max-width: 380px; color: white; }
.asc-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); padding: 5px 12px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; margin-bottom: 24px; }
.auth-side-content h3 { font-size: 1.6rem; font-weight: 800; line-height: 1.3; margin-bottom: 14px; }
.auth-side-content p { font-size: 0.875rem; opacity: 0.8; line-height: 1.7; margin-bottom: 24px; }
.asc-features { display: flex; flex-direction: column; gap: 12px; }
.asc-f { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; opacity: 0.9; }
.asc-f i { color: #86efac; flex-shrink: 0; }
.asc-steps { display: flex; flex-direction: column; gap: 12px; }
.ass-row { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; opacity: 0.9; }
.ass-num { width: 24px; height: 24px; border-radius: 100%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }

/* ===================== CHECKOUT ===================== */
.checkout-container { min-height: 100vh; background: var(--surface-2); }
.checkout-header { display: flex; align-items: center; justify-content: space-between; background: white; border-bottom: 1px solid var(--border); padding: 16px 40px; flex-wrap: wrap; gap: 16px; }
.checkout-progress { display: flex; align-items: center; gap: 0; }
.cp-step { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--text-faint); padding: 6px 14px; border-radius: 100px; }
.cp-step.cp-active { color: var(--blue); background: var(--blue-pale); }
.cp-step.cp-done { color: var(--success); }
.cp-line { width: 32px; height: 2px; background: var(--border); }
.checkout-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; max-width: 1000px; margin: 40px auto; padding: 0 40px 60px; align-items: start; }
.checkout-summary h3, .checkout-form-block h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.cs-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.cs-plan-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0; }
.cs-plan-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.cs-plan-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.cs-plan-price { font-size: 1.4rem; font-weight: 900; color: var(--text-primary); white-space: nowrap; }
.cs-plan-price span { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; }
.cs-divider { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.cs-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.83rem; padding: 5px 0; }
.cs-key { color: var(--text-muted); }
.cs-val { font-weight: 600; color: var(--text-secondary); }
.cs-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--text-primary); }
.cs-total-row strong { font-size: 1.1rem; color: var(--text-primary); }
.cs-notice { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 12px 14px; font-size: 0.8rem; color: #92400e; line-height: 1.6; display: flex; gap: 8px; margin-bottom: 10px; }
.cs-notice i { color: #d97706; margin-top: 2px; flex-shrink: 0; }
.cs-secure { font-size: 0.76rem; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }
.checkout-form-block { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.checkout-intro { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 18px; }
.checkout-provider-note { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 12px 14px; font-size: 0.82rem; color: #1e3a8a; line-height: 1.6; display: flex; gap: 10px; }
.checkout-provider-note i { margin-top: 2px; color: #2563eb; flex-shrink: 0; }
.checkout-feedback { border-radius: 10px; padding: 12px 14px; font-size: 0.82rem; line-height: 1.6; display: flex; gap: 10px; margin-top: 14px; }
.checkout-feedback i { margin-top: 2px; flex-shrink: 0; }
.checkout-feedback.info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.checkout-feedback.error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.card-input-wrap { position: relative; }
.card-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }
.checkout-terms { font-size: 0.75rem; color: var(--text-faint); text-align: center; margin-top: 10px; line-height: 1.5; }
.checkout-terms a { color: var(--blue); }

/* ===================== SUCCESS PAGE ===================== */
.success-container { min-height: 100vh; background: var(--surface-2); display: flex; align-items: flex-start; justify-content: center; padding: 60px 20px; }
.success-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 48px; max-width: 680px; width: 100%; box-shadow: var(--shadow-lg); text-align: center; }
.success-icon { width: 64px; height: 64px; background: #dcfce7; border-radius: 100%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--success); font-size: 1.8rem; }
.success-card h1 { font-size: 1.8rem; font-weight: 900; color: var(--text-primary); margin-bottom: 10px; }
.success-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.success-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 32px; text-align: left; }
.sd-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.sd-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin-bottom: 6px; }
.sd-val { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.license-key-display { font-family: 'Courier New', monospace; letter-spacing: 0.05em; color: var(--blue); font-size: 0.95rem; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 12px; background: var(--blue-pale); color: var(--blue); border: 1px solid var(--blue-mid); border-radius: 6px; font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: background 0.15s; }
.copy-btn:hover { background: var(--blue-mid); }
.success-next-steps { text-align: left; background: var(--surface-2); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; border: 1px solid var(--border); }
.success-next-steps h3 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin-bottom: 16px; }
.sns-list { display: flex; flex-direction: column; gap: 12px; }
.sns-item { display: flex; align-items: center; gap: 14px; font-size: 0.875rem; color: var(--text-secondary); }
.sns-num { width: 24px; height: 24px; border-radius: 100%; background: var(--blue); color: white; font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.success-activation-note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 14px 16px; font-size: 0.82rem; color: #92400e; text-align: left; display: flex; gap: 10px; margin-bottom: 28px; line-height: 1.6; }
.success-activation-note i { color: #d97706; margin-top: 2px; flex-shrink: 0; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===================== APP SHELL ===================== */
#app-shell { display: flex; flex-direction: column; height: 100vh; overflow: hidden; background: var(--surface-2); }
.app-topbar { height: 60px; background: white; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; flex-shrink: 0; box-shadow: var(--shadow-sm); z-index: 100; }
.app-topbar-left { display: flex; align-items: center; gap: 14px; }
.app-topbar-right { display: flex; align-items: center; gap: 10px; }
.sidebar-toggle { background: none; border: none; color: var(--text-muted); font-size: 1rem; padding: 6px; border-radius: 6px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.sidebar-toggle:hover { background: var(--surface-3); color: var(--text-primary); }
.app-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; color: var(--text-primary); cursor: pointer; }
.app-workspace { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); background: var(--surface-3); border: 1px solid var(--border); padding: 5px 12px; border-radius: 8px; }
.app-workspace i { font-size: 0.75rem; }
.notif-btn { position: relative; background: none; border: none; color: var(--text-muted); font-size: 1rem; padding: 6px 10px; border-radius: 6px; cursor: pointer; transition: background 0.2s; }
.notif-btn:hover { background: var(--surface-3); }
.notif-dot { position: absolute; top: 6px; right: 8px; width: 6px; height: 6px; background: var(--blue); border-radius: 100%; }
.app-user-menu { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 5px 10px; border-radius: 8px; position: relative; transition: background 0.2s; }
.app-user-menu:hover { background: var(--surface-3); }
.user-avatar { width: 30px; height: 30px; background: var(--blue); color: white; border-radius: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.app-user-menu > span { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); }
.user-chev { font-size: 0.7rem; color: var(--text-faint); }
.user-dropdown { position: absolute; top: calc(100% + 6px); right: 0; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); min-width: 180px; display: none; z-index: 300; overflow: hidden; }
.user-dropdown.open { display: block; }
.user-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 0.82rem; color: var(--text-secondary); transition: background 0.15s; }
.user-dropdown a:hover { background: var(--surface-2); }
.user-dropdown a i { width: 14px; text-align: center; color: var(--text-faint); }
.ud-divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; }
.ud-logout { color: var(--danger) !important; }
.app-layout { display: flex; flex: 1; overflow: hidden; }
.app-sidebar { width: 220px; background: white; border-right: 1px solid var(--border); flex-shrink: 0; overflow-y: auto; transition: width 0.25s ease; }
.app-sidebar.collapsed { width: 56px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); transition: background 0.15s, color 0.15s; }
.sidebar-link:hover { background: var(--surface-2); color: var(--text-primary); }
.sidebar-link.active { background: var(--blue-pale); color: var(--blue); font-weight: 600; }
.sidebar-link i { width: 16px; text-align: center; flex-shrink: 0; }
.sidebar-divider { border: none; border-top: 1px solid var(--border); margin: 8px 0; }
.sidebar-link-out { color: var(--text-faint); }
.sidebar-link-out:hover { color: var(--text-muted); }
.app-content { flex: 1; overflow-y: auto; padding: 28px 32px; }
.app-page { max-width: 1100px; }
.ap-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.ap-title { font-size: 1.4rem; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.ap-sub { font-size: 0.83rem; color: var(--text-muted); }
.ap-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- Dashboard ---- */
.dash-stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 16px; }
.dash-stat { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm); }
.ds-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ds-blue { background: var(--blue-pale); color: var(--blue); }
.ds-indigo { background: var(--indigo-pale); color: var(--indigo); }
.ds-violet { background: var(--violet-pale); color: var(--violet); }
.ds-slate { background: var(--slate-pale); color: var(--slate); }
.ds-label { font-size: 0.72rem; color: var(--text-faint); font-weight: 500; margin-bottom: 3px; }
.ds-val { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); }
.dash-industry-row { background: var(--blue-pale); border: 1px solid var(--blue-mid); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dir-label { font-size: 0.75rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; }
.dir-badge { display: flex; align-items: center; gap: 6px; background: var(--blue); color: white; padding: 4px 12px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.dir-sub { font-size: 0.78rem; color: #3b82f6; }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.dash-panel { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.dash-panel h3 { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.dash-panel h3 i { color: var(--blue); }
.panel-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.getting-started-panel { grid-column: 1; }
.gs-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.gs-step { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--text-muted); }
.gs-dot { width: 22px; height: 22px; border-radius: 100%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; color: var(--text-faint); flex-shrink: 0; }
.gs-done .gs-dot { background: #dcfce7; color: var(--success); }
.gs-active .gs-dot { background: var(--blue); color: white; }
.gs-done span { text-decoration: line-through; color: var(--text-faint); }
.gs-active span { color: var(--text-primary); font-weight: 600; }
.onboard-note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 10px 12px; font-size: 0.78rem; color: #92400e; line-height: 1.5; display: flex; gap: 6px; }
.onboard-note i { color: #d97706; flex-shrink: 0; margin-top: 2px; }
.sub-status-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.ssc-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border-light); font-size: 0.82rem; }
.ssc-row:last-child { border-bottom: none; }
.ssc-row span:first-child { color: var(--text-muted); }
.status-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; }
.status-active { background: #dcfce7; color: #15803d; }
.status-inactive { background: var(--surface-3); color: var(--text-faint); }
.status-pending { background: #fef9c3; color: #854d0e; }
.support-quick-links { display: flex; flex-direction: column; gap: 8px; }
.support-link-btn { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); transition: background 0.15s, border-color 0.15s; text-align: left; cursor: pointer; }
.support-link-btn:hover { background: var(--blue-pale); border-color: var(--blue-mid); color: var(--blue); }
.support-link-btn i { color: var(--blue); width: 14px; text-align: center; }

/* ---- Licenses ---- */
.licenses-table-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.app-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.app-table th { background: var(--surface-3); padding: 11px 14px; text-align: left; font-weight: 700; font-size: 0.75rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--border); }
.app-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); vertical-align: middle; }
.app-table tr:hover td { background: var(--surface-2); }
.app-table tr:last-child td { border-bottom: none; }
.license-key-mono { font-family: 'Courier New', monospace; font-size: 0.78rem; color: var(--blue); }
.row-actions { display: flex; gap: 6px; }
.license-detail-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); display: none; }
.license-detail-card.open { display: block; }
.ldc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ldc-header h3 { font-size: 0.95rem; font-weight: 700; }
.close-btn { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 1rem; padding: 4px; }
.close-btn:hover { color: var(--text-primary); }
.ldc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.ldc-item { background: var(--surface-2); border-radius: 8px; padding: 12px 14px; border: 1px solid var(--border); }
.ldc-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin-bottom: 4px; }
.ldc-val { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }

/* ---- Downloads ---- */
.download-main-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.dmc-assigned-note { display: flex; align-items: center; gap: 8px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 10px 14px; font-size: 0.82rem; color: #15803d; font-weight: 500; margin-bottom: 20px; }
.dmc-assigned-note i { color: #16a34a; flex-shrink: 0; }
.dmc-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.dmc-edition { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: var(--text-primary); background: var(--blue-pale); border: 1px solid var(--blue-mid); padding: 6px 14px; border-radius: 100px; margin-bottom: 8px; width: fit-content; }
.dmc-edition i { color: var(--blue); }
.dmc-filename { font-size: 0.82rem; font-family: 'Courier New', monospace; color: var(--text-muted); margin-bottom: 12px; }
.dmc-meta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.dmc-meta-row span { font-size: 0.78rem; color: var(--text-faint); display: flex; align-items: center; gap: 5px; }
.dmc-meta-row i { color: var(--blue-light); }
.dmc-actions { flex-shrink: 0; }
.dpb { margin-top: 16px; }
.dpb-label { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.dpb-track { background: var(--border); border-radius: 100px; height: 6px; overflow: hidden; }
.dpb-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--indigo)); border-radius: 100px; width: 0; transition: width 0.3s; }
.download-version-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.download-version-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; }
.download-note-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.download-note-card i { color: var(--blue); }

/* ---- Billing ---- */
.billing-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-bottom: 20px; }
.billing-current-plan { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.bcp-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bcp-header h3 { font-size: 0.9rem; font-weight: 700; }
.bcp-plan-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.bcp-plan-name { font-size: 1.2rem; font-weight: 800; color: var(--text-primary); }
.bcp-plan-price { font-size: 1.6rem; font-weight: 900; color: var(--text-primary); }
.bcp-plan-price span { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }
.bcp-details { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.bcp-row { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--border-light); font-size: 0.82rem; }
.bcp-row:last-child { border-bottom: none; }
.bcp-row span { color: var(--text-muted); }
.bcp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.billing-payment-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.billing-payment-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; }
.pm-card-display { background: linear-gradient(135deg, #1e3a8a, #3b82f6); border-radius: 10px; padding: 18px; color: white; }
.pmc-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pmc-icon { font-size: 1.4rem; }
.pmc-row span { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; }
.pmc-expiry { font-size: 0.75rem; opacity: 0.8; }
.billing-invoices-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); overflow: hidden; }
.billing-invoices-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; }

/* ---- Account ---- */
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-form-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.account-form-card h4 { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; }
.account-form-card h4 i { color: var(--blue); }
.account-prefs-card { grid-column: 1 / -1; }
.pref-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.pref-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--border-light); }
.pref-item:last-child { border-bottom: none; }
.pref-label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.pref-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.toggle-sw { position: relative; width: 40px; height: 22px; border-radius: 100px; background: var(--border); border: none; cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
.toggle-sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 100%; background: white; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.toggle-sw.active { background: var(--blue); }
.toggle-sw.active::after { transform: translateX(18px); }

/* ---- Support ---- */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.support-kb-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.support-kb-card h4 { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.support-kb-card h4 i { color: var(--blue); }
.kb-topics { display: flex; flex-direction: column; gap: 4px; }
.kb-topic { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; font-size: 0.83rem; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: background 0.15s, border-color 0.15s; text-align: left; }
.kb-topic:hover { background: var(--blue-pale); border-color: var(--blue-mid); color: var(--blue); }
.kb-topic i:first-child { color: var(--blue); width: 14px; text-align: center; }
.kb-topic span { flex: 1; }
.kb-arr { color: var(--text-faint); font-size: 0.72rem; }
.support-form-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.support-form-card h4 { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; }
.support-form-card h4 i { color: var(--blue); }
.support-history-card { margin-top: 18px; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.support-history-card h4 { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.support-history-card h4 i { color: var(--blue); }
.support-request-list { display: flex; flex-direction: column; gap: 10px; }
.support-request-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.support-request-title { font-size: 0.84rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.support-request-meta { font-size: 0.75rem; color: var(--text-muted); }
.support-empty { font-size: 0.82rem; color: var(--text-muted); padding: 14px 0; }

/* ---- Admin ---- */
.admin-alert { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; border-radius: 12px; padding: 12px 14px; font-size: 0.82rem; line-height: 1.6; margin-bottom: 18px; }
.admin-alert.error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.admin-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.admin-stat-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.admin-stat-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 10px; }
.admin-stat-value { font-size: 1.8rem; font-weight: 900; color: var(--text-primary); line-height: 1.1; margin-bottom: 8px; }
.admin-stat-sub { font-size: 0.8rem; color: var(--text-muted); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); min-width: 0; }
.admin-card-wide { grid-column: 1 / -1; }
.admin-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.admin-card-head h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.admin-card-head p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.admin-table-wrap { overflow-x: auto; }
.admin-empty { text-align: center; color: var(--text-faint); font-size: 0.82rem; padding: 18px 12px !important; }
.admin-finance-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.admin-pill-group { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.admin-pill-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 10px; }
.admin-pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-pill { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: white; border: 1px solid var(--border); font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); }
.admin-feed { display: flex; flex-direction: column; gap: 12px; }
.admin-feed-item { display: grid; grid-template-columns: 160px 1fr; gap: 16px; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: var(--surface-2); }
.admin-feed-time { font-size: 0.75rem; color: var(--text-faint); font-weight: 600; }
.admin-feed-title { font-size: 0.84rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.admin-feed-detail { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 6px; }
.admin-feed-meta { font-size: 0.76rem; color: var(--text-faint); display: flex; flex-wrap: wrap; gap: 10px; }
.admin-user-cell strong, .admin-license-cell strong, .admin-money-cell strong { display: block; color: var(--text-primary); font-size: 0.82rem; }
.admin-user-cell span, .admin-license-cell span, .admin-money-cell span { display: block; color: var(--text-faint); font-size: 0.75rem; margin-top: 3px; }
.admin-status-tag { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: var(--surface-3); color: var(--text-muted); }
.admin-status-tag.success { background: #dcfce7; color: #15803d; }
.admin-status-tag.warn { background: #fef3c7; color: #92400e; }
.admin-status-tag.danger { background: #fee2e2; color: #b91c1c; }

/* ===================== MODAL ===================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 500; backdrop-filter: blur(4px); }
.modal-card { background: white; border-radius: var(--radius-lg); padding: 36px; max-width: 420px; width: 90%; box-shadow: var(--shadow-lg); text-align: center; }
.modal-icon { width: 52px; height: 52px; border-radius: 100%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.4rem; }
.modal-icon-warn { background: #fef2f2; color: var(--danger); }
.modal-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.modal-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 10px; justify-content: center; }

/* ===================== TOAST ===================== */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--text-primary); color: white; padding: 12px 18px; border-radius: var(--radius); display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 600; animation: slideToast 0.3s ease; }
.toast.hidden { display: none; }
.toast-icon { color: #86efac; }
@keyframes slideToast { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand-logo { width: 132px; max-width: 100%; height: auto; display: block; }
.footer-brand p { font-size: 0.82rem; color: var(--text-faint); line-height: 1.65; max-width: 220px; }
.footer-col h5 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col a { font-size: 0.83rem; color: var(--text-faint); padding: 5px 0; transition: color 0.2s; cursor: pointer; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.footer-bottom span { font-size: 0.78rem; color: var(--text-faint); }

/* ===================== PAGE TRANSITIONS ===================== */
.page { animation: pageFade 0.25s ease; }
@keyframes pageFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.app-page { animation: pageFade 0.2s ease; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-connector { display: none; }
  .benefits-split { grid-template-columns: 1fr; }
  .benefits-stat-panel { grid-template-columns: repeat(4,1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .about-sidebar { position: static; display: grid; grid-template-columns: repeat(3,1fr); }
  .pricing-plan-header { flex-direction: column; align-items: flex-start; }
  .pricing-cards { grid-template-columns: 1fr 1fr; }
  .dash-stat-row { grid-template-columns: repeat(2,1fr); }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .admin-stat-row { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-card-wide { grid-column: auto; }
  .getting-started-panel { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .billing-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .cta-visual { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: block; }
  .hero-headline { font-size: 2rem; }
  .page-hero-simple h1, .page-hero-content h1 { font-size: 1.8rem; }
  .section-header h2 { font-size: 1.7rem; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .feature-cards-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .roles-industries-grid { grid-template-columns: 1fr; }
  .pricing-plan-shell { padding: 22px 18px; }
  .billing-toggle-row { width: 100%; justify-content: space-between; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pc-head { flex-direction: column; }
  .pc-meta { grid-template-columns: 1fr; }
  .pfaq-grid { grid-template-columns: 1fr; }
  .auth-container { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-card { padding: 32px 24px; }
  .checkout-grid { grid-template-columns: 1fr; padding: 0 16px 40px; }
  .checkout-header { padding: 12px 16px; }
  .success-details-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .benefits-stat-panel { grid-template-columns: 1fr 1fr; }
  .admin-finance-summary { grid-template-columns: 1fr; }
  .admin-feed-item { grid-template-columns: 1fr; }
  .about-sidebar { display: flex; flex-direction: column; }
  .dash-stat-row { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .ldc-grid { grid-template-columns: 1fr 1fr; }
  .app-sidebar { position: fixed; top: 60px; left: 0; height: calc(100vh - 60px); z-index: 150; transform: translateX(-100%); transition: transform 0.25s; }
  .app-sidebar.mobile-open { transform: translateX(0); }
  .app-content { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ic-cols { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pain-grid { grid-template-columns: 1fr; }
  .dash-stat-row { grid-template-columns: 1fr; }
  .admin-stat-row { grid-template-columns: 1fr; }
  .modal-actions { flex-direction: column; }
  .success-actions { flex-direction: column; }
  .hero-ctas { flex-direction: column; }
  .cta-btns { flex-direction: column; }
}
