:root {
  /* Enhanced Color Palette with Beautiful Background Colors */
  --color-text-heading: #111827;
  --color-text-body: #374151;
  --color-text-subtle: #6B7280;
  --color-text-link: #374151;
  
  /* Beautiful gradient background options */
  --color-bg-primary: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --color-bg-secondary: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  --color-bg-tertiary: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --color-bg-accent: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  --color-bg-dark: #111827;
  
  /* Enhanced border colors */
  --color-border: #E5E7EB;
  --color-border-light: #F1F5F9;
  --color-border-medium: #CBD5E1;
  
  /* Accent colors with more depth */
  --color-accent-primary: #F97316; /* Vibrant Orange */
  --color-accent-primary-light: #FB923C;
  --color-accent-primary-dark: #EA580C;
  --color-accent-secondary: #3B82F6; /* Bright Blue */
  --color-accent-secondary-light: #60A5FA;
  --color-accent-secondary-dark: #2563EB;
  
  /* Gradient combinations */
  --color-gradient-orange: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  --color-gradient-blue: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  --color-gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  --color-gradient-teal: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  
  --color-gradient-blue-start: #3B82F6;
  --color-gradient-blue-end: #1D4ED8;

  /* Enhanced Typography */
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Modern Spacing & Sizing */
  --border-radius-small: 6px;
  --border-radius-medium: 12px;
  --border-radius-large: 16px;
  --border-radius-xl: 24px;
  --border-radius-pill: 9999px;
  --spacing-unit: 4px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-sans);
  color: var(--color-text-body);
  background: var(--color-bg-primary);
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  font-weight: var(--font-weight-regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-heading);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: var(--font-weight-semibold);
}

p {
    color: var(--color-text-body);
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--color-text-link);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a.btn:hover {
    color: white;
}

.text-subtle {
    color: var(--color-text-subtle);
}

.card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  min-height: 280px; /* Ensure consistent height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h4 {
  font-size: 1.5rem; /* Consistent heading size */
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-heading);
}

.card p {
  font-size: 1rem; /* Consistent paragraph size */
  line-height: 1.6;
  color: var(--color-text-body);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

/* Modern button styles with gradients */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-heading);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
  transform: translateY(-1px);
}

.pricing-card {
    border-width: 2px;
    border-color: var(--color-border);
    cursor: pointer;
    padding: 2.5rem 2rem;
    margin-top: 1.5rem;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.pricing-card:hover {
    border-color: var(--color-accent-secondary);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.pricing-card.selected-plan {
    border-color: var(--color-accent-secondary);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2);
}

.pricing-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-heading);
}

.pricing-card .text-subtle {
    color: var(--color-text-body);
    line-height: 1.6;
}

/* Fix button hover styles */
.btn-secondary {
    background-color: var(--color-accent-secondary);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Enhanced Animation classes */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
  50% { box-shadow: 0 0 40px rgba(249, 115, 22, 0.6); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#form-status {
    font-size: 1rem;
    font-weight: 500;
}

.text-gradient-orange {
    background: linear-gradient(to right, var(--color-accent-primary), #EF4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Section Styles with Beautiful Background Colors */
section {
  padding: 4rem 0;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: white;
  padding: 6rem 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.about-section {
  background: var(--color-bg-secondary);
}

.services-section {
  background: var(--color-bg-tertiary);
}

.testimonials-section {
  background: var(--color-bg-primary);
}

.target-market-section {
  background: var(--color-bg-tertiary);
}

.pain-points-section {
  background: var(--color-bg-primary);
}

.competitive-advantage-section {
  background: var(--color-bg-tertiary);
}

.blog-section {
  background: var(--color-bg-accent);
}

.contact-section {
  background: var(--color-bg-tertiary);
}

.footer-section {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: white;
}

/* Scroll animation styles */
.fade-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered animations for child elements */
.fade-in-section.is-visible > * {
  animation-duration: 0.6s;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
}

.fade-in-section.is-visible > *:nth-child(1) {
  animation-name: fadeInUp;
  animation-delay: 0.1s;
}

.fade-in-section.is-visible > *:nth-child(2) {
  animation-name: fadeInUp;
  animation-delay: 0.2s;
}

.fade-in-section.is-visible > *:nth-child(3) {
  animation-name: fadeInUp;
  animation-delay: 0.3s;
}

/* Logo styling to replace inline styles */
.logo-container {
  width: 180px;
  height: 140px;
}

.logo-container img {
  height: 8rem;
  width: auto;
  border-radius: 9999px;
}

/* Image styling to replace inline styles */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.about-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0.5rem;
}

/* Responsive text styling */
.hero-subtitle {
  max-width: 48rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: rgb(203, 213, 225);
  font-weight: 400;
}

/* Quote styling */
.quote-container {
  border-left-width: 4px;
  border-left-color: var(--color-accent-primary);
  padding-left: 1.5rem;
  color: rgb(9, 9, 11);
}

.quote-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgb(17, 24, 39);
  margin-bottom: 0.5rem;
}

.quote-text {
  color: rgb(55, 65, 81);
}

/* Location styling */
.location-highlight {
  font-weight: 600;
}

.fade-in-section.is-visible > *:nth-child(4) {
  animation-name: fadeInUp;
  animation-delay: 0.4s;
}

.fade-in-section.is-visible > *:nth-child(5) {
  animation-name: fadeInUp;
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
