/* ============================================
   TENDERFORGE - Global Styles
   Premium Construction Tender Platform
   ============================================ */

/* CSS Variables */
:root {
  /* Brand Colors - Refined Palette */
  --blueprint-navy: #0a1628;
  --blueprint-navy-light: #162033;
  --blueprint-navy-dark: #050d17;
  --tenderforge-red: #b91c1c;
  --tenderforge-red-light: #dc2626;
  --tenderforge-red-dark: #991b1b;
  --concrete-grey: #f8fafc;
  --concrete-grey-dark: #e2e8f0;
  
  /* Accent Colors - Premium */
  --forge-gold: #c9a962;
  --forge-copper: #a86b3d;
  --forge-emerald: #059669;
  --forge-sapphire: #2563eb;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --grey-50: #f9fafb;
  --grey-100: #f3f4f6;
  --grey-200: #e5e7eb;
  --grey-300: #d1d5db;
  --grey-400: #9ca3af;
  --grey-500: #6b7280;
  --grey-600: #4b5563;
  --grey-700: #374151;
  --grey-800: #1f2937;
  --grey-900: #111827;
  
/* Typography - Premium Fonts */
--font-display: 'Instrument Serif', 'Playfair Display', Georgia, serif;
--font-body: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;
  
/* Shadows - Refined */
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
--shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
--shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 8px -4px rgba(0, 0, 0, 0.06);
--shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.12), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
--shadow-glow: 0 0 40px -10px rgba(185, 28, 28, 0.3);
--shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-900);
  background-color: var(--white);
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
  color: var(--grey-600);
  line-height: 1.7;
}

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

a:hover {
  color: var(--tenderforge-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--tenderforge-red) 0%, var(--tenderforge-red-dark) 100%);
  color: var(--white);
  box-shadow: 0 2px 8px -2px rgba(185, 28, 28, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--tenderforge-red-light) 0%, var(--tenderforge-red) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px -4px rgba(185, 28, 28, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px -1px rgba(185, 28, 28, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--blueprint-navy);
  border: 1px solid var(--grey-200);
}

.btn-secondary:hover {
  background-color: var(--grey-50);
  border-color: var(--grey-300);
  color: var(--blueprint-navy);
}

.btn-ghost {
  background-color: transparent;
  color: var(--grey-600);
}

.btn-ghost:hover {
  background-color: var(--grey-100);
  color: var(--grey-900);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.w-full {
  width: 100%;
}

/* ============================================
   INPUTS
   ============================================ */

.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.input-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blueprint-navy);
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--grey-900);
  background-color: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus {
  outline: none;
  border-color: var(--blueprint-navy);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.input::placeholder {
  color: var(--grey-400);
}

.input-error {
  border-color: var(--tenderforge-red);
}

textarea.input {
  min-height: 120px;
  resize: vertical;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background-color: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--grey-200);
  box-shadow: var(--shadow-md);
}

.card-padded {
  padding: var(--space-xl);
}

.card-elevated {
  box-shadow: var(--shadow-md);
  border: none;
}

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

.card-gradient {
  background: linear-gradient(135deg, var(--white) 0%, var(--grey-50) 100%);
}

.card-dark {
  background: var(--blueprint-navy);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.card-dark:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.card-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-body {
  padding: var(--space-lg);
}

.card-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--grey-100);
  background: var(--grey-50);
}

