:root {
  --bg-dark: #121212;
  --bg-surface: #1E1E1E;
  --bg-card: #252525;
  --primary: #FF4D4D;
  --success: #4DFF91;
  --info: #4DA6FF;
  --text: #FFFFFF;
  --text-secondary: #AAAAAA;
  --text-muted: #888888;
  --border-radius: 12px;
  --border-radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background: #FF6666;
  transform: translateY(-1px);
}

.hero {
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.success {
  color: var(--success);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
}

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

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.store-btn:hover {
  background: var(--bg-surface);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.store-icon {
  width: 28px;
  height: 28px;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-label {
  font-size: 11px;
  color: var(--text-muted);
}

.store-name {
  font-size: 16px;
  font-weight: 600;
}

.phone-mockup {
  background: var(--bg-surface);
  border-radius: 40px;
  padding: 12px;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  background: var(--bg-dark);
  border-radius: 32px;
  padding: 24px 16px;
  min-height: 480px;
}

.app-preview {
  text-align: left;
}

.preview-header {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-period {
  font-size: 12px;
  background: var(--bg-card);
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--text-secondary);
}

.preview-stats-row {
  display: flex;
  justify-content: space-between;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 14px 12px;
  margin-bottom: 16px;
}

.preview-stat-mini {
  text-align: center;
  flex: 1;
}

.stat-value-mini {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.stat-label-mini {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-chart-section {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 14px;
  margin-bottom: 16px;
}

.chart-header {
  margin-bottom: 12px;
}

.chart-title {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

.chart-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 100px;
  gap: 12px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--primary), #FF6B6B);
  border-radius: 6px 6px 0 0;
  position: relative;
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.chart-bar.active {
  opacity: 1;
}

.bar-label {
  font-size: 10px;
  color: var(--text-muted);
  position: absolute;
  bottom: -18px;
}

.preview-prs {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 14px;
}

.pr-header {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 10px;
}

.pr-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pr-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pr-icon {
  font-size: 14px;
}

.pr-exercise {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}

.pr-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.features {
  padding: 100px 0;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 60px;
}

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

.feature-card {
  background: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

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

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

.exercise-types {
  padding: 80px 0;
  background: var(--bg-surface);
}

.types-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 48px;
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  transition: transform 0.2s;
}

.type-card:hover {
  transform: scale(1.05);
}

.type-icon {
  font-size: 48px;
}

.type-name {
  font-size: 16px;
  font-weight: 600;
}

.cta {
  padding: 120px 0;
  text-align: center;
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-btn-large {
  padding: 16px 28px;
}

.store-btn-large .store-icon {
  width: 32px;
  height: 32px;
}

.store-btn-large .store-name {
  font-size: 18px;
}

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--text-muted);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .phone-mockup {
    max-width: 280px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

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

  .section-title {
    font-size: 28px;
  }

  .cta-title {
    font-size: 32px;
  }

  .types-grid {
    gap: 16px;
  }

  .type-card {
    padding: 24px 32px;
  }
}
