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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --accent: #059669;
  --accent-dark: #047857;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-accent: linear-gradient(135deg, #059669 0%, #047857 100%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4); }

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--gray-200);
}
.btn-secondary:hover { border-color: var(--primary); }

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn-outline:hover { background: white; color: var(--primary); }

.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-image { 
  height: 48px; 
  width: auto;
}
.logo-icon { font-size: 1.5rem; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero {
  padding: 160px 24px 100px;
  background: linear-gradient(180deg, #f8fafc 0%, #e0e7ff 100%);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 { margin-bottom: 24px; }

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}
.stat:last-child .stat-number {
  color: var(--accent);
}
.hero-stats .stat-label {
  color: #1e293b !important;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Problem Section */
.problem-section {
  padding: 100px 24px;
  background: white;
}

.problem-section h2 { text-align: center; margin-bottom: 60px; }

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

.problem-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--gray-100);
  border-radius: 16px;
}
.problem-icon { font-size: 3rem; display: block; margin-bottom: 16px; }
.problem-card h3 { margin-bottom: 12px; color: var(--dark); }
.problem-card p { color: var(--secondary); font-size: 0.95rem; }

/* Features Section */
.features-section {
  padding: 100px 24px;
  background: var(--dark);
  color: white;
}

.features-section h2 { text-align: center; margin-bottom: 60px; }

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, background 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  filter: hue-rotate(120deg);
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--gray-300); }

/* Demo Section */
.demo-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #e0e7ff 100%);
}

.demo-section h2 { text-align: center; }
.demo-subtitle {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 60px;
  font-size: 1.1rem;
}

.demo-container {
  display: flex;
  align-items: stretch;
  gap: 40px;
  justify-content: center;
}

.demo-panel {
  flex: 1;
  max-width: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--dark);
  color: white;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.panel-icon { font-size: 1.25rem; }

.panel-badge {
  background: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.client-badge { background: var(--accent); }

.panel-content { padding: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.demo-select, .demo-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.demo-select:focus, .demo-textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.demo-textarea {
  min-height: 160px;
  resize: vertical;
}

/* Attachment Section */
.attachment-section {
  position: relative;
}

.attachment-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.attachment-display {
  border: 2px dashed var(--gray-300);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  background: var(--gray-100);
  transition: all 0.3s ease;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attachment-display:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.attachment-display.has-files {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(5, 150, 105, 0.05);
}

.attachment-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
}

.attachment-icon {
  font-size: 1.5rem;
}

.attachment-text {
  font-size: 0.9rem;
}

.attachment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.attachment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
}

.attachment-item-icon {
  font-size: 1.2rem;
}

.attachment-item-info {
  flex: 1;
}

.attachment-item-name {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

.attachment-item-size {
  font-size: 0.8rem;
  color: var(--secondary);
}

.attachment-item-remove {
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.attachment-item-remove:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--secondary);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.status-dot.sending { background: #f59e0b; animation: pulse 1s infinite; }
.status-dot.sent { background: var(--accent); }

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

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

/* Demo Arrow */
.demo-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
}
.arrow-line {
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}
.arrow-head {
  font-size: 1.5rem;
  color: var(--primary);
  animation: arrowPulse 2s infinite;
}
.arrow-label {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* Mock Desktop */
.mock-desktop {
  background: #1e293b;
  border-radius: 8px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.desktop-content {
  flex: 1;
  padding: 30px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.desktop-taskbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: #334155;
  border-top: 1px solid #475569;
  min-height: 40px;
}

.taskbar-left {
  display: flex;
  gap: 12px;
}

.taskbar-item {
  font-size: 0.75rem;
  color: #94a3b8;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.1);
}

.taskbar-right {
  display: flex;
  gap: 8px;
}

.taskbar-app {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  font-size: 0.75rem;
  color: #e2e8f0;
}

.taskbar-app:hover {
  background: rgba(37, 99, 235, 0.3);
  border-color: rgba(37, 99, 235, 0.5);
}

.taskbar-app.active {
  background: rgba(37, 99, 235, 0.4);
  border-color: var(--primary);
}

.taskbar-icon {
  font-size: 0.9rem;
}

.taskbar-label {
  font-weight: 500;
}

.notification-indicator {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: none;
  animation: pulse 2s infinite;
}

.notification-indicator.active {
  display: block;
}

/* Message Client Popup */
.message-client {
  width: 85%;
  max-width: 350px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.95);
  opacity: 0.7;
  transition: all 0.3s;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
}
.message-client.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  animation: popIn 0.4s ease-out;
}
.message-client.minimized {
  display: none;
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.client-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--gradient);
  color: white;
}
.client-logo { font-size: 1.25rem; }
.client-title { flex: 1; font-weight: 600; font-size: 0.9rem; }
.client-minimize, .client-close { 
  cursor: pointer; 
  opacity: 0.8; 
  padding: 2px 6px;
  border-radius: 3px;
  transition: all 0.2s;
}
.client-minimize:hover, .client-close:hover { 
  opacity: 1; 
  background: rgba(255, 255, 255, 0.2);
}

.client-store {
  padding: 8px 16px;
  background: var(--gray-100);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}

.client-message {
  padding: 25px 16px 16px 16px;
  min-height: 80px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.client-attachments {
  padding: 0 16px 16px 16px;
  border-top: 1px solid var(--gray-200);
}

.client-attachment-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.client-attachment-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.client-attachment-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--gray-100);
  border-radius: 4px;
  font-size: 0.8rem;
}

