/* ============================================
   EasyToolkit — Global Stylesheet v3
   South Florida Professional SaaS Design
   Updated: Workflow-focused TC copy
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300..800;1,9..40,300..800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy: #0F2B46;
  --navy-deep: #091E33;
  --teal: #1A7A6A;
  --teal-light: #E6F5F2;
  --coral: #E8734A;
  --coral-hover: #D4612F;
  --gold: #D4983A;
  --bg: #FAFAF8;
  --bg-alt: #F1F0EC;
  --text: #1A1A2E;
  --text-muted: #5A6372;
  --text-light: #8A93A0;
  --border: #E2E1DD;
  --white: #FFFFFF;
  --red-flag: #C0392B;
  --yellow-flag: #E67E22;
  --green-flag: #27AE60;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1200px;
  --section-pad: 100px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 43, 70, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 43, 70, 0.08);
  --shadow-lg: 0 8px 40px rgba(15, 43, 70, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-muted); line-height: 1.75; }
p + p { margin-top: 1em; }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  font-weight: 500;
}

.section-subtitle {
  max-width: 620px;
  margin-top: 16px;
  font-size: 1.1rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 115, 74, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding: 14px 0;
}
.btn-ghost:hover {
  color: var(--coral);
}
.btn-ghost .arrow {
  transition: var(--transition);
}
.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 500;
}

.nav-logo .fl-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--teal-light);
  color: var(--teal);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition);
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--bg-alt);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--coral) !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
}

/* ---- Hero Sections ---- */
.hero {
  padding: 160px 0 var(--section-pad);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 45%, #163D5E 100%);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--coral);
}

.hero p.hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hero with stats bar */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  color: var(--white);
}
.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  display: block;
  margin-bottom: 4px;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

@media (max-width: 640px) {
  .hero-stats { flex-direction: column; gap: 24px; }
}

/* ---- Solution page hero variant ---- */
.hero-solution {
  padding: 160px 0 80px;
}

.hero-solution::before {
  height: 500px;
}

.solution-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-hero-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  .solution-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---- Sections ---- */
.section {
  padding: var(--section-pad) 0;
}

.section-dark {
  background: var(--navy-deep);
  color: var(--white);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}
