/*
 * Main stylesheet for the Stablfeet landing page.
 *
 * This file defines the overall layout, typography, colours and responsive
 * behaviours for the site. Feel free to modify colours or spacing to better
 * match your brand aesthetic. Uploaded images should be placed in the
 * `images/` directory and referenced from the markup.
 */

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background-color: #0c0f14;
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.primary-btn {
  background-color: #f2c531;
  color: #0c0f14;
}

.primary-btn:hover {
  background-color: #d9ad28;
}

.secondary-btn {
  background-color: #333a47;
  color: #ffffff;
}

.secondary-btn:hover {
  background-color: #3e4552;
}

/* Header */
.site-header {
  background-color: #0c0f14;
  padding: 1rem 0;
  border-bottom: 1px solid #1b202c;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, #0e1015 0%, #1a1f2e 100%);
  padding: 4rem 0;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 450px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  margin-bottom: 1.5rem;
  color: #d1d5db;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.features-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.features-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  color: #f2c531;
}

.hero-image {
  flex: 1 1 450px;
  text-align: center;
}

/* Benefit section */
.benefit-section {
  background-color: #0e121a;
  padding: 3rem 0;
  border-top: 1px solid #1b202c;
  border-bottom: 1px solid #1b202c;
}

.benefit-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefit-section p {
  color: #c5cad1;
  margin-bottom: 1rem;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  margin-bottom: 0.75rem;
}

.benefit-list strong {
  color: #f2c531;
}

/* Comfort section */
.comfort-section {
  background-color: #0c0f14;
  padding: 3rem 0;
}

.comfort-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.comfort-section p {
  color: #c5cad1;
  margin-bottom: 1rem;
}

.comfort-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comfort-list li {
  margin-bottom: 0.75rem;
}

.comfort-list strong {
  color: #f2c531;
}

/* Size chart section */
.size-chart-section {
  background-color: #0e121a;
.size-chart-section {
  background-color: #0e121a;
  padding: 3rem 0;
  border-top: 1px solid #1b202c;
  border-bottom: 1px solid #1b202c;
}

.size-chart-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.size-chart {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.size-chart thead {
  background-color: #1b202c;
}

.size-chart th,
.size-chart td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid #1b202c;
}

.size-chart th {
  font-weight: 600;
}

.trim-steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trim-steps li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.trim-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #f2c531;
  color: #0c0f14;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Problem relief section */
.problem-relief-section {
  background-color: #0c0f14;
  padding: 3rem 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.problem-item {
  background-color: #1b202c;
  padding: 1rem;
  border-radius: 6px;
}

.problem-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: #f2c531;
}

.problem-item p {
  margin: 0;
  color: #c5cad1;
}

/* Footwear section */
.footwear-section {
  background-color: #0e121a;
  padding: 3rem 0;
  border-top: 1px solid #1b202c;
  border-bottom: 1px solid #1b202c;
}

.footwear-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footwear-section p {
  color: #c5cad1;
  margin-bottom: 1rem;
}

.footwear-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footwear-list li {
  margin-bottom: 0.75rem;
}

.footwear-list strong {
  color: #f2c531;
}

/* HSA / FSA section */
.hsa-fsa-section {
  background-color: #0c0f14;
  padding: 3rem 0;
}

.hsa-fsa-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hsa-fsa-section p {
  color: #c5cad1;
  margin-bottom: 1.5rem;
}

/* Checkout section */
.checkout-section {
  background: linear-gradient(135deg, #0e1015 0%, #1a1f2e 100%);
  padding: 3rem 0;
  text-align: center;
}

.checkout-section h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.checkout-section p {
  color: #c5cad1;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background-color: #0c0f14;
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid #1b202c;
}

.site-footer p {
  margin: 0;
  color: #6b7280;
  font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 0.95rem;
  }
  .size-chart thead {
    display: none;
  }
  .size-chart tr {
    display: block;
    margin-bottom: 1rem;
    background-color: #1b202c;
    border-radius: 4px;
    overflow: hidden;
  }
  .size-chart td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border: none;
  }
  .size-chart td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #f2c531;
  }
}