.client-attachment-icon {
  font-size: 1rem;
}

.client-attachment-name {
  flex: 1;
  color: var(--dark);
  font-weight: 500;
}

.client-attachment-download {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  transition: all 0.2s ease;
}

.client-attachment-download:hover {
  background: rgba(37, 99, 235, 0.1);
}
.message-placeholder {
  color: var(--gray-300);
  font-style: italic;
}

.client-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--gray-200);
}

.ack-button {
  width: 100%;
  padding: 10px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.ack-button:disabled {
  background: var(--gray-200);
  color: var(--gray-300);
  cursor: not-allowed;
}
.ack-button:not(:disabled):hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Client Tabs */
.client-tabs {
  display: flex;
  background: var(--gray-100);
}
.client-tab {
  flex: 1;
  padding: 8px 16px;
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.client-tab.active {
  background: white;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.client-tab:hover:not(.active) {
  background: var(--gray-200);
}

/* History View */
.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-100);
}
.history-title {
  font-weight: 600;
  font-size: 0.9rem;
}
.history-count {
  font-size: 0.8rem;
  color: var(--secondary);
}

.history-list {
  max-height: 240px;
  overflow-y: auto;
}
.history-placeholder {
  padding: 20px 16px;
  text-align: center;
  color: var(--gray-300);
  font-style: italic;
  font-size: 0.9rem;
}

.history-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}
.history-item:last-child {
  border-bottom: none;
}
.history-message {
  margin-bottom: 4px;
  line-height: 1.4;
}
.history-time {
  font-size: 0.75rem;
  color: var(--secondary);
}
.history-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}
.history-status::before {
  content: "✓";
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -4px;
  right: 8px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePulse 0.3s ease-out;
}

@keyframes badgePulse {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Demo Send Button */
#sendDemoBtn {
  background: var(--gradient-accent) !important;
}
#sendDemoBtn:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* Demo Features */
.demo-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}
.demo-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
}
.check-icon {
  color: var(--accent);
  font-weight: bold;
}

