/* ═══════════════════════════════════════════════════════════════
   RhythmWorks AI — Site Stylesheet
   Rebuilt to match live site: leadharbormarket.com
   Palette: Neon Signal (near-black + neon green)
   Font: Outfit (Google Fonts, 300–800)
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:            #0a0a13;
  --bg-2:          #0e0e1c;
  --bg-card:       rgba(14, 14, 28, 0.85);
  --green:         #00ff41;
  --green-hover:   #00e63a;
  --green-glow:    rgba(0, 255, 65, 0.08);
  --green-border:  rgba(0, 255, 65, 0.12);
  --green-trim:    rgba(0, 255, 65, 0.28);
  --text:          #ffffff;
  --text-muted:    #8888aa;
  --text-dim:      #44445a;
  --border:        rgba(0, 255, 65, 0.08);
  --radius:        12px;
  --radius-sm:     8px;
  --shadow-card:   0 4px 24px rgba(0,0,0,0.55),
                   0 0 0 1px rgba(0,255,65,0.05);
  --shadow-hover:  0 8px 40px rgba(0,0,0,0.7),
                   0 0 30px rgba(0,255,65,0.18),
                   0 0 0 1px rgba(0,255,65,0.14);
}

/* ─── RESET + BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

h2 { font-size: clamp(1.875rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }

.accent { color: var(--green); }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container         { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 720px; }

.section {
  padding: 5rem 0;
  position: relative;
}

.section--dark { background: var(--bg-2); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0.875rem auto 0;
  line-height: 1.6;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, border-color 0.2s, color 0.2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #0a0a13;
}
.btn-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 0 20px rgba(0,255,65,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--green-border);
}
.btn-outline:hover {
  border-color: var(--green-trim);
  color: var(--green);
  background: var(--green-glow);
}

.btn-nav {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green-border);
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}
.btn-nav:hover {
  background: var(--green-glow);
  border-color: var(--green-trim);
  box-shadow: 0 0 12px rgba(0,255,65,0.15);
}

.btn-sm   { padding: 0.5rem 1rem; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── KEYFRAMES ──────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes greenPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,65,0.25); }
  50%       { box-shadow: 0 0 22px rgba(0,255,65,0.45), 0 0 0 6px rgba(0,255,65,0.05); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 19, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: rgba(0, 255, 65, 0.07);
  border: 1px solid rgba(0, 255, 65, 0.18);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.9rem;
  box-shadow: 0 0 14px rgba(0,255,65,0.1);
  transition: box-shadow 0.25s;
  flex-shrink: 0;
}
.nav-logo:hover .logo-mark {
  box-shadow: 0 0 22px rgba(0,255,65,0.22);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text);
}
.logo-accent { color: var(--green); }

/* When a real image logo is dropped in, use this class on the <img> tag:
   class="nav-logo-img"
   It will auto-size correctly inside the nav without any other changes. */
.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  padding: 0.4rem;
  transition: color 0.2s;
}
.hamburger:hover { color: var(--text); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(10, 10, 19, 0.97);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--green); }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 0.75rem; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Video/image background — replace .hero-video-wrap with <video> when asset is ready */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  background: #000000;
  z-index: 0;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 19, 0.6);
  z-index: 1;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0,255,65,0.1) 0%, transparent 65%);
  z-index: 1;
}
.hero-glow-2 {
  position: absolute;
  bottom: 5%;
  left: -10%;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,255,65,0.06) 0%, transparent 65%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.875rem;
  background: rgba(0, 255, 65, 0.06);
  border: 1px solid rgba(0, 255, 65, 0.12);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.chip i { color: var(--green); font-size: 0.65rem; }

.hero-headline {
  font-size: clamp(2.25rem, 8vw, 3.75rem);
  line-height: 1;
  font-weight: 800;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 640px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
  justify-content: center;
}
.hero-stat  { display: flex; flex-direction: column; gap: 0.15rem; align-items: center; }
.stat-num   {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.stat-label { font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.05em; }

/* ─── BUILD TILES ────────────────────────────────────────────── */
.builds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.build-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.build-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-trim), transparent);
}
.build-tile:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--green-border);
}

.tile-icon {
  width: 40px; height: 40px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1rem;
  margin-bottom: 1.125rem;
}