/* ============================================
   BADGES
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.badge-red {
  background-color: rgba(220, 38, 38, 0.1);
  color: var(--tenderforge-red);
}

.badge-green {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.badge-yellow {
  background-color: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-100);
}

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

.header-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blueprint-navy);
}

.header-logo span {
  color: var(--tenderforge-red);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-600);
  transition: color var(--transition-fast);
}

.header-nav a:hover {
  color: var(--blueprint-navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background-color: var(--blueprint-navy);
  color: var(--white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  color: var(--grey-400);
  margin-top: var(--space-md);
  max-width: 280px;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--grey-400);
}

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

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

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--grey-400);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--grey-400);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background-color: var(--tenderforge-red);
  color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(185, 28, 28, 0.08), transparent),
    linear-gradient(180deg, var(--concrete-grey) 0%, var(--white) 40%, var(--concrete-grey) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(10, 22, 40, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.08) 0%, rgba(185, 28, 28, 0.04) 100%);
  border: 1px solid rgba(185, 28, 28, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  animation: slideUp 0.6s ease-out;
  backdrop-filter: blur(8px);
}

.hero-badge span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tenderforge-red);
  letter-spacing: 0.02em;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--tenderforge-red);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--grey-600);
  max-width: 540px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero-features {
  display: flex;
  gap: var(--space-xl);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--grey-500);
}

.hero-feature svg {
  color: var(--tenderforge-red);
}

/* Hero Dark (For Architects/Builders pages) */
.hero-dark {
  background: var(--blueprint-navy);
  color: var(--white);
}

.hero-dark::before {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.hero-dark h1 {
  color: var(--white);
}

.hero-dark .hero-subtitle {
  color: var(--grey-400);
}

.hero-dark .hero-feature {
  color: var(--grey-400);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
  padding: var(--space-4xl) 0;
  background-color: var(--white);
}

.features-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tenderforge-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.features-header h2 {
  margin-bottom: var(--space-md);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-xl);
  background-color: var(--concrete-grey);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.875rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
  padding: var(--space-4xl) 0;
  background-color: var(--concrete-grey);
}

.pricing-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.pricing-card-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--grey-100);
}

.pricing-card h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.pricing-card .price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}

.pricing-card .price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blueprint-navy);
}

.pricing-card .price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--blueprint-navy);
  line-height: 1;
}

.pricing-card .price-period {
  font-size: 1rem;
  color: var(--grey-500);
}

.pricing-card .trial-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--tenderforge-red);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--grey-700);
}

.pricing-feature svg {
  color: var(--tenderforge-red);
  flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  padding: var(--space-4xl) 0;
  background-color: var(--blueprint-navy);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta p {
  color: var(--grey-400);
  max-width: 540px;
  margin: 0 auto var(--space-xl);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.cta-note {
  margin-top: var(--space-lg);
  font-size: 0.875rem;
  color: var(--grey-500);
}

/* ============================================
   AUTH PAGES
   ============================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background-color: var(--concrete-grey);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.auth-header {
  padding: var(--space-xl);
  text-align: center;
  border-bottom: 1px solid var(--grey-100);
}

.auth-header h1 {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

.auth-header p {
  font-size: 0.875rem;
}

.auth-form {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.auth-footer {
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--grey-50);
  text-align: center;
  font-size: 0.875rem;
  color: var(--grey-600);
}

.auth-footer a {
  color: var(--tenderforge-red);
  font-weight: 500;
}

/* Role Selector */
.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.role-option {
  padding: var(--space-lg);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.role-option:hover {
  border-color: var(--blueprint-navy);
}

.role-option.active {
  border-color: var(--blueprint-navy);
  background-color: rgba(15, 23, 42, 0.05);
}

.role-option h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.role-option p {
  font-size: 0.75rem;
}

/* ============================================
   DASHBOARD
   ============================================ */

.dashboard {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--blueprint-navy) 0%, var(--blueprint-navy-dark) 100%);
  padding: var(--space-lg);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2xl);
  display: block;
}

.sidebar-logo span {
  color: var(--tenderforge-red);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  color: var(--grey-400);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.sidebar-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.sidebar-link svg {
  width: 20px;
  height: 20px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-xl);
}

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--tenderforge-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.sidebar-user-role {
  color: var(--grey-400);
  font-size: 0.75rem;
  text-transform: capitalize;
  margin: 0;
}

.dashboard-main {
  flex: 1;
  margin-left: 260px;
  background-color: var(--concrete-grey);
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-100);
}

.dashboard-search {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--grey-50);
  border-radius: var(--radius-full);
  width: 320px;
}

.dashboard-search input {
  flex: 1;
  border: none;
  background: none;
  font-size: 0.875rem;
  color: var(--grey-900);
  outline: none;
}

