/* 🎨 CueMeIn ASD-friendly Color System & Typography */
/* Figma Stitch Design inspired green theme */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;700;900&family=Noto+Sans:wght@400;500;700;900&display=swap');

:root {
  --header-height: 80px;
}

/* CLEAN SLATE - Remove all complex blog CSS */
/* All blog styling will use default spacing + body padding-top: 80px */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #131711;
  overflow-x: hidden;
  background-color: #ffffff;
  /* SIMPLE SOLUTION - just push everything down 80px */
  padding-top: 80px;
}

/* Smooth scrolling with header compensation - Prevent auto scroll */
html {
  scroll-padding-top: 80px;
  scroll-behavior: auto; /* Disable smooth scrolling that might cause auto-scroll */
  overflow-x: hidden;
}

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

/* Header styles - Enhanced visual boundary */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-bottom: 2px solid #e2e8f0; /* Strong visual boundary */
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  height: 80px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: #6f8764;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
  color: #131711;
}

.logo-image {
  height: 45px;
  width: auto;
  transition: all 0.3s ease;
  object-fit: contain;
  /* Clean transparent background, no effects */
  filter: none;
  background: transparent;
  border: none;
  box-shadow: none;
}

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

.logo-text {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  background: linear-gradient(135deg, #6f8764 0%, #131711 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Hero section - Compensate for body padding */
.hero {
  background: linear-gradient(135deg, #6f8764 0%, #131711 100%);
  color: white;
  padding: 160px 0 80px;
  min-height: 100vh;
  margin-top: -80px; /* Negative margin to compensate body padding-top */
  padding-top: 240px; /* 160px + 80px compensation */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
  z-index: 2;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-animation {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  filter: drop-shadow(0 8px 25px rgba(0,0,0,0.15));
}

/* Coming Soon Badge */
.coming-soon {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Button styles */
.button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ffffff;
  color: #6f8764;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-family: 'Work Sans', sans-serif;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.button-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.button-outline:hover {
  background-color: white;
  color: #6f8764;
}

/* Section styles - Landing page sections compensation */
section {
  padding: 80px 0;
}

/* Landing page sections - Variable-based header compensation */
.hero + section:first-of-type {
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(80px + var(--header-height)); /* Original + header compensation via variables */
}

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

.section-header h2 {
  font-size: 36px;
  color: #131711;
  margin-bottom: 16px;
  font-weight: 700;
  font-family: 'Work Sans', sans-serif;
}

.section-header p {
  font-size: 18px;
  color: #6f8764;
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Noto Sans', sans-serif;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(74, 144, 226, 0.15);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1e293b;
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Skill paths grid */
.skill-paths {
  background-color: #f8fafc;
}

.skill-paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.skill-path-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.skill-path-card:hover {
  transform: translateY(-5px);
}

.skill-path-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #4A90E2;
  margin-bottom: 20px;
}

.skills-list {
  list-style: none;
}

.skills-list li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  color: #475569;
}

.skills-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4A90E2;
  font-weight: bold;
}

/* Stats section */
.stats {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 18px;
  opacity: 0.9;
}

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

.testimonial-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 60px;
  color: #4A90E2;
  font-weight: bold;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
  color: #475569;
  line-height: 1.7;
}

.testimonial-author {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.testimonial-card h4 {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
}

.testimonial-role {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 10px;
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 16px;
}

/* CTA section */
.cta {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* Enhanced 3D Communication Bubbles Styles */
.communication-3d-container {
  position: relative;
  width: 400px;
  height: 400px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(242, 244, 240, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 50%;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  cursor: pointer;
  filter: drop-shadow(0 12px 40px rgba(111, 135, 100, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.communication-3d-container:hover {
  transform: scale(1.05) translateY(-5px);
  filter: drop-shadow(0 20px 60px rgba(111, 135, 100, 0.3));
  background: linear-gradient(135deg, rgba(242, 244, 240, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.communication-3d-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.communication-3d-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #6f8764;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(111, 135, 100, 0.2);
  border-top: 4px solid #6f8764;
  border-radius: 50%;
  animation: premium-spin 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  margin: 0 auto 15px;
}

@keyframes premium-spin {
  0% { 
    transform: rotate(0deg);
    border-top-color: #6f8764;
  }
  25% { 
    border-top-color: #a0845c;
  }
  50% { 
    transform: rotate(180deg);
    border-top-color: #6f8764;
  }
  75% { 
    border-top-color: #8b6f47;
  }
  100% { 
    transform: rotate(360deg);
    border-top-color: #6f8764;
  }
}

.communication-3d-loading p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #6f8764;
  font-family: 'Work Sans', sans-serif;
}

/* Hide loading when 3D model is loaded */
.model-loaded .communication-3d-loading {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: all 0.5s ease;
  pointer-events: none;
}

/* Enhanced quality indicator */
.communication-3d-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #6f8764, #a0845c, #8b6f47, #131711);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.communication-3d-container:hover::before {
  opacity: 0.3;
  animation: rainbow-border 3s linear infinite;
}

@keyframes rainbow-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 18px;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .feature-card, .skill-path-card, .testimonial-card {
    padding: 25px 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
  }

  .stat-item h3 {
    font-size: 36px;
  }

  /* 3D Model mobile optimization */
  .communication-3d-container {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* 🚀 MODERN BLOG UI SYSTEM */
/* Enhanced header handling and modern design */

:root {
  /* Enhanced Color System */
  --color-primary: #6f8764;
  --color-primary-dark: #5a6e52;
  --color-primary-light: #8ba37c;
  --color-primary-ultra-light: rgba(111, 135, 100, 0.05);
  
  --color-gray-900: #1a202c;
  --color-gray-800: #2d3748;
  --color-gray-700: #4a5568;
  --color-gray-600: #718096;
  --color-gray-500: #a0aec0;
  --color-gray-300: #e2e8f0;
  --color-gray-200: #edf2f7;
  --color-gray-100: #f7fafc;
  
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --header-height: 80px;
}

/* Modern Blog Layout - Direct pixel values for reliability */
.post-main,
.blog-main {
  min-height: calc(100vh - 80px);
  background: linear-gradient(135deg, var(--color-gray-100) 0%, #ffffff 50%);
  position: relative;
  /* Fixed header compensation: 80px header + 40px breathing room */
  padding-top: 120px;
}

/* Enhanced Blog Header Design */
.blog-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  text-align: center;
  padding: var(--space-3xl) var(--space-md) var(--space-2xl);
  margin: 0 0 var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.blog-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  z-index: 0;
}

.blog-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.blog-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
  padding: 0 var(--space-md);
}

.post-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-gray-200);
  position: relative;
}

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

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

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

.post-card-content {
  padding: var(--space-xl);
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.post-meta time {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--color-gray-100);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
}

.post-categories {
  display: flex;
  gap: var(--space-sm);
}

.post-categories .category {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.post-title {
  margin-bottom: var(--space-lg);
}

.post-title a {
  color: var(--color-gray-900);
  text-decoration: none;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: block;
}

.post-title a:hover {
  color: var(--color-primary);
}

.post-summary {
  color: var(--color-gray-700);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
  font-weight: 400;
}

.post-tags {
  margin-bottom: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.post-tags .tag {
  background: var(--color-primary-ultra-light);
  color: var(--color-primary-dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--color-primary-light);
  transition: all 0.2s ease;
}

.post-tags .tag:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.read-more {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all 0.3s ease;
  padding: var(--space-md) 0;
}

.read-more:hover {
  color: var(--color-primary-dark);
  transform: translateX(4px);
}

.read-more::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(4px);
}

.no-posts {
  text-align: center;
  padding: 4rem 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  color: #7f8c8d;
}

.no-posts h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.no-posts p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Blog Post (Single) Page Styles */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.post-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ecf0f1;
}

/* Single page specific post-title styling */
.post-main .post-title {
  font-size: 2.2rem;
  color: #2c3e50;
  line-height: 1.3;
  margin: 1rem 0;
}

/* Single page post-summary */
.post-main .post-summary {
  font-size: 1.1rem;
  color: #7f8c8d;
  font-style: italic;
  margin: 1rem 0;
}

/* Single page post-tags styling */
.post-main .post-tags {
  margin: 1rem 0 0 0;
}

.post-content {
  line-height: 1.7;
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.post-content h2 {
  color: #2c3e50;
  margin: 2rem 0 1rem 0;
  font-size: 1.6rem;
}

.post-content h3 {
  color: #34495e;
  margin: 1.5rem 0 0.8rem 0;
  font-size: 1.3rem;
}

.post-content p {
  margin-bottom: 1.2rem;
}

.post-content ul, .post-content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid #3498db;
  background: #f8f9fa;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}

.post-content code {
  background: #f1f2f6;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.9rem;
}

.post-footer {
  margin-top: 3rem;
  border-top: 1px solid #ecf0f1;
  padding-top: 2rem;
}

.post-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.post-cta h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.post-cta p {
  color: white;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: #ffffff;
  color: #667eea;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-link {
  display: block;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nav-link:hover {
  background: #e9ecef;
}

.nav-label {
  display: block;
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 0.5rem;
}

.nav-title {
  display: block;
  color: #2c3e50;
  font-weight: 500;
}

.nav-prev {
  text-align: left;
}

.nav-next {
  text-align: right;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  /* Header offset is handled globally via body padding-top */
  
  .blog-header h1 {
    font-size: 2rem;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .post-title {
    font-size: 1.8rem;
  }
  
  .post-content {
    font-size: 1rem;
  }
  
  .post-navigation {
    grid-template-columns: 1fr;
  }
  
  .post-cta {
    padding: 1.5rem;
  }
}

/* 🚀 BETA FORM STYLES (moved from index.html inline) */
.beta-signup {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 0;
}

.beta-form {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.char-counter {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: right;
  margin-top: 0.25rem;
}

.beta-submit-btn {
  width: 100% !important;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8) !important;
  color: white !important;
  border: none !important;
  padding: 1rem 2rem !important;
  border-radius: 8px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.beta-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-message {
  padding: 1rem;
  margin-top: 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: #d1fae5;
  border: 1px solid #34d399;
  color: #065f46;
}

.form-message.error {
  background-color: #fee2e2;
  border: 1px solid #f87171;
  color: #991b1b;
}

.form-message.info {
  background-color: #dbeafe;
  border: 1px solid #60a5fa;
  color: #1e40af;
}

.field-error {
  display: none;
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.info-message {
  background: #f0f9ff;
  border: 1px solid #0ea5e9;
  color: #0c4a6e;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
}

/* 🎉 THANK YOU PAGE STYLES (moved from thank-you.html inline) */
.thank-you-page {
  padding: calc(80px + var(--header-height)) 0 80px; /* Header compensation + base padding */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  min-height: 70vh;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.thank-you-page .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.next-steps, .follow-journey {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
}

.steps-list, .social-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.steps-list li, .social-list li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

.brand-message {
  margin: 3rem 0;
}

.tagline {
  font-style: italic;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.back-link {
  margin-top: 2rem;
}

.thank-you-page .button {
  display: inline-block;
  padding: 12px 24px;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s;
}

.thank-you-page .button:hover {
  transform: translateY(-2px);
}

/* 📱 ENHANCED MOBILE RESPONSIVE SYSTEM */
/* Tablet landscape (1024px and below) */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }
}

/* Tablet portrait (768px and below) */
@media (max-width: 768px) {
  .hero {
    padding-top: calc(120px + var(--header-height)); /* Reduced from 160px */
    padding-bottom: 60px;
  }
  
  .hero-content {
    gap: 2rem; /* Reduced gap */
  }
  
  .thank-you-header h1 {
    font-size: 2rem;
  }
  
  .next-steps, .follow-journey {
    padding: 1.5rem;
  }
  
  .thank-you-page {
    padding: calc(60px + var(--header-height)) 0 50px;
  }
}

/* Mobile landscape (640px and below) */
@media (max-width: 640px) {
  .hero {
    padding-top: calc(100px + var(--header-height)); /* Further reduced */
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.1;
  }
  
  .section-header h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  
  .post-card {
    margin: 0 0.5rem;
  }
  
  .beta-form {
    margin: 0 1rem;
    padding: 1.5rem;
  }
}

/* Mobile portrait (480px and below) */
@media (max-width: 480px) {
  :root {
    --header-height: 70px; /* Slightly smaller header on tiny screens */
  }
  
  .nav-container {
    height: 70px;
    padding: 0 1rem;
  }
  
  .hero {
    padding: calc(80px + var(--header-height)) 1rem 50px;
  }
  
  .hero-text h1 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
    margin-bottom: 1rem;
  }
  
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Very small screens (375px and below) */
@media (max-width: 375px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: calc(70px + var(--header-height)) 0.5rem 40px;
  }
  
  .hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }
  
  .beta-form {
    padding: 1rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
  }
  
  .thank-you-header h1 {
    font-size: 1.5rem;
  }
  
  .next-steps, .follow-journey {
    padding: 1rem;
    margin: 1rem 0;
  }
}

/* CLEAN DESIGN - ASD-friendly blog layout with clear boundaries */
/* Post header styling with clean visual separation */
.post-header {
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 30px 0;
  margin-top: 0;
}

.post-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  padding: 0;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.post-meta time {
  background: #f0f0f0;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 500;
}

.post-title {
  margin-top: 16px;
  margin-bottom: 12px;
  padding-top: 0;
}

.post-main {
  padding-top: 20px;
}

/* Remove previous complex styling */
.post-header {
  margin-top: 0;
  padding-top: 30px;
  padding-bottom: 30px;
}

.post-categories {
  display: flex;
  gap: 8px;
  align-items: center;
}

.post-categories .category {
  background: #6f8764;
  color: white;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-tags {
  margin-top: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.post-tags .tag {
  background: #e2e8f0;
  color: #4a5568;
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 400;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .post-header {
    padding: 20px 0;
  }
  
  .post-meta {
    font-size: 0.9rem;
    gap: 12px;
  }
  
  .post-meta time {
    padding: 3px 8px;
    font-size: 0.85rem;
  }
  
  .post-categories .category {
    font-size: 0.75rem;
    padding: 1px 6px;
  }
}
