/* ===== CSS Variables ===== */
:root {
  --primary: #2d6a4f;
  --primary-light: #40916c;
  --primary-dark: #1b4332;
  --secondary: #b7e4c7;
  --accent: #d4a373;
  --accent-dark: #c68b59;
  --bg: #fdfaf6;
  --bg-alt: #f0ede8;
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --text-muted: #8a8a8a;
  --white: #ffffff;
  --shadow: 0 4px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255,255,255,0.15);
  --glass-border: rgba(255,255,255,0.25);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  color: var(--primary-dark);
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

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

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}

.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-2px); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition);
}

.navbar.scrolled .hamburger span { background: var(--primary-dark); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== Hero Sections ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-home { background-image: url('_uploads/ai_3e92b2bda8fa7a6b.jpg'); }
.hero-about { background-image: url('_uploads/ai_353d5c796b263c90.jpg'); }
.hero-funnel { background-image: url('_uploads/ai_9c99bec8642ba5a7.jpg'); }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,67,50,0.75), rgba(45,106,79,0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp 1s ease-out;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  animation: fadeUp 1s ease-out 0.2s both;
}

.hero-badge {
  display: inline-block;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeUp 1s ease-out;
}

/* ===== Mini Hero (for inner pages without full hero) ===== */
.mini-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  text-align: center;
  position: relative;
}

.mini-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.mini-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: 'Nunito', sans-serif;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(212,163,115,0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212,163,115,0.5);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-green {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(45,106,79,0.4);
}

.btn-green:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45,106,79,0.5);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s ease-out 0.4s both;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--secondary), #d8f3dc);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Glass Card ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--secondary);
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-top: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -100px;
  right: -100px;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== About Page ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; }

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.value-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.value-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-item .value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-item p { font-size: 0.9rem; color: var(--text-light); }

/* ===== Process Steps ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 24px;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--text-light); }

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--text);
}

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

.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--secondary), #d8f3dc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-light); font-size: 0.9rem; }

/* ===== Form Messages ===== */
.form-message {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--bg-alt); }

.faq-icon {
  font-size: 1.4rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer { max-height: 500px; }

/* ===== Lead Funnel ===== */
.funnel-steps {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.funnel-step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.funnel-step-indicator.active {
  background: var(--primary);
  color: var(--white);
}

.funnel-step-indicator.completed {
  background: var(--accent);
  color: var(--white);
}

.funnel-form-step { display: none; }
.funnel-form-step.active { display: block; animation: fadeUp 0.5s ease-out; }

.funnel-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.funnel-card h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.funnel-card .step-desc {
  color: var(--text-light);
  margin-bottom: 28px;
}

.funnel-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.benefit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.benefit-badge {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== Privacy ===== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}

.privacy-content h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.privacy-content h2:first-child { margin-top: 0; }

.privacy-content p,
.privacy-content li {
  color: var(--text-light);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Mobile Nav Overlay ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,67,50,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 8px 0;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero { min-height: 100vh; background-attachment: scroll; }
  .card-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .funnel-card { padding: 32px 24px; }
  .privacy-content { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { padding: 12px 28px; font-size: 0.9rem; }
}