.dashboard-search svg {
  color: var(--grey-400);
  width: 18px;
  height: 18px;
}

.dashboard-content {
  padding: var(--space-xl);
}

.dashboard-title {
  margin-bottom: var(--space-xs);
}

.dashboard-subtitle {
  font-size: 0.875rem;
  color: var(--grey-500);
  margin-bottom: var(--space-xl);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--tenderforge-red) 0%, var(--tenderforge-red-dark) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-card:hover {
  border-color: var(--grey-200);
  box-shadow: var(--shadow-md);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--grey-500);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--blueprint-navy);
  line-height: 1.2;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: var(--space-sm);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
}

.stat-change-up {
  background: rgba(5, 150, 105, 0.1);
  color: var(--forge-emerald);
}

.stat-change-down {
  background: rgba(185, 28, 28, 0.1);
  color: var(--tenderforge-red);
}

/* ============================================
   APPLICATION STATUS
   ============================================ */

.status-page {
  min-height: 100vh;
  padding: calc(72px + var(--space-3xl)) var(--space-lg) var(--space-3xl);
  background-color: var(--concrete-grey);
}

.status-container {
  max-width: 600px;
  margin: 0 auto;
}

.status-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.progress-ring-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.progress-ring {
  position: relative;
  width: 200px;
  height: 200px;
}

.progress-ring svg {
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: var(--grey-200);
  stroke-width: 8;
}

.progress-ring-progress {
  fill: none;
  stroke: var(--tenderforge-red);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s ease;
}

.progress-ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.progress-ring-percent {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blueprint-navy);
}

.progress-ring-label {
  font-size: 0.875rem;
  color: var(--grey-500);
}

.status-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.status-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background-color: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.status-step.active {
  border-color: var(--tenderforge-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.status-step.completed {
  opacity: 0.7;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--grey-100);
  color: var(--grey-400);
  flex-shrink: 0;
}

.status-step.active .step-icon {
  background-color: rgba(220, 38, 38, 0.1);
  color: var(--tenderforge-red);
}

.status-step.completed .step-icon {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.step-content h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.step-content p {
  font-size: 0.875rem;
}

.step-percent {
  margin-left: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey-400);
}

/* ============================================
   GOOGLE MAPS
   ============================================ */

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-200);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   TUTORIAL OVERLAY
   ============================================ */

.tutorial-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutorial-spotlight {
  position: absolute;
  border: 3px solid var(--tenderforge-red);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.tutorial-tooltip {
  position: absolute;
  max-width: 320px;
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.tutorial-tooltip h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.tutorial-tooltip p {
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
}

.tutorial-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tutorial-progress {
  font-size: 0.75rem;
  color: var(--grey-500);
}

/* ============================================
   ALERTS / MESSAGES
   ============================================ */

.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
}

.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.alert-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.alert-warning {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  color: #ca8a04;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.5s ease forwards;
}

.animate-slide-down {
  animation: slideDown 0.5s ease forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.5s ease forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.5s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.3s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 1s ease-in-out infinite;
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--grey-100) 25%, var(--grey-50) 50%, var(--grey-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--grey-200);
  border-top-color: var(--tenderforge-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  width: 16px;
  height: 16px;
}

.spinner-lg {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

/* Hover effects */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--tenderforge-red) 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass effect */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Focus ring */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

/* Smooth scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: var(--grey-100);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--grey-300);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--grey-400);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .header-nav {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    margin-bottom: var(--space-xl);
  }
  
  .footer-brand p {
    max-width: none;
    margin: var(--space-md) auto 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .dashboard-sidebar {
    display: none;
  }
  
  .dashboard-main {
    margin-left: 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-features {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .pricing-card .price-amount {
    font-size: 2.5rem;
  }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-slow);
  z-index: 10000;
  max-width: 400px;
}

.toast-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.toast-icon {
  font-size: 1.25rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-message {
  font-size: 0.9375rem;
  color: var(--grey-800);
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--grey-400);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.toast-close:hover {
  color: var(--grey-600);
}

.toast-success {
  border-left: 4px solid #22c55e;
}

.toast-success .toast-icon {
  color: #22c55e;
}

.toast-error {
  border-left: 4px solid var(--tenderforge-red);
}

.toast-error .toast-icon {
  color: var(--tenderforge-red);
}

.toast-warning {
  border-left: 4px solid #f59e0b;
}

.toast-warning .toast-icon {
  color: #f59e0b;
}

.toast-info {
  border-left: 4px solid #3b82f6;
}

.toast-info .toast-icon {
  color: #3b82f6;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-base);
}

.modal-visible .modal-content {
  transform: scale(1);
}

.modal-body {
  margin-bottom: var(--space-lg);
}

.modal-body p {
  font-size: 1rem;
  color: var(--grey-700);
}

.modal-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

/* ============================================
   DATA TABLE
   ============================================ */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th,
.data-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--grey-200);
}

