/**
 * Steno Platform - Public UI Styles
 */

/* Header / Navbar */
.steno-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--steno-border);
  transition: var(--steno-transition);
}
[data-theme="dark"] .steno-navbar {
  background: rgba(19, 27, 46, 0.85);
}

.steno-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.steno-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--steno-text-primary);
  text-decoration: none;
}
.steno-brand-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--steno-accent-primary), var(--steno-accent-secondary));
  border-radius: var(--steno-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.steno-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.steno-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--steno-text-secondary);
  transition: var(--steno-transition);
}
.steno-nav-link:hover, .steno-nav-link.active {
  color: var(--steno-accent-primary);
}

.steno-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Nav Toggle */
.steno-nav-mobile-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--steno-text-primary);
  cursor: pointer;
  padding: 6px;
}

/* Hero Section */
.steno-hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.steno-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--steno-accent-primary-light);
  color: var(--steno-accent-primary);
  border-radius: var(--steno-radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.steno-hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--steno-text-primary);
  max-width: 860px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.steno-hero-subhead {
  font-size: 19px;
  color: var(--steno-text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.steno-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

/* Live Stats Grid */
.steno-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.steno-stat-box {
  background: var(--steno-card-bg);
  border: 1px solid var(--steno-border);
  border-radius: var(--steno-radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--steno-shadow-sm);
  transition: var(--steno-transition);
}
.steno-stat-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--steno-shadow-md);
  border-color: var(--steno-accent-primary);
}

.steno-stat-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--steno-accent-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.steno-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--steno-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Containers */
.steno-section {
  padding: 80px 0;
}
.steno-section-alt {
  background: var(--steno-card-bg-subtle);
}

.steno-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}
.steno-section-tag {
  color: var(--steno-accent-secondary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}
.steno-section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--steno-text-primary);
  letter-spacing: -0.01em;
}
.steno-section-desc {
  font-size: 16px;
  color: var(--steno-text-secondary);
  margin-top: 12px;
}

/* How It Works Grid */
.steno-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steno-feature-card {
  background: var(--steno-card-bg);
  border: 1px solid var(--steno-border);
  border-radius: var(--steno-radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: var(--steno-transition);
}
.steno-feature-card:hover {
  box-shadow: var(--steno-shadow-md);
  transform: translateY(-3px);
}

.steno-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--steno-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.steno-icon-blue { background: var(--steno-accent-primary-light); color: var(--steno-accent-primary); }
.steno-icon-teal { background: var(--steno-accent-secondary-light); color: var(--steno-accent-secondary); }
.steno-icon-orange { background: var(--steno-warning-light); color: var(--steno-warning); }
.steno-icon-green { background: var(--steno-success-light); color: var(--steno-success); }

.steno-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--steno-text-primary);
  margin-bottom: 10px;
}
.steno-feature-text {
  font-size: 14px;
  color: var(--steno-text-secondary);
  line-height: 1.55;
}

/* Interactive Previews Container */
.steno-previews-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.steno-preview-player {
  background: var(--steno-card-bg);
  border: 1px solid var(--steno-border);
  border-radius: var(--steno-radius-lg);
  padding: 28px;
  box-shadow: var(--steno-shadow-md);
}

.steno-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.steno-speed-pills {
  display: flex;
  background: var(--steno-card-bg-subtle);
  padding: 3px;
  border-radius: var(--steno-radius-md);
  gap: 4px;
}
.steno-speed-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: var(--steno-radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--steno-text-secondary);
  cursor: pointer;
  transition: var(--steno-transition);
}
.steno-speed-btn.active {
  background: var(--steno-accent-primary);
  color: #FFFFFF;
}

.steno-transcription-box {
  background: var(--steno-card-bg-subtle);
  border: 1px solid var(--steno-border);
  border-radius: var(--steno-radius-md);
  padding: 18px;
  font-size: 14px;
  line-height: 1.8;
  max-height: 220px;
  overflow-y: auto;
  font-family: var(--steno-font-sans);
}
.steno-marker-pause {
  color: var(--steno-accent-secondary);
  font-weight: 800;
  background: var(--steno-accent-secondary-light);
  padding: 2px 4px;
  border-radius: 4px;
}
.steno-marker-count {
  color: var(--steno-accent-primary);
  font-weight: 700;
  font-family: var(--steno-font-mono);
  background: var(--steno-accent-primary-light);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Auth Cards */
.steno-auth-wrap {
  min-height: calc(100vh - 72px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.steno-auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--steno-card-bg);
  border: 1px solid var(--steno-border);
  border-radius: var(--steno-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--steno-shadow-lg);
}
.steno-auth-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: var(--steno-text-primary);
  margin-bottom: 8px;
}
.steno-auth-subtitle {
  font-size: 14px;
  color: var(--steno-text-secondary);
  text-align: center;
  margin-bottom: 28px;
}
.steno-form-group {
  margin-bottom: 18px;
}
.steno-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--steno-text-primary);
  margin-bottom: 6px;
}

/* Footer */
.steno-footer {
  background: var(--steno-card-bg);
  border-top: 1px solid var(--steno-border);
  padding: 48px 0 24px;
  margin-top: 60px;
}
.steno-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--steno-border);
  margin-bottom: 24px;
}
.steno-footer-copy {
  font-size: 13px;
  color: var(--steno-text-secondary);
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .steno-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steno-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steno-previews-grid {
    grid-template-columns: 1fr;
  }
  .steno-hero-title {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  .steno-nav-links {
    display: none;
  }
  .steno-nav-mobile-btn {
    display: block;
  }
  .steno-hero-title {
    font-size: 30px;
  }
  .steno-stats-grid {
    grid-template-columns: 1fr;
  }
  .steno-features-grid {
    grid-template-columns: 1fr;
  }
  .steno-hero-ctas {
    flex-direction: column;
  }
}
