/* ============================================================
   Pulsly Global Stylesheet — pulsly.de
   Premium dark fitness aesthetic
   ============================================================ */

/* ----- Reset ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ----- Custom Properties ----- */
:root {
  --bg-primary: #0D0D15;
  --bg-card: #161625;
  --bg-surface: #1A1A2E;
  --border: rgba(255, 255, 255, 0.06);
  --glass: rgba(22, 22, 37, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --green: #2D6A4F;
  --green-light: #40916C;
  --blue: #2E75B6;
  --blue-light: #5BB8FF;
  --orange: #E07A3A;
  --gold: #D4A054;
  --gold-light: #F0C97A;
  --text: #F0F0F5;
  --text-secondary: #8888A0;
  --text-muted: #55556A;
  --success: #27AE60;
  --radius: 16px;
  --radius-sm: 8px;
}

/* ----- Smooth Scroll ----- */
html {
  scroll-behavior: smooth;
}

/* ----- Body Defaults ----- */
body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.1rem;
  font-weight: 600;
}

h6 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ----- Links ----- */
a {
  color: var(--green-light);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ----- Container ----- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Sections ----- */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ----- Buttons ----- */
.btn-primary,
.btn-outline,
.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--green-light);
  color: #fff;
  box-shadow: 0 0 0 rgba(64, 145, 108, 0);
}

.btn-primary:hover {
  background: var(--green);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(64, 145, 108, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: #fff;
  color: var(--bg-primary);
  text-decoration: none;
  border-color: #fff;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 rgba(224, 122, 58, 0);
}

.btn-orange:hover {
  background: #c96a2f;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(224, 122, 58, 0.3);
  transform: translateY(-1px);
}

/* ----- Cards ----- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: var(--glass-border);
}

/* ----- Feature Cards ----- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: var(--glass-border);
}

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  font-size: 1.5rem;
}

.feature-card .feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card .feature-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ----- Grid Utilities ----- */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

/* ----- Badge ----- */
.badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 50px;
  background: var(--bg-surface);
  color: var(--green-light);
  border: 1px solid var(--border);
}

.badge-orange {
  color: var(--orange);
}

.badge-blue {
  color: var(--blue-light);
}

.badge-gold {
  color: var(--gold-light);
}

/* ----- Fade-in Animation ----- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Glass Effect (utility) ----- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ----- Utility: Text Align ----- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ----- Utility: Spacing ----- */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ----- Utility: Flex ----- */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col    { flex-direction: column; }
.gap-1       { gap: 8px; }
.gap-2       { gap: 16px; }
.gap-3       { gap: 24px; }

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet: max 1024px */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 80px 0;
  }
}

/* Mobile: max 768px */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 12px;
  }

  .section-subtitle {
    margin-bottom: 40px;
    font-size: 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .feature-card {
    padding: 28px 20px;
  }

  .btn-primary,
  .btn-outline,
  .btn-orange {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}
