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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  color: var(--primary-color);
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--light-gray);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #8b5e3c);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(122, 70, 31, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5d3516, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 70, 31, 0.4);
}

/* Presentation Section */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.problem,
.solution {
  padding: var(--spacing-lg);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.problem:hover,
.solution:hover {
  transform: translateY(-5px);
}

.problem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #d32f2f;
}

.solution::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--secondary-color);
}

.problem h3 {
  color: #d32f2f;
}
.solution h3 {
  color: var(--secondary-color);
}
.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: var(--spacing-md) 0;
}

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

.logo {
  display: block;
}

.logo-img {
  width: 150px;
  height: 40px;
  background-color: var(--primary-color);
  -webkit-mask: url("../assets/images/icon_title.png") no-repeat center center /
    contain;
  mask: url("../assets/images/icon_title.png") no-repeat center center / contain;
}

.main-nav ul {
  display: flex;
  gap: var(--spacing-lg);
}

.main-nav a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-color);
}

.main-nav a:hover {
  color: var(--secondary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: 0.3s;
}

/* Hero Section */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(80, 100, 35, 0.1) 0%,
    rgba(122, 70, 31, 0.1) 100%
  );
  position: relative;
  padding-bottom: 60px; /* Space for scroll indicator */
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  opacity: 0.8;
}

.arrow {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Presentation Section */

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background-color: transparent;
  perspective: 1000px; /* Enable 3D perspective */
  height: 200px; /* Fix height for flip consistency */
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.feature-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-back {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.feature-card h4 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.qa-content .question {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-family-heading);
}

.qa-content .answer {
  font-style: italic;
  opacity: 0.9;
}

/* Pricing Section */
.pricing-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: 16px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  border: 2px solid var(--secondary-color);
  box-shadow: 0 10px 30px rgba(80, 100, 35, 0.1);
}

.price-tag {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: var(--font-family-heading);
  margin: var(--spacing-md) 0;
}

.pricing-card .note {
  font-size: 0.9rem;
  color: #666;
  margin-top: var(--spacing-md);
  font-style: italic;
}

/* Members Section */
.member-profile {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  text-align: left;
}

.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary-color);
  flex-shrink: 0;
}

.member-profile .status {
  font-style: italic;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

@media (max-width: 768px) {
  .member-profile {
    flex-direction: column;
    text-align: center;
  }
}

/* Contact Section */
.contact-email {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: var(--spacing-md);
  border-bottom: 2px solid transparent;
}

.contact-email:hover {
  border-bottom-color: var(--primary-color);
}

#contact {
  text-align: center;
}

/* Footer */
.main-footer {
  background-color: #2c1a0e; /* Darker brown */
  color: rgba(255, 255, 255, 0.8);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.footer-links {
  margin-bottom: var(--spacing-md);
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  :root {
    --spacing-xl: 40px;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-md);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
  }

  .problem-solution {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}