.data-table th {
  font-weight: 600;
  color: var(--grey-600);
  background: var(--grey-50);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table tr:hover {
  background: var(--grey-50);
}

.data-table .actions {
  display: flex;
  gap: var(--space-sm);
}

/* ============================================
   EMPTY/LOADING/ERROR STATES
   ============================================ */

.empty-state,
.loading-state,
.error-state {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--grey-500);
}

.error-state {
  color: var(--tenderforge-red);
}

/* ============================================
   ALERT (in-form)
   ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  animation: slideDown var(--transition-base) ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-fade {
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition-base);
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.alert-icon {
  font-size: 1rem;
}

/* ============================================
   TUTORIAL OVERLAY
   ============================================ */

.tutorial-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.tutorial-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.tutorial-tooltip {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  max-width: 400px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.tutorial-tooltip h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.tutorial-tooltip p {
  color: var(--grey-600);
  margin-bottom: var(--space-lg);
}

.tutorial-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tutorial-progress {
  font-size: 0.875rem;
  color: var(--grey-500);
}

.tutorial-actions > div {
  display: flex;
  gap: var(--space-sm);
}

/* ============================================
   SPINNER
   ============================================ */

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   NOTIFICATION BADGE
   ============================================ */

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--tenderforge-red);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ============================================
   RESPONSIVE IMPROVEMENTS
   ============================================ */

@media (max-width: 768px) {
  .toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }
  
  .data-table {
    display: block;
    overflow-x: auto;
  }
}

/* ============================================
   FILE UPLOAD AREA
   ============================================ */

.upload-area {
  border: 2px dashed var(--grey-300);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  background: var(--grey-50);
  transition: all var(--transition-base);
  cursor: pointer;
}

.upload-area:hover,
.upload-area.drag-over {
  border-color: var(--tenderforge-red);
  background: rgba(185, 28, 28, 0.04);
}

.upload-area-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--grey-400);
}

.upload-area-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: var(--space-xs);
}

.upload-area-subtitle {
  font-size: 0.875rem;
  color: var(--grey-500);
}

.upload-area-formats {
  font-size: 0.75rem;
  color: var(--grey-400);
  margin-top: var(--space-md);
}

/* File List */
.file-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.file-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.file-item:hover {
  border-color: var(--grey-300);
  box-shadow: var(--shadow-sm);
}

.file-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-100);
  border-radius: var(--radius-md);
  color: var(--grey-500);
}