.build-tile h3 { font-size: 1rem; margin-bottom: 0.5rem; font-weight: 600; }
.build-tile p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer-col ul  { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a   { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-col li  { font-size: 0.875rem; color: var(--text-muted); }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ─── MOBILE BASE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger  { display: block; }
  .btn-nav    { display: none; }

  .hero-inner  { padding: 2rem 1.5rem; }
  .hero-stats  { gap: 1.5rem; }

  .builds-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid   { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .builds-grid       { grid-template-columns: 1fr; }
  .hero-ctas         { flex-direction: column; width: 100%; }
  .hero-ctas .btn    { width: 100%; justify-content: center; }
  .hero-stats        { gap: 1.5rem; flex-wrap: wrap; }
}


/* ═══════════════════════════════════════════════════════════════
   GREEN ROOM STARTER — RhythmWorks AI
   Installed: 2026-05-06
   Sections: gr-section · gr-media-wrap · gr-cards ·
             gr-form-section · gr-confirm
   ═══════════════════════════════════════════════════════════════ */

/* ─── GR SECTION ─────────────────────────────────────────────── */
.gr-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.gr-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%,
    rgba(0, 255, 65, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── GR FEATURED MEDIA VIEWER ───────────────────────────────── */
.gr-media-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 3rem;
  border: 1px solid var(--green-border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.65),
              0 0 60px rgba(0,255,65,0.06);
}

.gr-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  background: radial-gradient(ellipse 80% 70% at 50% 40%,
    rgba(0, 255, 65, 0.07) 0%,
    rgba(14, 14, 28, 0.9) 55%,
    var(--bg-2) 100%);
}

.gr-media-embed {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gr-media-icon {
  font-size: 3rem;
  color: var(--green);
  opacity: 0.5;
  animation: float 4s ease-in-out infinite;
}

.gr-media-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.gr-media-note {
  font-size: 0.7rem;
  color: var(--text-dim);
  opacity: 0.65;
}

.gr-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.875rem;
  background: rgba(10, 10, 19, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--text-muted);
  z-index: 10;
}
.gr-badge i { color: var(--green); font-size: 0.6rem; }
.gr-badge-tr { top: 14px;    right: 14px; }
.gr-badge-bl { bottom: 14px; left: 14px; }

/* ─── GR SPOTLIGHT CARDS ─────────────────────────────────────── */
.gr-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gr-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.gr-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-trim), transparent);
}
.gr-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--green-border);
}

.gr-card-icon {
  width: 44px; height: 44px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.gr-card-title { font-size: 1.1rem; color: var(--text); font-weight: 600; }

.gr-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* ─── GR FORM SECTION ────────────────────────────────────────── */
.gr-form-section {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.gr-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%,
    rgba(0, 255, 65, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.gr-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.form-optional {
  font-weight: 400;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(10, 10, 19, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-border);
  box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.07);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2344445a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option { background: var(--bg-2); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }

.gr-form .btn-primary {
  animation: greenPulse 2.5s ease-in-out infinite;
  margin-top: 0.25rem;
}
.gr-form .btn-primary:hover { animation: none; }

/* ─── TALLY EMBED WRAPPER ────────────────────────────────────── */
.greenroom-tally-embed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  overflow: hidden;
  width: 100%;
}

.greenroom-tally-embed iframe {
  display: block;
  width: 100%;
  border: none;
}

@media (max-width: 768px) {
  .greenroom-tally-embed { padding: 1.5rem 1rem; }
}

@media (max-width: 480px) {
  .greenroom-tally-embed { padding: 1.25rem 0.75rem; }
}

/* ─── GR CONFIRMATION MESSAGE ────────────────────────────────── */
.gr-confirm { display: none; margin-top: 2rem; }
.gr-confirm.is-visible { display: block; }

.gr-confirm-inner {
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}

.gr-confirm-icon {
  width: 52px; height: 52px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.4rem;
}

.gr-confirm-inner h3 { font-size: 2rem; font-weight: 700; color: var(--text); }

.gr-confirm-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.65;
}

/* ─── GR MOBILE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .gr-cards      { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .gr-form       { padding: 1.75rem 1.25rem; }
  .gr-media-wrap { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .gr-card { padding: 1.5rem 1.25rem; }
  .gr-form-section .section-header { text-align: left; }
  .gr-form-section .section-sub    { margin-left: 0; }
}


/* ═══════════════════════════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════════════════════════ */
.problem-section { background: var(--bg-2); }

.problem-body { max-width: 720px; margin: 0 auto; text-align: center; }

.problem-copy {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.problem-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.problem-flow-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: rgba(0, 255, 65, 0.07);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}
.problem-flow-step i { color: var(--green); font-size: 0.8rem; }

.problem-flow-step--future {
  color: var(--green);
  background: rgba(0, 255, 65, 0.12);
  border-color: var(--green-trim);
}

.problem-flow-arrow {
  color: var(--green);
  opacity: 0.35;
  font-size: 0.8rem;
}

.problem-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.problem-channel {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: rgba(0, 255, 65, 0.04);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.problem-channel i { color: var(--green); font-size: 0.72rem; }

/* Active (Starter-included) lane pill — brighter treatment */
.problem-channel--active {
  background: rgba(0, 255, 65, 0.1);
  border-color: var(--green-trim);
  color: var(--text);
  font-weight: 600;
}
.problem-channel--active i { color: var(--green); }

.problem-arrow {
  text-align: center;
  margin: 1.25rem 0;
  color: var(--green);
  opacity: 0.4;
  font-size: 1.25rem;
}

.problem-hub-wrap { text-align: center; }

.problem-hub {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--green-trim);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
}


/* ═══════════════════════════════════════════════════════════════
   WHAT IT DOES SECTION
   ═══════════════════════════════════════════════════════════════ */
.does-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.does-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.does-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-trim), transparent);
}
.does-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--green-border);
}

