.homepage .hero {
  padding-top: 6rem;
  padding-bottom: 3rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.homepage .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.homepage .network-canvas {
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.homepage .hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.homepage .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.homepage .hero-left {
  text-align: left;
}

@media (min-width: 1025px) {
  .homepage .hero-left {
    text-align: left !important;
  }
}

.homepage .hero-right {
  display: flex;
  justify-content: flex-start;
}

.homepage .hero-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.homepage .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
}

.homepage .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

/* Typewriter element with cursor */
.homepage .element {
  color: var(--color-primary);
  position: relative;
}

.homepage .element::after {
  content: '|';
  color: var(--color-primary);
  animation: blink 1s ease-in-out infinite;
  margin-left: 0.1em;
}

/* Disable CSS cursor for typewriter elements that have their own cursor */
.homepage .element.typewriter::after {
  display: none;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.homepage .hero-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.homepage .hero-features {
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.homepage .feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.homepage .feature-item svg {
  color: var(--color-primary);
}

.homepage .hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.homepage .code-showcase {
  width: 100%;
  max-width: 480px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.homepage .code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
}

.homepage .code-dots {
  display: flex;
  gap: 0.5rem;
}

.homepage .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-border);
}

.homepage .dot:nth-child(1) { background-color: #ef4444; }
.homepage .dot:nth-child(2) { background-color: #f59e0b; }
.homepage .dot:nth-child(3) { background-color: #10b981; }

.homepage .code-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-tertiary);
  font-family: var(--font-mono);
}

.homepage .code-block {
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* Custom scrollbar styling for code block */
.homepage .code-block::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.homepage .code-block::-webkit-scrollbar-track {
  background: var(--color-surface);
  border-radius: 3px;
}

.homepage .code-block::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
  transition: background 0.2s ease;
}

.homepage .code-block::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-tertiary);
}

/* Firefox scrollbar */
.homepage .code-block {
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) var(--color-surface);
}

.homepage .code-block code {
  font-family: var(--font-mono);
  color: var(--color-text-primary);
}

.homepage .code-comment {
  color: var(--color-text-tertiary);
  font-style: italic;
}

.homepage .code-keyword {
  color: var(--color-primary);
  font-weight: 500;
}

.homepage .code-string {
  color: #10b981;
}

.homepage .code-variable {
  color: #f59e0b;
}

.homepage .code-function {
  color: #8b5cf6;
}

.homepage .code-property {
  color: var(--color-text-primary);
}

[data-theme="dark"] .code-string {
  color: #34d399;
}

[data-theme="dark"] .code-variable {
  color: #fbbf24;
}

[data-theme="dark"] .code-function {
  color: #a78bfa;
}

/* Trust Section */
.homepage .trust-section {
  padding: 5rem 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.homepage .trust-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.homepage .trust-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-secondary);
}

.homepage .logo-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.homepage .logo-carousel {
  display: flex;
  width: 100%;
}