.file-icon.pdf { background: #fef2f2; color: #dc2626; }
.file-icon.image { background: #f0fdf4; color: #16a34a; }
.file-icon.doc { background: #eff6ff; color: #2563eb; }
.file-icon.zip { background: #fefce8; color: #ca8a04; }

.file-info {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-meta {
  font-size: 0.75rem;
  color: var(--grey-500);
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

.file-actions {
  display: flex;
  gap: var(--space-sm);
}

.file-action-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--grey-100);
  color: var(--grey-500);
  transition: all var(--transition-fast);
}

.file-action-btn:hover {
  background: var(--grey-200);
  color: var(--grey-700);
}

.file-action-btn.delete:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* ============================================
   PENDING APPROVAL NOTICE
   ============================================ */

.pending-notice {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.pending-notice-icon {
  width: 24px;
  height: 24px;
  color: #d97706;
  flex-shrink: 0;
}

.pending-notice-content h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: var(--space-xs);
}

.pending-notice-content p {
  font-size: 0.875rem;
  color: #a16207;
  line-height: 1.5;
}

.pending-notice-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.pending-feature {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.6);
  color: #92400e;
}

.pending-feature.locked {
  background: rgba(0, 0, 0, 0.08);
  color: #78350f;
}

.pending-feature svg {
  width: 12px;
  height: 12px;
}

/* ============================================
   QUICK ACTIONS GRID
   ============================================ */

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.quick-action {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
}

.quick-action:hover {
  border-color: var(--tenderforge-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.quick-action-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.1) 0%, rgba(185, 28, 28, 0.05) 100%);
  border-radius: var(--radius-md);
  color: var(--tenderforge-red);
}

.quick-action-content h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--grey-800);
  margin-bottom: 2px;
}

.quick-action-content p {
  font-size: 0.75rem;
  color: var(--grey-500);
}

/* ============================================
   ACTIVITY TIMELINE
   ============================================ */

.activity-timeline {
  position: relative;
  padding-left: var(--space-xl);
}

.activity-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grey-200);
}

.activity-item {
  position: relative;
  padding-bottom: var(--space-lg);
}

.activity-item:last-child {
  padding-bottom: 0;
}

.activity-dot {
  position: absolute;
  left: calc(-1 * var(--space-xl) + 4px);
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--white);
  border: 2px solid var(--grey-300);
  border-radius: 50%;
}

.activity-item.new .activity-dot {
  background: var(--tenderforge-red);
  border-color: var(--tenderforge-red);
}

.activity-content {
  background: var(--grey-50);
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

.activity-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-800);
  margin-bottom: var(--space-xs);
}

.activity-meta {
  font-size: 0.75rem;
  color: var(--grey-500);
}

/* ============================================
   RESTRICTED FEATURE OVERLAY
   ============================================ */

.restricted-overlay {
  position: relative;
}

.restricted-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  border-radius: inherit;
  z-index: 10;
}

.restricted-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--grey-600);
}

.restricted-badge svg {
  width: 16px;
  height: 16px;
  color: var(--grey-400);
}

/* ============================================
   PREMIUM VISUAL ENHANCEMENTS
   ============================================ */

/* Subtle gradient backgrounds */
.bg-gradient-subtle {
  background: linear-gradient(180deg, var(--white) 0%, var(--grey-50) 100%);
}

.bg-gradient-radial {
  background: radial-gradient(ellipse at center top, rgba(185, 28, 28, 0.03), transparent 60%);
}

/* Decorative elements */
.decorative-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--tenderforge-red) 0%, transparent 100%);
  margin-bottom: var(--space-lg);
}

.decorative-dots {
  display: flex;
  gap: var(--space-sm);
}

.decorative-dots span {
  width: 8px;
  height: 8px;
  background: var(--grey-300);
  border-radius: 50%;
}

.decorative-dots span:first-child {
  background: var(--tenderforge-red);
}

/* Section dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey-200), transparent);
  margin: var(--space-3xl) 0;
}

/* Text highlights */
.text-highlight {
  position: relative;
  display: inline;
}

.text-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 8px;
  background: rgba(185, 28, 28, 0.15);
  z-index: -1;
}

/* Number highlights */
.number-large {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--blueprint-navy) 0%, var(--grey-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Icon containers */
.icon-circle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-100);
  border-radius: 50%;
  color: var(--grey-600);
}

.icon-circle-primary {
  background: linear-gradient(135deg, var(--tenderforge-red) 0%, var(--tenderforge-red-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 12px -2px rgba(185, 28, 28, 0.3);
}

.icon-circle-success {
  background: linear-gradient(135deg, var(--forge-emerald) 0%, #047857 100%);
  color: var(--white);
}

/* Status indicators */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  font-weight: 500;
}

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

.status-dot.online { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.status-dot.offline { background: var(--grey-400); }
.status-dot.pending { background: #f59e0b; animation: pulse 2s infinite; }
.status-dot.error { background: #ef4444; }