.section-dark p {
  color: rgba(255, 255, 255, 0.65);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card-icon.coral { background: #FFF0EB; color: var(--coral); }
.card-icon.teal { background: var(--teal-light); color: var(--teal); }
.card-icon.navy { background: #E8EDF3; color: var(--navy); }
.card-icon.gold { background: #FFF5E6; color: var(--gold); }

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--coral);
  transition: var(--transition);
}
.card-link:hover {
  gap: 10px;
}

/* Solutions grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: 1fr; }
}

/* Two column grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---- Risk Flag Component ---- */
.risk-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}
.risk-flag.high {
  background: #FDEAEA;
  color: var(--red-flag);
}
.risk-flag.medium {
  background: #FEF3E2;
  color: var(--yellow-flag);
}
.risk-flag.low {
  background: #E8F8EF;
  color: var(--green-flag);
}

/* ---- JSON Preview Block ---- */
.json-block {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow-x: auto;
  position: relative;
}

.json-block pre {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.json-block .key { color: #7ECFCF; }
.json-block .string { color: #F0C674; }
.json-block .bracket { color: rgba(255, 255, 255, 0.4); }
.json-block .flag-high { color: #E74C3C; }
.json-block .flag-medium { color: #F39C12; }
.json-block .flag-low { color: #2ECC71; }

.json-label {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- How It Works Steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}

.steps.steps-4 {
  grid-template-columns: repeat(4, 1fr);
}

.step {
  counter-increment: step;
  position: relative;
  padding-top: 48px;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--teal);
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
}

.step h4 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .steps, .steps.steps-4 { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Feature List ---- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 2px;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text);
}
.feature-item p span {
  color: var(--text-muted);
  font-weight: 400;
}

/* ---- Compliance Banner ---- */
.compliance-banner {
  background: var(--teal-light);
  border: 1px solid rgba(26, 122, 106, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.compliance-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.compliance-banner h4 {
  color: var(--teal);
  margin-bottom: 6px;
}

.compliance-banner p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 115, 74, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-box .btn-primary {
  font-size: 1.05rem;
  padding: 16px 36px;
}

/* ---- Waitlist form ---- */
.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.waitlist-form input:focus {
  border-color: var(--coral);
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 500px) {
  .waitlist-form { flex-direction: column; }
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.5);
  padding: 60px 0 40px;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}
.footer-brand .nav-logo .logo-icon {
  background: rgba(255, 255, 255, 0.1);
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  max-width: 280px;
}

.footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer ul li {
  margin-bottom: 10px;
}
.footer ul li a {
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
  font-size: 0.85rem;
}
.footer ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}
.footer-legal a:hover { color: rgba(255, 255, 255, 0.6); }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Disclaimer bar ---- */
.disclaimer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}
.disclaimer p {
  font-size: 0.78rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ---- Scroll Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-top: 16px; }
.gap-sm { gap: 12px; }

/* ============================================
   NEW v2 COMPONENTS — Conversion & Trust
   ============================================ */

/* ---- Trust Bar ---- */
.trust-bar {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item .trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.trust-icon.green { background: #E8F8EF; color: var(--green-flag); }
.trust-icon.teal { background: var(--teal-light); color: var(--teal); }
.trust-icon.navy { background: #E8EDF3; color: var(--navy); }
.trust-icon.gold { background: #FFF5E6; color: var(--gold); }

/* ---- Pricing Callout ---- */
.pricing-callout {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.pricing-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 16px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-amount span {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 32px;
}

.pricing-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text);
}

.pricing-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 16px;
}

/* ---- Case Study Snippet ---- */
.case-study {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  position: relative;
}

.case-study::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--teal);
  opacity: 0.2;
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
}

.case-study-quote {
  font-size: 1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.75;
  padding-left: 24px;
  margin-bottom: 16px;
}

.case-study-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 24px;
}

.case-study-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 600;
  flex-shrink: 0;
}

.case-study-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.case-study-role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ---- Confidence Indicator ---- */
.confidence-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.confidence-track {
  flex: 1;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.confidence-fill.high { background: var(--green-flag); width: 92%; }
.confidence-fill.medium { background: var(--yellow-flag); width: 68%; }
.confidence-fill.low { background: var(--red-flag); width: 35%; }

.confidence-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-light);
  flex-shrink: 0;
  min-width: 32px;
}

/* ---- Limitations Box ---- */
.limitations-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.limitations-header {
  background: var(--bg-alt);
  padding: 16px 28px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.limitations-body {
  padding: 28px;
}

.limitations-body ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.limitations-body li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.limitations-body li .li-icon {
  flex-shrink: 0;
  width: 20px;
  font-size: 0.85rem;
}

/* ---- Supported Files Grid ---- */
.file-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.file-type {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.file-type:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.file-type .ext {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 4px;
  flex-shrink: 0;
}

/* ---- False Positive Banner ---- */
.fp-example {
  background: #FFF9F0;
  border: 1px solid #F5DEB3;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 16px;
}

.fp-example h4 {
  color: var(--yellow-flag);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.fp-example p {
  font-size: 0.88rem;
}

/* ---- Demo CTA Section ---- */
.demo-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(26, 122, 106, 0.06);
  border: 1px solid rgba(26, 122, 106, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-top: 32px;
}

.demo-cta p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text);
}

@media (max-width: 600px) {
  .demo-cta {
    flex-direction: column;
    text-align: center;
  }
}

/* ---- Inline Metric ---- */
.metric-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.metric-inline.teal {
  background: var(--teal-light);
  color: var(--teal);
}

.metric-inline.coral {
  background: #FFF0EB;
  color: var(--coral);
}

/* ---- What if no risk box ---- */
.no-risk-box {
  background: #E8F8EF;
  border: 1px solid rgba(39, 174, 96, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.no-risk-box .nr-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.no-risk-box h4 {
  color: var(--green-flag);
  margin-bottom: 4px;
}

.no-risk-box p {
  font-size: 0.9rem;
}

/* ============================================
   NEW v3 COMPONENTS — EasyToolkit Rewrite
   ============================================ */

/* ---- Sample Output Block (prose-style) ---- */
.sample-output {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.8;
  position: relative;
  overflow-x: auto;
}

.sample-output .output-label {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sample-output h4 {
  color: var(--coral);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 24px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sample-output h4:first-of-type {
  margin-top: 0;
}

.sample-output .finding {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin: 12px 0;
}

.sample-output .finding strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.sample-output .finding p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 2px 0;
}

.sample-output .finding .confidence-high { color: var(--green-flag); }
.sample-output .finding .confidence-medium { color: var(--yellow-flag); }
.sample-output .finding .confidence-low { color: var(--red-flag); }

.sample-output .finding.high-border { border-left-color: var(--red-flag); }
.sample-output .finding.medium-border { border-left-color: var(--yellow-flag); }
.sample-output .finding.low-border { border-left-color: var(--green-flag); }

.sample-output .not-disclosed {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 14px 20px;
  margin-top: 12px;
}

.sample-output .not-disclosed p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

/* ---- Prose Section ---- */
.prose-section {
  max-width: 760px;
}

.prose-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1em;
}

.prose-section p:last-child {
  margin-bottom: 0;
}

/* ---- Avoid List ---- */
.avoid-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.avoid-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.avoid-list li::before {
  content: '—';
  color: var(--coral);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Not-Do List ---- */
.not-do-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.not-do-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.not-do-list li::before {
  content: '✗';
  color: var(--red-flag);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Workflow Numbered (prose-style) ---- */
.workflow-numbered {
  counter-reset: workflow;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
}

.workflow-numbered li {
  counter-increment: workflow;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.workflow-numbered li::before {
  content: counter(workflow) ".";
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--teal);
  flex-shrink: 0;
  min-width: 24px;
  line-height: 1.5;
}

/* ---- Disclaimer Expanded ---- */
.disclaimer-expanded {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.disclaimer-expanded .container {
  max-width: 800px;
}

.disclaimer-expanded p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0.8em;
}

.disclaimer-expanded p:last-child {
  margin-bottom: 0;
}
