:root {
  /* High-Contrast Brand Theme */
  --primary-dark: #3a5a40; /* Deep Green */
  --accent-orange: #eb9500;   /* Vibrant, classic orange */
  --bg-white: #FFFFFF;     /* Pure white for crisp background */
  --text-secondary-dark: #555555; /* Darker gray for secondary text */
  --border-light: #EAEAEA; /* Lighter, subtle border */
  --white: #fff;

  /* Semantic Mappings */
  --primary-color: var(--primary-dark);
  --accent-color: var(--accent-orange);
  --card-bg-color: var(--bg-white);
  --border-color: var(--border-light);
  --text-color: var(--primary-dark);
  --text-color-secondary: var(--text-secondary-dark);

  /* Shadows for consistency */
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.07);
  --shadow-large: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-white);
  color: var(--text-color);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.75s ease;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(66, 77, 77, 0.2);
  border-top-color: var(--primary-dark);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(252, 251, 249, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 1.3rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.8rem 0;
  background: rgba(252, 251, 249, 0.96);
  box-shadow: 0 8px 40px rgba(66, 77, 77, 0.1);
  border-bottom: 1px solid rgba(235, 149, 0, 0.15);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  color: var(--text-color);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-color);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

.container {
  max-width: 1200px; /* Slightly narrower for better focus */
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 100px 0 80px;
}

.section-title {
  font-family: 'Lora', serif;
  font-size: 42px; /* Adjusted size */
  font-weight: 700;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 15px; /* Adjusted margin */
}

.section-subtitle {
  text-align: center;
  font-size: 18px; /* Adjusted size */
  color: var(--text-color-secondary);
  max-width: 700px;
  margin: 0 auto 40px; /* Adjusted margin */
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.gold-line {
  width: 100px; 
  height: 2px; 
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
  margin: 30px auto; 
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(235, 149, 0, 0.2);
}

.pricing-hero {
  padding-top: 120px;
}

.pricing-intro {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 50px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

.price-card {
  background: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  position: relative;
  padding-top: 5px; /* Space for accent bar */
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 25%;
  height: 5px;
  background: var(--border-color);
  border-radius: 0 0 5px 5px;
  transition: all 0.4s ease;
}

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

.price-card:hover::before {
  width: 40%;
  background: var(--accent-color);
}

.price-card.recommended {
  transform: scale(1.03);
  box-shadow: var(--shadow-card);
  border-color: rgba(235, 149, 0, 0.4);
}
.price-card.recommended::before {
  width: 40%;
  background: var(--accent-color);
}
.price-card.recommended:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: var(--shadow-large);
}

.price-header {
  padding: 30px 25px 25px;
  border-bottom: 1px solid var(--border-color);
}

.price-header h3 {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
  letter-spacing: -0.3px;
}

.price-range {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -1px;
}

.price-body {
  padding: 30px 32px;
  flex-grow: 1;
  text-align: left;
  font-size: 15px;
  line-height: 1.8;
}

.price-body ul {
  list-style: none;
  padding: 0;
}

.price-body li {
  padding: 10px 0;
  position: relative;
  padding-left: 28px;
  border-bottom: 1px dotted rgba(235, 149, 0, 0.2);
  color: var(--text-color-secondary);
  font-size: 14px;
}

.price-body li:last-child {
  border-bottom: none;
}

.price-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color); 
  font-size: 16px;
  font-weight: 600;
}

