/* Shared Styles for All Pages */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Sage Green - Interactive Elements & Accents */
  --sage-primary: hsl(150, 20%, 50%);
  --sage-accent: hsl(150, 25%, 60%);
  --sage-dark: hsl(150, 20%, 35%);
  --sage-light: hsl(150, 15%, 85%);
  
  /* Deep Black - Headers & Premium Feel */
  --black-primary: hsl(0, 0%, 4%);
  --black-secondary: hsl(0, 0%, 10%);
  --text-black: hsl(0, 0%, 8%);
  
  /* Warm Tan - Backgrounds & Subtle Elements */
  --tan-primary: hsl(30, 45%, 65%);
  --tan-accent: hsl(30, 45%, 55%);
  --tan-dark: hsl(30, 25%, 30%);
  --tan-light: hsl(40, 33%, 92%);
  --tan-lighter: hsl(40, 33%, 97%);
  
  /* Text Colors */
  --text-dark: hsl(30, 25%, 20%);
  --text-muted: hsl(30, 25%, 50%);
  
  /* Borders */
  --omega-border: hsl(30, 25%, 85%);
  --border: hsl(30, 25%, 85%);
  --white: #ffffff;
  
  /* Modern additions */
  --gradient-1: linear-gradient(135deg, var(--sage-primary) 0%, var(--sage-accent) 100%);
  --gradient-2: linear-gradient(135deg, var(--tan-lighter) 0%, var(--white) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--tan-lighter);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

/* Navigation Header - Dark Style */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--black-primary) 0%, var(--black-secondary) 100%);
  box-shadow: none;
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
}

.logo-container {
  flex-shrink: 0;
}

.logo-container a {
  display: flex;
  align-items: center;
}

.logo {
  height: 3.6rem;
  width: auto;
}

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

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: white;
  position: relative;
  font-size: 20px;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.1);
}

.nav-links a.active {
  color: var(--sage-accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-accent);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .nav-cta {
    display: flex;
  }
}

.nav-cta a {
  padding: 12px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 20px;
}

.nav-cta .btn-outline {
  color: white;
}

.nav-cta .btn-outline:hover {
  opacity: 0.8;
}

.nav-cta .btn-primary {
  color: white;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--sage-primary) 0%, var(--sage-accent) 100%);
}

.nav-cta .btn-primary:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  background: rgba(255,255,255,0.1);
}

/* Common Button Styles */
.btn {
  padding: 16px 32px;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary {
  color: white;
  background: linear-gradient(135deg, var(--sage-primary) 0%, var(--sage-accent) 100%);
}

.btn-hero-primary:hover {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.btn-hero-secondary {
  color: var(--text-dark);
  background: white;
  border: 2px solid var(--omega-border);
}

.btn-hero-secondary:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* Page Header */
.page-header {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  padding-left: 24px;
  padding-right: 24px;
  overflow: hidden;
  background: var(--tan-lighter);
  text-align: center;
}

@media (min-width: 1024px) {
  .page-header {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.page-header::after {
  content: '';
  position: absolute;
  top: 5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: var(--sage-light);
  opacity: 0.4;
  filter: blur(64px);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--text-black);
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .page-header h1 {
    font-size: 6rem;
  }
}

.page-header p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .page-header p {
    font-size: 1.5rem;
  }
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 6rem 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage-primary) 0%, var(--sage-dark) 100%);
}

@media (min-width: 1024px) {
  .cta-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: white;
  border-radius: 50%;
  filter: blur(64px);
  z-index: 0;
  opacity: 0.2;
}

.cta-section h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  color: rgb(0,0,0);
  line-height: 1.1;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .cta-section h2 {
    font-size: 3.75rem;
  }
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
  color: rgba(255,255,255,0.9);
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .cta-section p {
    font-size: 1.5rem;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-section .btn-hero-primary {
  color: var(--sage-dark);
  background: white;
}

.cta-section .btn-hero-primary:hover {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.cta-section .btn-hero-secondary {
  color: white;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  font-weight: 900;
  backdrop-filter: blur(4px);
}

.cta-section .btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* Footer - shared marketing/product style */
footer {
  background: linear-gradient(135deg, var(--black-primary) 0%, var(--black-secondary) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 24px;
}

@media (min-width: 1024px) {
  .footer-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 3rem;
}

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

.footer-brand {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-brand img {
  height: 4rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin-bottom: 24px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column h3 {
  margin-bottom: 1rem;
  color: white;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

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

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .page-header {
    padding: 80px 20px 60px;
  }

  .cta-section {
    padding: 80px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }
}

