#proto-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  font-size: 0.85rem;
  text-align: center;
  z-index: 1000;
}
body {
  padding-top: 40px;
  line-height: 1.6;
}
.pill {
  float: right;
  background: #7209b7;
  color: white;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.8rem;
}
.sub {
  font-size: 1rem;
  margin-top: -15px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.9);
}
.weekend-bars {
  display: flex;
  height: 8px;
  margin-top: 10px;
}
.weekend-bars div {
  flex: 1;
}
.weekend-bars div:nth-child(1) { background:#ff6b35; }
.weekend-bars div:nth-child(2) { background:#f7931e; }
.weekend-bars div:nth-child(3) { background:#ffd23f; }
.weekend-bars div:nth-child(4) { background:#06d6a0; }
.weekend-bars div:nth-child(5) { background:#118ab2; }
.weekend-bars div:nth-child(6) { background:#073b4c; }
.sidebar {
  float: right;
  width: 220px;
  background: rgba(255,255,255,0.1);
  padding: 10px;
  margin: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.decision {
  font-style: italic;
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
}

/* Utility class for toggling content */
.hidden { display: none; }

/* Utility class for toggling content */
.hidden { display: none; }

#tabs{display:none;margin-bottom:15px;}

.bucket {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 40px 0;
}
.bucket h2,
.bucket h3 {
  grid-column: 1 / -1;
  margin: 0;
}
.bucket ul {
  list-style: none;
  padding: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bucket li {
  background: rgba(255,255,255,0.1);
  padding: 6px;
  border-radius: 4px;
  font-size: 0.9rem;
}
.gotchas {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
}
.bucket video {
  grid-column: 1 / -1;
  width: 100%;
  border-radius: 6px;
}
.bucket:not(.fade-in) {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms ease, transform 300ms ease;
}

/* Engineering Highlights */
.arch { position: relative; text-align: center; margin: 40px 0; }
.arch svg { max-width: 600px; width: 100%; margin: 0 auto; display: block; }
.arch .badge { position: absolute; top: 10px; right: 10px; background: #06d6a0; color: #000; padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; }

/* Leadership Evidence */
.card-strip { display: flex; gap: 15px; justify-content: center; margin: 40px 0; flex-wrap: wrap; }
.card { background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px; min-width: 180px; flex: 1; text-align: center; }

/* Social Proof */
.github-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; cursor: pointer; color: #fff; text-decoration: none; }
.github-badge .icon { width: 16px; height: 16px; fill: currentColor; }
.proof video { width: 100%; max-width: 480px; border-radius: 6px; display: block; margin: 0 auto; }

/* CTA Bar */
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; border-radius: 30px; text-decoration: none; font-weight: 600; border: 1px solid transparent; }
.btn .icon { width: 16px; height: 16px; fill: currentColor; }
.btn.primary { background: #7209b7; color: #fff; }
.btn.outline { background: none; color: #fff; border-color: #fff; }


/* Architecture Table */
.arch-table-section {
  padding: 60px 0;
  margin: 60px 0;
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  border: 1px solid rgba(107, 115, 255, 0.15);
}
.arch-table-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: white;
}
.table-wrapper {
  max-width: 80rem;
  margin: 0 auto;
  overflow-x: auto;
  padding: 0 16px;
}
.arch-table {
  width: 100%;
  border-collapse: collapse;
  color: white;
}
.arch-table th,
.arch-table td {
  border: 1px solid rgba(107, 115, 255, 0.3);
  padding: 12px;
  text-align: left;
}
.arch-table thead {
  background: rgba(107, 115, 255, 0.15);
}
.arch-table tr:hover {
  background: rgba(107, 115, 255, 0.1);
}

/* Features Accordion */
.features-section {
  padding: 60px 0;
  margin: 60px 0;
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  border: 1px solid rgba(107, 115, 255, 0.15);
  color: white;
}
.features-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: white;
}
.accordion {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 16px;
}
.accordion-item {
  border: 1px solid rgba(107, 115, 255, 0.3);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  color: white;
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  padding: 16px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
}
.accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.05);
}
.accordion-trigger-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.accordion-icon-box {
  width: 32px;
  height: 32px;
  background: rgba(107, 115, 255, 0.15);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.accordion-icon {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
}
.accordion-content {
  display: none;
  padding: 0 24px 24px;
  background: rgba(107, 115, 255, 0.05);
}
.accordion-content.open {
  display: block;
}
/* Features Grid */
.features {
  padding: 80px 0;
}
.features-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}
.features-title-emoji {
  font-size: 2.8rem;
  margin-right: 0.6rem;
}
.features-title-text {
  font-size: 2.8rem;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  display: inline-block;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.features-grid .feature-card {
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.15) 0%, rgba(155, 170, 242, 0.1) 100%);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: left;
  border: 1px solid rgba(107, 115, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.features-grid .feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6b73ff, #9baaf2, #a8d5f7);
}
.features-grid .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.2) 0%, rgba(155, 170, 242, 0.15) 100%);
}
.feature-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.feature-icon.feature-emoji {
  font-size: 2.5rem;
  margin-right: 15px;
  filter: none;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}
.features-grid .feature-card h3 {
  font-size: 1.4rem;
  color: white;
  font-weight: 600;
  margin: 0;
}
.features-grid .feature-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}
/* Build Diary Timeline */
.timeline-section {
  padding: 60px 0;
  margin: 60px 0;
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  border: 1px solid rgba(107, 115, 255, 0.15);
  color: white;
}
.timeline-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.timeline {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 16px;
}
.timeline-line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.3);
}
.timeline-items {
  position: relative;
  padding-left: 48px;
}
.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.timeline-marker {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
}
.timeline-marker.blue { background: #2563eb; }
.timeline-marker.green { background: #16a34a; }
.timeline-marker.purple { background: #7c3aed; }
.timeline-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 16px;
}
.timeline-card-title {
  font-weight: 600;
  margin-bottom: 4px;
}
.timeline-card-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}


/* Tech Stack Grid */
.tech-stack {
  padding: 60px 0;
  text-align: center;
}

.tech-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.tech-title-emoji {
  font-size: 2rem;
  margin-right: 0.5rem;
}

.tech-title-text {
  font-size: 2rem;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  display: inline-block;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.tech-badge {
  background: linear-gradient(45deg, rgba(107, 115, 255, 0.2), rgba(155, 170, 242, 0.15));
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(107, 115, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 115, 255, 0.2);
  background: linear-gradient(45deg, rgba(107, 115, 255, 0.3), rgba(155, 170, 242, 0.2));
}

.tech-grid-section {
  padding: 60px 0;
  margin: 60px 0;
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  border: 1px solid rgba(107, 115, 255, 0.15);
  color: white;
}
.tech-grid-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.tech-grid-group {
  margin-bottom: 32px;
  text-align: center;
}
.tech-grid-group-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
}
.tech-grid-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Trade-offs Collapsible List */
.tradeoffs-section {
  padding: 80px 0;
  margin: 60px auto;
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  border: 1px solid rgba(107, 115, 255, 0.15);
  color: white;
  max-width: 1496px;
}
.tradeoffs-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.tradeoffs-list {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  gap: 16px;
}
.tradeoffs-item {
  border: 1px solid rgba(107, 115, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.tradeoffs-toggle {
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  padding: 16px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.tradeoffs-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}
.tradeoffs-label.red { color: #ef4444; }
.tradeoffs-label.green { color: #22c55e; }
.tradeoffs-content {
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
}

.tradeoffs-reflection p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}
.tradeoffs-ul {
  list-style: disc inside;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
}

/* Subtle Transitions */
.hover\:bg-slate-50:hover {
  background-color: #f8fafc;
  transition: background-color 0.15s ease;
}

table tr {
  transition: background-color 0.15s ease;
}

.accordion-content {
  transition: all 0.2s ease;
}

/* Minimal scroll bar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Interactive Capabilities */
.capabilities-section {
  padding: 100px 20px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.cap-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cap-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(102, 126, 234, 0.3);
  border-radius: 50%;
  animation: cap-float 8s infinite ease-in-out;
}

@keyframes cap-float {
  0%, 100% { transform: translateY(0) rotate(0); opacity: 0.5; }
  50% { transform: translateY(-30px) rotate(180deg); opacity: 1; }
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #a0a0b3;
  max-width: 700px;
  margin: 0 auto 30px;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 15px 25px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
}

.stat-label {
  font-size: 0.9rem;
  color: #8e8ea0;
  margin-top: 5px;
}

.capabilities-container {
  position: relative;
  margin-top: 60px;
  z-index: 2;
}

.tab-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: fit-content;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab-navigation::-webkit-scrollbar { display: none; }

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
  background: transparent;
  border: none;
  color: #a0a0b3;
  cursor: pointer;
  border-radius: 16px;
  transition: all .3s ease;
  font-weight: 600;
  white-space: nowrap;
}

.tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tab-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  transform: translateY(-2px);
}

.tab-teaser {
  font-size: 0.75rem;
  color: #b8b8cc;
  line-height: 1.2;
}

.capability-showcase {
  display: none;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 32px;
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  min-height: 550px;
  height: auto;
}

.capability-showcase.active {
  display: block;
  animation: cap-slideIn .6s ease;
}

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

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-content { position: relative; z-index: 2; }

.capability-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 32px;
  color: #fff;
}

.capability-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.2;
}

