/* =====================================================
   GrowStreams – GSAP Feature Section Styles
   ===================================================== */

.gs-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.gs-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #22c55e;
  margin-bottom: 20px;
}

.gs-section__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: gs-pulse-dot 1.8s ease-in-out infinite;
}

@keyframes gs-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}

.gs-section__headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  margin-bottom: 16px;

}

.gs-section__headline em {
  font-style: normal;
  color: #22c55e;
}

.gs-section__sub {
  font-size: 18px;
  color: rgba(26, 26, 26, 0.55);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 64px;
}

/* Flow line */
.gs-flow-line {
  height: 2px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 40%, rgba(34,197,94,0.1) 100%);
  border-radius: 999px;
  margin-bottom: 64px;
  transform-origin: left center;
}

/* Stats grid */
.gs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

@media (max-width: 900px) {
  .gs-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gs-stats-grid { grid-template-columns: 1fr; }
}

.gs-stat {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.04);

  position: relative;
  overflow: hidden;
}

.gs-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34,197,94,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.gs-stat__icon {
  font-size: 22px;
  margin-bottom: 14px;
  display: block;
}

.gs-stat__value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.gs-stat__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(26,26,26,0.5);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gs-stat__trend {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  padding: 3px 8px;
  border-radius: 999px;
}

/* Cards grid */
.gs-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .gs-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gs-cards-grid { grid-template-columns: 1fr; }
}

.gs-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gs-card:hover {
  box-shadow: 0 12px 48px rgba(34,197,94,0.12), 0 0 0 1px rgba(34,197,94,0.2);
  transform: translateY(-4px);
}

.gs-card--wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .gs-card--wide { grid-column: span 1; }
}

.gs-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.gs-card__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
}

.gs-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.25;
}

.gs-card__desc {
  font-size: 14px;
  color: rgba(26,26,26,0.55);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Stream bar */
.gs-bar {
  margin-top: 4px;
}

.gs-bar__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(26,26,26,0.5);
}

.gs-bar__track {
  background: rgba(0,0,0,0.06);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.gs-bar__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* Ticker */
.gs-ticker {
  position: relative;
  height: 28px;
  overflow: hidden;
  margin-bottom: 16px;
}

.gs-ticker__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(26,26,26,0.7);

  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gs-ticker__item--active {
  opacity: 1;
  transform: translateY(0);
}

.gs-ticker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

/* Pulse dots */
.gs-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

/* Flow diagram (card) */
.gs-flow {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 12px;
  margin-top: 8px;
}

.gs-flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.gs-flow__node-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.gs-flow__node-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(26,26,26,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gs-flow__arrow {
  flex: 1;
  min-width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, rgba(34,197,94,0.2));
  position: relative;
  margin: 0 4px;
  margin-bottom: 18px;
}

.gs-flow__arrow::after {
  content: '▶';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8px;
  color: rgba(34,197,94,0.5);
}

/* Background glow */
.gs-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.06) 0%, transparent 70%);
  pointer-events: none;
  top: -200px;
  right: -200px;
  z-index: 0;
}

.gs-section > * {
  position: relative;
  z-index: 1;
}

/* =====================================================
   GrowStreams Hero Widget
   ===================================================== */

.gs-hero-widget {
  background: rgba(10, 16, 12, 0.92);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.08),
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(34, 197, 94, 0.06) inset;
  font-family: 'SN Pro Variable', 'SF Mono', 'Fira Code', monospace;
  max-width: 560px;
  width: 100%;
  backdrop-filter: blur(20px);
  animation: gs-hero-widget-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.4s;
}

@keyframes gs-hero-widget-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Top bar */
.gs-hw-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.gs-hw-bar__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gs-hw-bar__title {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
  margin-left: 6px;
}

.gs-hw-bar__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.08em;
}

.gs-hw-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: gs-status-pulse 1.5s ease-in-out infinite;
}

@keyframes gs-status-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

/* Counter row */
.gs-hw-counter-row {
  display: flex;
  align-items: center;
  padding: 20px 20px 16px;
  gap: 0;
}

.gs-hw-counter {
  flex: 1;
  text-align: center;
}

.gs-hw-counter__value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fff 0%, #86efac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gs-hw-counter__label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gs-hw-divider {
  width: 1px;
  height: 40px;
  background: rgba(34, 197, 94, 0.15);
  flex-shrink: 0;
}

/* Feed */
.gs-hw-feed {
  padding: 0 16px 4px;
}

.gs-hw-feed__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gs-hw-feed__live-badge {
  color: #22c55e;
  animation: gs-blink 1.2s ease-in-out infinite;
}

@keyframes gs-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.gs-hw-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}

.gs-hw-row:hover {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.15);
}

.gs-hw-row__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gs-hw-row__dot--active   { background: #22c55e; animation: gs-status-pulse 1.5s ease-in-out infinite; }
.gs-hw-row__dot--paused   { background: #f59e0b; }
.gs-hw-row__dot--vesting  { background: #60a5fa; animation: gs-status-pulse 2s ease-in-out infinite; }

.gs-hw-row__addr {
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: rgba(255, 255, 255, 0.6);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-hw-row__type {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
  width: 60px;
  text-align: center;
}

.gs-hw-row__rate {
  font-size: 11px;
  font-weight: 700;
  color: #86efac;
  width: 72px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.gs-hw-row__status {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.gs-hw-row__status--active  { background: rgba(34,197,94,0.15); color: #22c55e; }
.gs-hw-row__status--paused  { background: rgba(245,158,11,0.15); color: #f59e0b; }
.gs-hw-row__status--vesting { background: rgba(96,165,250,0.15); color: #60a5fa; }

/* Chart */
.gs-hw-chart {
  padding: 8px 16px 16px;
  position: relative;
}

.gs-hw-svg {
  width: 100%;
  height: 52px;
  display: block;
  border-radius: 8px;
  overflow: hidden;
}

.gs-hw-chart__label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