.homepage .logo-track {
  display: flex;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.homepage .logo-item {
  flex-shrink: 0;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage .logo-item svg {
  opacity: 0.6;
  color: var(--color-text-tertiary);
  transition: opacity 0.3s ease;
}

.homepage .logo-item:hover svg {
  opacity: 1;
}

/* Brand logo images */
.homepage .brand-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  opacity: 0.6;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
}

/* Explore All Section */
.homepage .explore-all-section {
    text-align: center;
    padding-top: 24px;
}

.homepage .explore-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* Dark mode support for brand logos */
[data-theme="dark"] .brand-logo {
    filter: grayscale(100%) brightness(1.2) invert(1);
}

/* Features Section - Scoped styles to prevent interference with other sections */
.homepage .features-section {
  padding: 8rem 0;
  background-color: var(--color-background);
}

/* All styles scoped to features section to prevent cross-component interference */
.homepage .features-section .features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.homepage .features-section .features-header {
  text-align: center;
  margin-bottom: 5rem;
}

.homepage .features-section .features-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.homepage .features-section .features-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.homepage .features-section .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.homepage .features-section .feature-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.homepage .features-section .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.homepage .features-section .feature-content {
  text-align: left;
  margin-bottom: 2rem;
}

/* Consistent typography across all feature cards */
.homepage .features-section .feature-card-title {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  color: var(--color-text-primary) !important;
  line-height: 1.2 !important;
}

.homepage .features-section .feature-card-description {
  font-size: 1rem !important;
  color: var(--color-text-secondary) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.homepage .features-section .feature-animation {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  position: relative;
}

/* Security Card Animation - Scoped to prevent interference */
.homepage .features-section .security-animation {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage .features-section .shield-icon {
  font-size: 3rem;
  animation: pulse 2s ease-in-out infinite;
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.homepage .features-section .security-badges {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage .features-section .security-badge {
  position: absolute;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0;
  animation: securityFloat 4s ease-in-out infinite;
  white-space: nowrap;
}

.homepage .features-section .security-badge:nth-child(1) {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.homepage .features-section .security-badge:nth-child(2) {
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.homepage .features-section .security-badge:nth-child(3) {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

.homepage .features-section .security-badge:nth-child(4) {
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  animation-delay: 3s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes securityFloat {
  0%, 80%, 100% {
    opacity: 0;
  }
  10%, 70% {
    opacity: 1;
  }
}

/* Integration Card Animation - Scoped to prevent interference */
.homepage .features-section .code-animation {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage .features-section .code-snippet {
  background-color: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  text-align: left;
  width: 100%;
  max-width: 250px;
}

.homepage .features-section .code-line {
  font-size: 0.875rem;
  color: var(--color-text-primary);
  margin: 0.25rem 0;
  opacity: 1;
}

.homepage .features-section .code-keyword {
  color: var(--color-primary);
  font-weight: 500;
}

.homepage .features-section .code-variable {
  color: #f59e0b;
}

.homepage .features-section .code-string {
  color: #10b981;
}

.homepage .features-section .code-function {
  color: #8b5cf6;
}

[data-theme="dark"] .features-section .code-variable {
  color: #fbbf24;
}

[data-theme="dark"] .features-section .code-string {
  color: #34d399;
}

[data-theme="dark"] .features-section .code-function {
  color: #a78bfa;
}

.homepage .features-section .status-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.homepage .features-section .status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  animation: statusBlink 2s ease-in-out infinite;
}

.homepage .features-section .status-text {
  font-size: 0.875rem;
  color: var(--color-success);
  font-weight: 500;
}


@keyframes statusBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Auto-Scaling Animation - Represents server scaling based on usage growth */
.homepage .features-section .auto-scale-animation {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.homepage .features-section .server-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.homepage .features-section .server-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.3;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.homepage .features-section .server-node.active {
  opacity: 1;
  transform: scale(1);
}

.homepage .features-section .server-node.scaling {
  animation: serverActivate 3s ease-in-out infinite;
}

.homepage .features-section .server-node[data-load="medium"] {
  animation-delay: 1s;
}

.homepage .features-section .server-node[data-load="high"] {
  animation-delay: 2s;
}

.homepage .features-section .server-icon {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.homepage .features-section .server-node.active .server-icon {
  transform: scale(1.1);
}

.homepage .features-section .load-indicator {
  width: 24px;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.homepage .features-section .server-node[data-load="low"] .load-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  background: var(--color-success);
  border-radius: 2px;
}

.homepage .features-section .server-node[data-load="medium"] .load-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 60%;
  background: var(--color-warning);
  border-radius: 2px;
}

.homepage .features-section .server-node[data-load="high"] .load-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 90%;
  background: var(--color-primary);
  border-radius: 2px;
}

.homepage .features-section .usage-metric {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.homepage .features-section .usage-arrow {
  font-size: 1.25rem;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes serverActivate {
  0%, 70% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  20%, 50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes arrowPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Performance Metrics Section - Scoped to prevent interference */
.homepage .features-section .performance-section {
  margin-top: 6rem;
}

.homepage .features-section .performance-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

/* Standalone Performance Section */
.homepage .performance-section-standalone {
  padding: 60px 0;
  background: var(--color-background);
  border-top: 1px solid var(--color-border-light);
}

.homepage .performance-section-standalone .performance-section {
  margin-top: 0;
}

.homepage .performance-section-standalone .performance-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.homepage .performance-section-standalone .performance-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.homepage .performance-section-standalone .performance-title {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  color: var(--color-text-primary) !important;
}

.homepage .performance-section-standalone .performance-description {
  font-size: 0.875rem !important;
  color: var(--color-text-secondary) !important;
  margin-bottom: 1rem !important;
}

.homepage .performance-section-standalone .status-indicator-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.homepage .performance-section-standalone .status-dot-main {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}

.homepage .performance-section-standalone .status-text-main {
  font-size: 0.75rem;
  color: var(--color-success);
  font-weight: 500;
}

.homepage .performance-section-standalone .metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.homepage .performance-section-standalone .metric-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.homepage .performance-section-standalone .metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.homepage .performance-section-standalone .metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.homepage .performance-section-standalone .metric-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.homepage .performance-section-standalone .live-indicator {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background-color: var(--color-surface-alt);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.homepage .performance-section-standalone .live-dot {
  width: 6px;
  height: 6px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: liveBlink 1.5s ease-in-out infinite;
}

.homepage .performance-section-standalone .live-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ef4444;
  letter-spacing: 0.05em;
}

.homepage .performance-section-standalone .metric-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.homepage .performance-section-standalone .metric-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
  font-family: var(--font-mono);
}

.homepage .performance-section-standalone .metric-suffix {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  line-height: 1;
  font-family: var(--font-mono);
}

.homepage .performance-section-standalone .metric-unit {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-tertiary);
}

.homepage .performance-section-standalone .metric-animation {
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Animation styles for standalone performance section */
.homepage .performance-section-standalone .pulse-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
}

.homepage .performance-section-standalone .pulse-bar {
  width: 6px;
  height: 20px;
  background-color: var(--color-primary);
  border-radius: 2px;
  animation: pulseBeat 1.5s ease-in-out infinite;
  opacity: 0.3;
}

.homepage .performance-section-standalone .pulse-bar:nth-child(1) { animation-delay: 0s; }
.homepage .performance-section-standalone .pulse-bar:nth-child(2) { animation-delay: 0.1s; }
.homepage .performance-section-standalone .pulse-bar:nth-child(3) { animation-delay: 0.2s; }
.homepage .performance-section-standalone .pulse-bar:nth-child(4) { animation-delay: 0.3s; }
.homepage .performance-section-standalone .pulse-bar:nth-child(5) { animation-delay: 0.4s; }

.homepage .performance-section-standalone .request-flow {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.homepage .performance-section-standalone .request-path {
  position: absolute;
  width: 80%;
  height: 2px;
  background: var(--color-border);
  border-radius: 1px;
}

.homepage .performance-section-standalone .request-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0;
  animation: requestFlow 3s ease-in-out infinite;
}

.homepage .performance-section-standalone .request-dot:nth-child(1) { 
  animation-delay: 0s; 
}
.homepage .performance-section-standalone .request-dot:nth-child(2) { 
  animation-delay: 0.5s; 
}
.homepage .performance-section-standalone .request-dot:nth-child(3) { 
  animation-delay: 1s; 
}
.homepage .performance-section-standalone .request-dot:nth-child(4) { 
  animation-delay: 1.5s; 
}

@keyframes requestFlow {
  0% {
    left: -10px;
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  100% {
    left: calc(100% + 10px);
    opacity: 0;
  }
}

.homepage .performance-section-standalone .network-nodes {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage .performance-section-standalone .node {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  animation: networkPulse 3s ease-in-out infinite;
}

.homepage .performance-section-standalone .node:nth-child(1) { 
  left: 20%; top: 30%; animation-delay: 0s; 
}
.homepage .performance-section-standalone .node:nth-child(2) { 
  right: 20%; top: 30%; animation-delay: 0.5s; 
}
.homepage .performance-section-standalone .node:nth-child(3) { 
  left: 50%; top: 70%; animation-delay: 1s; 
}
.homepage .performance-section-standalone .node:nth-child(4) { 
  left: 30%; bottom: 30%; animation-delay: 1.5s; 
}
.homepage .performance-section-standalone .node:nth-child(5) { 
  right: 30%; bottom: 30%; animation-delay: 2s; 
}
.homepage .performance-section-standalone .node:nth-child(6) { 
  left: 50%; top: 20%; animation-delay: 2.5s; 
}

.homepage .performance-section-standalone .connection-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent, var(--color-primary));
  opacity: 0.4;
  animation: connectionFlow 2s ease-in-out infinite;
}

.homepage .performance-section-standalone .connection-line:nth-child(7) {
  left: 20%; right: 20%; top: 30%;
  animation-delay: 0s;
}
.homepage .performance-section-standalone .connection-line:nth-child(8) {
  left: 20%; right: 50%; top: 50%;
  transform: rotate(45deg);
  animation-delay: 0.7s;
}
.homepage .performance-section-standalone .connection-line:nth-child(9) {
  right: 20%; left: 50%; top: 50%;
  transform: rotate(-45deg);
  animation-delay: 1.4s;
}

.homepage .features-section .performance-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.homepage .features-section .performance-title {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  color: var(--color-text-primary) !important;
}

.homepage .features-section .performance-description {
  font-size: 0.875rem !important;
  color: var(--color-text-secondary) !important;
  margin-bottom: 1rem !important;
}

.homepage .features-section .status-indicator-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.homepage .features-section .status-dot-main {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}

.homepage .features-section .status-text-main {
  font-size: 0.75rem;
  color: var(--color-success);
  font-weight: 500;
}

.homepage .features-section .metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.homepage .features-section .metric-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.homepage .features-section .metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.homepage .features-section .metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.homepage .features-section .metric-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.homepage .features-section .live-indicator {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background-color: var(--color-surface-alt);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.homepage .features-section .live-dot {
  width: 6px;
  height: 6px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: liveBlink 1.5s ease-in-out infinite;
}

.homepage .features-section .live-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ef4444;
  letter-spacing: 0.05em;
}

.homepage .features-section .metric-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.homepage .features-section .metric-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
  font-family: var(--font-mono);
}

.homepage .features-section .metric-suffix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
  font-family: var(--font-mono);
}

.homepage .features-section .metric-unit {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-tertiary);
}

.homepage .features-section .metric-animation {
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Response Time Animation - Pulse bars for latency */
.homepage .features-section .pulse-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
}

.homepage .features-section .pulse-bar {
  width: 6px;
  height: 20px;
  background-color: var(--color-primary);
  border-radius: 2px;
  animation: pulseBeat 1.5s ease-in-out infinite;
  opacity: 0.3;
}

.homepage .features-section .pulse-bar:nth-child(1) { animation-delay: 0s; }
.homepage .features-section .pulse-bar:nth-child(2) { animation-delay: 0.1s; }
.homepage .features-section .pulse-bar:nth-child(3) { animation-delay: 0.2s; }
.homepage .features-section .pulse-bar:nth-child(4) { animation-delay: 0.3s; }
.homepage .features-section .pulse-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes pulseBeat {
  0%, 100% {
    height: 8px;
    opacity: 0.3;
  }
  50% {
    height: 24px;
    opacity: 0.8;
  }
}

/* Data Flow Animation - Streaming lines */
.homepage .features-section .data-flow {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.homepage .features-section .flow-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  border-radius: 2px;
  animation: flowStream 2s ease-in-out infinite;
  opacity: 0.4;
}

.homepage .features-section .flow-line:nth-child(1) { animation-delay: 0s; }
.homepage .features-section .flow-line:nth-child(2) { animation-delay: 0.3s; }
.homepage .features-section .flow-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes flowStream {
  0%, 100% {
    opacity: 0.2;
    transform: scaleX(0.1);
  }
  50% {
    opacity: 0.8;
    transform: scaleX(1);
  }
}

/* Network Nodes Animation - Connected nodes */
.homepage .features-section .network-nodes {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.homepage .features-section .node {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  animation: nodeGlow 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.homepage .features-section .node:nth-child(1) { animation-delay: 0s; }
.homepage .features-section .node:nth-child(2) { animation-delay: 0.2s; }
.homepage .features-section .node:nth-child(3) { animation-delay: 0.4s; }
.homepage .features-section .node:nth-child(4) { animation-delay: 0.6s; }
.homepage .features-section .node:nth-child(5) { animation-delay: 0.8s; }
.homepage .features-section .node:nth-child(6) { animation-delay: 1s; }

.homepage .features-section .connection-line {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: connectionFlow 3s ease-in-out infinite;
  opacity: 0.3;
}

.homepage .features-section .connection-line:nth-child(7) { animation-delay: 0s; }
.homepage .features-section .connection-line:nth-child(8) { animation-delay: 1s; }
.homepage .features-section .connection-line:nth-child(9) { animation-delay: 2s; }

@keyframes nodeGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

@keyframes connectionFlow {
  0%, 100% {
    opacity: 0.1;
    transform: scaleX(0.5);
  }
  50% {
    opacity: 0.6;
    transform: scaleX(1);
  }
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes liveBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* Testimonials Section */
.homepage .testimonials-section {
  padding: 6rem 0;
  background-color: var(--color-surface);
}

/* FAQ Section */
.homepage .faq-section {
  padding: 6rem 0;
  background-color: var(--color-background);
}

.homepage .faq-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.homepage .faq-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.homepage .faq-section .section-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.homepage .testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.homepage .testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.homepage .testimonials-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.homepage .testimonials-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.homepage .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.homepage .testimonial-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.homepage .testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.homepage .testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin: 0 0 2rem 0;
  font-style: italic;
  flex: 1;
  position: relative;
}

.homepage .testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-primary);
  font-style: normal;
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  line-height: 1;
  opacity: 0.3;
}

.homepage .testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.homepage .author-initials {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.homepage .author-info {
  flex: 1;
}

.homepage .author-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.25rem;
}

.homepage .author-role {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
  .homepage .hero {
    min-height: 70vh;
  }
  
  .homepage .hero-right {
    display: none !important;
  }
  
  .homepage .hero-content {
    grid-template-columns: 1fr;
  }
  
  .homepage .hero-title .element {
    display: inline-block;
    width: 100%;
    margin-top: 0.5rem;
    min-height: 1.2em;
    line-height: 1.2;
    position: relative;
    vertical-align: top;
  }
  
  .homepage .hero-left {
    text-align: center !important;
    max-width: 100%;
  }
  
  .homepage .hero-badges {
    justify-content: center !important;
  }
  
  .homepage .hero-features {
    justify-content: center !important;
  }
  
  .homepage .hero-actions {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 4rem;
    padding-bottom: 2rem;
    min-height: 70vh;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }
  
  .hero-left {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-features {
    justify-content: center;
    gap: 1rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .code-showcase {
    max-width: 100%;
  }
  
  .trust-title {
    font-size: 1.25rem;
    padding: 0 1rem;
  }
  
  .logo-item {
    padding: 0 2rem;
  }
  
  .testimonials-section {
    padding: 4rem 0;
  }

  .faq-section {
    padding: 4rem 0;
  }

  .faq-section .section-title {
    font-size: 2rem;
  }

  .faq-section .section-subtitle {
    font-size: 1.125rem;
  }
  
  .testimonials-title {
    font-size: 2rem;
  }
  
  .testimonials-description {
    font-size: 1.125rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-quote {
    font-size: 1rem;
  }
  
  .features-section {
    padding: 4rem 0;
  }
  
  .features-section .features-title {
    font-size: 2rem;
  }
  
  .features-section .features-description {
    font-size: 1.125rem;
  }
  
  .features-section .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-section .feature-card {
    padding: 2rem;
  }
  
  .features-section .feature-content {
    margin-bottom: 1.5rem;
  }
  
  .features-section .feature-animation {
    min-height: 100px;
  }
  
  .features-section .performance-section {
    margin-top: 4rem;
  }
  
  .features-section .performance-card {
    padding: 1.5rem;
  }
  
  .features-section .performance-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }
  
  .features-section .performance-title {
    font-size: 1.25rem !important;
  }
  
  .features-section .performance-description {
    font-size: 0.8125rem !important;
  }
  
  .features-section .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .features-section .metric-card {
    padding: 1.25rem;
  }
  
  .features-section .metric-header {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .features-section .metric-number {
    font-size: 1.5rem;
  }
  
  .features-section .metric-suffix {
    font-size: 1rem;
  }
  
  .features-section .metric-unit {
    font-size: 0.75rem;
  }
  
  .features-section .metric-animation {
    height: 30px;
  }
  
  /* Responsive styles for standalone performance section */
  .performance-section-standalone {
    padding: 50px 0;
  }
  
  .performance-section-standalone .performance-card {
    padding: 1.5rem;
  }
  
  .performance-section-standalone .performance-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }
  
  .performance-section-standalone .performance-title {
    font-size: 1.25rem !important;
  }
  
  .performance-section-standalone .performance-description {
    font-size: 0.8125rem !important;
  }
  
  .performance-section-standalone .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .performance-section-standalone .metric-card {
    padding: 1.25rem;
  }
  
  .performance-section-standalone .metric-number {
    font-size: 1.5rem;
  }
  
  .performance-section-standalone .metric-animation {
    height: 30px;
  }
}