/* ============================================================
   PADELPRO LANDING — ЧИСТЫЙ ПРОДУКТОВЫЙ ДИЗАЙН
   Цвета синхронизированы с основной дизайн-системой приложения
   ============================================================ */

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 40%, #e2e8f0 70%, #f1f5f9 100%);
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 70%);
  bottom: -100px; left: -50px;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.hero-badge i { color: var(--primary); font-size: 12px; }
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 80px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 12px;
  line-height: 1.5;
}
.hero-desc {
  font-size: 14px;
  color: var(--text-muted);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  color: var(--text-muted);
  animation: bounce 2s infinite;
  cursor: default;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-badge { animation: fadeInUp 0.6s 0.1s both ease-out; }
.anim-title { animation: fadeInUp 0.6s 0.2s both ease-out; }
.anim-sub { animation: fadeInUp 0.6s 0.35s both ease-out; }
.anim-scroll { animation: fadeInUp 0.6s 0.5s both ease-out; }

/* ---- LIVE STATS ---- */
.stats-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 24px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 900px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
}
.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ---- SECTION ---- */
.section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-align: center;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
  color: var(--text);
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 48px;
}

/* ---- FEATURES ---- */
.features-section { background: #f8fafc; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.fi-1 { background: var(--primary-light); color: var(--primary); }
.fi-2 { background: var(--success-light); color: var(--success); }
.fi-3 { background: #ede9fe; color: var(--accent-secondary, #7c3aed); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ---- MODULES ---- */
.modules-section { background: var(--card); }
.module-list { max-width: 700px; margin: 0 auto; }
.module-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.module-row:last-child { border-bottom: none; }
.module-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
}
.module-name { font-weight: 600; font-size: 15px; color: var(--text); }
.module-desc { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }

/* ---- ROLES ---- */
.roles-section {
  background: #f8fafc;
  padding: 96px 24px;
}
.roles-header { text-align: center; margin-bottom: 48px; }
.roles-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.roles-subtitle { font-size: 16px; color: var(--text-secondary); }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.role-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: var(--shadow);
  position: relative;
}
.role-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.role-card::before {
  content: '';
  position: absolute;
  top: -2px; left: 20px; right: 20px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  transition: opacity 0.25s;
  opacity: 0;
}
.role-card:hover::before { opacity: 1; }
.role-card:nth-child(1)::before { background: var(--primary); }
.role-card:nth-child(2)::before { background: var(--success); }
.role-card:nth-child(3)::before { background: #7c3aed; }

.role-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
}
.ri-1 { background: var(--primary-light); color: var(--primary); }
.ri-2 { background: var(--success-light); color: var(--success); }
.ri-3 { background: #ede9fe; color: #7c3aed; }

.role-name { font-size: 20px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.role-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.5; }
.role-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.role-hint i { color: var(--primary); font-size: 10px; }

/* ---- PRICING ---- */
.pricing-section { background: var(--card); }
.pricing-card {
  max-width: 440px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8fafc, #fff);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.pricing-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.pricing-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 800;
  margin: 12px 0 0;
  color: var(--text);
}
.pricing-period {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.pricing-features li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features i { color: var(--success); font-size: 13px; }
.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.pricing-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.5;
}

/* ---- FOOTER ---- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 24px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 32px;
}
.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 6px;
}
.footer-desc { font-size: 13px; color: #64748b; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #cbd5e1; margin-bottom: 10px; }
.footer-col a { display: block; font-size: 13px; color: #94a3b8; text-decoration: none; margin-bottom: 5px; }
.footer-col a:hover { color: #e2e8f0; }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: #64748b;
  max-width: 1000px;
  margin: 0 auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-title { font-size: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 56px 16px; }
  .section-title { font-size: 28px; }
  .roles-section { padding: 64px 16px; }
  .pricing-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .stat-value { font-size: 32px; }
  .pricing-price { font-size: 44px; }
}
