/* =============================================
   RunBeat Media – Landing Page Stylesheet
   Brand colours (inherited from RunBeat Radio):
     Green  #8DC63F
     Pink   #EC008C
     Cyan   #00AEEF
     Dark   #111214
   ============================================= */

:root {
  --green:  #8DC63F;
  --pink:   #EC008C;
  --cyan:   #00AEEF;
  --dark:   #111214;
  --dark2:  #1a1c1f;
  --dark3:  #222428;
  --light:  #f0f0f0;
  --muted:  #888;
  --radius: 10px;
  --font:   'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* ── NAV ─────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--pink);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #444;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--pink); }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  border: none;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--pink), #c4006e);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
}

.btn-outline:hover { background: var(--cyan); color: var(--dark); }

.highlight-pink  { color: var(--pink); }
.highlight-cyan  { color: var(--cyan); }
.highlight-green { color: var(--green); }

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(141,198,63,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(236,0,140,0.09) 0%, transparent 60%),
              radial-gradient(ellipse at 60% 80%, rgba(0,174,239,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── EQ BARS (from RunBeat Radio) ────────── */
.eq-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 40px;
  margin-bottom: 1.5rem;
}

.bar {
  width: 7px;
  border-radius: 3px 3px 0 0;
  animation: eq 1.2s ease-in-out infinite alternate;
}

.bar.green { background: var(--green); }
.bar.pink  { background: var(--pink); }
.bar.cyan  { background: var(--cyan); }

.bar:nth-child(1) { height: 30%; animation-duration: 0.9s; }
.bar:nth-child(2) { height: 60%; animation-duration: 1.1s; }
.bar:nth-child(3) { height: 80%; animation-duration: 0.8s; }
.bar:nth-child(4) { height: 100%; animation-duration: 1.3s; }
.bar:nth-child(5) { height: 70%; animation-duration: 1.0s; }
.bar:nth-child(6) { height: 50%; animation-duration: 0.7s; }
.bar:nth-child(7) { height: 40%; animation-duration: 1.2s; }

@keyframes eq {
  from { transform: scaleY(0.3); }
  to   { transform: scaleY(1); }
}

/* ── SECTIONS ────────────────────────────── */
.section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

/* ── PRODUCT CARDS ───────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--dark2);
  border: 1px solid #2a2c30;
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card.pulse:hover  { border-color: var(--cyan); }
.product-card.compliance:hover { border-color: var(--green); }
.product-card.crm:hover { border-color: var(--pink); }

.product-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.pulse .product-accent  { background: linear-gradient(90deg, var(--cyan), #0088cc); }
.compliance .product-accent { background: linear-gradient(90deg, var(--green), #6aa32e); }
.crm .product-accent { background: linear-gradient(90deg, var(--pink), #c4006e); }

.product-logo {
  margin-bottom: 1.25rem;
}

.product-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.product-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.pulse h3 { color: var(--cyan); }
.compliance h3 { color: var(--green); }
.crm h3 { color: var(--pink); }

.product-tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-desc {
  font-size: 0.95rem;
  color: #bbb;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-features li {
  font-size: 0.9rem;
  color: #aaa;
  padding: 0.35rem 0;
  padding-left: 1.4rem;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.pulse .product-features li::before { color: var(--cyan); }
.compliance .product-features li::before { color: var(--green); }
.crm .product-features li::before { color: var(--pink); }

.btn-product {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
}

.btn-pulse {
  background: linear-gradient(135deg, var(--cyan), #0088cc);
  color: #fff;
}

.btn-compliance {
  background: linear-gradient(135deg, var(--green), #6aa32e);
  color: #fff;
}

.btn-crm {
  background: linear-gradient(135deg, var(--pink), #c4006e);
  color: #fff;
}

/* ── ABOUT SECTION ───────────────────────── */
.about-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.about-block p {
  font-size: 1.05rem;
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: left;
}

.value {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid #2a2c30;
}

.value-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.value strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--light);
}

.value span {
  font-size: 0.88rem;
  color: #999;
  line-height: 1.5;
}

/* ── FOOTER ──────────────────────────────── */
footer {
  margin-top: auto;
  background: var(--dark2);
  border-top: 1px solid #2a2c30;
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: #aaa;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--cyan); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0.5rem 1rem; }
  .nav-logo img { height: 45px; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.75rem; }

  .hero { padding: 3rem 1rem 2.5rem; min-height: auto; }
  .hero-content h1 { font-size: 1.8rem; }

  .section { padding: 3rem 0; }

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

  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-links { gap: 2rem; }
}

@media (max-width: 480px) {
  .nav-links { gap: 0.75rem; }
  .about-values { grid-template-columns: 1fr; }
}
