/* TRS Core Portfolio - CSS Variables & Design System */
:root {
  /* Ledger Green Palette */
  --ledger-green: #10b981;
  --ledger-green-dark: #059669;
  --ledger-green-glow: rgba(16, 185, 129, 0.3);
  --ledger-green-bright: #34d399;

  /* Dark Theme Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #141414;
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-tertiary: #707070;
  
  --border-color: #2a2a2a;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --input-bg: #1a1a1a;
  --input-border: #2a2a2a;
}

/* Light Theme Colors - Red, White & Black */
[data-theme="light"] {
  --ledger-green: #dc2626;
  --ledger-green-dark: #b91c1c;
  --ledger-green-glow: rgba(220, 38, 38, 0.2);
  --ledger-green-bright: #ef4444;
  
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-tertiary: #f5f5f5;
  --bg-card: #ffffff;
  
  --text-primary: #0a0a0a;
  --text-secondary: #333333;
  --text-tertiary: #555555;
  
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.12);
  --input-bg: #ffffff;
  --input-border: #d0d0d0;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Pulse animation for highlighting product cards */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--ledger-green);
  border-radius: 6px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ledger-green-bright);
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

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

/* Highlight pulse for product cards */
.product-card.highlight-pulse {
  animation: highlightPulse 0.5s ease-in-out 3;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

@keyframes highlightPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
  }
}

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

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ledger-green);
  box-shadow: 0 2px 20px rgba(16, 185, 129, 0.2);
  animation: slideDown 0.5s ease-out;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  min-height: 80px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo-products {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  position: relative;
  z-index: 1001;
  user-select: none;
  cursor: pointer;
}

.logo-product:hover {
  background: rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.logo-product:hover .logo-icon {
  box-shadow: 0 0 30px var(--ledger-green-glow);
  transform: scale(1.05);
}

.logo-product:hover .logo-text h1 {
  color: var(--ledger-green);
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--ledger-green), var(--ledger-green-bright));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  animation: pulse 3s ease-in-out infinite;
  box-shadow: 0 0 20px var(--ledger-green-glow);
}

.logo-text h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Navigation Styles */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: 'Orbitron', sans-serif;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ledger-green);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--ledger-green);
}

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

.nav-link-ledger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--ledger-green);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: var(--ledger-green);
}

.nav-link-ledger:hover {
  background: var(--ledger-green);
  color: var(--bg-primary);
}

.nav-link-ledger::after {
  display: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--ledger-green);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.theme-toggle:hover {
  background: var(--ledger-green);
  color: var(--bg-primary);
  border-color: var(--ledger-green);
  transform: rotate(180deg);
}

.mobile-menu-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.mobile-menu-toggle:hover {
  border-color: var(--ledger-green);
  color: var(--ledger-green);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.version-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: var(--ledger-green);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.status-dot.healthy {
  background: var(--ledger-green);
  box-shadow: 0 0 10px var(--ledger-green-glow);
}

.status-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Container and Sections */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeIn 1s ease-out;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-header h3 i {
  color: var(--ledger-green);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem 4rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--ledger-green-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-name:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px var(--ledger-green-glow);
}

.hero h2 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--ledger-green-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero > p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 1rem;
  line-height: 1.8;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem !important;
  color: var(--ledger-green) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-aap-role {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .hero-aap-role {
  color: #ef4444;
}

.aap-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0 1.5rem 0;
}

.aap-hero-logo {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 0 10px var(--ledger-green-glow));
  transition: all 0.3s ease;
}

.aap-hero-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px var(--ledger-green-glow));
}

.hero-quote {
  font-size: 1.5rem !important;
  color: var(--text-primary) !important;
  font-style: italic !important;
  margin-bottom: 2rem !important;
  font-weight: 500 !important;
}

.hero-summary {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  border-left: 4px solid var(--ledger-green);
}

.hero-summary p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 1rem;
}

.hero-summary p:last-child {
  margin-bottom: 0;
}

.hero-summary strong {
  color: var(--text-primary);
  font-size: 1.1rem;
}

.founder-headline {
  font-family: 'Orbitron', sans-serif;
  text-align: center !important;
  font-size: 1.2rem !important;
  color: var(--ledger-green) !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.founder-headline strong {
  font-family: 'Orbitron', sans-serif;
  color: var(--ledger-green) !important;
  font-size: 1.2rem !important;
  letter-spacing: 1px;
}

.product-highlights {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.product-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  border-left: 3px solid var(--ledger-green);
}

.product-highlight i {
  color: var(--ledger-green);
  font-size: 1.5rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.product-highlight-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-highlight-content strong {
  font-family: 'Orbitron', sans-serif;
  color: var(--ledger-green);
  font-size: 1.05rem;
  display: block;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-highlight-content span {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-highlight strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.professional-summary {
  color: var(--text-secondary) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  text-align: left !important;
  margin-bottom: 1.2rem !important;
}

.professional-summary:last-of-type {
  margin-bottom: 2.5rem !important;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ledger-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--ledger-green);
  box-shadow: 0 12px 40px var(--ledger-green-glow);
}

.product-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--ledger-green), var(--ledger-green-bright));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.product-card:hover .product-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px var(--ledger-green-glow);
}

