/* ==========================================================================
   DESREDALAB — DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Forest Green (#064E3B) + Mint Accent (#34D399) + Crisp White & Soft Slate
   ========================================================================== */

:root {
  /* Brand Emerald / Mint Hierarchy */
  --brand-950: #022c22;
  --brand-900: #064e3b;
  --brand-850: #095441;
  --brand-800: #0a5c47;
  --brand-700: #107c60;
  --brand-600: #059669;
  --brand-500: #10b981;
  --brand-400: #34d399;
  --brand-300: #6ee7b7;
  --brand-200: #a7f3d0;
  --brand-100: #d1fae5;
  --brand-50: #f0fdf4;
  --brand-ice: #f4faf7;

  /* Neutrals */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Accents & Status */
  --teal-500: #14b8a6;
  --cyan-500: #06b6d4;
  --amber-500: #f59e0b;
  --red-500: #ef4444;

  /* Typography */
  --font-display: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 12px 32px -4px rgba(10, 92, 71, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-focus: 0 0 0 4px rgba(16, 124, 96, 0.15);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --border-subtle: 1px solid rgba(15, 23, 42, 0.08);
  --border-brand: 1px solid rgba(16, 124, 96, 0.2);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--brand-ice);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--slate-600);
}

a {
  color: var(--brand-700);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-900);
}

/* ==========================================================================
   BACKGROUND AMBIENT ORBS & MESH
   ========================================================================== */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.4) 0%, rgba(16, 124, 96, 0.15) 70%);
}

.orb-2 {
  width: 500px;
  height: 500px;
  top: 35%;
  left: -150px;
  background: radial-gradient(circle, rgba(167, 243, 208, 0.5) 0%, rgba(240, 253, 244, 0.1) 70%);
}

.orb-3 {
  width: 650px;
  height: 650px;
  bottom: 5%;
  right: -50px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(6, 78, 59, 0.05) 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #064e3b 0%, #0a5c47 100%);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.announcement-content p {
  color: var(--brand-100);
  margin: 0;
  font-size: 0.86rem;
}

.badge-pill {
  background: rgba(52, 211, 153, 0.2);
  color: var(--brand-300);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.announcement-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-link:hover {
  color: var(--brand-300);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 250, 247, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-900);
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(10, 92, 71, 0.25));
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-icon {
  transform: rotate(-4deg) scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--brand-900);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-600);
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-700);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: var(--brand-900);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #107c60 0%, #0a5c47 100%);
  color: var(--white);
  border-color: #084c3b;
  box-shadow: 0 2px 4px rgba(10, 92, 71, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #139070 0%, #0d6d54 100%);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(10, 92, 71, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(10, 92, 71, 0.2);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate-800);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
  color: var(--slate-900);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-700);
}

.btn-ghost:hover {
  background: rgba(16, 124, 96, 0.08);
  color: var(--brand-900);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn-lg {
  padding: 13px 24px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 7px 12px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 64px 0 72px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 124, 96, 0.08);
  border: 1px solid rgba(16, 124, 96, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-500);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-badge-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-900);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--slate-900);
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(135deg, #064e3b 0%, #107c60 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.avatars-group {
  display: flex;
}

.avatars-group .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  border: 2px solid var(--white);
  margin-left: -8px;
}

.avatars-group .avatar:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.86rem;
  color: var(--slate-600);
}

.trust-text .stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 0.8rem;
  line-height: 1;
  margin-bottom: 2px;
}

/* ==========================================================================
   PORTAL / AUTH PREVIEW CARD (DESREDALAB SIGNATURE LOOK)
   ========================================================================== */
.hero-card-wrapper {
  perspective: 1000px;
}

.portal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -8px rgba(10, 92, 71, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
}

.card-glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-500);
  background: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.portal-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-700);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-500);
}

.status-indicator.live {
  box-shadow: 0 0 6px var(--brand-400);
}

.portal-body {
  padding: 24px;
}

.portal-tabs {
  display: flex;
  background: var(--slate-100);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  gap: 4px;
}

