/*
Theme Name: Ethereal Solutions
Description: Professional WordPress theme for Google Merchant Center approval services
Version: 1.0
Author: Ethereal Solutions
*/

/* Google Fonts loaded via preloaded stylesheet in header for better performance */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

p {
  line-height: 1.7;
}

/* Color Variables */
:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

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

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

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

@keyframes pulse-slow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

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

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.6); }
}

/* Animation Classes */
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 8s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 12s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse-slow 4s ease-in-out infinite; }
.animate-fade-in-up { animation: fade-in-up 1s ease-out; }
.animate-gradient {
  background-size: 200% 200%;
  animation: gradient 3s ease infinite;
}
.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
.animate-glow { animation: glow 2s ease-in-out infinite alternate; }

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--emerald-600), var(--green-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-hero {
  background: linear-gradient(135deg, var(--gray-900), var(--emerald-800), var(--green-900));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: linear-gradient(135deg, var(--emerald-500), var(--green-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-500), var(--green-600));
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--emerald-600), var(--green-700));
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  border: 2px solid var(--emerald-500);
  color: var(--emerald-600);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  background: white;
}

.btn-secondary:hover {
  background: var(--emerald-50);
  border-color: var(--emerald-600);
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
  color: var(--emerald-600);
  text-decoration: none;
}

.card-professional {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-radius: 1rem;
  border: 1px solid var(--emerald-100);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-professional:hover {
  border-color: var(--emerald-200);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.shadow-elegant {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.shadow-elegant-lg {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.shadow-emerald {
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15), 0 4px 12px rgba(16, 185, 129, 0.1);
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 1.25rem 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.125);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.site-logo img {
  height: 2.5rem;
  width: auto;
  transition: transform 0.3s ease;
}

.site-logo:hover img {
  transform: scale(1.05);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.current {
  color: var(--emerald-600);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--emerald-400), var(--green-500));
  border-radius: 1px;
  transition: width 0.3s ease;
  width: 0;
}

.main-navigation a:hover::after,
.main-navigation a.current::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.75rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  background: var(--emerald-50);
  transform: scale(1.05);
}

.mobile-menu-toggle:focus {
  outline: 2px solid var(--emerald-500);
  outline-offset: 2px;
}

/* Mobile Menu Styles */
#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

#mobile-menu .mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

#mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  background: rgba(16, 185, 129, 0.05);
}

.mobile-menu-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald-600);
}

.mobile-menu-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  color: var(--gray-600);
}

.mobile-menu-close:hover {
  background: var(--emerald-50);
  color: var(--emerald-600);
  transform: scale(1.1);
}

.mobile-menu-nav {
  padding: 2rem 1.5rem;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  transition: all 0.2s ease;
  position: relative;
}

.mobile-menu-nav a:last-child {
  border-bottom: none;
}

.mobile-menu-nav a:hover {
  color: var(--emerald-600);
  padding-left: 1rem;
}

.mobile-menu-nav a::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(135deg, var(--emerald-500), var(--green-600));
  border-radius: 2px;
  transition: height 0.2s ease;
}

.mobile-menu-nav a:hover::before {
  height: 60%;
}

.mobile-menu-cta {
  padding: 0 1.5rem 2rem;
}

.mobile-menu-cta .btn-primary {
  width: 100%;
  text-align: center;
  display: block;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
}

.mobile-menu-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

/* Mobile Menu Animation Classes */
.mobile-menu-nav a {
  opacity: 0;
  transform: translateX(20px);
  animation: slideInLeft 0.3s ease forwards;
}

.mobile-menu-nav a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-nav a:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-nav a:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-nav a:nth-child(4) { animation-delay: 0.25s; }

.mobile-menu-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.3s ease forwards;
  animation-delay: 0.3s;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Menu Responsive Improvements */
@media (max-width: 480px) {
  #mobile-menu .mobile-menu-content {
    width: 100%;
    border-left: none;
  }
  
  .mobile-menu-nav a {
    padding: 1.25rem 0;
    font-size: 1.1rem;
  }
  
  .mobile-menu-header {
    padding: 1.25rem 1.5rem;
  }
  
  .mobile-menu-cta .btn-primary {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .mobile-menu-nav {
    padding: 1.5rem 1rem;
  }
  
  .mobile-menu-header {
    padding: 1rem;
  }
  
  .mobile-menu-cta {
    padding: 0 1rem 1.5rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  #mobile-menu,
  #mobile-menu .mobile-menu-content,
  .mobile-menu-nav a,
  .mobile-menu-cta,
  .mobile-menu-toggle {
    transition: none;
    animation: none !important;
  }
  
  .mobile-menu-nav a {
    opacity: 1;
    transform: none;
  }
  
  .mobile-menu-cta {
    opacity: 1;
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  #mobile-menu .mobile-menu-content {
    background: rgba(255, 255, 255, 1);
    border-left: 2px solid var(--emerald-600);
  }
  
  .mobile-menu-nav a {
    border-bottom: 1px solid var(--gray-400);
  }
  
  .mobile-menu-nav a:hover {
    background: var(--emerald-50);
  }
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

.hero-text {
  animation: fade-in-up 1s ease-out;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
    line-height: 1.15;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 32rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
}

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

.hero-stat {
  text-align: center;
  transition: transform 0.3s ease;
}

.hero-stat:hover {
  transform: scale(1.1);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 0.25rem;
}

.hero-image {
  position: relative;
}

@media (max-width: 1024px) {
  .hero-image {
    margin-top: 2rem;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    line-height: 1.2;
  }
}

.section-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
}

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

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-12px);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(6deg);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: var(--emerald-700);
}

