* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #1f2933;
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: #2563eb;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 16px;
}

.narrow {
  max-width: 720px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e5e7eb;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.brand a {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.domain-badge {
  font-size: 0.75rem;
  color: #6b7280;
  margin-left: 6px;
}

.nav a {
  margin-left: 18px;
  font-size: 0.95rem;
}

/* Hero */
.hero-enhanced {
  background: linear-gradient(180deg, #f9fafb, #ffffff);
  padding: 64px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.hero-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 10px;
}

.hero-box ul {
  margin-top: 12px;
  padding-left: 16px;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-light {
  background: #f9fafb;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.section-intro {
  color: #4b5563;
  margin-bottom: 24px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 8px;
}

/* Learning Flow */
.learning-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.learning-flow span {
  background: #eef2ff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.learning-flow .line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #93c5fd);
  margin: 0 6px;
  animation: flow 2s infinite linear;
}

@keyframes flow {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Journeys */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.journey-box {
  border-left: 4px solid #2563eb;
  padding: 16px;
  background: #ffffff;
}

/* Tool animation */
.tool-preview {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}

.tool-dot {
  width: 10px;
  height: 10px;
  background: #2563eb;
  border-radius: 50%;
  animation: pulse 1.4s infinite ease-in-out;
}

.tool-dot:nth-child(2){animation-delay:.2s}
.tool-dot:nth-child(3){animation-delay:.4s}
.tool-dot:nth-child(4){animation-delay:.6s}

@keyframes pulse {
  0%{transform:scale(1);opacity:.6}
  50%{transform:scale(1.5);opacity:1}
  100%{transform:scale(1);opacity:.6}
}

/* Notice */
.notice-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.notice-bar span {
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
}

/* CTA */
.primary-cta {
  display: inline-block;
  margin-top: 20px;
  background: #2563eb;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 6px;
}

.cta-outline {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  border: 1px solid #2563eb;
  border-radius: 6px;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-grid ul {
  list-style: none;
}

.footer-bottom {
  margin-top: 24px;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Animations */
.fade-in {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {opacity:0; transform:translateY(20px)}
  to {opacity:1; transform:translateY(0)}
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Learning Stack Animation
.learning-stack {
  position: relative;
  width: 240px;
  height: 150px;
  margin: 32px auto;
}

.stack-card {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  opacity: 0;
  animation: stackBuild 6s infinite;
}

.stack-card:nth-child(1) { animation-delay: 0s; }
.stack-card:nth-child(2) { animation-delay: 1.5s; }
.stack-card:nth-child(3) { animation-delay: 3s; }
.stack-card:nth-child(4) { animation-delay: 4.5s; }

@keyframes stackBuild {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  15% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-10px);
    opacity: 0;
  }
}
 */
/* Compact tools section */
.tools-compact {
  padding: 48px 0;
  text-align: center;
}

.tools-desc {
  margin-bottom: 20px;
  color: #4b5563;
}

/* Learning pipeline animation */
.learning-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  font-size: 0.85rem;
}

.learning-pipeline span {
  background: #eef2ff;
  padding: 6px 12px;
  border-radius: 14px;
  white-space: nowrap;
}

.learning-pipeline .pipe {
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #93c5fd);
  animation: pipeFlow 1.5s infinite ease-in-out;
}

@keyframes pipeFlow {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* CTA spacing */
.tools-cta {
  margin-top: 12px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .learning-pipeline {
    gap: 6px;
    font-size: 0.8rem;
  }

  .learning-pipeline .pipe {
    width: 12px;
  }

  .tools-compact {
    padding: 36px 0;
  }
}




/* Tool search */
.tool-search input {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.9rem;
  width: 220px;
}

/* Tool categories */
.tool-category h2 {
  margin-bottom: 16px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tool-card {
  display: block;
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 8px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.tool-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.tool-card p {
  color: #4b5563;
  font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 768px) {
  .tool-search input {
    width: 100%;
    margin-top: 8px;
  }

  .header-flex {
    flex-wrap: wrap;
    gap: 10px;
  }
}
.tool-search input {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.9rem;
  width: 220px;
}

.tool-category h2 {
  margin-bottom: 16px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tool-card {
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 8px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
  .header-flex {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tool-search input {
    width: 100%;
  }
}
