/* ==================== Codeisa — Landing Page CSS ==================== */

/* Vapor Overlay */
.vapor-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #050414;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease;
}
.vapor-overlay.done {
  opacity: 0;
  pointer-events: none;
}
.vapor-overlay canvas {
  width: 100%;
  height: 100%;
}
.skip-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 101;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,.06);
  color: var(--c-text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.skip-btn:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.gradient-text {
  background: linear-gradient(135deg, #818cf8, #c084fc, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--c-text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Section Cards Grid */
.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 40px 0;
}
.section-card {
  display: block;
  padding: 24px;
  text-decoration: none;
  color: var(--c-text);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .25s ease;
  animation: slide-up .5s var(--ease) both;
}
.section-card:nth-child(1) { animation-delay: .05s; }
.section-card:nth-child(2) { animation-delay: .1s; }
.section-card:nth-child(3) { animation-delay: .15s; }
.section-card:nth-child(4) { animation-delay: .2s; }
.section-card:nth-child(5) { animation-delay: .25s; }
.section-card:nth-child(6) { animation-delay: .3s; }
.section-card:nth-child(7) { animation-delay: .35s; }
.section-card:nth-child(8) { animation-delay: .4s; }
.section-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-border-strong);
  text-decoration: none;
}
.section-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.section-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.section-card p {
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .hero-section { min-height: 50vh; padding: 40px 0; }
  .sections-grid { grid-template-columns: 1fr; }
}