.impact-metric {
  display: inline-block;
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 25px;
  border: 2px solid rgba(102, 126, 234, 0.3);
}

.capability-description {
  font-size: 1.2rem;
  color: #b8b8cc;
  line-height: 1.8;
  margin-bottom: 30px;
}

.capability-description strong { color: #fff; font-weight: 600; }

.feature-highlights { display: flex; gap: 20px; flex-wrap: wrap; }

.highlight-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #e0e0f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.showcase-visual {
  position: relative;
  height: 400px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-preview {
  padding: 30px;
  font-family: 'Monaco','Menlo',monospace;
  color: #a0a0b3;
  font-size: 0.9rem;
  line-height: 1.6;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.code-line {
  margin-bottom: 8px;
  opacity: 0;
  animation: cap-typeIn .8s ease forwards;
}

.code-line:nth-child(1) { animation-delay: .2s; }
.code-line:nth-child(2) { animation-delay: .4s; }
.code-line:nth-child(3) { animation-delay: .6s; }
.code-line:nth-child(4) { animation-delay: .8s; }
.code-line:nth-child(5) { animation-delay: 1s; }

@keyframes cap-typeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Basic syntax highlighting for code previews */
.comment { color: #6272a4; font-style: italic; }
.keyword { color: #ff79c6; }
.method  { color: #50fa7b; }
.string  { color: #f1fa8c; }

.flow-visualization {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 40px;
}

.flow-step {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  opacity: 0;
  animation: cap-slideInRight .6s ease forwards;
}

.flow-step:nth-child(1) { animation-delay: .2s; }
.flow-step:nth-child(2) { animation-delay: .4s; }
.flow-step:nth-child(3) { animation-delay: .6s; }

@keyframes cap-slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.125rem;
  color: #fff;
  flex-shrink: 0;
}

.step-text {
  font-size: 1.1rem;
  color: #e0e0f0;
}

.api-theme .capability-icon {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}
.api-theme .impact-metric {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.3);
}
.web-theme .capability-icon {
  background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}
.web-theme .impact-metric {
  background: rgba(78, 205, 196, 0.2);
  color: #4ecdc4;
  border-color: rgba(78, 205, 196, 0.3);
}
.migrate-theme .capability-icon {
  background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
}
.migrate-theme .impact-metric {
  background: rgba(254, 202, 87, 0.2);
  color: #feca57;
  border-color: rgba(254, 202, 87, 0.3);
}
.req-theme .capability-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.req-theme .impact-metric {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.3);
}
.chat-theme .capability-icon {
  background: linear-gradient(135deg, #a55eea 0%, #26de81 100%);
}
.chat-theme .impact-metric {
  background: rgba(165, 94, 234, 0.2);
  color: #a55eea;
  border-color: rgba(165, 94, 234, 0.3);
}

/* Tech Stack Section */
.tech-stack-section {
  padding: 60px 16px;
  margin: 60px 0;
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  border: 1px solid rgba(107, 115, 255, 0.15);
  text-align: center;
}

.tech-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.tech-card {
  background: linear-gradient(145deg, rgba(45, 55, 72, 0.4), rgba(26, 32, 44, 0.4));
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tech-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-icon {
  width: 40px;
  height: 40px;
  margin-right: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.ai-icon { background-image: url('https://img.icons8.com/fluency/48/brain.png'); }
.backend-icon { background-image: url('https://img.icons8.com/fluency/48/settings.png'); }
.frontend-icon { background-image: url('https://img.icons8.com/fluency/48/domain.png'); }
.data-icon { background-image: url('https://img.icons8.com/fluency/48/database.png'); }
.auth-icon { background-image: url('https://img.icons8.com/fluency/48/lock.png'); }
.test-icon { background-image: url('https://img.icons8.com/fluency/48/test-tube.png'); }
.rag-icon { background-image: url('https://img.icons8.com/fluency/48/refresh.png'); }
.vector-icon { background-image: url('https://img.icons8.com/fluency/48/filing-cabinet.png'); }
.chat-icon { background-image: url('https://img.icons8.com/fluency/48/chat.png'); }
.build-icon { background-image: url('https://img.icons8.com/fluency/48/rocket.png'); }

.tech-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.tech-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-item:last-child {
  border-bottom: none;
}

.tech-item span:first-child {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.badge.primary { background-color: rgba(56, 189, 248, 0.2); color: #38bdf8; border-color: rgba(56, 189, 248, 0.3); }
.badge.fallback { background-color: rgba(167, 139, 250, 0.2); color: #a78bfa; border-color: rgba(167, 139, 250, 0.3); }
.badge.core { background-color: rgba(52, 211, 153, 0.2); color: #34d399; border-color: rgba(52, 211, 153, 0.3); }
.badge.tool { background-color: rgba(251, 191, 36, 0.2); color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }
.badge.devops { background-color: rgba(248, 113, 113, 0.2); color: #f87171; border-color: rgba(248, 113, 113, 0.3); }
.badge.ui { background-color: rgba(236, 72, 153, 0.2); color: #ec4899; border-color: rgba(236, 72, 153, 0.3); }
.badge.api { background-color: rgba(139, 92, 246, 0.2); color: #8b5cf6; border-color: rgba(139, 92, 246, 0.3); }
.badge.bi { background-color: rgba(251, 113, 133, 0.2); color: #fb7185; border-color: rgba(251, 113, 133, 0.3); }
.badge.oauth { background-color: rgba(250, 204, 21, 0.2); color: #facd15; border-color: rgba(250, 204, 21, 0.3); }
.badge.monitoring { background-color: rgba(34, 197, 94, 0.2); color: #22c55e; border-color: rgba(34, 197, 94, 0.3); }
.badge.data { background-color: rgba(59, 130, 246, 0.2); color: #3b82f6; border-color: rgba(59, 130, 246, 0.3); }

.architecture-flow {
  background: linear-gradient(145deg, rgba(45, 55, 72, 0.4), rgba(26, 32, 44, 0.4));
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.architecture-flow h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.flow-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.flow-item {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-arrow {
  color: rgba(255, 255, 255, 0.5);
}

.ai-flow { color: #ec4899; }
.backend-flow { color: #34d399; }
.frontend-flow { color: #fbbf24; }
.data-flow { color: #38bdf8; }
.auth-flow { color: #a78bfa; }
.test-flow { color: #f87171; }

/* Product Showcase Section */
.showcase-section {
  padding: 80px 0;
  position: relative;
}

.showcase-section .container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

.showcase-section .section-header {
  text-align: center;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.showcase-section .section-icon {
  font-size: 2.5rem;
  margin-right: 12px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  position: relative;
  top: -0.2em;
  color: #6b73ff;
  opacity: 1;
  visibility: visible;
  -webkit-text-fill-color: #6b73ff;
  background: none;
}

.showcase-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.showcase-section .section-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.showcase-section .features-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.showcase-section .feature {
  display: grid;
  grid-template-columns: 1fr 700px;
  gap: 24px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.showcase-section .feature.visible {
  opacity: 1;
  transform: translateY(0);
}

.showcase-section .feature:nth-child(even) {
  grid-template-columns: 700px 1fr;
}

.showcase-section .feature:nth-child(even) .feature-content {
  order: 2;
}

.showcase-section .feature:nth-child(even) .feature-image {
  order: 1;
}

.showcase-section .feature-content {
  padding: 0 8px 0 0;
  max-width: 350px;
}

.showcase-section .feature-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.showcase-section .feature-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.showcase-section .feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-section .feature-tag {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.showcase-section .feature-tag.primary {
  background-color: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

.showcase-section .feature-tag.core {
  background-color: rgba(52, 211, 153, 0.2);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}

.showcase-section .feature-tag.ui {
  background-color: rgba(236, 72, 153, 0.2);
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.3);
}

.showcase-section .feature-tag.tool {
  background-color: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

.showcase-section .feature-tag.devops {
  background-color: rgba(248, 113, 113, 0.2);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
}

.showcase-section .feature-tag.oauth {
  background-color: rgba(250, 204, 21, 0.2);
  color: #facd15;
  border-color: rgba(250, 204, 21, 0.3);
}

.showcase-section .feature-tag.api {
  background-color: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.3);
}

.showcase-section .feature-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-out;
}

.showcase-section .feature-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}

.showcase-section .screenshot {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1887 / 998;
  object-fit: cover;
  border-radius: 11px;
}

.showcase-section .placeholder-image {
  width: 100%;
  aspect-ratio: 1887 / 998;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(51, 65, 85, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1rem;
  font-weight: 500;
  border: 2px dashed rgba(148, 163, 184, 0.3);
  position: relative;
  overflow: hidden;
  border-radius: 11px;
}

.showcase-section .placeholder-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.showcase-section .placeholder-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.7;
}

.showcase-section .placeholder-text {
  font-size: 1rem;
  color: #cbd5e1;
  font-weight: 500;
}

.showcase-section .placeholder-dimensions {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* Glassmorphism effect for placeholders */
.showcase-section .placeholder-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
  transparent, 
  rgba(255, 255, 255, 0.1), 
  transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

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

/* Responsive Design for Product Showcase */
@media (max-width: 768px) {
  .showcase-section {
    padding: 60px 0;
  }
  
  .showcase-section .container {
    padding: 0 20px;
  }
  
  .showcase-section .section-title {
    font-size: 2rem;
  }
  
  .showcase-section .section-subtitle {
    font-size: 1rem;
  }
  
  .showcase-section .features-grid {
    gap: 60px;
  }
  
  .showcase-section .feature,
  .showcase-section .feature:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }
  
  .showcase-section .feature:nth-child(even) .feature-content,
  .showcase-section .feature:nth-child(even) .feature-image {
    order: initial;
  }
  
  .showcase-section .feature-content {
    max-width: none;
  }
  
  .showcase-section .feature-title {
    font-size: 1.5rem;
  }
  
  .showcase-section .feature-description {
    font-size: 0.95rem;
  }
  
  .showcase-section .placeholder-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .showcase-section .section-title {
    font-size: 1.75rem;
  }
  
  .showcase-section .feature-title {
    font-size: 1.375rem;
  }
  
  .showcase-section .placeholder-icon {
    font-size: 2rem;
  }
}

.wide-contact {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 60px auto;
  padding: 56px 48px;
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.10) 0%, rgba(155, 170, 242, 0.08) 100%);
  border-radius: 32px;
  border: 1px solid rgba(107, 115, 255, 0.18);
  box-shadow: 0 8px 32px rgba(107, 115, 255, 0.10);
}
.wide-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.large-avatar.profile-avatar-img,
.large-avatar.profile-avatar {
  width: 120px !important;
  height: 120px !important;
  font-size: 3rem !important;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(107, 115, 255, 0.15);
  margin-bottom: 12px;
}
.contact-name {
  margin-top: 18px;
}
@media (max-width: 1200px) {
  .wide-contact {
    max-width: 98vw;
    padding: 32px 8px;
  }
}

@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .showcase-visual {
    order: -1;
    height: 300px;
  }
  .tab-navigation {
    width: 100%;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .section-title { font-size: 2rem; }
  .capability-title { font-size: 2rem; }
  .capability-description { font-size: 1rem; }
  .capabilities-section { padding: 60px 16px; }
  .cap-particles { display: none; }
  .features-title-text { font-size: 2rem; }
  .tech-title-text { font-size: 1.5rem; }
  .features { padding: 60px 16px; }
  .features-grid { gap: 20px; }
  .features-grid .feature-card { padding: 25px 20px; }
  .tab-navigation {
    flex-direction: row;
    position: sticky;
    top: 80px;
    z-index: 50;
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
    gap: 0;
    overflow: hidden;
    justify-content: space-between;
  }
  .tab-btn {
    flex: 1;
    padding: 12px 0;
    min-width: auto;
    min-height: 44px;
  }
  .tab-btn span {
    display: none;
  }
  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .stat-item { padding: 10px 15px; }
  .capability-showcase {
    padding: 20px;
    min-height: auto;
    height: auto;
  }
  .capability-showcase.active { animation: none; }
  .showcase-grid { gap: 20px; }
  .showcase-visual {
    height: auto;
  }
  .code-preview {
    overflow-x: auto;
    height: auto;
  }
  .code-line,
  .flow-step {
    animation: none;
    opacity: 1;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #7209b7 100%);
  min-height: 100vh;
  color: white;
  overflow-x: hidden;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  font-optical-sizing: auto;
}



/* Animated background particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    /* Move to a random direction */
    transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--s,1));
  }
}


@keyframes float {
  0% { transform: translateY(100vh) translateX(0px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 30px 0 20px;
  text-align: center;
}

.logo {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd23f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  letter-spacing: 2px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 0 80px;
  background: none;
  border: none;
  border-radius: 0;
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  backdrop-filter: none;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.5;
}

/* Ensure hero content takes full width */
#hero .relative.z-10 {
  width: 100%;
  max-width: none;
}

/* Video Section */
.video-section {
  margin: 60px 0 80px;
  text-align: center;
}

.video-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.video-title-text {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 0.5rem;
}
.video-title-emoji {
  font-size: 2.2rem;
}

.video-container {
  position: relative;
  max-width: 1400px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.2) 0%, rgba(155, 170, 242, 0.15) 100%);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(107, 115, 255, 0.4);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container iframe,
.video-container video,
.video-container wistia-player {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 15px;
  background: #000;
}


/* Screenshot Gallery */
.screenshots-section {
  padding: 80px 0;
  text-align: center;
}

.screenshots-header {
  margin-bottom: 60px;
}

.screenshots-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.screenshots-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background: #fff;
  color: #1f2937;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-info {
  padding: 1rem;
}

.gallery-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.gallery-item-description {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.4;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.lightbox-info {
  padding: 1.5rem;
  background: #fff;
  color: #1f2937;
}

.lightbox-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lightbox-description {
  line-height: 1.6;
  color: #6b7280;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 1001;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .screenshots-header h2 {
    font-size: 2rem;
  }
}
/* Features Grid */
.features {
  padding: 80px 0;
}

.features-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}
.features-title-emoji {
  font-size: 2.8rem;
  margin-right: 0.6rem;
}
.features-title-text {
  font-size: 2.8rem;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  display: inline-block;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.15) 0%, rgba(155, 170, 242, 0.1) 100%);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: left;
  border: 1px solid rgba(107, 115, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6b73ff, #9baaf2, #a8d5f7);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.2) 0%, rgba(155, 170, 242, 0.15) 100%);
}

.feature-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-icon.feature-emoji {
  font-size: 2.5rem;
  margin-right: 15px;
  filter: none;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.features-grid .feature-card h3 {
  font-size: 1.4rem;
  color: white;
  font-weight: 600;
  margin: 0;
}

.features-grid .feature-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}
/* Why I Built This Section */
.why-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  margin: 60px 0;
  border: 1px solid rgba(107, 115, 255, 0.15);
}

.why-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
}
.why-title-emoji {
  font-size: 2.5rem;
  margin-right: 0.5rem;
}
.why-title-text {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  display: inline-block;
}

.why-content {
  margin: 0 auto;
  text-align: left;
  padding: 0 16px;
}

.why-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.why-content ul {
  list-style: none;
  padding-left: 0;
  margin: 25px 0;
}

.why-content li {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.why-content li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #6b73ff;
  font-weight: bold;
}

/* Expandable Why section */
.expandable-text {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(107, 115, 255, 0.15);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.expandable-text:hover {
  border-color: rgba(107, 115, 255, 0.35);
  box-shadow: 0 8px 32px rgba(107, 115, 255, 0.15);
}

.text-content {
  position: relative;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.text-content.collapsed {
  max-height: calc(1.6em * 4);
  -webkit-line-clamp: 4;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
}

.text-content.collapsed::after {
  display: none;
}

.text-content.expanded {
  max-height: none;
  -webkit-line-clamp: unset;
}

.text-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

.text-content h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin: 2rem 0 1rem 0;
  font-weight: 600;
}

.text-content ul {
  margin: 1rem 0 1.5rem 2rem;
}

.text-content li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 0;
  padding: 12px 32px;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.expand-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 115, 255, 0.3);
}

.expand-btn:active {
  transform: translateY(0);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-icon.rotated {
  transform: rotate(180deg);
}

.btn-text {
  transition: opacity 0.2s ease;
}

.reading-progress {
  height: 3px;
  background: linear-gradient(90deg, #6b73ff 0%, #9baaf2 100%);
  border-radius: 2px;
  margin-top: 16px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.reading-progress.visible {
  transform: scaleX(1);
}

.scroll-indicator {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scroll-indicator.visible {
  opacity: 1;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(107, 115, 255, 0.3);
  transition: all 0.3s ease;
}

.scroll-dot.active {
  background: #6b73ff;
  transform: scale(1.5);
}

@media (max-width: 768px) {
  .expandable-text {
    padding: 24px;
  }
  
  .scroll-indicator {
    display: none;
  }
}

/* Tech Stack Section */
/* Contact Section */
.contact-section {
  padding: 60px 0;
  text-align: center;
}

.contact-card {
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.19) 0%, rgba(155, 170, 242, 0.13) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  box-shadow: 0 8px 32px rgba(107, 115, 255, 0.13);
  padding: 56px 30px 40px 30px;
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid rgba(107, 115, 255, 0.15);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.contact-card.floating-avatar {
  padding-top: 56px;
}
.avatar-overlap {
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  height: 110px;
  z-index: 2;
}
.profile-avatar-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(107,115,255,0.15);
  border: 3px solid #fff;
  display: block;
}
.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(45deg, #6b73ff, #9baaf2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.profile-avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.profile-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: -10px;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(107,115,255,0.15);
  border: 3px solid #fff;
  display: block;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, #6b73ff, #9baaf2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.contact-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.contact-role {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-message {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-size: 1rem;
}

.linkedin-btn {
  display: inline-block;
  background: linear-gradient(45deg, #0077B5, #0A66C2);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.linkedin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(107, 115, 255, 0.2);
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(22, 33, 62, 0.3) 100%);
}

.footer-content {
  font-size: 1rem;
  margin-bottom: 10px;
}

.powered-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.powered-badge-emoji {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.powered-badge-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  display: inline-block;
  background: none;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 60px 0;
}

.disqus-section {
  padding: 60px 0;
  text-align: center;
}

#disqus_thread {
  max-width: 800px;
  margin: 0 auto;
  color: #fff !important;
}
#disqus_thread a {
  color: #4fc3f7 !important;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(107, 115, 255, 0.2);
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(22, 33, 62, 0.3) 100%);
}

.footer-content {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-link {
  color: #6b73ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #9baaf2;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.2) 0%, rgba(155, 170, 242, 0.15) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(107, 115, 255, 0.3);
  border-radius: 25px;
  padding: 40px 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.8);
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: white;
}

.modal-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.modal h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.modal p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.modal-button {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
  border: none;
  cursor: pointer;
  display: inline-block;
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 107, 53, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
    padding: 0 15px;
  }
  
  .logo {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  
  .video-title {
    font-size: 1.8rem;
  }
  
  .video-container {
    margin: 0 10px;
    max-width: calc(100% - 20px);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .features h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
  
  .why-section h2 {
    font-size: 2rem;
  }
  
  .why-content {
    padding: 0 20px;
  }
  
  .tech-badges {
    padding: 0 15px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .cta-button {
    padding: 16px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .logo {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  
  .video-title {
    font-size: 1.6rem;
  }
  
  .video-container {
    margin: 0 10px;
    padding: 4px;
  }
  
  .features h2 {
    font-size: 1.9rem;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .why-section h2 {
    font-size: 1.8rem;
  }
  
  .tech-stack h3 {
    font-size: 1.6rem;
  }
  
  .tech-badge {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  
  .modal {
    margin: 20px;
    padding: 30px 25px;
  }
  
  .modal h3 {
    font-size: 1.5rem;
  }
  
  .modal p {
    font-size: 1rem;
  }
  
  .modal-icon {
    font-size: 3rem;
  }
}

/* Architecture diagram styles */
.arch-diagram {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  border-radius: 20px;
  margin-top: 40px;
}

.arch-container {
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(107, 115, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  color: white;
  overflow: hidden;
}

.arch-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.arch-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 300;
}

.arch-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.arch-architecture {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.arch-layer {
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arch-layer:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.arch-frontend {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
}

.arch-backend {
  background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
  color: white;
}

.arch-auth {
  background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
  color: white;
}

.arch-ai {
  background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
  color: white;
}

.arch-layer h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.arch-layer h3 {
  font-size: 1.1rem;
  margin: 15px 0 10px 0;
  opacity: 0.9;
}

.arch-component {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px;
  margin: 8px 0;
  backdrop-filter: blur(10px);
}

.arch-component-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
}

.arch-endpoint {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px;
  margin: 5px 0;
  font-size: 0.9rem;
}

.arch-tech-stack {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
  color: white;
  margin-top: 20px;
}

.arch-flow-section {
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(107, 115, 255, 0.15);
  padding: 40px;
  margin-top: 20px;
  color: white;
}

.arch-flow-title {
  text-align: center;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 30px;
}

.arch-flows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* narrower cards to fit 5 flows on large screens */
  gap: 16px;
}

.arch-flow {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  color: white;
}

.arch-flow h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.arch-flow-step {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #74b9ff;
  padding: 10px 15px;
  margin: 8px 0;
  border-radius: 0 8px 8px 0;
}

.arch-arrow {
  display: inline-block;
  margin: 0 10px;
  color: #74b9ff;
  font-weight: bold;
}

/* Sticky side navigation */
#side-nav {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.3) 0%, rgba(155, 170, 242, 0.25) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(107, 115, 255, 0.45);
  border-radius: 12px;
  padding: 10px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 2s;
}
#side-nav.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#side-nav a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 8px 4px 12px;
  border-radius: 6px;
  display: block;
  position: relative;
}
#side-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
}
#side-nav a.active {
  background: rgba(255, 255, 255, 0.35);
}
#side-nav a.active::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #74b9ff;
  border-radius: 2px;
}
@media (max-width: 768px) {
  #side-nav { display: none; }
}

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

.arch-pulse {
  animation: arch-pulse 2s infinite;
}

@keyframes arch-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Unified section heading styles */
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
}

.section-title-emoji {
  font-size: 2.5rem;
  margin-right: 0.5rem;
  display: inline-block;
  vertical-align: text-top;
  line-height: 1;
  position: relative;
  top: -0.3em;
}

.section-title-text {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  display: inline-block;
}

/* Turbo‑Clap component ------------------------------------------------*/
.clap-section {
  padding: 40px 0;
  text-align: center;
}
:root {
  --brand: var(--chakra-colors-blue-400, #4299e1);
  --brand-light: color-mix(in srgb, var(--brand) 30%, white 70%);
  --gold: #f6ad55;
}
.clap-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}
.clap-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--brand-light);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: border 0.3s ease, box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.clap-btn:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 15%, black 0%);
}
.clap-btn:active {
  transform: scale(0.93);
}
.idle-pulse {
  animation: idlePulse 4s ease-in-out infinite;
}
@keyframes idlePulse {
  0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 0%, transparent 100%); transform: scale(1); }
  45% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 30%, transparent 70%); transform: scale(1.04); }
  70% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--brand) 8%, transparent 92%); }
}
.kick {
  animation: kickAnim 0.6s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes kickAnim {
  0% { transform: scale(1); }
  20% { transform: scale(1.35); }
  55% { transform: scale(0.9); }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.clap-emoji {
  font-size: 40px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.clap-btn.kick .clap-emoji {
  transform: scale(1.15);
}
.clap-count {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand);
}
.floating {
  position: absolute;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--chakra-colors-blue-300, #63b3ed);
  pointer-events: none;
  animation: floatUp 1s ease-out forwards;
}
@keyframes floatUp {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -260%) scale(1.45); }
}
.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--brand);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0.7;
  pointer-events: none;
  animation: ring 1s ease-out forwards;
}
.ring.gold {
  border-color: var(--gold);
  animation-duration: 1.2s;
}
@keyframes ring {
  to { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}
.clap-particle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  text-shadow: 0 0 8px var(--brand);
  animation: shoot var(--t) cubic-bezier(.23,1,.32,1) forwards;
}
.clap-particle.gold {
  background: var(--gold);
  text-shadow: 0 0 8px var(--gold);
}
@keyframes shoot {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.35); }
}
.sparkle {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--gold);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: sparkMove var(--t) ease-out forwards, sparkSpin 1.2s linear;
}
@keyframes sparkMove {
  0% { transform: translate(-50%, -50%) scale(0); }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1); opacity: 0; }
}
@keyframes sparkSpin { to { rotate: 360deg; } }

