/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    #080812 0%,
    #13122a 30%,
    #2b2db8 70%,
    #5b35d8 100%
  );
}

/* Terrain silhouette at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: var(--bg);
  clip-path: polygon(
    0% 100%,
    0% 65%,
    3% 55%,
    7% 40%,
    10% 35%,
    13% 30%,
    16% 38%,
    19% 50%,
    22% 60%,
    25% 55%,
    28% 42%,
    31% 30%,
    34% 25%,
    37% 32%,
    40% 45%,
    42% 55%,
    45% 60%,
    48% 55%,
    51% 45%,
    54% 35%,
    57% 28%,
    60% 35%,
    63% 48%,
    66% 58%,
    69% 60%,
    72% 52%,
    75% 40%,
    78% 30%,
    81% 25%,
    84% 32%,
    87% 45%,
    90% 55%,
    93% 62%,
    96% 58%,
    98% 50%,
    100% 55%,
    100% 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 680px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.4s;
}
.hero-title .line1 { color: var(--text); display: block; }
.hero-title .line2 {
  display: block;
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(245,200,66,0.1);
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.6s;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.8s;
}

.hero-scroll {
  position: absolute;
  bottom: 200px;
  left: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1.2s;
  z-index: 4;
}
.scroll-line {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, var(--muted), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ─── TICKER ────────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 0;
  white-space: nowrap;
  position: relative;
  z-index: 5;
}
.ticker {
  display: inline-flex;
  gap: 0;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 2.5rem;
}
.ticker-item .t-icon { color: var(--accent); margin-right: 0.5rem; }
.ticker-item .t-meteor { color: var(--meteor); }

/* ─── PROJECTS ──────────────────────────────────────────────── */
#projects {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  margin-top: 3rem;
}
.project-card {
  background: var(--card);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--sky-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.project-card:hover { background: var(--surface); }
.project-card:hover::before { transform: scaleX(1); }

.project-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}
.project-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--text);
}
.project-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border2);
  color: var(--muted);
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.project-card:hover .tag {
  border-color: var(--accent);
  color: var(--accent);
}
.project-arrow {
  position: absolute;
  bottom: 2rem; right: 2rem;
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.2s;
}
.project-card:hover .project-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ─── SERVICES ──────────────────────────────────────────────── */
#services {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245,200,66,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(245,200,66,0.1);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  display: block;
}
.service-title {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.5;
}
.service-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ─── CORN BUILDS SECTION ───────────────────────────────────── */
#corn-builds {
  background: linear-gradient(
    160deg,
    var(--bg2) 0%,
    #1a1040 50%,
    var(--bg) 100%
  );
  position: relative;
  overflow: hidden;
}
#corn-builds::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,53,216,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.builds-intro {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.builds-badge {
  background: var(--accent);
  color: #080812;
  font-family: var(--font-display);
  font-size: 0.5rem;
  padding: 0.4rem 0.9rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.builds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.build-tier {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.build-tier.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--card), #1a1530);
}
.build-tier.featured::before {
  content: '★ POPULAR';
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  background: rgba(245,200,66,0.1);
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--accent);
}
.build-tier:hover {
  border-color: var(--sky-purple);
  transform: translateY(-4px);
}
.build-tier.featured:hover { border-color: var(--accent); }

.tier-icon { font-size: 2.2rem; margin-bottom: 1.2rem; display: block; }
.tier-name {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.tier-label {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.tier-desc {
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.tier-perks { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.tier-perks li {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tier-perks li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* ─── SUPPORT ───────────────────────────────────────────────── */
#support {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  text-align: center;
  border-top: 1px solid var(--border);
}
.support-inner { max-width: 600px; margin: 0 auto; }
.support-inner .section-label { justify-content: center; }
.support-inner .section-label::after { display: none; }
.support-desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin: 1.5rem 0 2.5rem;
}
.support-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 5rem; }
  .hero-scroll { left: 1.5rem; bottom: 150px; }
}
