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

:root {
  --primary: #6C5CE7;
  --primary-dark: #5B4EC3;
  --primary-light: #EDE9FE;
  --primary-xlight: #F5F3FF;
  --text: #1A1423;
  --text-muted: #6B5B8A;
  --text-subtle: #9990B0;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-section: #F5F3FF;
  --border: #E5DFF5;
  --success: #22C55E;
  --radius: 0.875rem;
  --radius-sm: 0.5rem;
  --shadow: 0 4px 24px rgb(108 92 231 / .12);
  --shadow-sm: 0 2px 10px rgb(108 92 231 / .08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
p { color: var(--text-muted); }

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-weight: 800; font-size: 1.1rem; color: var(--text);
}
.nav-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #6C5CE7, #5B4EC3);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.85rem; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  padding: 0.4rem 0.85rem; border-radius: 0.5rem; transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active { background: var(--primary-light); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none; transition: all 0.15s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #6C5CE7, #5B4EC3);
  color: #fff; box-shadow: 0 2px 10px rgb(108 92 231 / .3);
}
.btn-primary:hover { background: linear-gradient(135deg, #5B4EC3, #4A3DAF); box-shadow: 0 3px 14px rgb(108 92 231 / .42); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: var(--radius-sm); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-section); color: var(--text); }

/* ── HERO ── */
.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-section) 100%);
  padding: 5.5rem 0 4rem;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary-light); color: var(--primary);
  padding: 0.35rem 1rem; border-radius: 99px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero h1 { max-width: 780px; margin: 0 auto 1.25rem; }
.hero h1 span { color: var(--primary); }
.hero p.lead {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 2.5rem;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.hero-micro { font-size: 0.8rem; color: var(--text-subtle); margin-top: 1rem; }

/* ── BADGE / PILL ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.75rem; border-radius: 99px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #DCFCE7; color: #166534; }
.badge-popular { background: var(--primary); color: #fff; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; text-align: center; }
.stat-number { font-size: 1.875rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.stat-label { font-size: 0.8rem; color: var(--text-subtle); margin-top: 0.2rem; }

/* ── CARDS ── */
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 24px; left: 10%; right: 10%;
  height: 1px; background: var(--border); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 1rem; box-shadow: 0 0 0 6px var(--bg-section);
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }

/* ── COMPARISON TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th {
  padding: 1rem 1.25rem; text-align: left; font-size: 0.8rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-subtle); border-bottom: 1px solid var(--border);
}
.compare-table td { padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .col-bad { color: var(--text-muted); }
.compare-table .col-good { color: var(--primary); font-weight: 600; }
.compare-table .col-label { color: var(--text); font-weight: 500; }
.compare-table tr:nth-child(even) td { background: var(--bg-soft); }
.check { color: var(--success); font-weight: 700; }
.cross { color: #EF4444; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.pricing-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.pricing-card.popular {
  border-color: var(--primary); border-width: 2px;
  box-shadow: var(--shadow);
}
.pricing-card .price { font-size: 2.25rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.pricing-card .price span { font-size: 1rem; font-weight: 500; color: var(--text-subtle); }
.pricing-divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.pricing-feature {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.6rem;
}
.pricing-feature .check { flex-shrink: 0; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; cursor: pointer; font-weight: 600; color: var(--text);
  list-style: none; font-size: 0.95rem; gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; color: var(--primary); font-size: 1.25rem; flex-shrink: 0; }
details[open] .faq-q::after { content: '−'; }
.faq-a { padding: 0 0 1.25rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── SECTION LABELS ── */
.section-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary); margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-subtitle { color: var(--text-muted); max-width: 560px; font-size: 1rem; }

