/* ============================================================
   assets/css/site.css
   Version: v1.0.0000
   Shared design system for benchmark.inflosys.com — marketing site,
   auth pages, and in-app chrome all draw from these tokens so the whole
   product feels like one thing instead of a scaffold bolted to a landing
   page.
   CHANGELOG:
   v1.0.0000 — Initial build: dark, high-contrast theme with an
               indigo -> cyan gradient accent, shared nav/footer/button/
               card primitives, responsive grid helpers.
   ============================================================ */

:root {
  --bg: #08090d;
  --bg-soft: #0c0e15;
  --surface: #12141d;
  --surface-2: #171a26;
  --surface-3: #1d2130;
  --border: #262a3a;
  --border-soft: #1b1e2b;
  --text: #f4f5f9;
  --text-dim: #c7cad9;
  --muted: #8a8fa3;
  --muted-2: #5f6478;

  --accent: #7c6cf6;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --accent-warm: #fb923c;
  --success: #34d399;
  --danger: #fb7185;

  --gradient: linear-gradient(135deg, #7c6cf6 0%, #6d5ef8 35%, #22d3ee 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124,108,246,0.16), rgba(34,211,238,0.10));
  --gradient-text: linear-gradient(90deg, #a78bfa, #7c6cf6 35%, #22d3ee 90%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,0.55);
  --shadow-glow: 0 0 0 1px rgba(124,108,246,0.25), 0 20px 50px -18px rgba(124,108,246,0.35);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
body.has-topbar { padding-top: 68px; }

a { color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

.grad-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }

p.lead { font-size: 19px; color: var(--text-dim); max-width: 640px; }
p.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14.5px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #08090d; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(124,108,246,0.4), 0 26px 55px -16px rgba(124,108,246,0.55); }
.btn-secondary { background: var(--surface-2); border-color: var(--border); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: 0.5; pointer-events: none; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8,9,13,0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-family: var(--font-display); font-size: 18px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; font-size: 15px; color: #08090d; font-weight: 800;
  box-shadow: 0 6px 18px -6px rgba(124,108,246,0.7);
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14.5px; color: var(--text-dim); text-decoration: none; padding: 9px 14px; border-radius: 8px; font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border-soft); background: var(--bg-soft); padding: 64px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 14px; font-family: var(--font-sans); font-weight: 700; }
.footer-col a { display: block; color: var(--text-dim); text-decoration: none; font-size: 14px; padding: 6px 0; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-soft); color: var(--muted); font-size: 13px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Cards / Grid */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(124,108,246,0.4); }
.card-icon {
  width: 42px; height: 42px; border-radius: 11px; background: var(--gradient-soft);
  border: 1px solid rgba(124,108,246,0.3); display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 16px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 100px; }
.hero::before {
  content: ''; position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px; background: radial-gradient(closest-side, rgba(124,108,246,0.28), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -260px; right: -160px;
  width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(34,211,238,0.16), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

.stat-row { display: flex; justify-content: center; gap: 56px; margin-top: 64px; flex-wrap: wrap; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

.mock-panel {
  margin-top: 72px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-panel-bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); background: var(--surface-2); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-panel-body { padding: 32px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; min-height: 320px; }
.mock-sidebar { display: flex; flex-direction: column; gap: 8px; }
.mock-sidebar .item { padding: 9px 12px; border-radius: 8px; font-size: 13px; color: var(--muted); }
.mock-sidebar .item.active { background: var(--gradient-soft); color: var(--text); border: 1px solid rgba(124,108,246,0.3); }
.mock-chart { border: 1px solid var(--border-soft); border-radius: 12px; background: var(--bg-soft); padding: 20px; display: flex; align-items: flex-end; gap: 10px; height: 220px; }
.mock-bar { flex: 1; border-radius: 6px 6px 0 0; background: var(--gradient); opacity: 0.85; }
@media (max-width: 720px) { .mock-panel-body { grid-template-columns: 1fr; } .mock-sidebar { display: none; } }

/* Pricing */
.pricing-toggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 4px; gap: 4px; margin: 8px auto 0; }
.pricing-toggle button { border: none; background: none; color: var(--muted); font-weight: 600; font-size: 13.5px; padding: 8px 16px; border-radius: 9px; cursor: pointer; }
.pricing-toggle button.active { background: var(--gradient); color: #08090d; }
.pricing-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.pricing-card.featured { border-color: rgba(124,108,246,0.55); box-shadow: var(--shadow-glow); background: linear-gradient(180deg, rgba(124,108,246,0.08), var(--surface) 40%); }
.pricing-badge { position: absolute; top: -13px; left: 28px; background: var(--gradient); color: #08090d; font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 999px; }
.pricing-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.pricing-desc { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.pricing-price { font-family: var(--font-display); font-size: 40px; font-weight: 700; margin-bottom: 4px; }
.pricing-price span { font-size: 14px; color: var(--muted); font-family: var(--font-sans); font-weight: 500; }
.pricing-list { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 11px; }
.pricing-list li { display: flex; gap: 10px; font-size: 14px; color: var(--text-dim); align-items: flex-start; }
.pricing-list li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* Testimonials / quotes */
.quote-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.quote-card p { font-size: 15.5px; color: var(--text-dim); margin: 0 0 20px; }
.quote-person { display: flex; align-items: center; gap: 12px; }
.quote-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gradient); flex-shrink: 0; display:flex;align-items:center;justify-content:center;font-weight:700;color:#08090d;font-size:14px; }
.quote-name { font-size: 14px; font-weight: 600; }
.quote-role { font-size: 12.5px; color: var(--muted); }

/* Logos row */
.logo-row { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; opacity: 0.7; }
.logo-chip { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--muted-2); letter-spacing: 0.02em; }

/* Section header */
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }

/* Badges / tags */
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }

/* CTA band */
.cta-band { border-radius: var(--radius-lg); background: var(--gradient); padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #08090d; }
.cta-band p { color: rgba(8,9,13,0.72); max-width: 480px; margin: 0 auto 28px; font-size: 16px; }
.cta-band .btn-primary { background: #08090d; color: #fff; box-shadow: none; }
.cta-band .btn-primary:hover { background: #14161f; }

/* Forms shared with auth pages */
.form-field { margin-bottom: 16px; text-align: left; }
.form-field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--bg-soft); color: var(--text); font-size: 14px; font-family: var(--font-sans);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 110px; }

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
