/* ResoScore Landing Page - Complete Stylesheet */
/* Design System: Deep Navy (#0F172A), Slate (#1E293B), Emerald (#10B981) */

:root {
  --bg-deep: #0F172A;
  --bg-slate: #1E293B;
  --bg-card: #1E293B;
  --border: #334155;
  --primary: #10B981;
  --primary-light: #34D399;
  --primary-dark: #059669;
  --premium: #8B5CF6;
  --text-white: #FFFFFF;
  --text-light: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --danger: #EF4444;
  --warning: #F59E0B;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 24px; }

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--primary);
  color: var(--text-white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--primary-dark) !important; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-white);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, #0F172A 0%, #1a2332 50%, #0F172A 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 60%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left { text-align: left; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .highlight { color: var(--primary); }

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  background: var(--bg-slate);
  color: var(--text-white);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border);
}

.btn-outline:hover { border-color: var(--primary); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Gauge animation (hero right) */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-container {
  position: relative;
  width: 280px;
  height: 280px;
}

.gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.gauge-bg { fill: none; stroke: var(--bg-slate); stroke-width: 8; }
.gauge-fill { fill: none; stroke: var(--primary); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 754; stroke-dashoffset: 150; transition: stroke-dashoffset 2s ease; }
.gauge-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.gauge-score { font-size: 56px; font-weight: 800; color: var(--primary); line-height: 1; }
.gauge-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.gauge-status { font-size: 13px; font-weight: 600; color: var(--primary-light); margin-top: 2px; }

/* Section styling */
.section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.problem-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.problem-logo {
  width: 80px;
  height: 80px;
  background: var(--bg-card);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.problem-logo:hover { transform: translateY(-4px); border-color: var(--primary); }

.problem-arrow {
  width: 100%;
  text-align: center;
  font-size: 28px;
  color: var(--primary);
  margin: 16px 0;
}

.problem-right h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.problem-right p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-icon.brs { background: rgba(16, 185, 129, 0.15); }
.feature-icon.corr { background: rgba(139, 92, 246, 0.15); }
.feature-icon.ai { background: rgba(59, 130, 246, 0.15); }
.feature-icon.predict { background: rgba(245, 158, 11, 0.15); }
.feature-icon.privacy { background: rgba(239, 68, 68, 0.15); }
.feature-icon.insight { background: rgba(16, 185, 129, 0.15); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Highlight section (BRS explanation) */
.highlight-section {
  background: linear-gradient(135deg, #1a2332 0%, #0F172A 100%);
  padding: 80px 24px;
}

.highlight-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.highlight-animation {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-demo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0deg 302deg, var(--bg-slate) 302deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: gaugePulse 3s ease-in-out infinite;
}

@keyframes gaugePulse {
  0%, 100% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 60px rgba(16, 185, 129, 0.4); }
}

.gauge-demo-inner {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-demo-score {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.gauge-demo-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Correlation section */
.corr-visual {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
}

.corr-visual h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.corr-chart {
  width: 100%;
  height: 200px;
  position: relative;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  overflow: hidden;
}

.corr-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
  transition: all 0.2s;
}

.corr-dot:hover {
  opacity: 1;
  transform: scale(1.5);
  background: var(--primary-light);
}

.corr-trend {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--premium), var(--primary));
  opacity: 0.8;
  border-radius: 1px;
}

.corr-insight {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.corr-insight-icon { font-size: 20px; }
.corr-insight-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-card) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-white);
}

.pricing-price sup {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dim);
}

.pricing-period {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li .check { color: var(--primary); font-weight: 700; }
.pricing-features li .x { color: var(--text-dim); }
.pricing-features li.featured-item { color: var(--text-light); }

/* Waitlist section */
.waitlist-section {
  background: linear-gradient(135deg, #0F172A, #1a2332);
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.waitlist-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-inner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.waitlist-inner p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 16px;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-slate);
  color: var(--text-white);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input:focus { border-color: var(--primary); }
.waitlist-input::placeholder { color: var(--text-dim); }

.waitlist-btn {
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.waitlist-btn:hover { background: var(--primary-dark); }

.waitlist-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.waitlist-social-proof {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.waitlist-avatars {
  display: flex;
}

.waitlist-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-left: -8px;
}

.waitlist-avatar:first-child { margin-left: 0; }

.waitlist-count {
  font-size: 13px;
  color: var(--text-muted);
}

.waitlist-count strong { color: var(--primary); }

.waitlist-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.waitlist-success {
  display: none;
  padding: 24px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
}

.waitlist-success-icon { font-size: 48px; margin-bottom: 12px; }
.waitlist-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.waitlist-success p { color: var(--text-muted); font-size: 14px; margin-bottom: 0; }

/* Privacy Section */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.privacy-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-shield {
  width: 160px;
  height: 180px;
  position: relative;
}

.privacy-shield svg { width: 100%; height: 100%; }

.privacy-right h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.privacy-right p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.privacy-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-light);
}

.privacy-points li .icon { font-size: 18px; }

/* Founder's Offer Section */
.founders-offer {
  background: linear-gradient(135deg, #0F172A 0%, #1a2332 50%, #0F172A 100%);
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.founders-offer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.founders-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.founders-badge {
  display: inline-block;
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.founders-title {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.founders-title .highlight { color: var(--primary); }

.founders-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* Pricing Card */
.founders-pricing {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.founders-card {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, var(--bg-card) 100%);
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  max-width: 480px;
  width: 100%;
  position: relative;
}

.founders-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: white;
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.founders-card-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.founders-card-price {
  margin-bottom: 6px;
}

.strikethrough {
  font-size: 20px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-right: 8px;
}

.price-current {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
}

.price-period {
  font-size: 16px;
  color: var(--text-dim);
}

.founders-card-save {
  font-size: 13px;
  color: var(--warning);
  font-weight: 600;
  margin-bottom: 20px;
}

.founders-card-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.founders-card-features li {
  font-size: 14px;
  color: var(--text-light);
}

.founders-cta {
  width: 100%;
  justify-content: center;
  font-size: 17px;
  padding: 16px 28px;
}

.founders-guarantee {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 10px;
}

/* Progress Bar */
.founders-progress {
  margin-bottom: 20px;
}

.founders-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.founders-progress-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

.founders-progress-count {
  font-size: 14px;
  color: var(--text-muted);
}

.founders-progress-count strong {
  color: var(--warning);
  font-size: 18px;
}

.founders-progress-track {
  height: 10px;
  background: var(--bg-slate);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 6px;
}

.founders-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #EF4444);
  border-radius: 5px;
  transition: width 1s ease;
}

.founders-progress-milestones {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
}

.founders-urgency {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  padding: 12px 20px;
}

.founders-urgency p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .founders-card { padding: 32px 20px; }
  .founders-progress-milestones { font-size: 10px; }
}

/* Testimonials */
.testimonials {
  padding: 80px 24px;
  text-align: center;
}

.testimonials h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  text-align: left;
}

.testimonial-stars { color: var(--warning); font-size: 16px; margin-bottom: 12px; }

.testimonial-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.testimonial-author span { color: var(--primary); }

/* Blog Section */
.blog-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.1);
}

