/* ============================================
   REDLINE - Global Styles
   Standard CSS
   ============================================ */

/* CSS Variables */
:root {
  /* Brand Colors */
  --blueprint-navy: #0f172a;
  --blueprint-navy-light: #1e293b;
  --blueprint-navy-dark: #020617;
  --redline-red: #dc2626;
  --redline-red-light: #ef4444;
  --redline-red-dark: #b91c1c;
  --concrete-grey: #f8fafc;
  --concrete-grey-dark: #e2e8f0;
  
  /* 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 */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* 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 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* 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(--redline-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-color: var(--redline-red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--redline-red-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.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(--redline-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;
}

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

/* ============================================
   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(--redline-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(--redline-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(--redline-red);
  color: var(--white);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(135deg, var(--concrete-grey) 0%, var(--white) 50%, var(--concrete-grey) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  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 1rem;
  background-color: rgba(220, 38, 38, 0.08);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--redline-red);
}

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

.hero h1 .highlight {
  color: var(--redline-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(--redline-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(--redline-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(--redline-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(--redline-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(--redline-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-color: var(--blueprint-navy);
  padding: var(--space-lg);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.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(--redline-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(--redline-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-color: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--grey-500);
  margin-bottom: var(--space-sm);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blueprint-navy);
}

/* ============================================
   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(--redline-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(--redline-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(--redline-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(--redline-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(--redline-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(--redline-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;
  }
}
