/* Custom Styles for codingcube */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Fira+Code:wght@400;500&display=swap');

:root {
  --brand-blue: #2563eb;
  --brand-green: #22c55e;
  --brand-purple: #a855f7;
  --brand-orange: #f97316;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-600: #475569;
  --slate-900: #0f172a;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: var(--slate-900);
  line-height: 1.6;
}

.mono {
  font-family: 'Fira Code', monospace;
}

.section-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-blur {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.link-hover {
  position: relative;
  display: inline-block;
}

.link-hover::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--brand-blue);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: right;
}

.link-hover:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Feature Grid & Cards */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--slate-100);
  background: #ffffff;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.feature-card .icon-container {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .icon-container {
  transform: scale(1.1) rotate(5deg);
}

/* Terminal Styling */
.terminal-window {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

#terminal-body::-webkit-scrollbar {
  width: 4px;
}

#terminal-body::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 10px;
}

/* Buttons */
.btn-primary {
  background-color: var(--slate-900);
  color: white;
  transition: all 0.2s;
}

.btn-primary:hover {
  background-color: var(--brand-blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  border: 1px solid var(--slate-100);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background-color: var(--slate-50);
  border-color: var(--slate-200);
}
