/* ===========================================
   Base Styles - Natural Nutrition Works
   =========================================== */

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

/* Base */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--space-3xl) 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

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

.logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: none;
}

.main-nav a {
  margin-left: var(--space-lg);
  font-weight: 500;
  color: var(--color-text);
}

.main-nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  min-width: 160px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

.btn-accent {
  background: var(--color-gold);
  color: var(--color-text);
  border-color: var(--color-gold);
}

.btn-accent:hover {
  background: #c49a3d;
  border-color: #c49a3d;
  text-decoration: none;
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-lg);
  min-width: 200px;
}

/* Social Proof Bar */
.social-proof {
  background: var(--color-bg-alt);
  padding: var(--space-md) 0;
  text-align: center;
}

.social-proof .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-proof .stars {
  color: var(--color-gold);
  font-size: var(--text-xl);
}

.social-proof .rating-text {
  font-weight: 600;
  color: var(--color-text);
}

.social-proof .review-count {
  color: var(--color-text-light);
}

/* Benefits Section */
.benefits-section {
  background: var(--color-white);
}

.benefits-section h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.benefit {
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  text-align: center;
}

.benefit h3 {
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.benefit p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-sm);
  filter: brightness(0) invert(1);
}

.site-footer h4 {
  color: var(--color-accent);
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
}

.site-footer a {
  color: var(--color-white);
  display: block;
  margin-bottom: var(--space-sm);
}

.site-footer a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.disclaimer {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
}

/* Thank You Page */
.thank-you-page {
  min-height: calc(100vh - var(--header-height) - 200px);
  display: flex;
  align-items: center;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.checkmark {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-4xl);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.thank-you-content .lead {
  font-size: var(--text-xl);
  color: var(--color-text-light);
}

.ebook-preview {
  margin: var(--space-xl) auto;
  max-width: 200px;
}

.ebook-preview img {
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
}

.next-steps {
  text-align: left;
  max-width: 400px;
  margin: var(--space-lg) auto;
  padding-left: var(--space-lg);
}

.next-steps li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

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

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

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