/* BeyondShoebox Landing Page - Standalone CSS, no framework dependency */
/* Mobile-first responsive design with min-width breakpoints */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1A1A2E;
  background-color: #FAFAFA;
}

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

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 24px;
  background: #1A1A2E;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #5B9A8B;
  outline-offset: 2px;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A1A2E;
  letter-spacing: -0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header nav {
  display: none;
}

@media (min-width: 768px) {
  .header-actions {
    gap: 32px;
  }

  .site-header nav {
    display: flex;
    gap: 32px;
  }

  .site-header nav a {
    color: #6B7280;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
  }

  .site-header nav a:hover,
  .site-header nav a:focus-visible {
    color: #1A1A2E;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  min-height: 48px;
  min-width: 48px;
}

.btn:focus-visible {
  outline: 3px solid #5B9A8B;
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: #5B9A8B;
  color: #FFFFFF;
}

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

.btn-secondary {
  background-color: #FFFFFF;
  color: #5B9A8B;
  border: 2px solid #5B9A8B;
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  min-height: 36px;
  min-width: auto;
}

.btn-oauth {
  background: #FFFFFF;
  color: #1A1A2E;
  border: 2px solid #E5E7EB;
  width: 100%;
  max-width: 320px;
}

.btn-oauth:hover {
  border-color: #9CA3AF;
  background: #F9FAFB;
}

.btn-oauth svg {
  flex-shrink: 0;
}

/* ===== Hero ===== */
.hero {
  padding: 64px 0 48px;
  text-align: center;
  background: #FFFFFF;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #1A1A2E;
  margin-bottom: 16px;
}

.hero-subline {
  font-size: 1.125rem;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-pricing-note {
  font-size: 0.875rem;
  color: #9CA3AF;
}

@media (min-width: 768px) {
  .hero {
    padding: 96px 0 72px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subline {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

/* ===== Problem Section ===== */
.problem {
  padding: 64px 0;
}

.problem h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1A1A2E;
}

.problem-grid {
  display: grid;
  gap: 24px;
}

.problem-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.problem-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1A1A2E;
}

.problem-card p {
  color: #6B7280;
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .problem {
    padding: 96px 0;
  }

  .problem h2 {
    font-size: 2rem;
  }

  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 64px 0;
  background: #FFFFFF;
}

.how-it-works h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1A1A2E;
}

.steps-grid {
  display: grid;
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #5B9A8B;
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1A1A2E;
}

.step p {
  color: #6B7280;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .how-it-works {
    padding: 96px 0;
  }

  .how-it-works h2 {
    font-size: 2rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

/* ===== Features ===== */
.features {
  padding: 64px 0;
}

.features h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1A1A2E;
}

.features-grid {
  display: grid;
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px 24px;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1A1A2E;
}

.feature-card p {
  color: #6B7280;
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .features {
    padding: 96px 0;
  }

  .features h2 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

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

/* ===== Pricing ===== */
.pricing {
  padding: 64px 0;
  background: #FFFFFF;
}

.pricing h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1A1A2E;
}

.pricing-grid {
  display: grid;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: #FAFAFA;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 2px solid transparent;
}

.pricing-card--featured {
  border-color: #5B9A8B;
  background: #FFFFFF;
  position: relative;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1A1A2E;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1A1A2E;
  margin-bottom: 24px;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: #6B7280;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}

.pricing-card li {
  padding: 8px 0;
  color: #6B7280;
  font-size: 0.9375rem;
  border-bottom: 1px solid #F3F4F6;
}

.pricing-card li::before {
  content: "\2713\00a0\00a0";
  color: #5B9A8B;
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .pricing {
    padding: 96px 0;
  }

  .pricing h2 {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 64px 0;
}

.testimonials h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1A1A2E;
}

.testimonials-grid {
  display: grid;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px 24px;
}

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-card blockquote p {
  font-size: 1rem;
  line-height: 1.7;
  color: #1A1A2E;
  font-style: italic;
}

.testimonial-author {
  margin-top: 16px;
  font-size: 0.875rem;
  color: #9CA3AF;
}

@media (min-width: 768px) {
  .testimonials {
    padding: 96px 0;
  }

  .testimonials h2 {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ===== Final CTA ===== */
.final-cta {
  padding: 64px 0;
  background: #FFFFFF;
  text-align: center;
}

.final-cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1A1A2E;
}

.final-cta>.container>p {
  color: #6B7280;
  margin-bottom: 32px;
  font-size: 1.0625rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 16px;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 96px 0;
  }

  .final-cta h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ===== Footer ===== */
.site-footer {
  padding: 24px 0;
  border-top: 1px solid #E5E7EB;
  text-align: center;
}

.site-footer p {
  font-size: 0.875rem;
  color: #9CA3AF;
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #5B9A8B;
  outline-offset: 2px;
}

/* ===== Footer Links ===== */
.footer-links {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: #6B7280;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #1A1A2E;
}

.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #6B7280;
  font-size: 0.875rem;
  font-family: inherit;
  transition: color 0.2s;
}

.footer-cookie-btn:hover,
.footer-cookie-btn:focus-visible {
  color: #1A1A2E;
  outline: 3px solid #5B9A8B;
  outline-offset: 2px;
}

/* ===== Legal Pages ===== */
.legal-page {
  padding: 64px 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1A1A2E;
}

.legal-content h1+p {
  color: #6B7280;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 16px;
  color: #1A1A2E;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 16px;
  color: #4B5563;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ===== Release Notes ===== */
.release-entry {
  border-left: 3px solid #5B9A8B;
  padding-left: 24px;
  margin-bottom: 48px;
}

.release-version {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.release-version h2 {
  margin: 0;
}

.release-date {
  font-size: 0.875rem;
  color: #9CA3AF;
}

.release-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #5B9A8B;
  color: #FFFFFF;
  vertical-align: middle;
}