/* Mobile-Only Hamburger Menu */
.mobile-hamburger {
  display: none; /* Hidden by default */
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: #007bff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.mobile-hamburger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 123, 255, 0.4);
}

.hamburger-icon {
  position: relative;
  width: 25px;
  height: 20px;
  margin: auto;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-icon span:nth-child(1) {
  top: 0;
}

.hamburger-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-icon span:nth-child(3) {
  bottom: 0;
}

/* Hamburger Animation */
.mobile-hamburger.active .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.mobile-hamburger.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-hamburger.active .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Mobile Dropdown Menu */
.mobile-menu {
  display: none; /* Hidden by default */
  position: fixed;
  top: 80px;
  right: 20px;
  width: 250px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px) scale(0.95);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mobile-menu-links {
  list-style: none;
  padding: 1rem 0;
}

.mobile-menu-links li {
  margin: 0;
}

.mobile-menu-links a {
  display: block;
  padding: 1rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f8f9fa;
}

.mobile-menu-links li:last-child a {
  border-bottom: none;
}

.mobile-menu-links a:hover {
  background: #f8f9fa;
  color: #007bff;
  padding-left: 2rem;
}

/* Show only on mobile devices */
@media (max-width: 768px) {
  .mobile-hamburger,
  .mobile-menu {
    display: block;
  }
}

/* Tech Stack Section */
#tech .container {
  max-width: 1200px;
  margin: 0 auto;
}

