@import url('base.css?v=5');

/* hero */
.hero {
  position: relative;
  padding: 90px 24px 60px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 2; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.gradient-text {
  font-size: 56px;
  line-height: 1.08;
  margin: 0 0 22px;
  background: linear-gradient(90deg, var(--text), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  display: block;
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0 auto 34px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }

.badge-row { display: contents; }

.badge {
  position: absolute;
  z-index: 1;
  background: var(--badge-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px var(--shadow);
  animation: floatBadge 9s ease-in-out infinite;
  transition: background-color .35s ease, border-color .35s ease;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-cyan { background: var(--cyan); }
.dot-violet { background: var(--violet); }
.badge-1 { top: 110px; left: 3%; animation-delay: 0s; }
.badge-2 { top: 78px; right: 2%; animation-delay: 2.2s; }
.badge-3 { top: 232px; left: 6%; animation-delay: 4.4s; }
.badge-4 { top: 168px; right: 8%; animation-delay: 1.1s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* pillars */
.pillars-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px 80px; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: color-mix(in srgb, var(--panel) 55%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px var(--shadow);
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.pillar { padding: 28px 24px; border-right: 1px solid var(--border); text-align: center; }
.pillar:last-child { border-right: none; }
.pillar-name { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.pillar-body { font-size: 13px; color: var(--text-dim); line-height: 1.55; }

/* sections */
.section { max-width: 1100px; margin: 0 auto; padding: 0 24px 100px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2, .mission h2 { font-size: 30px; }

.mission { text-align: center; }
.mission-inner { max-width: 620px; margin: 0 auto; }
.mission h2 { margin-bottom: 20px; }
.mission p { color: var(--text-dim); font-size: 16px; line-height: 1.7; }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background-color .35s ease, border-color .35s ease, transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px var(--shadow); }
.icon-wrap { width: 72px; height: 72px; }
.feature-card h3 { font-size: 17px; }
.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* calculator preview card */
.calculator-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  transition: background-color .35s ease, border-color .35s ease;
}
.calculator-text h2 { font-size: 28px; margin-bottom: 18px; }
.calculator-text p { display: block; color: var(--text-dim); font-size: 15px; line-height: 1.65; margin-bottom: 28px; }
.calculator-preview {
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  font-size: 14px;
  transition: background-color .35s ease, border-color .35s ease;
}
.preview-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--text-dim); }
.preview-val { color: var(--text); }
.preview-divider { height: 1px; background: var(--border); margin: 8px 0; }
.preview-result { padding-top: 12px; }
.preview-highlight {
  font-weight: 700;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* follow */
.follow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.follow-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  color: var(--text);
  transition: background-color .35s ease, border-color .35s ease, transform .25s ease, box-shadow .25s ease;
}
.follow-card:hover { border-color: var(--cyan); color: var(--text); transform: translateY(-4px); box-shadow: 0 14px 28px var(--shadow); }
.follow-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--panel-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}
.follow-icon svg { width: 22px; height: 22px; }
.follow-text { display: flex; flex-direction: column; gap: 4px; }
.follow-platform { font-size: 17px; font-weight: 700; }
.follow-handle { font-size: 13px; color: var(--text-dim); }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1);
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .badge { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .feature-card, .follow-card { transition: none; }
}

/* responsive */
@media (max-width: 860px) {
  .gradient-text { font-size: 40px; }

  /* mobile hero order: title, eyebrow, badges row, body, cta */
  .hero { display: flex; flex-direction: column; padding-top: 48px; }
  .hero-inner { display: contents; }
  .hero .gradient-text { order: 0; }
  .hero .eyebrow { order: 1; }
  .badge-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    order: 2;
    margin: 4px 0 24px;
  }
  .badge { position: static; width: fit-content; animation: none; }
  .badge-1, .badge-2, .badge-3, .badge-4 { top: auto; left: auto; right: auto; }
  .hero .hero-sub { order: 3; }
  .hero .cta-row { order: 4; }

  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .calculator-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .follow-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gradient-text { font-size: 32px; }
  .cta-row { flex-direction: column; width: 100%; }
  .cta-row .btn { width: 100%; }
}