/* ── PERSONA TABS ── */
.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.tab-btn {
  padding: 0.5rem 1.25rem; border-radius: 99px; border: 1.5px solid var(--border);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  background: var(--bg); color: var(--text-muted); transition: all 0.15s;
}
.tab-btn.active, .tab-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── ADDONS TABLE ── */
.addon-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.addon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.addon-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.addon-table tbody tr td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}
.addon-table tbody tr:last-child td { border-bottom: none; }
.addon-group-row td {
  padding: 0.6rem 1rem !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  background: var(--bg-section);
}
.addon-table-price {
  font-weight: 700;
  color: var(--text) !important;
}
.addon-table tbody tr:not(.addon-group-row):hover td {
  background: var(--primary-xlight);
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, #6C5CE7 0%, #5B4EC3 100%);
  padding: 4.5rem 0; text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
.cta-section .btn-white {
  background: #fff; color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-section .btn-white:hover { background: var(--primary-xlight); }
.cta-micro { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 1rem; }

/* ── FOOTER ── */
footer {
  background: var(--bg-soft); border-top: 1px solid var(--border);
  padding: 2rem 0; text-align: center;
}
footer p { font-size: 0.8rem; color: var(--text-subtle); }
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--primary); }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--primary-light); border: 1px solid var(--primary);
  border-radius: var(--radius-sm); padding: 1rem 1.5rem;
  font-size: 0.875rem; color: var(--primary);
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.highlight-box strong { color: var(--primary-dark); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAV DRAWER (mobile) ── */
.nav-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(108,92,231,0.1);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-drawer.open { max-height: 420px; }
.nav-drawer-inner { padding: 0.75rem 1.5rem 1.5rem; }
.nav-drawer-links {
  list-style: none;
  margin-bottom: 1.25rem;
}
.nav-drawer-links li a {
  display: block;
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.nav-drawer-links li:last-child a { border-bottom: none; }
.nav-drawer-links li a:hover { color: var(--text); }
.nav-drawer-links li a.active { color: var(--primary); font-weight: 600; }
.nav-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.nav-drawer-actions .btn { justify-content: center; }
.nav-drawer-actions .btn-ghost {
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}
.nav-drawer-actions .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ── APP MOCKUP ── */
.app-mockup {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 48px rgba(108,92,231,0.13);
  background: var(--bg);
  isolation: isolate;
}
.app-mockup-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  background: #ebebf0;
  border-bottom: 1px solid #d6d6db;
}
.app-mockup-dots { display: flex; gap: 6px; flex-shrink: 0; }
.app-mockup-dots span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.app-mockup-url {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: #555;
  background: #fff;
  border: 1px solid #c8c8cc;
  border-radius: 5px;
  padding: 0.18rem 0.75rem;
  font-family: inherit;
}
.app-mockup-body { display: flex; height: 480px; }
.app-mockup-nav {
  display: flex;
  flex-direction: column;
  width: 172px;
  flex-shrink: 0;
  border-right: 1px solid rgba(108,92,231,0.18);
  padding: 0.5rem 0;
  background: linear-gradient(160deg, #e7def7 0%, #e2d8f5 100%);
  gap: 1px;
}
.app-mockup-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  width: calc(100% - 0.5rem);
  margin: 0 0.25rem;
  padding: 0.42rem 0.7rem;
  font-size: 0.78rem;
  color: #6b5f96;
  background: none;
  border: none;
  border-left: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  transition: background 0.13s, color 0.13s;
}
.app-mockup-tab:hover { background: rgba(108,92,231,0.13); color: #3d2e6b; }
.app-mockup-tab.active { background: var(--primary); color: #fff; font-weight: 600; }
.app-mockup-content { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.app-mockup-screen { display: none; width: 100%; flex: 1; overflow: hidden; }
.app-mockup-screen.active { display: flex; flex-direction: column; }
/* ── Mobile hamburger bar (hidden on desktop) ── */
.fc-mob-bar { display: none; }
.fc-mob-menu { display: none; }

@media (max-width: 640px) {
  /* App mockup body: column layout, relative for overlay */
  .app-mockup { border-radius: 10px; }
  .app-mockup-body { flex-direction: column; height: auto; min-height: 380px; max-height: 84vh; position: relative; }

  /* Sidebar becomes just the hamburger bar */
  .app-mockup-nav {
    flex-direction: row;
    width: 100%;
    border-right: none;
    padding: 0;
    gap: 0;
    background: linear-gradient(90deg, #e7def7, #e2d8f5);
    border-bottom: 1px solid rgba(108,92,231,0.22);
  }
  /* Hide all desktop nav items */
  .app-mockup-nav > * { display: none !important; }
  /* Show only the hamburger bar */
  .fc-mob-bar { display: flex !important; align-items: center; justify-content: space-between; width: 100%; padding: 0.55rem 0.875rem; }
  .fc-mob-label { font-size: 0.82rem; font-weight: 700; color: #2d1f5e; }
  .fc-mob-btn { background: none; border: none; cursor: pointer; padding: 0.25rem; color: #6b5f96; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: background .13s; }
  .fc-mob-btn:hover { background: rgba(108,92,231,0.12); }

  /* Dropdown overlay */
  .fc-mob-menu {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 20;
    display: none;
    flex-direction: column;
  }
  .fc-mob-menu.open { display: flex; }
  .fc-mob-inner {
    background: linear-gradient(160deg, #ede8fa, #e7def7);
    border-bottom: 1px solid rgba(108,92,231,0.22);
    padding: 0.375rem 0.5rem;
  }
  .fc-mob-item {
    display: flex; align-items: center; gap: 0.625rem;
    width: 100%; padding: 0.55rem 0.75rem;
    font-size: 0.82rem; font-weight: 500; color: #6b5f96;
    background: none; border: none; border-radius: 8px;
    cursor: pointer; font-family: inherit; text-align: left;
    transition: background .13s, color .13s;
  }
  .fc-mob-item:hover { background: rgba(108,92,231,0.1); color: #3d2e6b; }
  .fc-mob-item.on { background: var(--primary); color: #fff; font-weight: 600; }
  .fc-mob-item.on svg { stroke: #fff; }
  .fc-mob-sep { height: 1px; margin: 0.25rem 0.625rem; background: rgba(108,92,231,0.18); }
  .fc-mob-backdrop { flex: 1; background: rgba(30,15,60,0.35); }

  /* Screen content tweaks */
  .msc-assets-4col { grid-template-columns: 1fr 1fr !important; }
  .msc-cal-c { min-height: 36px; padding: 0.15rem 0.2rem; }
  .msc-cal-dh { padding: 0.2rem 0; font-size: 0.55rem; }
  .msc-fl-size { display: none; }
  .msc-sg { gap: 0.3rem; }
  .msc-stat { padding: 0.5rem 0.6rem; }
  .msc-sval { font-size: 1.05rem; }
}

/* ── MOCKUP SCREEN INTERNALS ── */
.msc { padding: 1rem 1.125rem; flex: 1; overflow-y: auto; }
.msc-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.875rem; }
.msc-h1 { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.msc-sub { font-size: 0.68rem; color: var(--text-muted); margin-top: 0.1rem; }
.msc-btn { display: inline-flex; align-items: center; gap: 5px; padding: 0.32rem 0.7rem; border-radius: 7px; font-size: 0.7rem; font-weight: 600; border: none; cursor: pointer; font-family: inherit; transition: opacity .15s, background .15s; }
.msc-btn-p { background: var(--primary); color: #fff; }
.msc-btn-p:hover { opacity: .88; }
.msc-btn-p:disabled { opacity: .4; cursor: default; }
.msc-btn-o { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.msc-btn-o:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.msc-btn-sm { padding: 0.22rem 0.45rem; font-size: 0.63rem; }
.msc-card { background: var(--bg); border: 1px solid var(--border); border-radius: 9px; overflow: hidden; margin-bottom: 0.625rem; }
.msc-sg { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-bottom: 0.625rem; }
.msc-stat { padding: 0.6rem 0.75rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; }
.msc-sval { font-size: 1.25rem; font-weight: 800; color: var(--text); line-height: 1; }
.msc-slbl { font-size: 0.62rem; color: var(--text-muted); margin-top: 0.12rem; }
.msc-row { display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .1s; }
.msc-row:last-child { border-bottom: none; }
.msc-row:hover { background: var(--bg-section); }
.msc-bng { display: inline-flex; align-items: center; font-size: 0.59rem; font-weight: 600; padding: 0.13rem 0.42rem; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.msc-bng-s { background: #d1fae5; color: #065f46; }
.msc-bng-w { background: #fef3c7; color: #92400e; }
.msc-bng-m { background: var(--border); color: var(--text-muted); }
.msc-bng-d { background: #fee2e2; color: #991b1b; }
.msc-bng-p { background: var(--primary-light); color: var(--primary); }
.msc-tabs { display: flex; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.msc-ptab { padding: 0.4rem 0.75rem; font-size: 0.7rem; font-weight: 500; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; border-top: none; border-left: none; border-right: none; background: none; font-family: inherit; transition: color .13s; }
.msc-ptab.on { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.msc-ptab:hover:not(.on) { color: var(--text); }
.msc-inp { width: 100%; padding: 0.38rem 0.6rem; border: 1px solid var(--border); border-radius: 7px; font-size: 0.77rem; font-family: inherit; color: var(--text); background: var(--bg); outline: none; box-sizing: border-box; }
.msc-inp:focus { border-color: var(--primary); }
.msc-sel { padding: 0.33rem 0.6rem; border: 1px solid var(--border); border-radius: 7px; font-size: 0.73rem; font-family: inherit; color: var(--text); background: var(--bg); cursor: pointer; width: 100%; }
.msc-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(108,92,231,.2); border-top-color: var(--primary); animation: fcSpin .75s linear infinite; display: inline-block; vertical-align: middle; flex-shrink: 0; }
@keyframes fcSpin { to { transform: rotate(360deg); } }
.msc-tr { display: flex; gap: 0.55rem; padding: 0.42rem 0.75rem; border-bottom: 1px solid var(--border); }
.msc-tr:last-child { border-bottom: none; }
.msc-ts { color: var(--text-muted); font-family: monospace; flex-shrink: 0; width: 2.5rem; padding-top: 0.1rem; font-size: 0.68rem; }
.msc-drop { border: 2px dashed var(--border); border-radius: 10px; padding: 2rem 1rem; text-align: center; transition: border-color .15s, background .15s; }
.msc-drop:hover { border-color: var(--primary); background: var(--primary-light); }
.msc-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem; text-align: center; color: var(--text-muted); font-size: 0.77rem; gap: 0.5rem; flex: 1; }
.msc-pc { border: 1px solid var(--border); border-radius: 9px; margin-bottom: 0.5rem; overflow: hidden; }
.msc-ph { display: flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.75rem; cursor: pointer; background: var(--bg); user-select: none; }
.msc-ph:hover { background: var(--bg-section); }
.msc-pb { padding: 0.65rem 0.75rem; border-top: 1px solid var(--border); background: var(--bg-soft); font-size: 0.7rem; color: var(--text-muted); font-family: monospace; line-height: 1.65; display: none; }
.msc-pb.on { display: block; }
.msc-mi { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); }
.msc-mi:last-child { border-bottom: none; }
.msc-ci { display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); }
.msc-ci:last-child { border-bottom: none; }
.msc-cal-g { display: grid; grid-template-columns: repeat(7,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.msc-cal-dh { background: var(--bg-soft); text-align: center; font-size: 0.6rem; font-weight: 600; color: var(--text-muted); padding: 0.3rem 0; }
.msc-cal-c { background: var(--bg); min-height: 46px; padding: 0.22rem 0.28rem; }
.msc-cal-c.today { background: #ede9fe; }
.msc-cal-c.off { background: var(--bg-soft); }
.msc-cal-n { font-size: 0.6rem; font-weight: 600; color: var(--text); margin-bottom: 0.15rem; }
.msc-cal-ev { background: var(--primary-light); color: var(--primary); border-radius: 3px; padding: 1px 3px; font-size: 0.54rem; font-weight: 500; margin-bottom: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msc-as { border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem 0.55rem; display: flex; flex-direction: column; gap: 0.35rem; }
.msc-at { border-radius: 5px; background: var(--border); display: flex; align-items: center; justify-content: center; aspect-ratio: 16/9; font-size: 0.58rem; color: var(--text-muted); }
.msc-sb { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; margin: 0.25rem 0; }
.msc-sf { height: 100%; background: var(--primary); border-radius: 3px; }
.msc-fl { display: flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.75rem; border-bottom: 1px solid var(--border); font-size: 0.72rem; }
.msc-fl:last-child { border-bottom: none; }
.msc-detail-hd { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); background: var(--bg-soft); flex-shrink: 0; }
.msc-detail-body { flex: 1; overflow-y: auto; }

/* ── LIGHTBOX ── */
figure img { cursor: zoom-in; }
#fc-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.88); align-items: center; justify-content: center;
}
#fc-lightbox.open { display: flex; }
#fc-lightbox img {
  max-width: 90vw; max-height: 90vh; border-radius: 10px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6); cursor: zoom-out; object-fit: contain;
}
#fc-lightbox-close {
  position: fixed; top: 1.25rem; right: 1.5rem; color: #fff; font-size: 2rem;
  line-height: 1; cursor: pointer; opacity: 0.7; user-select: none;
}
#fc-lightbox-close:hover { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3, .grid-4, .steps, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (min-width: 601px) {
  .nav-drawer { display: none !important; }
}
@media (max-width: 600px) {
  body { overflow-x: hidden; }
  .grid-2, .grid-3, .grid-4, .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 3.5rem 0 2.5rem; }
  .section { padding: 3.5rem 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-lg { justify-content: center; }
}