.blog-card-content { padding: 24px; }

.blog-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-meta {
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim); }

/* Blog Post View */
.blog-post {
  padding: 120px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.blog-post-back:hover { color: var(--primary); }

.blog-post-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-post h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.blog-post-meta {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.blog-post-body {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

.blog-post-body p { margin-bottom: 20px; }
.blog-post-body h2 { font-size: 24px; font-weight: 700; margin: 36px 0 16px; color: var(--text-white); }
.blog-post-body h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; color: var(--text-white); }
.blog-post-body ul, .blog-post-body ol { margin: 16px 0; padding-left: 24px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body strong { color: var(--text-white); }
.blog-post-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-muted);
}

/* Product Hunt Badge */
.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--warning);
  color: #0F172A !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 60px 24px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand h3 span { color: var(--primary); }

.footer-brand p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* --- Source Variant Styles --- */
/* Subtle accent color shifts per source */
.source-oura .hero-badge { background: rgba(139, 92, 246, 0.15); border-color: rgba(139, 92, 246, 0.3); color: #C4B5FD; }
.source-oura .gauge-fill { stroke: #8B5CF6; }
.source-oura .hero h1 .highlight { color: #8B5CF6; }
.source-oura .btn-primary { background: #8B5CF6; }
.source-oura .btn-primary:hover { background: #7C3AED; box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3); }

.source-garmin .hero-badge { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); }

.source-fitbit .hero-badge { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.3); color: #93C5FD; }

.source-apple_health .hero-badge { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); color: #FCA5A5; }

.source-google_fit .hero-badge { background: rgba(251, 191, 36, 0.15); border-color: rgba(251, 191, 36, 0.3); color: #FDE68A; }

/* Loading */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: var(--text-dim);
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 12px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Not found */
.not-found {
  text-align: center;
  padding: 80px 24px;
}

.not-found h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.not-found p { color: var(--text-dim); margin-bottom: 24px; }

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-deep); border-bottom: 1px solid var(--border); padding: 16px 24px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-left { text-align: center; }
  .hero p { margin: 0 auto 32px; }
  .hero-stats { justify-content: center; }
  .hero-cta-row { justify-content: center; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .highlight-inner { grid-template-columns: 1fr; text-align: center; }
  .privacy-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* --- Product Hunt Launch Section --- */
.ph-launch-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  border-top: 2px solid #8B5CF640;
  border-bottom: 2px solid #8B5CF640;
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ph-launch-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, #8B5CF610 0%, transparent 60%);
  pointer-events: none;
}

.ph-launch-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ph-launch-badge {
  display: inline-block;
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  animation: phPulse 2s ease-in-out infinite;
}

@keyframes phPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(139, 92, 246, 0); }
}

.ph-launch-title {
  font-size: 36px;
  font-weight: 800;
  color: #F1F5F9;
  margin-bottom: 16px;
  line-height: 1.2;
}

.ph-launch-subtitle {
  font-size: 16px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.ph-launch-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ph-launch-cta {
  font-size: 18px !important;
  padding: 16px 40px !important;
  background: linear-gradient(135deg, #8B5CF6, #7C3AED) !important;
  transition: transform 0.2s ease;
}

.ph-launch-cta:hover {
  transform: scale(1.03);
}

.ph-launch-count {
  text-align: center;
}

.ph-launch-label {
  font-size: 13px;
  color: #64748B;
  font-weight: 600;
}

.ph-launch-devices {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ph-launch-devices span {
  font-size: 13px;
  color: #475569;
  background: #1E293B;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #334155;
}

@media (max-width: 640px) {
  .ph-launch-title { font-size: 28px; }
  .ph-launch-cta { font-size: 16px !important; padding: 14px 28px !important; }
  .ph-launch-devices span { font-size: 12px; padding: 4px 12px; }
}