/* ============================================
   SackRanking — Shared Website Styles
   ============================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0a0e17;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-weight: 700;
}

p {
  overflow-wrap: break-word;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   Navigation
   ============================================ */
.site-header {
  max-width: 1100px;
  margin: 0 auto;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo span {
  color: #A3E635;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #ffffff;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw + 1rem, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero h1 span {
  color: #A3E635;
}

.hero p {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  color: #94a3b8;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero .app-store-badge {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero .app-store-badge:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.hero .app-store-badge img {
  height: 54px;
  width: auto;
}

/* ============================================
   Features
   ============================================ */
.features {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: #1a1f2e;
  border: 1px solid #2a2f3e;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  border-color: #A3E635;
  transform: translateY(-2px);
}

.feature-card .feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid #2a2f3e;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-copy {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ffffff;
}

/* ============================================
   Page Content (Privacy, Support, etc.)
   ============================================ */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.page-content h1 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 800;
  color: #A3E635;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.page-content .page-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.page-content p,
.page-content li {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content a {
  color: #A3E635;
  text-decoration: none;
  transition: text-decoration 0.2s ease, opacity 0.2s ease;
}

.page-content a:hover,
.page-content a:focus {
  text-decoration: underline;
  opacity: 0.85;
}

.page-content strong {
  color: #ffffff;
  font-weight: 600;
}

/* ============================================
   FAQ Items
   ============================================ */
.faq-item {
  background-color: #1a1f2e;
  border: 1px solid #2a2f3e;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: #3a3f4e;
}

.faq-item h3,
.faq-item .faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.faq-item p,
.faq-item .faq-answer {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  background-color: #1a1f2e;
  border-left: 4px solid #A3E635;
  border-radius: 0 12px 12px 0;
  padding: 1.75rem 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.contact-section h2,
.contact-section h3 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.contact-section p {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.contact-section a {
  color: #A3E635;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.contact-section a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-accent {
  color: #A3E635;
}

.text-muted {
  color: #94a3b8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 639px) {
  .nav-container {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .features {
    padding: 2rem 1.25rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem;
  }

  .page-content {
    padding: 2rem 1.25rem 4rem;
  }

  .contact-section {
    padding: 1.25rem 1.5rem;
  }
}