.product-card h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: var(--ledger-green);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ledger-green);
  border: 2px solid var(--ledger-green);
  color: var(--bg-primary);
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-btn:hover {
  background: var(--ledger-green-dark);
  border-color: var(--ledger-green-dark);
  transform: translateX(5px);
}

/* Product Modals */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  padding: 2rem;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.product-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--bg-card);
  border: 2px solid var(--ledger-green);
  border-radius: 16px;
  padding: 3rem;
  max-width: 700px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
  animation: slideDown 0.4s ease;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--ledger-green);
  color: var(--bg-primary);
  border-color: var(--ledger-green);
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

.modal-header i {
  font-size: 3rem;
  color: var(--ledger-green);
}

.modal-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.modal-body {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Lead Capture Form */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.lead-capture-form {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.lead-capture-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.lead-capture-form .form-group {
  text-align: left;
}

.lead-capture-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.required {
  color: var(--ledger-green);
}

.lead-capture-form input,
.lead-capture-form select,
.lead-capture-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--input-bg);
  border: 2px solid var(--input-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.lead-capture-form input:focus,
.lead-capture-form select:focus,
.lead-capture-form textarea:focus {
  outline: none;
  border-color: var(--ledger-green);
  box-shadow: 0 0 0 3px var(--ledger-green-glow);
}

.lead-capture-form input::placeholder,
.lead-capture-form textarea::placeholder {
  color: var(--text-tertiary);
}

.submit-btn {
  width: 100%;
  padding: 1.125rem 2rem;
  background: var(--ledger-green);
  border: 2px solid var(--ledger-green);
  border-radius: 8px;
  color: var(--bg-primary);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.submit-btn:hover {
  background: var(--ledger-green-dark);
  border-color: var(--ledger-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--ledger-green-glow);
}

.form-message {
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--ledger-green);
  color: var(--ledger-green);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #ef4444;
  color: #ef4444;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.contact-info h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-method:hover {
  border-color: var(--ledger-green);
  transform: translateX(5px);
}

.contact-method i {
  color: var(--ledger-green);
  font-size: 1.25rem;
}

.contact-method span {
  font-size: 1rem;
  font-weight: 500;
}

.hero-credentials {
  max-width: 1000px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.credential-item:hover {
  border-color: var(--ledger-green);
  transform: translateX(5px);
}

.credential-item i {
  color: var(--ledger-green);
  font-size: 1.5rem;
}

.credential-item span {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.credential-item strong {
  color: var(--text-primary);
}

.hero > p:last-of-type {
  font-size: 1.5rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 4rem;
  font-weight: 500;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ledger-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--ledger-green);
  box-shadow: 0 8px 30px var(--ledger-green-glow);
}

.stat-card i {
  font-size: 2.5rem;
  color: var(--ledger-green);
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Companies Grid */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ledger-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.company-card:hover::before {
  transform: scaleX(1);
}

.company-card:hover {
  transform: translateY(-5px);
  border-color: var(--ledger-green);
  box-shadow: 0 8px 30px var(--ledger-green-glow);
}

.company-card img {
  width: 100%;
  max-width: 300px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.3s ease;
}

.company-card:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.company-card-dual .dual-logos {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.company-card-dual .dual-logos img {
  width: 160px;
  height: 100px;
  margin-bottom: 0;
}

.company-role {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Timeline Container */
.timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1.5rem;
  scroll-margin-top: 100px;
}

.timeline-logos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-shrink: 0;
}

.timeline-logo {
  flex-shrink: 0;
  width: 250px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 0.5rem;
}

.timeline-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.3s ease;
}

.timeline-card:hover .timeline-logo img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.timeline-card > div:last-child {
  flex: 1;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ledger-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.timeline-card:hover::before {
  transform: scaleX(1);
}

.timeline-card:hover {
  transform: translateY(-5px);
  border-color: var(--ledger-green);
  box-shadow: 0 8px 30px var(--ledger-green-glow);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.year-badge {
  background: linear-gradient(135deg, var(--ledger-green), var(--ledger-green-bright));
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.timeline-header h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  min-width: 200px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.company-name {
  font-size: 1.125rem;
  color: var(--ledger-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.description-list {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

.description-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.description-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--ledger-green);
  font-weight: bold;
}

.company-note {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-style: italic;
  margin-bottom: 1rem;
}

/* Tech Tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--ledger-green);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tech-badge:hover {
  background: var(--ledger-green);
  color: var(--bg-primary);
  border-color: var(--ledger-green);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ledger-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--ledger-green);
  box-shadow: 0 8px 30px var(--ledger-green-glow);
}

.project-card i {
  font-size: 3rem;
  color: var(--ledger-green);
  margin-bottom: 1.5rem;
}

.project-card h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.project-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ledger-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.project-link:hover {
  color: var(--ledger-green-bright);
  gap: 0.75rem;
}

.project-link i {
  font-size: 1.25rem;
  margin: 0;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ledger-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--ledger-green);
  box-shadow: 0 8px 30px var(--ledger-green-glow);
}

.skill-card h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.skill-card h4 i {
  color: var(--ledger-green);
  font-size: 1.75rem;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ledger-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--ledger-green);
  box-shadow: 0 8px 30px var(--ledger-green-glow);
}

.blog-header {
  margin-bottom: 1rem;
}

.blog-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-family: 'JetBrains Mono', monospace;
}

.blog-date i {
  color: var(--ledger-green);
}

.blog-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.blog-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--ledger-green);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ledger-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.blog-link:hover {
  color: var(--ledger-green-bright);
  gap: 0.75rem;
}

.blog-link i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.blog-link:hover i {
  transform: translateX(5px);
}

/* Mailing List Section */
#mailing-list {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 5rem 2rem;
}

.mailing-list-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.mailing-list-header {
  margin-bottom: 3rem;
}

.mailing-list-header i {
  font-size: 3rem;
  color: var(--ledger-green);
  margin-bottom: 1rem;
}

.mailing-list-header h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.mailing-list-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.subscribe-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--ledger-green);
  box-shadow: 0 0 0 3px var(--ledger-green-glow);
}

.form-group input::placeholder {
  color: var(--text-tertiary);
}

.subscribe-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--ledger-green);
  border: 2px solid var(--ledger-green);
  border-radius: 8px;
  color: var(--bg-primary);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.subscribe-btn:hover {
  background: var(--ledger-green-dark);
  border-color: var(--ledger-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--ledger-green-glow);
}

.subscribe-btn i {
  font-size: 1.25rem;
}

.subscribe-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.subscribe-message.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--ledger-green);
  color: var(--ledger-green);
}

.subscribe-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
}