.does-icon {
  width: 48px; height: 48px;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.does-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.625rem; }
.does-card p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }


/* ═══════════════════════════════════════════════════════════════
   STARTER SECTION
   ═══════════════════════════════════════════════════════════════ */
.starter-section { background: var(--bg-2); }

.starter-header { text-align: center; margin-bottom: 0; }

.starter-tag {
  display: inline-block;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--green-trim);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.starter-includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  max-width: 600px;
  margin: 2rem auto 3.5rem;
  text-align: left;
}

.starter-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.starter-item i { color: var(--green); font-size: 0.72rem; flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════════ */
.cta-band {
  padding: 5rem 0;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-band h2 {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  max-width: 600px;
  margin: 0 auto 0.875rem;
  line-height: 1.25;
}

.cta-band p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}


/* ─── NEW SECTION MOBILE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .does-grid        { grid-template-columns: 1fr; }
  .starter-includes { grid-template-columns: 1fr; max-width: 100%; }
  .problem-channels { gap: 0.5rem; }
  .problem-flow     { gap: 0.4rem; }
  .problem-flow-arrow { display: none; }
}

@media (max-width: 480px) {
  .problem-channel  { font-size: 0.76rem; padding: 0.4rem 0.75rem; }
  .problem-flow-step { font-size: 0.78rem; padding: 0.4rem 0.85rem; }
}


/* ═══════════════════════════════════════════════════════════════
   USE CASES SECTION
   ═══════════════════════════════════════════════════════════════ */
.use-cases-section { background: var(--bg-2); }

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  backdrop-filter: blur(16px);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.use-case-card:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.use-case-icon {
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 18px;
  text-align: center;
}

.use-case-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════════
   HUB PREVIEW SECTION
   ═══════════════════════════════════════════════════════════════ */
.hub-section { background: var(--bg); }

.hub-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hub-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hub-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green);
}

.hub-tag-source {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hub-fields {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
}

.hub-field {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.hub-field-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 0.15rem;
}

.hub-field-value {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.82rem;
}

.hub-future {
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
  font-size: 0.8rem;
  color: var(--green);
  line-height: 1.45;
  opacity: 0.85;
}

.hub-future-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.hub-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════
   UPGRADE TEASER SECTION
   ═══════════════════════════════════════════════════════════════ */
.upgrade-section { background: var(--bg); }

.upgrade-card {
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.upgrade-card h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin: 0.75rem 0 1rem;
  line-height: 1.25;
}

.upgrade-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 540px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.upgrade-lanes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.upgrade-lane {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
}
.upgrade-lane i { font-size: 0.7rem; }


/* ═══════════════════════════════════════════════════════════════
   GREEN ROOM STARTER — ANIMATED DEMO SECTION
   No video file required. Pure HTML/CSS/JS animation.
   ═══════════════════════════════════════════════════════════════ */
.demo-anim-section { background: var(--bg-2); }

/* ─── Stage grid (5 columns: sources | flow | hub | flow | record) ── */
.demo-stage {
  display: grid;
  grid-template-columns: 1fr 68px 190px 68px 1fr;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto 2.5rem;
  min-height: 300px;
}

/* ─── Sources column ─────────────────────────────────────────── */
.demo-sources {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-self: center;
}

/* ─── Base card ──────────────────────────────────────────────── */
.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  box-shadow: var(--shadow-card);
}

.demo-card-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.7rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--green-border);
}
.demo-card-head i         { color: var(--green); font-size: 0.78rem; }
.demo-card-head--accent   { color: var(--green); }

/* ─── Form card ──────────────────────────────────────────────── */
.demo-fields { display: flex; flex-direction: column; gap: 0.28rem; }
.demo-field  { display: flex; gap: 0.45rem; align-items: baseline; }

.demo-fl {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 44px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.demo-fv {
  font-size: 0.73rem;
  color: var(--text);
  font-weight: 500;
}

/* ─── Email card ─────────────────────────────────────────────── */
.demo-emails { display: flex; flex-direction: column; gap: 0.4rem; }
.demo-email-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.71rem;
  color: var(--text-muted);
  font-weight: 400;
}
.demo-email-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  opacity: 0.75;
}