.portal-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portal-tab-btn.active {
  background: var(--white);
  color: var(--brand-900);
  box-shadow: var(--shadow-sm);
}

.portal-tab-content {
  display: none;
}

.portal-tab-content.active {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Auth Mini Header */
.auth-header-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.auth-box-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
}

.auth-box-subtitle {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.label-with-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--brand-700);
}

.forgot-link:hover {
  text-decoration: underline;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  color: var(--slate-400);
  pointer-events: none;
}

.currency-symbol {
  position: absolute;
  left: 14px;
  font-weight: 700;
  color: var(--slate-500);
}

.form-control {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 10px 14px 10px 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-800);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-700);
  box-shadow: var(--shadow-focus);
}

select.form-control {
  padding-left: 14px;
  cursor: pointer;
}

input[type="date"].form-control {
  padding-left: 14px;
}

.btn-toggle-pw {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-toggle-pw:hover {
  color: var(--slate-700);
}

.form-footer-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--slate-500);
  margin-top: 14px;
}

/* Portal Metrics Tab */
.metrics-preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-mini-card {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 12px;
  border-radius: var(--radius-md);
}

.metric-label {
  display: block;
  font-size: 0.74rem;
  color: var(--slate-600);
  font-weight: 500;
}

.metric-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-900);
  margin: 2px 0;
}

.metric-trend {
  font-size: 0.7rem;
  font-weight: 600;
}

.metric-trend.up { color: var(--brand-600); }
.metric-trend.highlight { color: #0284c7; }

.case-item-preview {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 12px;
  border-radius: var(--radius-md);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.case-id {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-700);
}

.badge-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.badge-status.resolved {
  background: #dcfce7;
  color: #15803d;
}

.badge-status.in-progress {
  background: #e0f2fe;
  color: #0369a1;
}

.case-desc {
  font-size: 0.78rem;
  color: var(--slate-600);
  margin-bottom: 8px;
}

.case-bar {
  height: 5px;
  background: var(--slate-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.case-progress {
  height: 100%;
  background: var(--brand-600);
  border-radius: var(--radius-full);
}

.portal-footer {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--slate-500);
}

.footer-compliance {
  color: var(--brand-700);
  font-weight: 600;
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats-strip {
  background: var(--white);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 40px 0;
  margin-top: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-box {
  text-align: center;
  border-right: 1px solid var(--slate-100);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-caption {
  display: block;
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-top: 6px;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
  padding: 96px 0;
  position: relative;
}

.section-header {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
  color: var(--slate-900);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
}

/* ==========================================================================
   INTERACTIVE LABOR CALCULATOR SECTION
   ========================================================================== */
.section-calculator {
  background: linear-gradient(180deg, var(--brand-ice) 0%, #e6f4ee 100%);
}

.calc-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(16, 124, 96, 0.15);
  overflow: hidden;
}

.calc-inputs-pane {
  padding: 36px;
  border-right: 1px solid var(--slate-200);
}

.pane-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--slate-900);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-actions {
  margin-top: 24px;
}

.calc-results-pane {
  background: #f8fafc;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.results-badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.seniority-pill {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-900);
  background: var(--brand-100);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.btn-copy-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-summary:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
}

.total-payout-box {
  background: linear-gradient(135deg, #064e3b 0%, #0a5c47 100%);
  color: var(--white);
  padding: 22px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: 0 8px 20px -4px rgba(10, 92, 71, 0.3);
}

.total-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-200);
  display: block;
  margin-bottom: 4px;
}

.total-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.total-sub {
  font-size: 0.82rem;
  color: var(--brand-100);
  margin-top: 4px;
  display: block;
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.item-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.bullet.emerald { background: #10b981; }
.bullet.teal { background: #14b8a6; }
.bullet.cyan { background: #06b6d4; }
.bullet.amber { background: #f59e0b; }

.item-name {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--slate-700);
}

.item-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-900);
}

.calc-pro-export {
  background: #092e24;
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pro-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-300);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calc-pro-export p {
  color: var(--slate-300);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   BENTO GRID SOLUTIONS
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 124, 96, 0.25);
}

.bento-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.bento-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--brand-100);
  color: var(--brand-800);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.bento-badge.highlight {
  background: #e0f2fe;
  color: #0369a1;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--brand-100);
}

.bento-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--slate-900);
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.bento-graphic {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-sim-bubble {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.4;
}

.bubble-left {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 3px solid var(--brand-600);
  color: var(--slate-700);
}

.bubble-right {
  background: var(--brand-900);
  color: var(--white);
  align-self: flex-end;
  border-radius: var(--radius-md);
  border-bottom-right-radius: 2px;
}

.bubble-right strong {
  color: var(--brand-300);
}

.security-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.sec-pill {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
}

/* ==========================================================================
   FEATURE SPLIT
   ========================================================================== */
.section-features {
  background: var(--white);
}

.feature-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.check-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.check-item p {
  font-size: 0.9rem;
}

.glass-dashboard-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.card-bar {
  background: var(--slate-50);
  padding: 12px 18px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bar-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
}

.dash-content-mock {
  padding: 24px;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.88rem;
}

.mock-label { color: var(--slate-500); }
.mock-val { font-weight: 600; color: var(--slate-800); }

.mock-divider {
  border: 0;
  border-top: 1px dashed var(--slate-200);
  margin: 14px 0;
}

.mock-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.mock-highlight {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brand-800);
}

.mock-signatures {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sig-box {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.sig-status.signed {
  color: #15803d;
  font-weight: 600;
}

.sig-name {
  color: var(--slate-600);
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.section-pricing {
  background: var(--brand-ice);
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.toggle-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 6px;
}

.discount-pill {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--slate-300);
  transition: 0.3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--brand-700);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-fast);
}

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

.pricing-card.popular {
  border-color: var(--brand-600);
  box-shadow: var(--shadow-xl);
  border-width: 2px;
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-700);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.plan-name {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  min-height: 42px;
  margin-bottom: 20px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.plan-price .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate-900);
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--slate-700);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.section-testimonials {
  background: var(--white);
}

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

.testimonial-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.testi-quote {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-author .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testi-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--slate-900);
}

