:root {
  --primary-color: #ba6d5d;
  /* Terracotta / Rust */
  --primary-hover: #a35d4f;
  --primary-light: #f7f5f0;
  /* Warm cream */
  --secondary-color: #949a71;
  /* Olive green */
  --bg-color: #ffffff;
  --bg-alt: #f7f5f0;
  --text-dark: #3a3533;
  --text-light: #6a6562;
  --border-color: #e5e0d8;
  --white: #ffffff;
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Lora', serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.4rem;
}

p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Layout Core */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(255, 255, 255, 0);
  z-index: 1000;
  transition: var(--transition);
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 70px;
  width: auto;
  border-radius: 6px;
}

nav.scrolled .logo {
  color: var(--text-dark);
}

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

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  font-size: 1rem;
  transition: var(--transition);
}

nav.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem;
  border-radius: 30px;
  backdrop-filter: blur(5px);
}

nav.scrolled .lang-switcher {
  background: var(--bg-alt);
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
}

nav.scrolled .lang-btn {
  color: var(--text-light);
}

.lang-btn.active {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Base Buttons */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

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

.cta-btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.cta-btn-outline:hover {
  border-color: var(--text-dark);
  background: transparent;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--text-dark);
  /* Fallback */
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../resources/hero_bg_4k_realesrgan.png');
  background-size: cover;
  background-position: center;
  padding-top: 5rem;
  color: var(--white);
}

.hero .container {
  max-width: 800px;
  margin: 0;
  text-align: left;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero .cta-btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.hero .cta-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

/* Stats/Trust Bar */
.trust-bar {
  background: var(--bg-color);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.trust-item h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Split Section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-image {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-content h2 {
  text-align: left;
}

/* Services / Grid */
.bg-alt {
  background-color: var(--bg-alt);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Special stylized card for the first one */
.card-featured {
  background: linear-gradient(135deg, #c3cfb4 0%, var(--secondary-color) 100%);
  color: var(--white);
  border: none;
}

.card-featured h3,
.card-featured p {
  color: var(--white);
}

.card-featured .card-icon {
  color: var(--white);
}

/* Timeline */
.timeline {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary-color);
  line-height: 1;
  opacity: 0.8;
  min-width: 50px;
}

.timeline-content h3 {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Pricing Card */
.pricing-section {
  padding: 8rem 0;
}

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

.pricing-card {
  background: var(--bg-alt);
  width: 100%;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card .cta-btn {
  margin-top: auto;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.price {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.currency {
  font-family: var(--font-main);
  font-size: 1.5rem;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin: 2.5rem 0 3rem;
  text-align: left;
  flex: 1;
}

.pricing-features li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary-color);
  font-family: var(--font-main);
  font-weight: bold;
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 3rem;
}

.footer-col-1 h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col-1 p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-links h4 {
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Focus Areas Flip Cards */
.focus-section {
  padding: 6rem 0;
  background: var(--bg-color);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.flip-card {
  height: 340px;
  perspective: 1200px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.flip-card-back {
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

.flip-card:hover .flip-card-back,
.flip-card.flipped .flip-card-back {
  opacity: 1;
  visibility: visible;
}

.flip-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
}

.flip-card-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  border-radius: 20px;
}

.flip-card-front .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

.flip-card-front h3 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 0;
}

.flip-card-front .card-icon-large {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.flip-card-back {
  background: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  text-align: center;
}

.flip-card-back h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.flip-card-back p {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* Card background gradients (replace with real images) */
.focus-bg-confidence {
  background-image: url('../resources/confidence_focus.png');
}

.focus-bg-anxiety {
  background-image: url('../resources/anxiety_focus.png');
}

.focus-bg-procrastination {
  background-image: url('../resources/procrastination_focus.png');
}

.focus-bg-abundance {
  background-image: url('../resources/abundance_focus.png');
}

/* Disclaimer */
.disclaimer {
  background: var(--bg-alt);
  border-left: 3px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin-top: 3rem;
  border-radius: 0 8px 8px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
  font-style: italic;
}

/* Testimonials Section */
.testimonials-section {
  padding: 8rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.quote-icon {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: -1rem;
  opacity: 0.2;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .split-image {
    order: -1;
    height: 400px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: 280px;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}