/* ─── Flow connectors ────────────────────────────────────────── */
.demo-connector {
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-connector--left  { width: 68px; }
.demo-connector--right { width: 68px; }

.demo-connector svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.demo-flow-path {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 3px rgba(0,255,65,0.45));
  transition: opacity 0.1s;
}

/* Mobile arrow (shown only on small screens) */
.demo-mob-arrow {
  display: none;
  color: var(--green);
  font-size: 0.9rem;
  opacity: 0.4;
  justify-content: center;
  padding: 0.25rem 0;
}

/* ─── Hub (center) ───────────────────────────────────────────── */
.demo-hub {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 1.25rem 0.875rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  align-self: center;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
  z-index: 1;
}

.demo-hub-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 50% 0%, rgba(0,255,65,0) 0%, transparent 70%);
  transition: background 0.5s ease;
  pointer-events: none;
}

.demo-hub-icon {
  font-size: 1.35rem;
  color: var(--green);
  margin-bottom: 0.5rem;
  opacity: 0.9;
}
.demo-hub-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.18rem;
}
.demo-hub-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin: 0 0 0.875rem;
  line-height: 1.4;
}

/* Rotating category tag — one visible at a time */
.demo-tags {
  position: relative;
  height: 22px;
}
.demo-tag {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.6rem;
  background: rgba(0,255,65,0.07);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.demo-tag.demo-tag--on { opacity: 1; }

/* ─── Record card ────────────────────────────────────────────── */
.demo-card--record {
  align-self: center;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.demo-record-rows { display: flex; flex-direction: column; gap: 0.28rem; }

.demo-rr {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.demo-rl {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 56px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.demo-rv {
  font-size: 0.72rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.3;
}
.demo-rr--future .demo-rl { color: var(--green); }
.demo-rr--future .demo-rv { color: var(--green); font-weight: 600; }

/* ─── Tagline ────────────────────────────────────────────────── */
.demo-tagline {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  margin-bottom: 1rem;
}
.demo-tagline.is-visible { opacity: 1; transform: translateY(0); }

/* ─── Note below stage ───────────────────────────────────────── */
.demo-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── Phase: flow lines animate ─────────────────────────────── */
.demo-stage.phase-flow .demo-flow-path {
  opacity: 1;
  animation: demoDrawPath 0.65s ease forwards;
}
.demo-stage.phase-flow .demo-flow-path--delay {
  animation-delay: 0.22s;
}
.demo-stage.phase-flow .demo-flow-path--right {
  animation-delay: 0.5s;
}

@keyframes demoDrawPath {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}

/* ─── Phase: hub activates ───────────────────────────────────── */
.demo-stage.phase-hub .demo-hub {
  border-color: var(--green-trim);
  box-shadow: var(--shadow-hover);
}
.demo-stage.phase-hub .demo-hub-glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(0,255,65,0.13) 0%, transparent 68%);
}

/* ─── Phase: record appears ──────────────────────────────────── */
.demo-stage.phase-record .demo-card--record {
  opacity: 1;
  transform: translateX(0);
}
.demo-stage.phase-record .demo-rr:nth-child(1) { opacity:1; transform:none; transition-delay:0.10s; }
.demo-stage.phase-record .demo-rr:nth-child(2) { opacity:1; transform:none; transition-delay:0.22s; }
.demo-stage.phase-record .demo-rr:nth-child(3) { opacity:1; transform:none; transition-delay:0.34s; }
.demo-stage.phase-record .demo-rr:nth-child(4) { opacity:1; transform:none; transition-delay:0.46s; }
.demo-stage.phase-record .demo-rr:nth-child(5) { opacity:1; transform:none; transition-delay:0.58s; }

/* ─── Mobile (≤ 760px) ───────────────────────────────────────── */
@media (max-width: 760px) {
  .demo-stage {
    grid-template-columns: 1fr;
    min-height: unset;
    gap: 0;
  }
  .demo-sources      { align-self: auto; gap: 0.625rem; }
  .demo-connector    { height: 28px; }
  .demo-connector svg { display: none; }
  .demo-mob-arrow    { display: flex; }
  .demo-hub          { align-self: auto; }
  .demo-card--record {
    align-self: auto;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .demo-rr {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .demo-tagline {
    font-size: 0.95rem;
    opacity: 1;
    transform: none;
    margin-top: 0.5rem;
  }
}

/* ─── OTHER SECTION MOBILE ───────────────────────────────────── */
@media (max-width: 900px) {
  .use-cases-grid   { grid-template-columns: repeat(2, 1fr); }
  .hub-preview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .use-cases-grid   { grid-template-columns: 1fr; }
  .upgrade-card     { padding: 2rem 1.5rem; }
}