.privacy-note {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.privacy-note i {
  color: var(--ledger-green);
}

/* Contact Section */
#contact {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
  padding: 6rem 2rem;
}

.contact-content h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-content > p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 2px solid var(--ledger-green);
  color: var(--text-primary);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: var(--ledger-green);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--ledger-green-glow);
}

.contact-btn i {
  font-size: 1.25rem;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-stats {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.view-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.view-counter:hover {
  border-color: var(--ledger-green);
  transform: translateY(-2px);
}

.view-counter i {
  color: var(--ledger-green);
  font-size: 1.1rem;
}

#view-count {
  color: var(--ledger-green);
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-content p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-product {
  font-family: 'Orbitron', sans-serif;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem !important;
}

.footer-product strong {
  color: var(--ledger-green);
  font-weight: 700;
}

.footer-copyright {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1.5rem !important;
}

.powered-by-trs {
  font-family: 'Orbitron', sans-serif;
  color: var(--ledger-green);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-content {
    padding: 1rem 1.5rem;
  }
  
  .main-nav {
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    display: none;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }

  .hero h2 {
    font-size: 3rem;
  }

  .hero > p:last-of-type {
    font-size: 1.25rem;
  }

  .section-header h3 {
    font-size: 2rem;
  }

  .stats-grid,
  .companies-grid,
  .projects-grid,
  .skills-grid,
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 1.5rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .header-status {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    padding: 5rem 1.5rem 4rem;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero > p, .hero-title {
    font-size: 1.125rem !important;
  }

  .hero-quote {
    font-size: 1.125rem !important;
  }
  
  .hero-summary {
    padding: 1.5rem;
  }
  
  .credential-item {
    flex-direction: column;
    text-align: center;
  }

  .section-header h3 {
    font-size: 1.75rem;
    flex-direction: column;
  }

  .section-header p {
    font-size: 1rem;
  }

  .stats-grid,
  .companies-grid,
  .projects-grid,
  .skills-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .timeline-card {
    flex-direction: column;
  }
  
  .timeline-logo {
    width: 200px;
    height: 100px;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-header h4 {
    font-size: 1.25rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 100%;
    max-width: 400px;
    justify-content: center;
  }

  /* Fix word spacing on mobile - disable justify */
  .professional-summary,
  .hero-summary p {
    text-align: left !important;
    word-spacing: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
}

@media (max-width: 480px) {
  /* Very small screens optimization */
  section {
    padding: 2rem 1rem;
  }
  
  .hero {
    padding: 4rem 1rem 3rem;
  }
  
  .hero h2 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero > p, .hero-title {
    font-size: 1rem !important;
  }
  
  .hero-summary {
    padding: 1rem;
    margin: 1.5rem 0;
  }

  .stat-value {
    font-size: 2.5rem;
  }
  
  .timeline-card {
    padding: 1rem;
  }
  
  .timeline-logo {
    width: 180px;
    height: 80px;
  }
  
  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents iOS zoom */
  }

  .contact-content h2 {
    font-size: 2rem;
  }
}

/* Mobile Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Touch device optimizations */
  .nav-link,
  .contact-btn,
  .theme-toggle,
  .mobile-menu-toggle,
  .product-card,
  .timeline-card,
  .company-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  /* Increase touch target sizes */
  .nav-link {
    min-height: 48px;
    padding: 12px 16px;
  }
  
  .mobile-menu-toggle,
  .theme-toggle {
    min-width: 48px;
    min-height: 48px;
  }
  
  /* Remove hover effects on touch devices */
  .product-card:hover,
  .timeline-card:hover,
  .company-card:hover,
  .skill-card:hover {
    transform: none;
  }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari smooth scrolling fix */
  body {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Fix iOS zoom on input focus */
  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 16px;
  }
}

/* Android specific optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 1) {
  /* Android Chrome optimizations */
  button, input, select, textarea {
    font-family: inherit;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .logo-icon,
  .status-dot {
    animation: none !important;
  }
}

/* Light Theme Enhancements - Red, White & Black */
[data-theme="light"] .tech-badge {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.3);
}

[data-theme="light"] .year-badge {
  background: rgba(220, 38, 38, 0.15);
  color: #b91c1c;
}

[data-theme="light"] .stat-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .stat-card i {
  color: #dc2626;
}

[data-theme="light"] .timeline-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .timeline-card:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

[data-theme="light"] .skill-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

[data-theme="light"] .skill-card h4 {
  color: #0a0a0a;
}

[data-theme="light"] .skill-card h4 i {
  color: #dc2626;
}

[data-theme="light"] .company-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

[data-theme="light"] .company-card:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

[data-theme="light"] .product-card {
  background: #ffffff;
  border: 2px solid #e0e0e0;
}

[data-theme="light"] .product-card:hover {
  border-color: #dc2626;
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.2);
}

[data-theme="light"] .nav-link {
  color: #333333;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #dc2626;
}

[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e0e0e0;
}

[data-theme="light"] .hero-summary {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #dc2626;
}

[data-theme="light"] .product-highlight {
  background: #f5f5f5;
}

[data-theme="light"] .section-header h3 {
  color: #0a0a0a;
}

[data-theme="light"] .section-header h3 i {
  color: #dc2626;
}

[data-theme="light"] .submit-btn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

[data-theme="light"] .submit-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

[data-theme="light"] .logo-icon {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

[data-theme="light"] .logo-text h1 {
  color: #0a0a0a;
}

[data-theme="light"] footer {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

[data-theme="light"] .contact-method {
  background: #f5f5f5;
  color: #333333;
}

[data-theme="light"] .contact-method:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

/* Toast Notification Popup */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid var(--ledger-green);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--ledger-green-glow);
  z-index: 10000;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-notification .toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.toast-notification .toast-content i {
  font-size: 1.5rem;
  color: var(--ledger-green);
  flex-shrink: 0;
}

.toast-notification .toast-content span {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.toast-notification .toast-close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.toast-notification .toast-close:hover {
  color: var(--text-primary);
}

.toast-notification.toast-success {
  border-color: var(--ledger-green);
}

.toast-notification.toast-error {
  border-color: #ef4444;
}

.toast-notification.toast-error .toast-content i {
  color: #ef4444;
}

/* Light theme toast */
[data-theme="light"] .toast-notification {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  border-color: var(--ledger-green);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 20px var(--ledger-green-glow);
}

[data-theme="light"] .toast-notification .toast-content span {
  color: #333333;
}

/* Mobile responsive toast */
@media (max-width: 480px) {
  .toast-notification {
    left: 10px;
    right: 10px;
    max-width: none;
  }
}

/* Removed individual logo size overrides - all logos now use consistent default sizes:
   Company cards: 200px × 120px
   Timeline logos: 160px × 120px container with 100% object-fit: contain
   This ensures uniform appearance across all Fortune 500 client logos */
