/**
 * Global Styles for 10k Postcards
 * Main stylesheet for consistent design across all pages
 */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #312fd4;
  --primary-hover: #211ea5;
  --accent-color: #27a844;
  --light-bg: #f8f9fc;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #4a5568;
  --border-light: #e2e8f0;
  --error-color: #dc3545;
  --warning-color: #ffc107;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

/* Auth pages: centered single-card layout */
body.auth-page {
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

/* Content pages with light background */
body.light-bg {
  background: var(--light-bg);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: clamp(60px, 12vw, 90px);
  width: auto;
  display: block;
}

.logo-image {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--primary-color);
}

.nav-cta {
  background: var(--primary-color);
  color: white !important;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Active page highlighting */
nav a.active {
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Navigation Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-dark);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1rem 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-nav-links a:hover {
  background: var(--light-bg);
}

.mobile-nav-links .mobile-cta {
  background: var(--primary-color);
  color: white;
  text-align: center;
  margin-top: 1rem;
  padding: 1rem;
}

.mobile-nav-links .mobile-cta:hover {
  background: var(--primary-hover);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.mobile-nav-overlay.active {
  display: block;
}

/* ============================================
   HERO SECTIONS
   ============================================ */

/* Homepage hero (blue gradient, two-column) */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #4845e4 100%);
  color: white;
  padding: 4rem 2rem;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-highlight {
  background: rgba(255,255,255,0.15);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-color);
}

.hero-highlight strong {
  color: #ffd700;
  font-size: 1.1rem;
}

/* Page hero — green gradient (reserve page) */
.page-hero {
  background: linear-gradient(135deg, var(--accent-color) 0%, #1f8a37 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

/* Page hero — blue gradient (how-it-works, contact) */
.page-hero--blue {
  background: linear-gradient(135deg, var(--primary-color) 0%, #4845e4 100%);
}

/* About page hero — solid blue */
.hero-about {
  background: var(--primary-color);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-about h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-about p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.25rem;
  opacity: 0.95;
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */
.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: #1f8a37;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 168, 68, 0.4);
}

/* White CTA on colored backgrounds */
.cta-button--white {
  background: white;
  color: var(--primary-color);
}

.cta-button--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Legacy alias */
.cta-button-white {
  background: white;
  color: var(--primary-color);
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s;
}

.cta-button-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

.btn-primary {
  width: 100%;
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Submit button — primary (blue) */
.submit-button {
  width: 100%;
  background: var(--primary-color);
  color: white;
  padding: 1.25rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Submit button — accent (green, for reserve page) */
.submit-button--accent {
  background: var(--accent-color);
  font-size: 1.2rem;
}

.submit-button--accent:hover {
  background: #1f8a37;
}

/* ============================================
   CARDS & SECTIONS
   ============================================ */
.features {
  padding: 5rem 2rem;
  background: white;
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.features-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-light);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Feature box — used on how-it-works page */
.feature-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-light);
  transition: all 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--primary-color);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

/* CTA as a card within page flow (about page) */
.cta-section--card {
  padding: 3rem;
  border-radius: 16px;
}

.cta-section--card h2 {
  font-size: 2rem;
}

.cta-section--card p {
  font-size: 1.15rem;
}

/* CTA with gradient background */
.cta-section--gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, #4845e4 100%);
}

/* ============================================
   CALCULATOR WIDGET (index page)
   ============================================ */
.calculator-widget {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 2px solid var(--border-light);
}

.calculator-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.calculator-badge {
  display: inline-block;
  background: #ffd700;
  color: var(--text-dark);
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.calculator-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.calculator-subtitle {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.calculator-select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: border-color 0.2s;
  background: white;
}

.calculator-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.calculator-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.stat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-label {
  color: var(--text-gray);
  font-size: 0.95rem;
  font-weight: 500;
}

.stat-value {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.popular-badge {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 0.5rem;
  text-transform: uppercase;
}

.calculator-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-top: 1rem;
  line-height: 1.5;
}

.calculator-cta {
  width: 100%;
  margin-top: 1.5rem;
  text-align: center;
  padding: 0.875rem;
  background: var(--primary-color);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}

.calculator-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Calculator widget centered variant (index page "Your Neighbors" section) */
.calculator-widget--centered {
  text-align: center;
}

.calculator-widget--centered .calculator-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.calculator-widget--centered .calculator-subtitle {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.calculator-widget--centered .calculator-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.checklist {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checklist-item .check {
  color: var(--accent-color);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.checklist-item span:last-child {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.calculator-widget--centered .calculator-cta {
  font-size: 1.1rem;
  padding: 1rem;
}

.calculator-widget--centered .calculator-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Comparison section wrapper */
.comparison-wrapper {
  padding: 3rem 2rem;
  background: white;
}

.comparison-wrapper-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.co-op-advantage {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--light-bg);
  border-radius: 8px;
}

.co-op-advantage p {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* Markets loading / error state */
.markets-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--text-gray);
}

/* Mobile nav logo */
.mobile-nav-logo {
  height: 50px;
}

/* Section subtitle (used on about mission) */
.section-subtitle--centered {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Contact email note */
.contact-email-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-gray);
  text-align: center;
}

.contact-email-note a {
  color: var(--primary-color);
  font-weight: 600;
}

/* ============================================
   COMPARISON TABLE (index page)
   ============================================ */
.comparison-section {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  margin-top: 3rem;
  border: 2px solid var(--border-light);
}

.comparison-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.comparison-subtitle {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.comparison-table th {
  background: var(--light-bg);
  padding: 0.875rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-light);
}

.comparison-table td {
  padding: 1rem 0.875rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr.highlight {
  background: rgba(39, 168, 68, 0.05);
}

.comparison-table tr.highlight td:first-child {
  font-weight: 700;
  color: var(--accent-color);
}

.method-name {
  font-weight: 600;
  color: var(--text-dark);
}

.cost-high {
  color: #dc2626;
  font-weight: 600;
}

.cost-low {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.1rem;
}

.check-yes {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
}

.check-no {
  color: #dc2626;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ============================================
   MARKETS SECTION (index page)
   ============================================ */
.markets-section {
  padding: 5rem 2rem;
  background: var(--light-bg);
}

.markets-container {
  max-width: 1400px;
  margin: 0 auto;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.market-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid var(--border-light);
  transition: all 0.3s;
  text-align: center;
}

.market-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.market-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.market-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.market-price {
  color: var(--primary-color);
}

.market-price--muted {
  color: var(--text-gray);
}

.market-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   STEPS (how-it-works page)
   ============================================ */
.content-section {
  padding: 5rem 2rem;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-container {
  margin-bottom: 4rem;
}

.step {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  border: 2px solid var(--border-light);
  position: relative;
  transition: all 0.3s;
}

.step:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 3rem;
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(49, 47, 212, 0.3);
}

.step h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.step p {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.step strong {
  color: var(--text-dark);
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.step ul {
  list-style: none;
  margin-top: 1rem;
  padding-left: 0;
}

.step li {
  color: var(--text-gray);
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.step li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ============================================
   FAQ SECTION (how-it-works page)
   ============================================ */
.faq-section {
  margin: 4rem 0;
}

.faq-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-align: center;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-light);
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-item h3:before {
  content: "Q:";
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1.5rem;
}

.faq-item p {
  color: var(--text-gray);
  line-height: 1.7;
  padding-left: 2.25rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.main-content {
  max-width: 1000px;
  margin: -3rem auto 0;
  padding: 0 2rem 4rem;
  position: relative;
}

.founder-card {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
}

.founder-intro {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-light);
}

.founder-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  font-weight: 800;
}

/* Centered variant (about page) */
.founder-intro--centered {
  grid-template-columns: 1fr;
  text-align: center;
}

.founder-photo--centered {
  margin: 0 auto 1.5rem;
  font-size: 3rem;
}

.founder-name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.founder-title {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.founder-tagline {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  font-style: italic;
}

.story-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-gray);
}

.story-content p {
  margin-bottom: 1.5rem;
}

.story-content strong {
  color: var(--text-dark);
  font-weight: 700;
}

.highlight-quote {
  background: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
}

/* Mission Section */
.mission-section {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 3rem;
}

.mission-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.mission-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-light);
  transition: all 0.3s;
}

.mission-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(49, 47, 212, 0.15);
}

.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.mission-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.mission-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Values Section */
.values-section {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 3rem;
}

.values-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.value-content p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* ============================================
   CONTACT & RESERVE PAGES
   ============================================ */
.contact-section {
  padding: 5rem 2rem;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.reserve-section {
  padding: 5rem 2rem;
}

.reserve-container {
  max-width: 800px;
  margin: 0 auto;
}

.reserve-card {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.urgency-banner {
  background: #fef3c7;
  border: 2px solid #f59e0b;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  text-align: center;
}

.urgency-banner strong {
  color: #f59e0b;
  font-size: 1.1rem;
}

.form-note {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.error-message {
  color: var(--error-color);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
  padding: 0.5rem;
  background: #fee2e2;
  border-radius: 4px;
}

.error-message.show {
  display: block;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: none;
}

.success-message.show {
  display: block;
}

/* ============================================
   AUTH PAGES (login, register, forgot/reset password)
   ============================================ */
.auth-container {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  max-width: 450px;
  width: 100%;
  border: 2px solid var(--border-light);
}

.auth-container .logo-container {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-container .logo-img {
  height: 80px;
  width: auto;
}

.auth-container h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-container .subtitle {
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.auth-container label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.auth-container input[type="text"],
.auth-container input[type="email"],
.auth-container input[type="password"] {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.auth-container input[type="text"]:focus,
.auth-container input[type="email"]:focus,
.auth-container input[type="password"]:focus {
  outline: none;
  border-color: var(--primary-color);
}

.info-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.info-box strong {
  color: #856404;
}

.password-requirements {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 0.5rem;
}

.forgot-password {
  text-align: center;
  margin-top: 1rem;
}

.forgot-password a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
}

.divider span {
  background: var(--white);
  padding: 0 1rem;
  position: relative;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.auth-link {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.auth-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.auth-link a:hover {
  text-decoration: underline;
}

/* ============================================
   ADMIN PAGE
   ============================================ */
/* Admin page body padding */
body.admin-page {
  padding: 2rem;
}

.admin-header {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-logout {
  background: var(--error-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-logout:hover {
  opacity: 0.9;
}

.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab {
  background: var(--white);
  padding: 1rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.tab.active {
  background: var(--primary-color);
  color: white;
}

.admin-content {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.admin-content table {
  width: 100%;
  border-collapse: collapse;
}

.admin-content thead {
  background: var(--light-bg);
}

.admin-content th {
  text-align: left;
  padding: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.admin-content td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-approved {
  background: #d4edda;
  color: #155724;
}

.btn-approve {
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-approve:hover {
  opacity: 0.9;
}

.btn-approve:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-reject {
  background: var(--error-color);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  margin-left: 0.5rem;
}

.btn-reject:hover {
  opacity: 0.9;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-gray);
}

.admin-error {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none;
}

.admin-error.show {
  display: block;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 2rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  line-height: 2;
  display: block;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.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;
}

/* Skip to content link — visible on focus for keyboard users */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-gray);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-grid--2col {
    grid-template-columns: 1fr;
  }

  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  /* Show mobile menu toggle, hide desktop nav */
  .mobile-menu-toggle {
    display: block;
  }

  nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .logo-img {
    height: clamp(50px, 10vw, 70px);
  }

  /* Steps */
  .steps-container {
    padding: 0;
  }

  .step {
    padding: 2rem 1.5rem;
  }

  .step-number {
    left: 1.5rem;
  }

  /* About page */
  .founder-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-photo {
    margin: 0 auto;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .hero-about h1 {
    font-size: 2rem;
  }

  /* CTA sections */
  .cta-section--gradient {
    padding: 2rem;
  }

  .cta-section--gradient h2 {
    font-size: 1.75rem;
  }

  /* Admin */
  .admin-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .admin-content table {
    font-size: 0.9rem;
  }

  .admin-content th,
  .admin-content td {
    padding: 0.75rem 0.5rem;
  }

  /* Auth pages */
  .auth-container {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem 0.5rem;
  }
}

@media (max-width: 600px) {
  .page-hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