.feature-description {
  color: var(--gray-600);
  line-height: 1.6;
  font-weight: 300;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-description {
  color: var(--gray-700);
}

/* FAQ Accordion */
.faq-container {
  max-width: 64rem;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  padding: 2rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.025em;
}

.faq-question:hover {
  background: rgba(249, 250, 251, 0.5);
}

.faq-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: linear-gradient(135deg, var(--emerald-400), var(--green-500));
  transform: rotate(180deg);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15), 0 4px 12px rgba(16, 185, 129, 0.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 24rem;
  opacity: 1;
}

.faq-answer-content {
  padding: 0 2rem 2rem;
  border-top: 1px solid var(--gray-100);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  margin-left: 2.5rem;
}

.faq-answer p {
  color: var(--gray-700);
  line-height: 1.6;
  font-weight: 300;
  font-size: 1.125rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--gray-800), var(--gray-900), #000000);
  color: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.footer-content {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 3rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo img {
  height: 3rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: var(--gray-300);
  line-height: 1.6;
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(128, 128, 128, 0.5);
  backdrop-filter: blur(16px);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-600);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
  background: var(--emerald-500);
  border-color: var(--emerald-400);
  transform: scale(1.1);
  color: white;
}

.footer-section h3 {
  color: var(--emerald-300);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-weight: 300;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--emerald-300);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding: 2.5rem 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  color: var(--gray-400);
  font-weight: 300;
}

.scroll-top {
  background: linear-gradient(135deg, var(--emerald-500), var(--green-600));
  color: white;
  padding: 1rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  animation: glow 2s ease-in-out infinite alternate;
}

.scroll-top:hover {
  background: linear-gradient(135deg, var(--emerald-600), var(--green-700));
  transform: scale(1.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  .section-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .animate-float,
  .animate-float-delayed,
  .animate-float-slow {
    animation-duration: 3s;
  }
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Performance and consistency */
img { max-width: 100%; height: auto; }

/* Static Page (page.php) Enhancements */
.page-hero {
  background: linear-gradient(135deg, var(--emerald-50), #ffffff);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.page-meta {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.page-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

@media (max-width: 1024px) {
  .page-grid { grid-template-columns: 1fr; }
}

.page-toc {
  position: sticky;
  top: 6rem;
  align-self: start;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.page-toc h3 {
  font-size: 1rem;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

.page-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-toc a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.95rem;
}

.page-toc a:hover { color: var(--emerald-600); }

/* Prose styles for page content */
.prose {
  color: var(--gray-700);
  line-height: 1.8;
}

.prose h2 { font-size: 1.75rem; color: var(--gray-900); margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 1.25rem; color: var(--gray-900); margin: 1.5rem 0 0.5rem; }
.prose p { margin: 1rem 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 1rem 0; }
.prose li { margin: 0.25rem 0; }
.prose a { color: var(--emerald-600); text-decoration: underline; }
.prose blockquote {
  border-left: 4px solid var(--emerald-300);
  background: var(--emerald-50);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  color: var(--gray-700);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; }
.prose th, .prose td { border: 1px solid var(--gray-200); padding: 0.75rem; text-align: left; }
.prose code { background: var(--gray-100); padding: 0.15rem 0.35rem; border-radius: 0.25rem; }
.prose pre { background: var(--gray-900); color: white; padding: 1rem; border-radius: 0.5rem; overflow: auto; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--emerald-500), var(--green-600));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--green-600), var(--emerald-700));
}

/* No Animations Class */
.no-animations * {
  animation: none !important;
  transition: none !important;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(16, 185, 129, 0.5);
  outline-offset: 2px;
}

/* Loading States */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Floating Elements */
.floating-elements {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
}

.floating-circle-1 {
  top: 25%;
  left: 2.5rem;
  width: 1rem;
  height: 1rem;
  background: rgba(52, 211, 153, 0.3);
  animation: float 6s ease-in-out infinite;
}

.floating-circle-2 {
  top: 33.333333%;
  right: 5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(34, 197, 94, 0.2);
  animation: float-delayed 8s ease-in-out infinite;
}

.floating-circle-3 {
  bottom: 25%;
  left: 25%;
  width: 0.75rem;
  height: 0.75rem;
  background: rgba(16, 185, 129, 0.4);
  animation: float-slow 12s ease-in-out infinite;
}

.floating-circle-4 {
  bottom: 33.333333%;
  right: 2.5rem;
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(22, 163, 74, 0.3);
  animation: float 6s ease-in-out infinite;
}

.floating-circle-5 {
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(16, 185, 129, 0.5);
  animation: float-delayed 8s ease-in-out infinite;
}

.floating-square {
  position: absolute;
  border: 2px solid;
}

.floating-square-1 {
  top: 5rem;
  right: 25%;
  width: 2rem;
  height: 2rem;
  border-color: rgba(52, 211, 153, 0.2);
  transform: rotate(45deg);
  animation: float-slow 12s ease-in-out infinite;
}

.floating-square-2 {
  bottom: 5rem;
  left: 33.333333%;
  width: 1.5rem;
  height: 1.5rem;
  border-color: rgba(34, 197, 94, 0.3);
  transform: rotate(12deg);
  animation: float 6s ease-in-out infinite;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.floating-orb-1 {
  top: 50%;
  left: 5rem;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(34, 197, 94, 0.05));
  animation: pulse-slow 4s ease-in-out infinite;
}

.floating-orb-2 {
  bottom: 25%;
  right: 33.333333%;
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(52, 211, 153, 0.05));
  animation: pulse-slow 4s ease-in-out infinite;
  animation-delay: 1s;
}