/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 0;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  padding: 0.8rem 0;
  background: rgba(4, 8, 18, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.2rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  transition: var(--transition-normal);
  letter-spacing: -0.01em;
}

header.scrolled .logo {
  font-size: 1.25rem;
}

.logo:hover {
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  transition: var(--transition-normal);
}

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

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* We will toggle with JS if required, or keep minimal for design focus */
  }
  .menu-btn {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: all;
}

.hero-grid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 720px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-frame {
  padding: 0.6rem;
  border-radius: 20px;
  background: rgba(4, 8, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 
              0 0 40px rgba(139, 92, 246, 0.2), 
              0 0 80px rgba(0, 242, 254, 0.15);
  overflow: hidden;
  max-width: 440px;
  width: 100%;
  transition: var(--transition-slow);
}

.hero-logo-frame:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 
              0 0 50px rgba(139, 92, 246, 0.35), 
              0 0 100px rgba(0, 242, 254, 0.25);
  transform: scale(1.03) translateY(-8px);
}

.hero-logo-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .hero-grid-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-logo-frame {
    max-width: 320px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Cognitive Workload Simulator Widget */
.sim-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .sim-grid {
    grid-template-columns: 1fr;
  }
}

.sim-panel {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.sim-panel p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.slider-container {
  margin-top: 1.5rem;
  padding: 1.5rem 0;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.workload-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
  transition: background 0.3s;
}

.workload-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--text-primary);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
  cursor: pointer;
  transition: transform 0.1s, background-color 0.3s, box-shadow 0.3s;
}

.workload-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* State changes for simulator slider thumb */
.sim-state-rest::-webkit-slider-thumb {
  background: var(--color-success) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.8) !important;
}

.sim-state-optimal::-webkit-slider-thumb {
  background: var(--color-primary) !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.8) !important;
}

.sim-state-stress::-webkit-slider-thumb {
  background: var(--color-danger) !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.8) !important;
}

/* Visualization Display Area */
.sim-display {
  padding: 2rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: all var(--transition-normal);
}

.sim-display-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.sim-display-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.sim-display-title i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sim-display-metrics {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Simulated Adaptive UI States */

/* Calm / Rest State */
.sim-display.state-rest {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: inset 0 0 40px rgba(16, 185, 129, 0.05), 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.sim-display.state-rest .sim-indicator-dot {
  background: var(--color-success);
  box-shadow: 0 0 10px var(--color-success);
}
.sim-display.state-rest .metric-value {
  color: var(--color-success);
}

/* Optimal Flow State */
.sim-display.state-optimal {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: inset 0 0 40px rgba(59, 130, 246, 0.05), 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.sim-display.state-optimal .sim-indicator-dot {
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}
.sim-display.state-optimal .metric-value {
  color: var(--color-primary);
}

/* High Stress State */
.sim-display.state-stress {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: inset 0 0 50px rgba(239, 68, 68, 0.08), 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.sim-display.state-stress .sim-indicator-dot {
  background: var(--color-danger);
  box-shadow: 0 0 10px var(--color-danger);
  animation: pulse-glow 1s infinite;
}
.sim-display.state-stress .metric-value {
  color: var(--color-danger);
}

/* Inner Simulated Layout Elements */
.sim-content-area {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition-normal);
}

/* Rest layout: Minimalistic, calming, nature imagery / health logs */
.view-rest {
  text-align: center;
  max-width: 450px;
  margin: 0 auto;
}

.rest-orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0) 70%);
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.rest-orb-inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  animation: rotate 20s linear infinite;
}

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

.view-rest h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.view-rest p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Optimal layout: High-tech control deck, synapse nodes, live code graph */
.view-optimal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  height: 100%;
}

@media (max-width: 600px) {
  .view-optimal {
    grid-template-columns: 1fr;
  }
}

.opt-card {
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.opt-card-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
}

/* Waveform simulation using SVG animation */
.waveform-svg {
  width: 100%;
  height: 60px;
}

.waveform-path {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-dasharray: 4 2;
  animation: dash 30s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

.node-network {
  height: 120px;
  position: relative;
  overflow: hidden;
}

.node-item {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
}

/* Stress layout: System overload defense warning, simple font zoom, alerts */
.view-stress {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.stress-alert-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  animation: pulse-glow 1.5s infinite;
}

.stress-alert-box h4 {
  color: var(--color-danger);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stress-alert-box p {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.stress-actions-sim {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

.stress-action-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.stress-action-item .checked {
  color: var(--color-success);
  font-weight: bold;
}

/* Product Section */
.product-card {
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.product-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features li::before {
  content: '→';
  color: var(--color-accent);
}

.product-specs {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(4, 8, 18, 0.4);
  border-radius: 8px;
  padding: 0;
  color: var(--color-accent);
}

.product-card.expanded .product-specs {
  max-height: 200px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
}

.spec-line {
  margin-bottom: 0.25rem;
}

.spec-label {
  color: var(--text-muted);
}

.product-learn-more {
  background: none;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  text-align: left;
  transition: var(--transition-fast);
}

.product-learn-more:hover {
  color: var(--color-accent);
}

/* Research Timeline */
.research-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.research-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 4rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  z-index: 2;
  transition: var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 15px var(--color-accent);
  transform: scale(1.15);
}

.timeline-content {
  padding: 2rem;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Vision / Mission Section */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.vm-panel {
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.vm-panel::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.vm-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vm-title i {
  color: var(--color-secondary);
}

.vm-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Core Portal Section & Interactive Terminal */
.portal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 992px) {
  .portal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.portal-form-container {
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.form-input, .form-textarea {
  width: 100%;
  background: rgba(4, 8, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
  background: rgba(4, 8, 18, 0.7);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Terminal Widget Styling */
.terminal-card {
  background: #03060c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.terminal-header {
  background: #060b14;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.terminal-dots {
  display: flex;
  gap: 0.35rem;
}

.terminal-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot-btn.red { background: #ff5f56; }
.terminal-dot-btn.yellow { background: #ffbd2e; }
.terminal-dot-btn.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  color: #a6accd;
  min-height: 250px;
  max-height: 400px;
  overflow-y: auto;
}

.terminal-line {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.terminal-prompt {
  color: var(--color-accent);
  user-select: none;
}

.terminal-text {
  word-break: break-all;
}

.terminal-text.system {
  color: var(--text-muted);
}

.terminal-text.success {
  color: var(--color-success);
}

.terminal-text.accent {
  color: var(--color-secondary);
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--color-accent);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Footer Section */
footer {
  background: #03060c;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Works & Integrations Showcase Section */
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition-normal);
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: var(--color-accent);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

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

/* Works Case Study Cards */
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work-tech-stack {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tech-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Integration Grid */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .integration-grid {
    grid-template-columns: 1fr;
  }
}

.integration-card {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.integration-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
}

.integration-logo-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
}

/* SDK Code Snippet Box */
.sdk-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 992px) {
  .sdk-container {
    grid-template-columns: 1fr;
  }
}

.code-display {
  background: #03060c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.code-keyword { color: #ff7b72; }
.code-string { color: #a5d6ff; }
.code-comment { color: #8b949e; }
.code-function { color: #d2a8ff; }
.code-variable { color: #ffa657; }

/* Services Section Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card h3 {
  font-size: 1.25rem;
  margin: 1.25rem 0 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.process-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.8;
  margin-bottom: 1rem;
}