/* Advanced Architecture Walkthrough Section */
.walkthrough-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.walkthrough-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.walkthrough-section h2 { 
  text-align: center; 
  margin-bottom: 20px; 
  color: white;
  text-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.walkthrough-subtitle {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 60px;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.walkthrough-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Realistic Product Demo Layout */
.product-demo-layout {
  display: flex;
  gap: 30px;
  height: 70vh;
  min-height: 550px;
  max-height: 700px;
}

/* Panel Wrapper with Title */
.demo-panel-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.panel-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #1e293b;
  border-radius: 12px 12px 0 0;
  color: white;
}

.panel-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title-icon {
  font-size: 1.2rem;
}

.panel-title-text {
  font-weight: 600;
  font-size: 1rem;
}

.panel-title-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.panel-title-badge.web {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.panel-title-badge.desktop {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.admin-panel-realistic {
  flex: 1;
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-top: none;
}

/* Desktop Interface Styles */
.desktop-interface {
  flex: 1;
  background: #1e293b;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.desktop-screen {
  flex: 1;
  background: #1e293b;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* Windows 11-style Taskbar */
.desktop-taskbar {
  background: rgba(32, 32, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 4px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  position: relative;
}

.taskbar-left {
  position: absolute;
  left: 12px;
  display: flex;
  align-items: center;
}

.taskbar-center {
  position: absolute;
  left: 70px;
  display: flex;
  gap: 2px;
  align-items: center;
}

.taskbar-right {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.taskbar-apps {
  display: flex;
  gap: 2px;
  justify-content: center;
  align-items: center;
}

.system-tray {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  color: white;
  font-size: 11px;
}

.system-tray:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tray-icons {
  display: flex;
  gap: 6px;
  font-size: 12px;
  align-items: center;
}

.tray-icon-btn {
  cursor: pointer;
  position: relative;
  padding: 2px;
  border-radius: 4px;
  transition: background 0.15s;
}

.tray-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tray-icon-btn .notification-dot {
  position: absolute;
  top: -2px;
  right: -2px;
}

.tray-time {
  text-align: right;
  line-height: 1.3;
}

.tray-time-display {
  font-weight: 500;
}

.tray-date-display {
  font-size: 10px;
  opacity: 0.8;
}

.taskbar-app {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.taskbar-app:hover {
  background: rgba(255, 255, 255, 0.1);
}

.taskbar-app.active {
  background: rgba(255, 255, 255, 0.08);
}

.taskbar-app.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: #60cdff;
  border-radius: 2px;
}

.taskbar-icon {
  font-size: 22px;
  line-height: 1;
}

.taskbar-label {
  display: none;
}

.taskbar-start {
  width: 44px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s ease;
  margin-right: 8px;
}

.taskbar-start:hover {
  background: rgba(255, 255, 255, 0.1);
}

.taskbar-start-icon {
  width: 20px;
  height: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.taskbar-start-icon span {
  background: #60cdff;
  border-radius: 1px;
}

.notification-dot {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #60cdff;
  border-radius: 50%;
  display: none;
}

.notification-dot.active {
  display: block;
  animation: pulse 1.5s infinite;
}

.taskbar-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 6px;
}

/* Client App Window */
.client-app-window {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  width: 95%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  max-height: 90%;
  transform-origin: bottom right;
}

.client-app-window.minimized {
  display: none;
}

.client-app-window.opening {
  animation: windowOpen 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes windowOpen {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(100px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.minimize-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-left: 12px;
}

.minimize-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Realistic Admin Dashboard Styles */
.admin-panel-header {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.admin-logo {
  height: 28px;
  width: auto;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.active-apps {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.user-menu-demo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.user-menu-demo:hover {
  background: rgba(255, 255, 255, 0.2);
}

.username {
  font-size: 14px;
  font-weight: 600;
}

.dropdown-arrow {
  font-size: 12px;
  opacity: 0.8;
}

.admin-nav-menu {
  background: #f8fafc;
  padding: 0;
  display: flex;
  border-bottom: 1px solid #e2e8f0;
}

.nav-btn {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
}

.nav-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.nav-btn.active {
  background: white;
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.admin-content {
  padding: 12px 16px;
  height: calc(100% - 90px);
  overflow-y: auto;
}

.send-message-section {
  max-width: 600px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
  font-size: 12px;
}

.admin-select,
.admin-input,
.admin-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.admin-select:focus,
.admin-input:focus,
.admin-textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.admin-textarea {
  min-height: 60px;
  resize: vertical;
  font-family: inherit;
}

.message-counter {
  text-align: right;
  margin-top: 2px;
  font-size: 11px;
  color: #64748b;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #64748b;
  font-weight: 500 !important;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
}

.attachment-area {
  margin-top: 8px;
}

.attachment-drop-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.3s;
}

.attachment-drop-zone:hover {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
}

.attachment-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.admin-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.templates-btn {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.recommend-btn {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
}

.review-btn {
  background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
  color: #7c3aed;
}

.send-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.action-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.admin-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

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

.status-dot.sending {
  background: #f59e0b;
  animation: pulse 1s infinite;
}

.status-dot.sent {
  background: #10b981;
}

/* Tech Grid Background */
.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Realistic Client App Styles */
.client-app-window {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.client-header-bar {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  color: white;
}

.client-logo {
  height: 28px;
  width: auto;
}

.store-name-display {
  margin-left: 20px;
  margin-right: 24px;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.client-nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.client-nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.client-nav-link:hover,
.client-nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.minimize-btn-client {
  margin-left: 12px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s;
}

.minimize-btn-client:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.client-messages-view {
  flex: 1;
  padding: 24px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}

.message-display-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-card-realistic {
  background: white;
  border-radius: 12px;
  padding: 20px;
  min-height: 120px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  font-size: 15px;
  line-height: 1.6;
  color: #1e293b;
}

.message-placeholder {
  color: #94a3b8;
  font-style: italic;
  text-align: center;
  padding: 40px 20px;
}

.message-title {
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.received-message {
  color: #374151;
  line-height: 1.6;
}

.unack-alert-realistic {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fca5a5;
  border-left: 4px solid #dc2626;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.message-attachments-realistic {
  background: white;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #e2e8f0;
}

.attachment-header {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
}

.attachment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audio-controls-realistic {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 16px 0;
}

.audio-btn {
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.audio-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #2563eb;
}

.audio-btn:hover img {
  filter: brightness(0) invert(1);
}

.audio-btn img {
  width: 24px;
  height: 24px;
}

.acknowledge-section {
  text-align: center;
  margin-top: auto;
  padding-top: 16px;
}

.acknowledge-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.acknowledge-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.acknowledge-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.client-history-view {
  flex: 1;
  padding: 24px;
  background: #f8fafc;
}

.history-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.history-filters label {
  font-weight: 600;
  color: #1e293b;
  font-size: 14px;
}

.date-input {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
}

.filter-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:not(.clear) {
  background: #10b981;
  color: white;
}

.filter-btn.clear {
  background: #64748b;
  color: white;
}

.history-table-container {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.history-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 14px;
}

.history-table td:first-child,
.history-table td:last-child {
  white-space: nowrap;
}

.history-table td:nth-child(3) {
  width: 80px;
  text-align: center;
}

.history-table tbody tr:hover {
  background: #f8fafc;
}

.client-footer {
  background: white;
  border-top: 1px solid #e2e8f0;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

.ip-address {
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}

/* Attachment Items for Realistic Demo */
.attachment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  margin-bottom: 8px;
}

.attachment-item-icon {
  font-size: 1.2rem;
}

.attachment-item-info {
  flex: 1;
}

.attachment-item-name {
  font-weight: 500;
  color: #1e293b;
  font-size: 0.9rem;
}

.attachment-item-size {
  font-size: 0.8rem;
  color: #64748b;
}

.attachment-item-remove {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
}

.attachment-item-remove:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.client-attachment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 6px;
  margin-bottom: 8px;
}

.client-attachment-icon {
  font-size: 1.1rem;
}

.client-attachment-name {
  flex: 1;
  font-size: 0.9rem;
  color: #1e293b;
}

.client-attachment-view {
  background: #2563eb;
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.client-attachment-view:hover {
  background: #1d4ed8;
}

/* Compact Tech Components */
.tech-component {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 120px;
}

.tech-component:hover {
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

.tech-component.active {
  border-color: var(--primary);
  box-shadow: 
    0 0 30px rgba(37, 99, 235, 0.4),
    inset 0 0 20px rgba(37, 99, 235, 0.1);
  transform: scale(1.05) translateY(-5px);
}

.tech-component.processing {
  animation: processingPulse 1.5s ease-in-out infinite;
}

@keyframes processingPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
  }
  50% { 
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.6);
  }
}

.component-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, rgba(37, 99, 235, 0.2), transparent);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tech-component.active .component-glow {
  opacity: 1;
  animation: glowRotate 3s linear infinite;
}

@keyframes glowRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.component-core {
  position: relative;
  z-index: 1;
}

.tech-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
  display: block;
}

.component-label {
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
  font-size: 0.85rem;
}

.component-details {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-bottom: 6px;
}

.component-status {
  font-size: 0.65rem;
  color: var(--accent);
  min-height: 14px;
  font-weight: 500;
}

/* Compact SVG Connections */
.connection-svg {
  position: absolute;
  top: 50px;
  left: 30px;
  width: calc(100% - 60px);
  height: calc(100% - 100px);
  pointer-events: none;
  z-index: 0;
}

.data-path {
  fill: none;
  stroke: rgba(71, 85, 105, 0.3);
  stroke-width: 2;
  transition: all 0.5s ease;
}

.data-path.active {
  stroke: var(--primary);
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.6));
  animation: pathFlow 2s ease-in-out infinite;
}

@keyframes pathFlow {
  0%, 100% { stroke-dashoffset: 0; }
  50% { stroke-dashoffset: -50; }
}

.data-packet {
  opacity: 0;
  transition: all 0.3s ease;
}

.data-packet.active {
  opacity: 1;
  filter: drop-shadow(0 0 6px currentColor);
}

/* Technical Overlays */
.tech-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 300px;
  z-index: 10;
}

.code-snippet {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 8px;
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #e2e8f0;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

.code-snippet.active {
  opacity: 1;
  transform: translateX(0);
}

.performance-metrics {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(5, 150, 105, 0.3);
  border-radius: 8px;
  padding: 16px;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

.performance-metrics.active {
  opacity: 1;
  transform: translateX(0);
}

/* Compact Step Description */
.compact-description {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  flex: 1;
  overflow-y: auto;
  margin-bottom: 20px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.step-number {
  background: var(--gradient);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.step-meta h3 {
  margin-bottom: 6px;
  color: white;
  font-size: 1.1rem;
}

.step-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-tag {
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.technical-details {
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.compact-code {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 8px;
  padding: 12px;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: #e2e8f0;
  margin-bottom: 16px;
  overflow-x: auto;
  max-height: 120px;
  overflow-y: auto;
}

.compact-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-item {
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* Compact Controls */
.compact-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.tech-btn {
  position: relative;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(29, 78, 216, 0.8) 100%);
  border: 1px solid rgba(37, 99, 235, 0.5);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
}

.tech-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, rgba(37, 99, 235, 1) 0%, rgba(29, 78, 216, 1) 100%);
}

.btn-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.tech-btn:hover .btn-icon {
  transform: translateX(3px);
}

.compact-indicator {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 12px;
  padding: 8px 16px;
  backdrop-filter: blur(10px);
}

.progress-bar {
  width: 120px;
  height: 4px;
  background: rgba(71, 85, 105, 0.3);
  border-radius: 2px;
  margin-bottom: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.step-text {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

#currentStep {
  color: var(--primary);
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .walkthrough-layout {
    flex-direction: column;
    height: auto;
  }
  
  .architecture-panel {
    height: 400px;
  }
  
  .details-panel {
    height: auto;
  }
  
  .arch-components-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
  
  .dynamodb { grid-column: 1; grid-row: 4; }
  .metrics-collector { grid-column: 2; grid-row: 4; }
}

@media (max-width: 768px) {
  .arch-components-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, 1fr);
    gap: 15px;
  }
  
  .admin-dashboard { grid-row: 1; }
  .api-gateway { grid-row: 2; }
  .electron-app { grid-row: 3; }
  .lambda-functions { grid-row: 4; }
  .websocket-api { grid-row: 5; }
  .metrics-collector { grid-row: 6; }
  .dynamodb { grid-row: 7; }
  
  .compact-controls {
    flex-direction: column;
    gap: 15px;
  }
  
  .tech-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Deployment Options Section */
.deployment-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #e0e7ff 100%);
  text-align: center;
}

.deployment-section h2 { 
  text-align: center !important; 
  margin-bottom: 20px;
  padding: 0;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.deployment-subtitle {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 60px;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  line-height: 1.6;
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.deployment-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.deployment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.deployment-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
}

.deployment-card h3 {
  text-align: center;
  margin-bottom: 16px;
  color: var(--dark);
}

.deployment-description {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.deployment-features {
  margin-bottom: 24px;
}

.deployment-feature {
  padding: 8px 0;
  color: var(--secondary);
  font-size: 0.95rem;
}

.deployment-ideal {
  padding: 16px;
  background: var(--gray-100);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--secondary);
  text-align: center;
}
.deployment-ideal strong {
  color: var(--dark);
}

/* How It Works */
.how-it-works {
  padding: 100px 24px;
  background: white;
}
.how-it-works h2 { text-align: center; margin-bottom: 60px; }

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step {
  text-align: center;
  max-width: 250px;
}
.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--secondary); }

.step-arrow {
  font-size: 2rem;
  color: var(--gray-300);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 24px;
  background: var(--gray-100);
}
.pricing-section h2 { text-align: center; }
.pricing-subtitle {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}
.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}
.pricing-header h3 { margin-bottom: 16px; }

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.currency { font-size: 1.5rem; font-weight: 600; }
.amount { font-size: 3rem; font-weight: 800; }
.period { color: var(--secondary); }

.pricing-features { margin-bottom: 24px; }
.pricing-feature {
  padding: 8px 0;
  color: var(--secondary);
  border-bottom: 1px solid var(--gray-100);
}
.pricing-feature:last-child { border-bottom: none; }

.pricing-note {
  text-align: center;
  margin-top: 40px;
  color: var(--secondary);
}

/* Trust & Credibility Section */
.trust-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.trust-section h2 { text-align: center; margin-bottom: 60px; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.aws-logo-container {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.aws-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.trust-card h3 {
  margin-bottom: 16px;
  color: var(--dark);
}

.trust-card p {
  color: var(--secondary);
  line-height: 1.6;
}

.certification-badges {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.badges-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.badges-image:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.badges-hint {
  font-size: 0.8rem;
  color: var(--secondary);
  margin-top: 8px;
  font-style: italic;
  text-align: center;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 16px;
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--secondary);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--dark);
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}

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

.modal-caption h3 {
  margin-bottom: 8px;
  color: var(--dark);
}

.modal-caption p {
  color: var(--secondary);
  line-height: 1.6;
}

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

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

/* Testimonials */
.testimonials-section {
  padding: 100px 24px;
  background: white;
}
.testimonials-section h2 { text-align: center; margin-bottom: 60px; }

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

.testimonial-card {
  background: var(--gray-100);
  border-radius: 16px;
  padding: 32px;
}
.testimonial-content {
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark);
}
.testimonial-content p::before { content: '"'; }
.testimonial-content p::after { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.author-name { font-weight: 600; }
.author-title { font-size: 0.85rem; color: var(--secondary); }

/* CTA Section */
.cta-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  text-align: center;
}
.cta-content { max-width: 600px; margin: 0 auto; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { opacity: 0.9; margin-bottom: 32px; font-size: 1.1rem; }

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.cta-contact { opacity: 0.8; }
.cta-contact a { color: white; }

/* Footer */
.footer {
  padding: 60px 24px 24px;
  background: var(--dark);
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand { max-width: 300px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--gray-300); }

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  margin-bottom: 16px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-column a {
  display: block;
  color: var(--gray-300);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-column a:hover { color: white; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--gray-300);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .problem-grid, .features-grid, .pricing-grid, .testimonials-grid, .deployment-grid, .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .demo-container { flex-direction: column; }
  .demo-arrow { transform: rotate(90deg); padding: 20px 0; }
  
  .steps-container { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-buttons { flex-direction: column; }
  
  .nav-links { display: none; }
  
  .footer-content { flex-direction: column; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 40px; }
  
  .demo-features { flex-wrap: wrap; justify-content: center; }
  
  .cta-buttons { flex-direction: column; }
}

/* Futuristic Architecture Walkthrough */
.futuristic-walkthrough {
  padding: 100px 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #0a0f1c 0%, #1a1f2e 50%, #2a2f3e 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.futuristic-walkthrough::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: backgroundShift 20s linear infinite;
  pointer-events: none;
}

@keyframes backgroundShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(10px, 10px); }
}

.cyber-interface {
  display: flex;
  gap: 40px;
  height: 80vh;
  min-height: 700px;
  max-height: 900px;
}

.holo-display {
  flex: 1.4;
  background: 
    linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 0 50px rgba(59, 130, 246, 0.2),
    inset 0 0 50px rgba(59, 130, 246, 0.05);
}

.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridFlow 8s linear infinite;
}

@keyframes gridFlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.scan-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    transparent 0%,
    rgba(59, 130, 246, 0.03) 50%,
    transparent 100%
  );
  background-size: 100% 4px;
  animation: scanEffect 2s linear infinite;
}

@keyframes scanEffect {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.command-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hub-core {
  position: relative;
  width: 80px;
  height: 80px;
}

.core-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 50%;
  animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 40px rgba(59, 130, 246, 1);
  }
}

.core-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring {
  position: absolute;
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 40px;
  height: 40px;
  animation: ringRotate 4s linear infinite;
}

.ring-2 {
  width: 60px;
  height: 60px;
  animation: ringRotate 6s linear infinite reverse;
}

.ring-3 {
  width: 80px;
  height: 80px;
  animation: ringRotate 8s linear infinite;
}

@keyframes ringRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.arch-node {
  position: absolute;
  width: 120px;
  height: 100px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.node-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.arch-node.active .node-glow {
  opacity: 1;
  animation: nodeGlow 2s ease-in-out infinite alternate;
}

@keyframes nodeGlow {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}

.node-core {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 100%);
  border: 2px solid rgba(71, 85, 105, 0.5);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.arch-node.active .node-core {
  border-color: #3b82f6;
  box-shadow: 
    0 0 30px rgba(59, 130, 246, 0.4),
    inset 0 0 20px rgba(59, 130, 246, 0.1);
  transform: translateY(-5px);
}

.node-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}

.node-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.node-status {
  font-size: 0.7rem;
  color: #3b82f6;
  min-height: 12px;
  font-weight: 500;
}

/* Node Positions */
.admin-node { top: 80px; left: 80px; }
.gateway-node { top: 120px; left: 280px; }
.lambda-node { top: 200px; left: 480px; }
.database-node { top: 320px; left: 380px; }
.websocket-node { top: 280px; left: 680px; }
.client-node { top: 120px; left: 820px; }
.metrics-node { top: 420px; left: 720px; }

.data-streams {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.data-stream {
  stroke-dasharray: 20 10;
  stroke-dashoffset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.data-stream.active {
  opacity: 1;
  animation: streamFlow 3s linear infinite;
}

@keyframes streamFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -60; }
}

.data-particle {
  opacity: 0;
  transition: all 0.3s ease;
}

.data-particle.active {
  opacity: 1;
  animation: particleGlow 1.5s ease-in-out infinite alternate;
}

@keyframes particleGlow {
  0% { 
    filter: drop-shadow(0 0 8px currentColor);
    transform: scale(1);
  }
  100% { 
    filter: drop-shadow(0 0 20px currentColor);
    transform: scale(1.3);
  }
}

.holo-overlay {
  position: absolute;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 20px;
  max-width: 320px;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.holo-overlay.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.code-display {
  top: 30px;
  right: 30px;
}

.metrics-display {
  bottom: 30px;
  left: 30px;
}

.overlay-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.overlay-icon {
  font-size: 1.2rem;
}

.overlay-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3b82f6;
}

.code-content {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #e2e8f0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  padding: 12px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

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

.control-panel {
  flex: 0.6;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
  border: 2px solid rgba(5, 150, 105, 0.3);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 0 50px rgba(5, 150, 105, 0.2),
    inset 0 0 50px rgba(5, 150, 105, 0.05);
}

.panel-header {
  margin-bottom: 32px;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.step-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  letter-spacing: 2px;
}

.step-counter {
  font-size: 2.5rem;
  font-weight: 900;
  color: #10b981;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.step-total {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(71, 85, 105, 0.3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-beam {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

.panel-content {
  flex: 1;
}

.sequence-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.tech-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tech-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
  color: #10b981;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sequence-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 1rem;
}

.data-readout {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
}

.readout-section {
  margin-bottom: 24px;
}

.readout-section:last-child {
  margin-bottom: 0;
}

.readout-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #10b981;
}

.readout-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-display {
  text-align: center;
  padding: 12px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #3b82f6;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.code-readout {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #e2e8f0;
  overflow-x: auto;
}

.panel-controls {
  margin-top: auto;
}

.cyber-btn {
  position: relative;
  background: transparent;
  border: 2px solid;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.cyber-btn.primary {
  border-color: #10b981;
  color: #10b981;
}

.cyber-btn.secondary {
  border-color: #6b7280;
  color: #6b7280;
  margin-top: 12px;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
  transition: left 0.6s ease;
}

.cyber-btn:hover .btn-glow {
  left: 100%;
}

.cyber-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.cyber-btn.primary:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #34d399;
  color: #34d399;
}

.cyber-btn.secondary:hover {
  background: rgba(107, 114, 128, 0.1);
  border-color: #9ca3af;
  color: #9ca3af;
}

.btn-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1;
}

.btn-icon {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .cyber-interface {
    flex-direction: column;
    height: auto;
  }
  
  .holo-display {
    height: 500px;
    flex: none;
  }
  
  .control-panel {
    flex: none;
  }
  
  .arch-node {
    width: 100px;
    height: 80px;
  }
  
  .node-icon {
    font-size: 1.4rem;
  }
  
  .node-label {
    font-size: 0.75rem;
  }
}
/* History Attachment Styles */
.history-attachments {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.attachment-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}

.attachment-icon-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  transform: scale(1.1);
}

.history-attachments {
  display: flex;
  gap: 4px;
  justify-content: center;
}
/* Advanced Messaging Features Section */
.advanced-features-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.advanced-features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.advanced-features-section h2 {
  text-align: center;
  margin-bottom: 16px;
  color: #1e293b;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.advanced-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.advanced-feature-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advanced-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.advanced-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.feature-icon-large {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.feature-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  flex: 1;
  min-width: 120px;
  line-height: 1.2;
}

.feature-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.advanced-feature-card p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 1rem;
}

.feature-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit {
  color: #059669;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.advanced-features-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 48px 32px;
  max-width: 600px;
  margin: 0 auto;
}

.advanced-features-cta h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 16px;
}

.advanced-features-cta p {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .advanced-features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .advanced-feature-card {
    padding: 24px;
  }
  
  .feature-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .feature-badge {
    align-self: flex-start;
  }
}
/* Modern Architecture Walkthrough - Side by Side Layout */
.architecture-walkthrough {
  padding: 60px 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
}

.architecture-walkthrough h2 {
  text-align: center;
  margin-bottom: 8px;
  color: white;
}

.arch-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 30px;
}

