/* Floransa Retail Intelligence — visual system
   Purple SaaS: lavender bands, framed product windows, pastel category cards
   Type: Inter throughout, tight bold display weights */

:root {
  --ink: #1b1730;
  --ink-2: #3a3552;
  --muted: #6f6b85;
  --purple: #6f2dbd;
  --purple-d: #571f9c;
  --purple-l: #9a6ae0;
  --lav: #f7f5ff;
  --lav-2: #ede8fb;
  --mintbg: #f3faf4;
  --line: #e7e4f2;
  --line-2: #f0eef8;
  --success: #2f9e57;

  --c-mint: #eef9f1; --c-mint-ink: #2f9e57;
  --c-blue: #eef3fd; --c-blue-ink: #3b6fd4;
  --c-purple: #f4eefd; --c-purple-ink: #7431c4;
  --c-peach: #fdeeee; --c-peach-ink: #d64b4b;
  --c-amber: #fdf7e8; --c-amber-ink: #c68a12;
  --c-teal: #eaf7f8; --c-teal-ink: #1f8b95;

  --brand: var(--ink);
  --blue: var(--purple);
  --r-block: 16px;
  --r-card: 12px;
  --r-btn: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .navbar-brand, .metric-value, .hero-title { font-weight: 700; letter-spacing: -.025em; }

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.text-brand { color: var(--ink) !important; }
.text-soft { color: var(--muted); }
.page-shell { max-width: 1140px; margin: 0 auto; }

/* section bands */
.band-lav { background: var(--lav); }
.band-mint { background: var(--mintbg); }
.band-white { background: #fff; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; z-index: 30; }
.navbar-brand { font-size: .98rem; font-weight: 700; }
.navbar .nav-link { color: var(--ink-2); font-weight: 500; font-size: .82rem; }
.navbar .nav-link:hover { color: var(--purple); }
.navbar-toggler { color: var(--ink); }

.brand-logo { width: 30px; height: 30px; flex: 0 0 auto; color: var(--purple); display: block; }
.navbar-brand:hover .brand-logo { color: var(--purple-d); }

/* ---------- buttons ---------- */
.btn {
  font-weight: 600; font-size: .8rem; border-radius: var(--r-btn); padding: 9px 18px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-lg { font-size: .85rem; padding: 12px 22px; }
.btn-primary, .btn-purple { background: var(--purple); border: 1px solid var(--purple); color: #fff; }
.btn-primary:hover, .btn-purple:hover { background: var(--purple-d); border-color: var(--purple-d); color: #fff; }
.btn-outline-soft { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-outline-soft:hover { border-color: var(--purple); color: var(--purple); }
.btn-link-soft { background: transparent; border: 0; color: var(--ink); padding-inline: 6px; }
.btn-link-soft:hover { color: var(--purple); }
.btn-dark, .btn-ink { background: var(--ink); border: 1px solid var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--purple); border-color: #fff; }
.link-arrow { font-size: .74rem; font-weight: 600; color: var(--purple); display: inline-flex; gap: 6px; align-items: center; }

.eyebrow { font-size: .72rem; font-weight: 600; color: var(--purple); display: block; margin-bottom: 10px; }

/* ---------- hero ---------- */
.hero-section { position: relative; overflow: hidden; padding: 56px 0 64px; background: linear-gradient(180deg, #fff 0%, var(--lav) 100%); }
.hero-card { position: relative; background: transparent; padding: 0; }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero-orb-one { width: 300px; height: 300px; background: rgba(154, 106, 224, .16); right: 4%; bottom: -60px; }
.hero-orb-two { width: 220px; height: 220px; background: rgba(120, 210, 160, .18); right: 34%; top: -40px; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.2; margin-bottom: 16px; }
.hero-title em { font-style: normal; color: var(--purple); }
.hero-points { list-style: none; padding: 0; margin: 0 0 24px; max-width: 430px; }
.hero-points li { font-size: .84rem; line-height: 1.7; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: .74rem; font-weight: 600; color: var(--ink-2);
}
.tag i { color: var(--purple); font-size: .95rem; }
.tag-lime { background: var(--lav-2); border-color: var(--lav-2); color: var(--purple-d); }
.tag-lime i { color: var(--purple-d); }

/* framed product window */
.window-frame {
  position: relative; z-index: 2; border: 2px solid var(--purple); border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 22px 44px rgba(56, 24, 100, .14);
}
.window-bar {
  background: var(--purple); color: #fff; font-size: .72rem; font-weight: 600;
  padding: 8px 14px; display: flex; align-items: center; gap: 8px;
}
.window-bar .dots { display: inline-flex; gap: 4px; margin-right: 6px; }
.window-bar .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); display: inline-block; }

/* ---------- dashboard ---------- */
.panel-block { background: transparent; padding: 0; }
.dashboard-card { background: #fff; padding: 16px; }
.shadow-soft { box-shadow: 0 18px 40px rgba(56, 24, 100, .10); }
.metric-card, .chart-panel { background: #fbfaff; border: 1px solid var(--line-2); border-radius: 10px; padding: 14px; }
.metric-label { font-size: .7rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.metric-value { font-size: 1.24rem; color: var(--ink); }
.metric-up { color: var(--success); font-weight: 700; font-size: .7rem; }
.mini-spark { width: 52px; height: 26px; }
.mini-spark polyline { fill: none; stroke: var(--purple); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.panel-title { font-size: .76rem; font-weight: 700; color: var(--ink); }
.chip-select { font-size: .72rem; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; }
.legend-row { display: flex; gap: 14px; color: var(--muted); font-size: .62rem; margin: 6px 0 2px; }
.legend-dot, .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.legend-dot.current { background: var(--purple); }
.legend-dot.previous { background: #c9b3ec; }
.chart-box { height: 190px; }
.chart-box-sm { height: 130px; }
.category-wrap { display: flex; align-items: center; gap: 14px; }
.category-chart { flex: 0 0 104px; width: 104px; height: 104px; position: relative; }
.category-chart canvas { width: 100% !important; height: 100% !important; }
.category-list { flex: 1 1 auto; min-width: 0; display: grid; gap: 9px; color: var(--ink-2); font-size: .72rem; }
.category-list div { display: flex; align-items: center; gap: 6px; min-width: 0; }
.category-list .cat-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-list strong { margin-left: auto; padding-left: 6px; color: var(--ink); white-space: nowrap; }
.category-list .dot { flex: 0 0 auto; margin-right: 0; }

/* narrow dashboard column: stack the donut above the list */
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .category-wrap { flex-direction: column; align-items: stretch; gap: 12px; }
  .category-chart { flex: 0 0 auto; width: 116px; height: 116px; margin: 0 auto; }
}
.c1 { background: #6f2dbd; } .c2 { background: #9a6ae0; } .c3 { background: #bb9aec; } .c4 { background: #6fc99a; } .c5 { background: #e2dcf3; }
.store-list { display: grid; gap: 9px; color: var(--ink-2); }
.store-list > div { display: grid; grid-template-columns: 1fr 72px 38px; gap: 6px; align-items: center; }
.store-list b { font-size: .66rem; text-align: right; color: var(--ink); }
.bar { height: 6px; background: var(--lav-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--purple); }
.seg-row { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 6px; margin-bottom: 11px; font-size: .65rem; color: var(--ink-2); }
.seg-row small { color: var(--muted); }
.people { display: flex; gap: 3px; flex-wrap: nowrap; }
.people::before { content: "👤👤👤👤👤👤👤👤"; font-size: 9px; letter-spacing: 1px; }

/* ---------- sections ---------- */
.section-space { padding: 64px 0; }
.section-muted { background: transparent; }
.section-head { max-width: 620px; margin-bottom: 32px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; margin-bottom: 12px; }
.section-title.center { text-align: center; }
.section-lead { font-size: .82rem; line-height: 1.75; color: var(--muted); }
.hl { color: var(--purple); }
.rule-line { border-top: 1px solid var(--line); }

/* value rows (accordion-style cards) */
.value-rows { display: grid; gap: 12px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
  display: flex; gap: 14px; align-items: flex-start; transition: border-color .2s ease, box-shadow .2s ease;
}
.info-card:hover { border-color: var(--purple-l); box-shadow: 0 10px 24px rgba(56, 24, 100, .07); }
.section-icon, .icon-bubble {
  width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--purple); background: var(--lav-2); flex: 0 0 auto; font-size: .95rem;
}
.info-card h3, .service-item h3, .process-step h3, .case-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: 5px; }
.info-card p, .service-item p, .process-step p, .case-card p { color: var(--muted); font-size: .78rem; line-height: 1.6; margin: 0; }

/* services — pastel category cards */
.services-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border: 0; background: transparent; }
.service-item { border: 0; border-radius: var(--r-card); padding: 20px; height: 100%; background: var(--c-purple); }
.service-item i {
  font-size: 1.05rem; width: 38px; height: 38px; border-radius: 9px; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 26px;
}
.service-item h3 { color: var(--c-purple-ink); }
.service-item.tone-mint { background: var(--c-mint); } .service-item.tone-mint i { background: var(--c-mint-ink); } .service-item.tone-mint h3 { color: var(--c-mint-ink); }
.service-item.tone-blue { background: var(--c-blue); } .service-item.tone-blue i { background: var(--c-blue-ink); } .service-item.tone-blue h3 { color: var(--c-blue-ink); }
.service-item.tone-purple { background: var(--c-purple); } .service-item.tone-purple i { background: var(--c-purple-ink); } .service-item.tone-purple h3 { color: var(--c-purple-ink); }
.service-item.tone-peach { background: var(--c-peach); } .service-item.tone-peach i { background: var(--c-peach-ink); } .service-item.tone-peach h3 { color: var(--c-peach-ink); }
.service-item.tone-amber { background: var(--c-amber); } .service-item.tone-amber i { background: var(--c-amber-ink); } .service-item.tone-amber h3 { color: var(--c-amber-ink); }
.service-item.tone-teal { background: var(--c-teal); } .service-item.tone-teal i { background: var(--c-teal-ink); } .service-item.tone-teal h3 { color: var(--c-teal-ink); }

/* process */
.process-card { border: 0; border-radius: 0; background: transparent; padding: 0; }
.process-step { position: relative; z-index: 2; padding: 0; }
.process-step .inner { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; height: 100%; }
.step-num {
  font-size: .68rem; font-weight: 700; color: var(--purple); background: var(--lav-2);
  border-radius: 6px; padding: 4px 9px; display: inline-block; margin-bottom: 14px;
}
.process-icon {
  width: 38px; height: 38px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--purple); font-size: 1.05rem; background: var(--lav-2); margin-bottom: 12px;
}
.process-line { display: none; }

/* industries — tile grid */
.industry-card {
  min-height: 104px; border: 1px solid var(--line); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--ink); font-size: .78rem; font-weight: 600; background: #fff;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.industry-card i { color: var(--purple); font-size: 1.5rem; }
.industry-card:hover { border-color: var(--purple-l); box-shadow: 0 10px 22px rgba(56, 24, 100, .08); }

/* case studies */
.case-card { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: #fff; height: 100%; }
.case-card img { width: 100%; height: 180px; object-fit: cover; }
.case-copy { padding: 20px; }
.case-copy a { color: var(--purple); font-size: .73rem; font-weight: 600; display: inline-flex; gap: 6px; margin-top: 12px; }

/* about */
.partner-card { border: 0; background: transparent; }
.partner-block { border: 1px solid var(--line); border-radius: var(--r-block); overflow: hidden; height: 100%; background: #fff; }
.partner-block.is-tint { background: var(--lav); border-color: var(--lav-2); }
.partner-image { width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.border-start-lg { border-left: 0; }
.partner-benefits { display: grid; gap: 18px; }
.partner-benefits > div { display: flex; gap: 14px; align-items: flex-start; }
.partner-benefits i { color: var(--purple); font-size: 1.2rem; }
.partner-benefits span { display: grid; gap: 3px; }
.partner-benefits strong { font-size: .84rem; }
.partner-benefits small { font-size: .75rem; color: var(--muted); }

/* faq */
.faq-wrap { max-width: 780px; margin: 0 auto; text-align: left; }
.faq-wrap .accordion-item {
  border: 1px solid var(--line); border-radius: 10px !important; background: #fff;
  margin-bottom: 12px; overflow: hidden;
}
.faq-wrap .accordion-item:hover { border-color: var(--purple-l); }
.faq-wrap .accordion-button {
  font-size: .9rem; font-weight: 600; color: var(--ink); background: #fff;
  padding: 16px 18px; box-shadow: none;
}
.faq-wrap .accordion-button:not(.collapsed) { color: var(--purple); background: #fff; }
.faq-wrap .accordion-button:focus { box-shadow: none; }
.faq-wrap .accordion-button::after { width: 1rem; height: 1rem; background-size: 1rem; }
.faq-wrap .accordion-body { padding: 0 18px 18px; font-size: .8rem; line-height: 1.75; color: var(--muted); }

/* cta */
.cta-section { padding: 0 0 66px; }
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r-block); text-align: center; color: #fff;
  padding: 52px 24px; background: linear-gradient(130deg, var(--purple) 0%, #4a1a86 100%);
}
.cta-card h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-card p { color: rgba(255,255,255,.78); font-size: .84rem; }
.cta-wave { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-wave-left { left: -120px; bottom: -170px; }
.cta-wave-right { right: -120px; top: -170px; }

/* footer */
.footer { background: var(--lav); border-top: 1px solid var(--line); color: var(--ink-2); }
.footer h4 { font-size: .78rem; font-weight: 700; margin-bottom: 12px; }
.footer a { color: var(--muted); font-size: .78rem; }
.footer a:hover { color: var(--purple); }
.footer-links { display: grid; gap: 8px; }

/* offcanvas */
.offcanvas { border-radius: 16px 0 0 16px; }
.offcanvas .nav-link { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .services-board { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .hero-section { padding: 40px 0 48px; }
  .window-frame { margin-top: 28px; }
  .section-space { padding: 48px 0; }
  .partner-image { min-height: 230px; }
}

@media (max-width: 767.98px) {
  .navbar-brand { font-size: .9rem; max-width: 74%; }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .dashboard-card { padding: 12px; }
  .chart-box { height: 165px; }
  .chart-box-sm { height: 150px; }
  .section-space { padding: 40px 0; }
  .services-board { grid-template-columns: 1fr; }
  .case-card img { height: 170px; }
  .cta-card { padding: 38px 18px; }
}

@media (max-width: 575.98px) {
  .hero-actions .btn { width: 100%; }
  .metric-value { font-size: 1.05rem; }
  .store-list > div { grid-template-columns: 1fr 60px 35px; }
}
