@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

body {
  background-color: hsl(0, 0%, 7.1%);
  color: hsl(0, 0%, 92.9%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background-color: #fef08a; color: #333; }
a { text-decoration: none; color: inherit; }

/* ===== NAVIGATION ===== */
.nav-link { color: hsl(0, 0%, 62.7%); font-size: 14px; transition: color .15s, background .15s; }
.nav-link:hover { color: hsl(0, 0%, 92.9%); background: hsl(0, 0%, 12.2%); border-radius: 6px; }
.chevron { width: 12px; height: 12px; flex-shrink: 0; }

/* ===== BUTTONS ===== */
.btn-green {
  display: inline-flex; align-items: center; justify-content: center;
  background: hsl(54, 100%, 60%); color: hsl(0, 0%, 7.1%);
  font-weight: 500; font-size: 14px; padding: 6px 12px;
  border-radius: 4px; border: 1px solid hsl(54, 100%, 60%);
  transition: all .15s; cursor: pointer;
}
.btn-green:hover { background: hsl(54, 100%, 52%); border-color: hsl(54, 100%, 52%); }

.btn-green-lg {
  display: inline-flex; align-items: center; justify-content: center;
  background: hsl(54, 100%, 60%); color: hsl(0, 0%, 7.1%);
  font-weight: 500; font-size: 15px; padding: 10px 20px;
  border-radius: 6px; border: 1px solid hsl(54, 100%, 60%);
  transition: all .15s; cursor: pointer;
}
.btn-green-lg:hover { background: hsl(54, 100%, 52%); border-color: hsl(54, 100%, 52%); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: hsl(0, 0%, 12.2%); color: hsl(0, 0%, 92.9%);
  font-weight: 400; font-size: 15px; padding: 10px 20px;
  border-radius: 6px; border: 1px solid hsl(0, 0%, 21.2%);
  transition: all .15s; cursor: pointer;
}
.btn-outline:hover { background: hsl(0, 0%, 16.1%); border-color: hsl(0, 0%, 27.1%); }

.btn-outline-sm {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: hsl(0, 0%, 92.9%);
  font-weight: 400; font-size: 13px; padding: 6px 14px;
  border-radius: 4px; border: 1px solid hsl(0, 0%, 21.2%);
  transition: all .15s; cursor: pointer;
}
.btn-outline-sm:hover { background: hsl(0, 0%, 12.2%); border-color: hsl(0, 0%, 27.1%); }

/* ===== CARDS ===== */
.card {
  background: hsl(0, 0%, 9%);
  border: 1px solid hsl(0, 0%, 18%);
  border-radius: 8px;
  overflow: hidden;
}

/* ===== BENTO TERMINALS (FEATURE GRID) ===== */
.bento-terminal {
  background: hsl(0, 0%, 9%);
  border: 1px solid hsl(0, 0%, 14%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 180px;
}

.bento-terminal:hover {
  transform: translateY(-5px);
  border-color: hsla(54, 100%, 60%, 0.35);
  background: hsl(0, 0%, 10%);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5), 0 0 20px -5px hsla(54, 100%, 60%, 0.1);
}

.bento-header {
  padding: 10px 14px;
  background: hsl(0, 0%, 6%);
  border-bottom: 1px solid hsl(0, 0%, 14%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.bento-title {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
  font-size: 10px;
  color: hsl(0, 0%, 43.9%);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.bento-terminal:hover .bento-title {
  color: hsl(0, 0%, 75%);
}

.bento-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== HERO MOCKUP ===== */
.hero-mockup-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0;
  position: relative;
  z-index: 10;
}

.hero-mockup {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 80px -20px hsla(54, 100%, 60%, 0.15);
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.hero-mockup-wrapper:hover .hero-mockup {
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 120px -20px hsla(54, 100%, 60%, 0.3);
  border-color: hsla(54, 100%, 60%, 0.5);
}



.glow-green {
  box-shadow: 0 0 60px -12px hsla(54, 100%, 60%, 0.15);
}

/* ===== FRAMEWORK ICONS ===== */
.framework-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: hsl(0, 0%, 12.2%); border: 1px solid hsl(0, 0%, 18%);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.framework-icon:hover { border-color: hsl(0, 0%, 27.1%); background: hsl(0, 0%, 16.1%); }

/* ===== FEATURE ICONS ===== */
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: hsl(0, 0%, 12.2%); border: 1px solid hsl(0, 0%, 18%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ===== TEXT EFFECTS ===== */
.green-glow-text {
  background: linear-gradient(to right, hsl(54, 100%, 60%), hsl(54, 100%, 78%));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== CONTRIBUTION GRAPH ===== */
.contribution-row { display: flex; gap: 2px; }
.contribution-cell {
  width: 10px; height: 10px; border-radius: 2px;
  background: hsl(0, 0%, 12.2%);
}
.contribution-cell.l1 { background: hsl(54, 80%, 12%); }
.contribution-cell.l2 { background: hsl(54, 85%, 20%); }
.contribution-cell.l3 { background: hsl(54, 90%, 36%); }
.contribution-cell.l4 { background: hsl(54, 100%, 60%); }

/* ===== FOOTER ===== */
.footer-link { color: hsl(0, 0%, 43.9%); font-size: 13px; transition: color .15s; }
.footer-link:hover { color: hsl(0, 0%, 92.9%); }

/* ===== LOGOS ===== */
.logo-item { opacity: 0.45; transition: opacity .2s; }
.logo-item:hover { opacity: 0.7; }

/* ===== CODE BLOCKS ===== */
.code-line { font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace; font-size: 13px; line-height: 1.7; }
.code-keyword { color: #c792ea; }
.code-string { color: #c3e88d; }
.code-func { color: #82aaff; }
.code-comment { color: hsl(0, 0%, 43.9%); }
.code-var { color: #f78c6c; }
.code-prop { color: #ffcb6b; }
.code-bracket { color: hsl(0, 0%, 62.7%); }

/* ===== DASHBOARD MOCKUP ===== */
.dash-row { display: flex; gap: 1px; background: hsl(0, 0%, 14%); }
.dash-cell { background: hsl(0, 0%, 9%); padding: 8px 12px; font-size: 13px; color: hsl(0, 0%, 62.7%); flex: 1; }
.dash-cell-header { background: hsl(0, 0%, 7.1%); padding: 8px 12px; font-size: 12px; color: hsl(0, 0%, 43.9%); flex: 1; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== STATS ===== */
.stat-number { font-size: 28px; font-weight: 700; color: hsl(0, 0%, 92.9%); }
.stat-label { font-size: 13px; color: hsl(0, 0%, 43.9%); }

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

.fusion-logo {
  animation: fusion-spin 10s linear infinite;
}
/* ===== TECH CARDS ===== */
.tech-card {
  position: relative;
  background: hsl(0, 0%, 9%);
  border: 1px solid hsl(0, 0%, 14%);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  overflow: hidden;
}

.tech-card:hover {
  background: hsl(0, 0%, 11%);
  border-color: hsla(54, 100%, 60%, 0.3);
  transform: translateY(-4px);
}

.tech-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(0, 0%, 43.9%);
  transition: all 0.3s ease;
}

.tech-card:hover .tech-icon-box {
  color: hsl(54, 100%, 60%);
  transform: scale(1.1);
}

.tech-icon-box svg {
  width: 32px;
  height: 32px;
}

.tech-name {
  font-size: 13px;
  font-weight: 500;
  color: hsl(0, 0%, 62.7%);
  transition: color 0.3s ease;
}

.tech-card:hover .tech-name {
  color: hsl(0, 0%, 92.9%);
}

.tech-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: hsla(54, 100%, 60%, 0.4);
  filter: blur(25px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-card:hover .tech-glow {
  opacity: 1;
}
/* ===== ANIMATED COMMAND CENTER ===== */
.acc-grid {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.acc-pane {
  position: absolute;
  padding: 12px;
  border-right: 1px solid hsl(0, 0%, 18%);
  border-bottom: 1px solid hsl(0, 0%, 18%);
  overflow: hidden;
  transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              left 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s ease-out,
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-pane-enter {
  opacity: 0;
  transform: translateY(30px);
}

.acc-pane-exit {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}

.acc-pane-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.acc-pane-body {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
  font-size: 11px;
  line-height: 1.6;
  color: hsl(0, 0%, 62.7%);
}

.acc-pane-body .prompt { font-weight: 500; }
.acc-pane-body .faint { color: hsl(0, 0%, 43.9%); }
.acc-pane-body .success { color: hsl(134, 40%, 55%); margin-top: 4px; }
.acc-pane-body .warning { color: #febc2e; margin-top: 4px; }

.acc-cursor {
  display: inline-block;
  width: 4px;
  height: 11px;
  background: hsl(0, 0%, 92.9%);
  animation: pulse 1s ease-in-out infinite;
}

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

/* ===== MINI TERMINALS (AGENTS SECTION) ===== */
.mini-terminal {
  background: hsl(0, 0%, 9%);
  border: 1px solid hsl(0, 0%, 14%);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-terminal:hover {
  transform: translateY(-4px);
  border-color: hsla(54, 100%, 60%, 0.25);
  background: hsl(0, 0%, 10%);
}

.mini-terminal-header {
  padding: 8px 10px;
  background: hsl(0, 0%, 7%);
  border-bottom: 1px solid hsl(0, 0%, 14%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-terminal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.framework-icon-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsl(0, 0%, 12.2%);
  border: 1.5px solid hsl(0, 0%, 18%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mini-terminal:hover .framework-icon-small {
  transform: scale(1.15) rotate(5deg);
}

/* ===== ANIMATED KANBAN BOARD ===== */
.kb-card {
  position: absolute;
  background: hsl(0, 0%, 9%);
  border: 1px solid hsl(0, 0%, 18%);
  border-radius: 6px;
  overflow: hidden;
  transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              left 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s ease-out,
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto; /* keep interactive */
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.kb-card:hover {
  border-color: hsla(54, 100%, 60%, 0.3);
  background: hsl(0, 0%, 10%);
}

.kb-card-enter {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.kb-card-exit {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  pointer-events: none;
}


