/* Focus Optic - Main Stylesheet */
/* Wild Flower Color Palette & Google Ads Compliant Layout */

:root {
  --bg-main: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-secondary: #F2ECE1;
  --text-dark: #2A332C;
  --text-muted: #576359;
  --primary-green: #2E5B37;
  --primary-green-hover: #214328;
  --accent-gold: #D99B26;
  --accent-blue: #3B6B9B;
  --accent-coral: #C85A46;
  --accent-violet: #6C5B7B;
  --border-light: #E2DAC8;
  --shadow-soft: 0 10px 30px rgba(46, 91, 55, 0.06);
  --shadow-hover: 0 16px 36px rgba(46, 91, 55, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --font-heading: 'Georgia', 'Merriweather', serif;
  --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 17px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-gold);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 840px;
}

/* Header & Navigation */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-gold);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-green);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(46, 91, 55, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 91, 55, 0.35);
}

.btn-accent {
  background-color: var(--accent-gold);
  color: #FFFFFF !important;
}

.btn-accent:hover {
  background-color: #C2891E;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
}

.btn-outline:hover {
  background: var(--primary-green);
  color: #FFFFFF !important;
}

/* Floral Decorative Header Banner */
.top-notice-bar {
  background: linear-gradient(90deg, var(--primary-green), var(--accent-blue));
  color: #FFFFFF;
  font-size: 14px;
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-main) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.author-card-small {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.author-meta h4 {
  font-size: 16px;
  color: var(--text-dark);
}

.author-meta p {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 4px solid #FFFFFF;
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Feature Cards & Grid */
.section-title {
  font-family: var(--font-heading);
  font-size: 34px;
  text-align: center;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.section-lead {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.card-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Interactive Quiz Styling */
.quiz-section {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-light);
  padding: 48px 36px;
  margin: 60px 0;
  box-shadow: var(--shadow-soft);
}

.quiz-header {
  text-align: center;
  margin-bottom: 36px;
}

.quiz-progress {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  margin: 20px 0;
}

.quiz-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-green));
  transition: width 0.3s ease;
}

.quiz-question {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}

.quiz-option-btn {
  padding: 16px 24px;
  background: var(--bg-main);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-option-btn:hover {
  background: #FFFFFF;
  border-color: var(--primary-green);
  color: var(--primary-green);
  transform: translateX(4px);
}

.quiz-result {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.quiz-result h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.quiz-result p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Certificate Badge Displays */
.certificates-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 40px 0;
}

.cert-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  width: 240px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.cert-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-gold);
}

.cert-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary-green);
}

.cert-badge-card h5 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cert-badge-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Lead Order Form Page & Component */
.order-box {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-hover);
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-green);
  background: #FFFFFF;
}

.price-tag-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 18px;
}

.new-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-coral);
}

/* Disclaimer Banner */
.disclaimer-banner {
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--accent-gold);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 32px 0;
  border-radius: 4px;
}

/* Site Footer */
.site-footer {
  background-color: #1F2A22;
  color: #D3DDD5;
  padding: 60px 0 30px;
  margin-top: auto;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #A3B5A7;
}

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

.footer-bottom {
  border-top: 1px solid #334438;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #839687;
}

/* GDPR Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 2px solid var(--primary-green);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  padding: 20px 0;
  z-index: 999;
}

.cookie-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text p {
  font-size: 14px;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

/* Article Detail Typography */
.article-body {
  font-size: 18px;
  line-height: 1.8;
  color: #2F3932;
  background: #FFFFFF;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  margin-bottom: 48px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--primary-green);
  margin: 36px 0 16px;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--accent-blue);
  margin: 28px 0 14px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}

.article-body li {
  margin-bottom: 10px;
}

.highlight-box {
  background: var(--bg-secondary);
  border-left: 4px solid var(--primary-green);
  padding: 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-grid, .order-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 34px;
  }
  .article-body {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 12px;
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}