.testi-author span {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.section-faq {
  background: var(--brand-ice);
}

.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--brand-600);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--slate-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question .chevron {
  transition: transform var(--transition-fast);
  color: var(--slate-400);
  flex-shrink: 0;
}

.faq-item.active .chevron {
  transform: rotate(180deg);
  color: var(--brand-700);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   CALL TO ACTION
   ========================================================================== */
.section-cta {
  padding: 60px 0;
}

.cta-box {
  background: linear-gradient(135deg, #064e3b 0%, #0a5c47 50%, #064e3b 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-description {
  color: var(--brand-100);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px auto;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #04221b;
  color: var(--slate-400);
  padding: 64px 0 32px 0;
}

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

.footer-brand-col .logo-title {
  color: var(--white);
}

.footer-brand-col .logo-subtitle {
  color: var(--brand-300);
}

.footer-about {
  font-size: 0.88rem;
  color: var(--slate-400);
  margin-top: 16px;
  max-width: 320px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--brand-300);
  margin-top: 20px;
}

.footer-heading {
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  color: var(--slate-400);
  font-size: 0.88rem;
}

.footer-links-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* ==========================================================================
   MODAL (LOGIN AUTHENTICATOR)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--slate-400);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.modal-close:hover {
  color: var(--slate-800);
  background: var(--slate-100);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.remember-row {
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--slate-600);
  cursor: pointer;
}

.sso-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--slate-400);
  font-size: 0.78rem;
}

.sso-divider::before,
.sso-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--slate-200);
}

.sso-divider span {
  padding: 0 12px;
}

.sso-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-sso {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-sso:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

.modal-footer-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 20px;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--slate-900);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--brand-500);
}

.toast.error {
  border-left-color: var(--red-500);
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }

  .calc-container {
    grid-template-columns: 1fr;
  }

  .calc-inputs-pane {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stat-box:nth-child(2) {
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .announcement-bar {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-links.mobile-active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-box {
    border-right: none;
    border-bottom: 1px solid var(--slate-100);
    padding-bottom: 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
