:root {
  --primary: #0F1E36;
  --secondary: #C5A059;
  --accent: #E5C184;
  --bg-light: #F8F9FB;
  --bg-dark: #0A1428;
  --text-dark: #20232A;
  --text-light: #F4F5F7;
  --border: #E1E4EA;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
  font-size: 1.1rem;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  color: var(--primary);
  font-weight: 600;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--secondary);
  color: var(--bg-dark);
  padding: 12px 24px;
  z-index: 9999;
  font-weight: bold;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Accessibility: Focus visible ring */
*:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

/* Layout Elements */
header {
  background-color: var(--primary);
  padding: 20px 4%;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  width: 45px;
  height: 45px;
}

.logo-text {
  color: var(--text-light);
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
}

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

.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.8rem;
}

/* Responsive Menu */
@media (max-width: 992px) {
  .nav-links {
    position: absolute;
    right: 0;
    top: 85px;
    background-color: var(--primary);
    width: 100%;
    flex-direction: column;
    padding: 40px 0;
    gap: 25px;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .burger {
    display: block;
  }
}

/* Hero Section with custom grid pattern background */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  color: var(--text-light);
  padding: 100px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(197, 160, 89, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-content h1 {
  color: #FFFFFF;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 35px;
  opacity: 0.9;
}

.hero-image {
  flex: 1;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 8px;
  border: 4px solid var(--secondary);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    padding: 60px 5%;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
}

/* CTA Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
}

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

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

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

.btn-outline:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Stats Section */
.stats {
  background-color: var(--bg-light);
  padding: 60px 4%;
  text-align: center;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card h3 {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.stat-card p {
  font-weight: 500;
  color: var(--primary);
}

/* How It Works Section */
.steps-section {
  padding: 100px 4%;
  background: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.step-card h4 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}

/* Trust Statement Banner */
.trust-statement {
  background: var(--primary);
  color: var(--text-light);
  padding: 80px 8%;
  text-align: center;
}

.trust-statement-content {
  max-width: 900px;
  margin: 0 auto;
}

.trust-statement h3 {
  color: #FFFFFF;
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Services Grid */
.services-section {
  padding: 100px 4%;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-body p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.service-link {
  margin-top: auto;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Asymmetrical Feature Section */
.feature-asymmetric {
  padding: 100px 4%;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-img-wrapper {
  flex: 1;
}

.feature-img-wrapper img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-text-wrapper {
  flex: 1;
}

.feature-text-wrapper h2 {
  font-size: 2.3rem;
  margin-bottom: 25px;
}

.feature-text-wrapper ul {
  list-style: none;
  margin-top: 25px;
}

.feature-text-wrapper li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.feature-text-wrapper li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary);
}

@media (max-width: 768px) {
  .feature-asymmetric {
    flex-direction: column;
    padding: 60px 5%;
  }
}

/* Pricing Tables */
.pricing-section {
  padding: 100px 4%;
  background: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border: 3px solid var(--secondary);
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--secondary);
  color: var(--primary);
  padding: 5px 15px;
  font-weight: bold;
  font-size: 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.price {
  font-size: 2.5rem;
  font-family: 'Lora', serif;
  color: var(--primary);
  margin: 20px 0;
  font-weight: bold;
}

.pricing-card ul {
  list-style: none;
  margin: 25px 0 35px 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-card li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.pricing-card li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary);
}

/* Form Section */
.form-section {
  padding: 100px 4%;
  background: #FFFFFF;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 50px 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--secondary);
  outline: none;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox input {
  width: auto;
  margin-top: 5px;
}

/* FAQ Accordion Page and Block styles */
.faq-section {
  padding: 100px 4%;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Lora', serif;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 15px;
}

.faq-answer p {
  color: #555555;
  font-size: 1.05rem;
}

/* Trust Layer (Global Legal disclosure block before footer) */
.trust-layer {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 50px 8%;
  font-size: 0.95rem;
  color: #555555;
}

.trust-layer-content {
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.7;
}

.trust-layer h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.trust-layer a {
  text-decoration: underline;
}

/* Footer styling */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 4% 30px 4%;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h4 {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #B0B5C1;
}

.footer-col a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid #1C2B42;
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: #B0B5C1;
}

/* Cookie Banner styling */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #FFFFFF;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 25px 30px;
  z-index: 9999;
  display: none;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookie-text h4 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.cookie-text p {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  #cookie-banner {
    bottom: 0; left: 0; right: 0;
    border-radius: 0;
    padding: 20px;
  }
}

/* Reduced Motion implementation */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}