/* ===================================================
   RunEasy — Smart Watches Page Styles
   =================================================== */

/* ---------- Page Layout ---------- */
.sw-page {
  padding: 120px 0 80px;
  background: var(--bg);
  min-height: 100vh;
}

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

/* ---------- Page Header ---------- */
.sw-header {
  text-align: center;
  margin-bottom: 56px;
}

.sw-header-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: var(--cyan-glow-strong);
  border: 1px solid rgba(0, 212, 255, 0.2);
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.15); }
  50% { box-shadow: 0 0 30px 8px rgba(0, 212, 255, 0.1); }
}

.sw-header h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.sw-header-desc {
  font-size: 1.05rem;
  color: var(--white-60);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Brand Cards Grid ---------- */
.sw-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 72px;
}

.sw-brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 24px;
  background: rgba(17, 30, 51, 0.75);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

.sw-brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.sw-brand-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 24px rgba(0, 212, 255, 0.06);
}

.sw-brand-card:hover::before {
  opacity: 1;
}

.sw-brand-icon {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: transparent;
  border: none;
  transition: transform 0.3s;
}

.sw-brand-icon img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Specific size adjustments for better visual balance */
.sw-brand-icon img[src*="apple-watch.png"] {
  max-height: 85%;
}

.sw-brand-icon img[src*="samsung.svg"] {
  max-width: 95%;
  max-height: 55%;
}

.sw-brand-icon img[src*="garmin.png"] {
  max-width: 95%;
  max-height: 75%;
}

.sw-brand-icon img[src*="polar.png"] {
  max-width: 95%;
  max-height: 60%;
}

.sw-brand-icon.dual-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.sw-brand-icon.dual-icons img {
  max-width: 42%;
  max-height: 85%;
  object-fit: contain;
}

.sw-brand-card:hover .sw-brand-icon {
  transform: scale(1.06);
}


.sw-brand-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.sw-brand-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.sw-badge-recommended {
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.sw-badge-native {
  background: rgba(52, 208, 88, 0.12);
  color: var(--green);
  border: 1px solid rgba(52, 208, 88, 0.25);
}

.sw-badge-health {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.sw-badge-cloud {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.sw-brand-card p {
  font-size: 0.8rem;
  color: var(--white-40);
  line-height: 1.5;
}

/* ---------- Sections ---------- */
.sw-section {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}

.sw-section-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--white-10);
}

.sw-section-number {
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cyan);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  min-width: 52px;
}

.sw-section-header h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.sw-section-header p {
  font-size: 0.95rem;
  color: var(--white-40);
}

/* ---------- Option Cards ---------- */
.sw-option {
  position: relative;
  background: rgba(17, 30, 51, 0.6);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

.sw-option:hover {
  border-color: var(--white-20);
}

.sw-option-recommended {
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(17, 30, 51, 0.8);
}

.sw-option-recommended::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-bright), var(--cyan));
  border-radius: var(--radius) var(--radius) 0 0;
}

.sw-option-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sw-option-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--cyan);
  color: var(--bg-deep);
}

.sw-option-badge-alt {
  background: var(--white-20);
  color: var(--white-60);
}

.sw-option-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.sw-tag-recommended {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.sw-tag-readonly {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white-40);
  background: var(--white-10);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--white-10);
}

.sw-tag-cloud {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.sw-option-intro {
  font-size: 0.95rem;
  color: var(--white-60);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ---------- Step Titles ---------- */
.sw-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 28px 0 16px;
}

/* ---------- Steps List ---------- */
.sw-steps {
  list-style: none;
  counter-reset: step-counter;
  margin: 0 0 20px;
  padding: 0;
}

.sw-steps li {
  position: relative;
  counter-increment: step-counter;
  padding: 12px 12px 12px 52px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--white-60);
  line-height: 1.7;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  transition: background 0.25s;
}

.sw-steps li:hover {
  background: rgba(0, 212, 255, 0.04);
}

.sw-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 26px;
  height: 26px;
  background: var(--cyan-glow-strong);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  text-align: center;
  line-height: 26px;
}

.sw-steps li strong {
  color: var(--white-80);
}

/* ---------- Alert Box ---------- */
.sw-alert {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.15);
  border-radius: 12px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--white-60);
  line-height: 1.7;
}

.sw-alert-icon {
  flex-shrink: 0;
  color: #fbbf24;
  margin-top: 2px;
}

.sw-alert strong {
  color: #fbbf24;
}

/* ---------- Info Box ---------- */
.sw-info {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 12px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--white-60);
  line-height: 1.7;
}

.sw-info-icon {
  flex-shrink: 0;
  color: var(--cyan);
  margin-top: 2px;
}

.sw-info strong {
  color: var(--cyan);
}

/* ---------- Limitations Box ---------- */
.sw-limitations {
  padding: 20px 24px;
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.12);
  border-radius: 12px;
  margin-top: 20px;
}

.sw-limitations h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f87171;
  margin-bottom: 12px;
}

.sw-limitations ul {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: disc;
}

.sw-limitations li {
  font-size: 0.9rem;
  color: var(--white-60);
  line-height: 1.7;
  margin-bottom: 6px;
}

.sw-limitations li strong {
  color: var(--white-80);
}

/* ---------- CTA Section ---------- */
.sw-cta {
  position: relative;
  text-align: center;
  padding: 64px 32px;
  background: rgba(17, 30, 51, 0.6);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 32px;
}

.sw-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 65%);
  pointer-events: none;
}

.sw-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.sw-cta p {
  font-size: 1rem;
  color: var(--white-60);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.sw-cta .hero-buttons {
  position: relative;
  z-index: 1;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
  .sw-page {
    padding: 100px 0 60px;
  }

  .sw-container {
    padding: 0 20px;
  }

  .sw-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 48px;
  }

  .sw-brand-card {
    padding: 20px 12px 18px;
  }

  .sw-brand-icon {
    width: 100%;
    height: 40px;
  }

  .sw-brand-card h3 {
    font-size: 0.95rem;
  }

  .sw-section-header {
    gap: 14px;
  }

  .sw-section-number {
    font-size: 1.8rem;
    min-width: 40px;
  }

  .sw-option {
    padding: 24px 20px;
  }

  .sw-option-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .sw-steps li {
    padding: 10px 10px 10px 46px;
    font-size: 0.9rem;
  }

  .sw-steps li::before {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.7rem;
    left: 12px;
    top: 10px;
  }

  .sw-cta {
    padding: 48px 20px;
  }
}

@media (max-width: 480px) {
  .sw-header h1 {
    font-size: 1.8rem;
  }

  .sw-header-desc {
    font-size: 0.95rem;
  }

  .sw-brands-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .sw-brand-card p {
    display: none;
  }

  .sw-section-number {
    display: none;
  }

  .sw-option {
    padding: 20px 16px;
  }

  .sw-alert,
  .sw-info,
  .sw-limitations {
    padding: 14px 16px;
    font-size: 0.85rem;
  }

  .sw-cta .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
  }

  .sw-cta .store-btn {
    width: 100%;
    justify-content: center;
  }
}
