/* ===== CSS Variables ===== */
:root {
  /* Core colors - Green Forest Theme */
  --background: hsl(135, 25%, 43%);
  --foreground: hsl(0, 0%, 100%);
  --card: hsl(135, 20%, 38%);
  --card-foreground: hsl(0, 0%, 100%);
  --primary: hsl(138, 52%, 16%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(135, 20%, 50%);
  --muted: hsl(135, 15%, 35%);
  --muted-foreground: hsl(0, 0%, 85%);
  --accent: hsl(135, 30%, 55%);
  --border: hsl(135, 15%, 50%);
  --destructive: hsl(0, 84.2%, 60.2%);
  --radius: 0.75rem;
  
  /* Custom design tokens */
  --forest: hsl(138, 52%, 16%);
  --forest-glow: hsl(138, 45%, 22%);
  --sage: hsl(135, 25%, 43%);
  --cream: hsl(60, 20%, 95%);
  
  /* Shadows */
  --shadow-soft: 0 4px 30px hsla(0, 0%, 0%, 0.15);
  --shadow-glow: 0 0 40px hsla(138, 52%, 16%, 0.3);
  --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.app {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Typography ===== */
.font-display, h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Navigation ===== */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navigation.scrolled {
  background: hsla(135, 25%, 43%, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid hsla(135, 15%, 50%, 0.3);
  box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navigation.scrolled .nav-container {
  height: 70px;
}

.nav-logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo-btn:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.nav-logo-btn:active {
  transform: scale(0.98);
}

.nav-logo {
  height: 64px;
  width: auto;
  transition: height 0.3s ease;
}

.navigation.scrolled .nav-logo {
  height: 56px;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-logo-wrapper {
  margin-bottom: 1.5rem;
}

.hero-logo {
  height: 7rem;
  width: auto;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-logo {
    height: 9rem;
  }
}

@media (min-width: 1024px) {
  .hero-logo {
    height: 10rem;
  }
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-divider {
  width: 4rem;
  height: 2px;
  margin: 2.25rem auto;
  background: transparent;
}

.hero-title-block {
  display: block;
}

.hero-subtitle {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-cta {
  margin-top: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  background-color: var(--primary);
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background-color: hsla(138, 52%, 16%, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
}

.scroll-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--primary);
  animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== Features Section ===== */
.features-section {
  position: relative;
  padding: 6rem 0;
  background-color: #528960;
}

@media (min-width: 768px) {
  .features-section {
    padding: 4rem 0;
  }
}

.features-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

@media (min-width: 768px) {
  .features-header {
    margin-bottom: 6rem;
  }
}

.features-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .features-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .features-title {
    font-size: 3rem;
  }
}

.features-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-card {
  padding: 2rem;
  height: 100%;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid hsla(135, 15%, 50%, 0.5);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 12px 40px hsla(0, 0%, 0%, 0.15);
  transform: translateY(-6px);
  border-color: hsla(135, 15%, 50%, 0.7);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background-color: #143f1e;
  border-radius: 0.25rem;
  color: white;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #143e20;
}

.feature-description {
  line-height: 1.7;
  color: #171717;
}

.features-decoration-1,
.features-decoration-2 {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(3rem);
  pointer-events: none;
}

.features-decoration-1 {
  top: 25%;
  right: 0;
  background: hsla(138, 52%, 16%, 0.05);
}

.features-decoration-2 {
  bottom: 25%;
  left: 0;
  background: hsla(135, 30%, 55%, 0.05);
}

/* ===== Contact Section ===== */
.contact-section {
  position: relative;
  padding: 3rem 0;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), hsla(135, 15%, 35%, 0.5), var(--background));
  background-color: var(--accent);
}

.contact-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: hsla(138, 52%, 16%, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  pointer-events: none;
}

.contact-container {
  position: relative;
  z-index: 10;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--primary-foreground);
  background: linear-gradient(135deg, hsla(135, 25%, 35%, 0.9) 0%, hsla(135, 20%, 30%, 0.8) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-title {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .contact-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 3rem;
  }
}

.contact-subtitle {
  color: var(--muted-foreground);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
}

/* Glass Card */
.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, hsla(135, 25%, 35%, 0.9) 0%, hsla(135, 20%, 30%, 0.8) 100%);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.contact-form {
  padding: 2rem;
}

@media (min-width: 768px) {
  .contact-form {
    padding: 2.5rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.required {
  color: var(--destructive);
}

.form-group input,
.form-group select {
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid hsla(135, 15%, 50%, 0.5);
  background: hsla(135, 25%, 43%, 0.5);
  color: var(--foreground);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
  color: var(--muted-foreground);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(138, 52%, 16%, 0.2);
}

.form-group select option {
  background: var(--background);
}

.form-submit {
  padding-top: 1rem;
}

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: var(--primary);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
  width: 300px;
  height: 300px;
}

.btn-submit:hover {
  background-color: var(--forest-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 1rem;
  color: hsla(138, 52%, 16%, 0.6);
}

.privacy-notice p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Calendly Section */
.calendly-section {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid hsla(138, 52%, 16%, 0.2);
  background: linear-gradient(to bottom right, hsla(138, 52%, 16%, 0.05), var(--background), hsla(138, 52%, 16%, 0.1));
}

.calendly-decoration-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: hsla(138, 52%, 16%, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  transform: translate(50%, -50%);
}

.calendly-decoration-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6rem;
  height: 6rem;
  background: hsla(138, 52%, 16%, 0.15);
  border-radius: 50%;
  filter: blur(2rem);
  transform: translate(-50%, 50%);
}

.calendly-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid hsla(138, 52%, 16%, 0.1);
}

.calendly-icon-wrapper {
  position: relative;
}

.calendly-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, var(--primary), hsla(138, 52%, 16%, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 15px hsla(138, 52%, 16%, 0.25);
}

.calendly-status {
  position: absolute;
  bottom: -0.25rem;
  right: -0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendly-status::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: white;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.calendly-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
}

.calendly-availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.availability-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: #22c55e;
  border-radius: 50%;
}

.calendly-description {
  margin-top: 1rem;
  padding: 0 2rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.calendly-embed {
  position: relative;
  flex: 1;
  background: hsla(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.calendly-embed iframe {
  width: 100%;
  min-height: 500px;
}

/* ===== Footer ===== */
.footer {
  background-color: #4a4a4a;
  color: white;
}

.footer-container {
  padding: 3rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 3rem;
  width: auto;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.footer-section h3 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  transition: color 0.2s;
}

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

.footer-links p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ===== Animations ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll reveal animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Utility Classes ===== */
section {
  scroll-margin-top: 80px;
}