#tech .header {
  text-align: center;
  margin-bottom: 16px;
}

#tech .header h1 {
  font-size: 2.5rem;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

#tech .header p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

#tech .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

#tech .card {
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.15) 0%, rgba(155, 170, 242, 0.1) 100%);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(107, 115, 255, 0.3);
}

#tech .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.2) 0%, rgba(155, 170, 242, 0.15) 100%);
}

#tech .card.ai:hover {
  border-color: #a78bfa;
  box-shadow: 0 20px 40px rgba(167, 139, 250, 0.2);
}

#tech .card.backend:hover {
  border-color: #34d399;
  box-shadow: 0 20px 40px rgba(52, 211, 153, 0.2);
}

#tech .card.frontend:hover {
  border-color: #60a5fa;
  box-shadow: 0 20px 40px rgba(96, 165, 250, 0.2);
}

#tech .card.data:hover {
  border-color: #fb7185;
  box-shadow: 0 20px 40px rgba(251, 113, 133, 0.2);
}

#tech .card.auth:hover {
  border-color: #fbbf24;
  box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
}

#tech .card.testing:hover {
  border-color: #f472b6;
  box-shadow: 0 20px 40px rgba(244, 114, 182, 0.2);
}

#tech .card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

#tech .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  background: rgba(148, 163, 184, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