/* Side by Side Layout */
.arch-layout-sidebyside {
  display: flex;
  gap: 30px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

/* New Layout - More room for diagram */
.arch-layout-new {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.arch-diagram-side {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Compact Step Details Panel */
.step-details-panel-compact {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  min-width: 280px;
  max-width: 320px;
}

.step-details-panel-compact .step-progress {
  margin-bottom: 16px;
}

.step-info-compact {
  margin-bottom: 16px;
}

.step-info-compact h3 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.step-info-compact p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.step-details-panel-compact .step-metrics {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.step-details-panel-compact .metric-value {
  font-size: 1.1rem;
}

.step-details-panel-compact .metric-label {
  font-size: 0.65rem;
}

.step-details-panel-compact .step-controls {
  margin-top: 16px;
}

/* Main Flow Row - Compact */
.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.arch-step {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  min-width: 90px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.arch-step.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.arch-step .step-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.arch-step .step-label {
  font-weight: 600;
  font-size: 0.75rem;
  margin-bottom: 2px;
  color: white;
}

.arch-step .step-tech {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
}

.flow-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  transition: color 0.3s ease;
  padding: 0 2px;
}

.flow-arrow.active {
  color: #3b82f6;
}

/* Supporting Services - Compact */
.arch-services {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.service-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  min-width: 100px;
  transition: all 0.3s ease;
}

.service-item.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}

.service-item .service-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.service-item .service-label {
  font-weight: 600;
  font-size: 0.75rem;
  color: white;
}

.service-item .service-desc {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Step Details Panel - Side by Side */
.step-details-panel {
  flex: 0.8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.step-progress {
  margin-bottom: 16px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.progress-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.progress-dot.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

.progress-dot.completed {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

.progress-line {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-line .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
  width: 0%;
  transition: width 0.5s ease;
}

.step-info {
  flex: 1;
  margin-bottom: 16px;
}

.step-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.step-info p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.step-metrics {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: #10b981;
}

.metric-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.step-controls {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.arch-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.arch-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.arch-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

/* Responsive */
@media (max-width: 900px) {
  .arch-layout-sidebyside,
  .arch-layout-new {
    flex-direction: column;
  }
  
  .step-details-panel-compact {
    max-width: 100%;
  }
  
  .arch-flow {
    flex-direction: column;
    gap: 8px;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
  }
  
  .arch-services {
    flex-direction: column;
    align-items: center;
  }
  
  .service-item {
    width: 100%;
    max-width: 180px;
  }
}