.price-footer {
  padding: 0 32px 32px;
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 12px 28px;
  background: var(--primary-dark);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 11px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: #2a402d;
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.btn-primary {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}
.btn-primary:hover {
  background: #2a402d;
  border-color: #2a402d;
}

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

.btn-tertiary {
  background: var(--accent-orange);
  color: var(--white);
  border-color: var(--accent-orange);
  font-weight: 700;
}
.btn-tertiary:hover {
  background: #d38600;
  border-color: #d38600;
  color: var(--white);
}

.btn-text-link {
  display: inline-block;
  font-size: 13px;
  color: var(--text-color-secondary);
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.btn-text-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.btn-text-link:hover {
  color: var(--primary-color);
}

.btn-text-link:hover::after {
  width: 100%;
}

/* Recommended Badge */
.price-card.recommended {
    position: relative;
}

.price-card.recommended .card-accent.featured {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    font-weight: 700;
    padding: 6px 20px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0 0 8px 8px;
    writing-mode: horizontal-tb;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.price-card .card-accent:not(.featured) {
    display: none;
}

.pricing-footer {
  text-align: center;
  margin-top: 90px;
  margin-bottom: 50px;
  padding: 70px 40px;
  background: transparent;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.footer-content {
  max-width: 550px;
  margin: 0 auto;
}

.pricing-footer p {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text-color-secondary);
}

.pricing-footer a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }
  .price-card.recommended {
    transform: scale(1);
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  nav { padding: 1rem 0; }
  .nav-container { padding: 0 1.5rem; }
  .logo { font-size: 20px; }
  .nav-links {
    gap: 1.5rem; position: fixed; top: 0; left: -100%;
    width: 80%; max-width: 320px; height: 100vh;
    background: var(--card-bg-color); flex-direction: column;
    align-items: center; padding-top: 100px;
    transition: left 0.4s ease-in-out;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active { left: 0; }
  .menu-toggle { display: block; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border-color); }

  .container { padding: 0 1.5rem; }
  section { padding: 60px 0 40px; }

  .pricing-hero { padding-top: 100px; }
  .pricing-intro { margin-bottom: 50px; }

  .section-title { font-size: 34px; margin-bottom: 8px; }
  .section-subtitle { font-size: 15px; margin-bottom: 28px; }
  .gold-line { margin: 18px auto; width: 50px; }
  
  .pricing-grid { gap: 28px; margin-top: 35px; }
  .price-header { padding: 28px 20px 20px; }
  .price-header h3 { font-size: 22px; margin-bottom: 8px; }
  .price-icon { font-size: 36px; margin-bottom: 10px; }
  .price-range { font-size: 30px; }
  .price-body { padding: 24px 20px; font-size: 14px; line-height: 1.7; }
  .price-body li { padding: 9px 0; padding-left: 26px; font-size: 13px; }
  .price-footer { padding: 0 20px 24px; }
  .btn { padding: 13px 24px; font-size: 12px; }
  
  .pricing-footer { margin-top: 70px; margin-bottom: 40px; padding: 60px 30px; }
  .pricing-footer p { font-size: 14px; margin-bottom: 6px; }
  .pricing-footer a { font-size: 16px; }
  
  .benefit-card { padding: 28px 20px; }
  .benefit-icon { font-size: 40px; margin-bottom: 12px; }
  .benefit-card h4 { font-size: 18px; margin-bottom: 10px; }
  .benefit-card p { font-size: 13px; line-height: 1.5; }
  
  .popular-badge {
    padding: 5px 20px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  section { padding: 45px 0 30px; }
  
  .pricing-hero { padding-top: 80px; }
  .pricing-intro { margin-bottom: 35px; }

  .section-title { font-size: 28px; margin-bottom: 6px; }
  .section-subtitle { font-size: 14px; margin-bottom: 22px; max-width: 100%; }
  .gold-line { margin: 14px auto; }

  .pricing-grid { gap: 20px; margin-top: 28px; }
  .price-header { padding: 24px 16px 16px; }
  .price-header h3 { font-size: 20px; margin-bottom: 6px; }
  .price-icon { font-size: 32px; margin-bottom: 8px; }
  .price-range { font-size: 28px; }
  .price-body { padding: 20px 16px; font-size: 13px; }
  .price-body li { padding: 8px 0; padding-left: 24px; font-size: 12px; }
  .price-footer { padding: 0 16px 20px; }
  .btn { padding: 12px 20px; font-size: 11px; letter-spacing: 0.6px; }
  
  .pricing-footer { margin-top: 60px; margin-bottom: 35px; padding: 50px 24px; }
  .pricing-footer p { font-size: 13px; margin-bottom: 5px; }
  .pricing-footer a { font-size: 15px; }
  
  .benefits-grid { gap: 18px; }
  .benefit-card { padding: 24px 16px; border-radius: 10px; }
  .benefit-icon { font-size: 34px; margin-bottom: 10px; }
  .benefit-card h4 { font-size: 16px; margin-bottom: 8px; }
  .benefit-card p { font-size: 12px; line-height: 1.5; }
  
  .popular-badge {
    top: 10px;
    right: -25px;
    padding: 4px 16px;
    font-size: 10px;
  }
}

}

/* Explore Section */
.explore-section {
  text-align: center;
  padding: 60px 0;
  margin-top: 40px;
}
.explore-divider {
  width: 100%;
  height: 1px;
  background: var(--border-color);
  margin: 0 auto 60px;
}
.explore-section h3 {
  font-family: 'Lora', serif;
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.explore-section p {
  color: var(--text-color-secondary);
  margin-bottom: 30px;
}
.explore-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.explore-link {
  color: var(--accent-color);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}
.explore-link:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Pricing Benefits Section */
.pricing-benefits {
  padding: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.benefit-card {
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--card-bg-color);
  transition: all 0.4s ease;
}

.benefit-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 12px 40px rgba(235, 149, 0, 0.1);
  transform: translateY(-4px);
}

.benefit-icon {
  display: none;
}

.benefit-card h4 {
  font-family: 'Lora', serif;
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  font-weight: 700;
}

.benefit-card p {
  color: var(--text-color-secondary);
  font-size: 14px;
  line-height: 1.6;
}
.admin-link, .admin-link:visited {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.admin-link:hover { color: var(--accent-color); }

.back-to-home-link {
  color: var(--text-color-secondary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-to-home-link:hover {
  color: var(--primary-dark);
}