#tech .icon.ai { background: linear-gradient(135deg, #a78bfa, #c084fc); }
#tech .icon.backend { background: linear-gradient(135deg, #34d399, #10b981); }
#tech .icon.frontend { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
#tech .icon.data { background: linear-gradient(135deg, #fb7185, #f43f5e); }
#tech .icon.auth { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
#tech .icon.testing { background: linear-gradient(135deg, #f472b6, #ec4899); }

#tech .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

#tech .tech-card-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  margin-top: 2px;
}

#tech .tech-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #74b9ff;
  border-radius: 0 8px 8px 0;
  margin: 8px 0;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

#tech .tech-item:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: #475569;
}

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

#tech .tech-info {
  flex: 1;
  min-width: 0;
}

#tech .tech-name {
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tech .tech-role {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-top: 1px;
}

#tech .badge {
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
}

#tech .badge.primary {
  background: rgba(167, 139, 250, 0.2);
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.3);
}

#tech .badge.core {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}

#tech .badge.tool {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.3);
}

#tech .badge.ui {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}

#tech .badge.ai {
  background: rgba(244, 114, 182, 0.2);
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.3);
}

#tech .badge.bi {
  background: rgba(251, 113, 133, 0.2);
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.3);
}

#tech .badge.oauth {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}

#tech .badge.api {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

#tech .badge.devops {
  background: rgba(251, 113, 133, 0.2);
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.3);
}

#tech .badge.fallback {
  background: rgba(100, 116, 139, 0.2);
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.3);
}

#tech .flow {
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  border: 1px solid rgba(107, 115, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(107, 115, 255, 0.08);
}

#tech .flow h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #6b73ff 0%, #9baaf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#tech .flow-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

#tech .flow-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.12) 0%, rgba(155, 170, 242, 0.09) 100%);
  border: 1px solid rgba(107, 115, 255, 0.13);
  font-weight: 500;
  color: #ffffff;
  transition: all 0.2s ease;
}

#tech .flow-item:hover {
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.18) 0%, rgba(155, 170, 242, 0.15) 100%);
  border-color: #60a5fa;
  transform: translateY(-1px);
}

#tech .arrow {
  color: #60a5fa;
  font-size: 12px;
  font-weight: bold;
}

@media (max-width: 640px) {
  #tech .grid {
    grid-template-columns: 1fr;
  }
  
  #tech .flow-items {
    flex-direction: column;
  }
  
  #tech .arrow {
    transform: rotate(90deg);
  }
}

.aurora-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  max-width: 1200px;
  background-image: radial-gradient(ellipse at 30% 25%, rgba(249, 115, 22, 0.2), transparent 50%),
  radial-gradient(ellipse at 70% 75%, rgba(59, 130, 246, 0.2), transparent 50%);
  filter: blur(120px);
  z-index: 0;
  animation: pulse-aurora 12s infinite alternate ease-in-out;
}

@keyframes pulse-aurora {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.7;
  }
}

.animated-gradient-text {
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 8s linear infinite;
  font-display: swap;
  text-rendering: optimizeLegibility;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.highlight-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, #a855f7, #6366f1);
  font-weight: 800;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-20px);
  }
  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.tech-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(107, 115, 255, 0.2);
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.15) 0%, rgba(155, 170, 242, 0.1) 100%);
  border-color: rgba(107, 115, 255, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.learning-section {
  padding: 80px 0;
}

.learning-container {
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.08) 0%, rgba(155, 170, 242, 0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  border: 1px solid rgba(107, 115, 255, 0.15);
  color: white;
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.header .subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 30px;
  background: rgba(107, 115, 255, 0.1);
}

.stat-card {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #9baaf2;
  margin-bottom: 5px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.timeline-accordion {
  width: 100%;
}

.timeline-header {
  padding: 20px;
  background: rgba(107, 115, 255, 0.15);
  color: white;
  text-align: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-header-emoji {
  margin-right: 8px;
}

.timeline-header-text {
  display: inline-block;
}

.timeline-header::after {
  content: '\25BC';
  margin-left: 10px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.timeline-accordion.open .timeline-header::after {
  transform: rotate(180deg);
}

.timeline-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.timeline-accordion.open .timeline-body {
  max-height: 15000px;
}

.timeline {
  padding: 40px 30px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #4f46e5, #7c3aed, #ec4899);
  transform: translateX(-50%);
  border-radius: 2px;
  z-index: 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

/* Cover timeline line behind each card */
.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(26, 32, 52, 0.85);
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 30px;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 30px;
}

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

.timeline-marker {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: 20px;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
  border: 4px solid white;
}

.timeline-marker.completed {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.timeline-marker.in-progress {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.timeline-marker svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.timeline-content {
  flex: 1;
  background: rgba(26, 32, 52, 0.85);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  color: white;
  z-index: 2;
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
  border-right-color: rgba(26, 32, 52, 0.85);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
  border-left-color: rgba(26, 32, 52, 0.85);
}

.timeline-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 15px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tag {
  background: rgba(107, 115, 255, 0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.tag.tech {
  background: rgba(37, 99, 235, 0.3);
}

.tag.insight {
  background: rgba(16, 185, 129, 0.3);
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.duration {
  font-weight: 600;
  color: #9baaf2;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  z-index: 1000;
  transition: width 0.3s ease;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: row !important;
  }
  
  .timeline-content {
    margin-left: 30px !important;
    margin-right: 0 !important;
  }
  
  .timeline-content::before {
    left: -20px !important;
    right: auto !important;
    border-left-color: transparent !important;
    border-right-color: rgba(26, 32, 52, 0.85) !important;
  }
  
  .timeline-marker {
    margin-left: 6px;
  }
}

/* ----------------------------------------------------------------
   Responsive overrides – Hero section (tablet & mobile only)
   ----------------------------------------------------------------*/

/* Tablet landscape / portrait */
@media (max-width: 1024px) {
  /* Reduce colossal heading size coming from inline clamp() */
  #hero h1 {
    font-size: 3rem !important; /* ~48px */
    line-height: 1.1 !important;
  }
}

/* Small tablets & mobile phones */
@media (max-width: 600px) {
  #hero h1 {
    font-size: 2.25rem !important; /* ~36px */
    line-height: 1.15 !important;
  }
  #hero p {
    font-size: 1.1rem !important; /* fine-tune subtitle */
  }
}

/* ----------------------------------------------------------------
   Responsive overrides – Capabilities section (tablet & mobile only)
   ----------------------------------------------------------------*/

/* Medium tablets – narrow grid */
@media (max-width: 900px) {
  /* Make the capability showcase vertically stacked instead of two-column grid */
  .capability-showcase .showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Visual first (top) */
  .capability-showcase .showcase-visual {
    order: -1;
    height: 280px !important;
  }
}

/* Small devices */
@media (max-width: 600px) {
  /* Tighten paddings */
  .capabilities-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .capability-showcase {
    padding: 16px !important;
  }
  .capability-title {
    font-size: 1.5rem !important;
  }
  .capability-description {
    font-size: 0.95rem !important;
  }
  .impact-metric {
    font-size: 0.95rem !important;
    padding: 6px 14px !important;
  }
}

/* ----------------------------------------------------------------
   Responsive overrides – Why I Built This section
   ----------------------------------------------------------------*/
@media (max-width: 768px) {
  .why-section {
    padding: 60px 0 !important;
  }
  .why-title-text {
    font-size: 2rem !important;
  }
  .why-content p {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }
  .why-content li {
    font-size: 0.95rem !important;
  }
  /* Reduce margin for expand btn */
  .expand-btn {
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
  }
}
@media (max-width: 480px) {
  .why-title-text {
    font-size: 1.6rem !important;
  }
  .why-content p {
    font-size: 0.95rem !important;
  }
}

/* ----------------------------------------------------------------
   Responsive overrides – Product Showcase section
   ----------------------------------------------------------------*/
@media (max-width: 600px) {
  .showcase-section {
    padding: 50px 0 !important;
  }
  .showcase-section .feature-image {
    height: auto !important;
  }
  .showcase-section .feature-title {
    font-size: 1.25rem !important;
  }
  .showcase-section .feature-description {
    font-size: 0.9rem !important;
  }
}

/* ----------------------------------------------------------------
   Responsive overrides – Architecture table & diagrams
   ----------------------------------------------------------------*/
@media (max-width: 1024px) {
  .arch-table-section {
    padding: 50px 0 !important;
  }
  .arch-table-title {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 768px) {
  /* Reduce padding inside wrapper to reclaim width */
  .arch-table-section {
    padding: 40px 0 !important;
  }
  .table-wrapper {
    padding: 0 8px !important;
  }
  /* Shrink cell padding / font */
  .arch-table th,
  .arch-table td {
    padding: 8px 6px !important;
    font-size: 0.85rem !important;
  }
  /* Allow long words to wrap rather than force wide columns */
  .arch-table td,
  .arch-table th {
    white-space: normal !important;
    word-break: break-word !important;
  }
  /* Diagram grid already stacks (CSS earlier) but tighten padding */
  .arch-architecture {
    padding: 24px !important;
  }
}

@media (max-width: 480px) {
  .arch-table-title {
    font-size: 1.2rem !important;
  }
  .arch-table th,
  .arch-table td {
    font-size: 0.75rem !important;
  }
}

/* ----------------------------------------------------------------
   Responsive overrides – Architecture table: mobile card view
   ----------------------------------------------------------------*/
@media (max-width: 600px) {
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px;
  }
  
  .arch-table {
    min-width: 100%;
    border-collapse: collapse;
  }
  
  .arch-table th,
  .arch-table td {
    padding: 8px !important;
    font-size: 0.85rem !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  
  .arch-table th {
    background: rgba(107, 115, 255, 0.15);
    font-weight: 600;
  }
  
  .arch-table tr:hover {
    background: rgba(107, 115, 255, 0.1);
  }
}

/* Responsive table layout for tablets */
@media (max-width: 900px) {
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px;
  }
  
  .arch-table {
    min-width: 100%;
    border-collapse: collapse;
  }
  
  .arch-table th,
  .arch-table td {
    padding: 10px !important;
    font-size: 0.9rem !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  
  .arch-table th {
    background: rgba(107, 115, 255, 0.15);
    font-weight: 600;
  }
  
  .arch-table tr:hover {
    background: rgba(107, 115, 255, 0.1);
  }
}