/*
Theme Name: DemandNow.ai Theme with Lighthouse improvements
Description: A modern, responsive landing page theme for DemandNow.ai - AI-Powered Growth Marketing with Lighthouse improvements
Author: DemandNow.ai
Version: 4.5
License: GPL v2 or later
Text Domain: demandnow-theme
*/

/* Use Google Fonts Poppins with font-display swap */

/* Global focus styles for accessibility & h1 font fix */
article h1, section h1, nav h1, aside h1 { 
  font-size: 2em !important; 
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

/* Ensure hero h1 maintains proper sizing */
.hero h1 {
  font-size: clamp(40px, 4.5vw, 60px) !important;
}

.blog-hero h1 {
  font-size: clamp(32px, 4vw, 48px) !important;
}
*:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

/* Screen reader text - visually hidden but accessible */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  top: 5px;
  left: 5px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 15px 23px;
  clip: auto;
  background-color: var(--white);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
--white: #FFFFFF;
--black: #0F0F0F;
--gray-50: #FAFAFA;
--gray-100: #F5F5F5;
--gray-200: #E5E5E5;
--gray-300: #D4D4D4;
--gray-400: #A3A3A3;
--gray-500: #737373;
--gray-600: #525252;
--gray-700: #404040;
--gray-800: #262626;
--gray-900: #171717;
/* Brand Colors */
--primary: #14B8A6;
--primary-dark: #0D9488;
--secondary: #1E3A5F;
--secondary-dark: #152A45;
--accent: #06B6D4;
--accent-dark: #0891B2;
--text-primary: #1E3A5F;
/* Additional colors */
--blue-600: #2563EB;
--emerald-500: #10B981;
--orange-500: #F97316;
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
/* Spacing Scale (8px base) */
--space-xs: 8px;
--space-sm: 16px;
--space-md: 24px;
--space-lg: 32px;
--space-xl: 48px;
--space-2xl: 64px;
--space-3xl: 80px;
--space-4xl: 100px;
}

/* ==========================================================================
   Premium Animation Keyframes
   ========================================================================== */

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(20, 184, 166, 0.3); }
  50% { box-shadow: 0 0 30px rgba(20, 184, 166, 0.5); }
}

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

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

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

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

/* Scroll-triggered animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered animation delays for grids */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .hero-badge,
  .popular-badge {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.card-base {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  transition: all 0.2s ease;
}

.card-base:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-300);
}

body {
font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.6;
color: var(--text-primary);
background: var(--white);
-webkit-font-smoothing: antialiased;
}

/* Header */
header {
position: fixed;
top: 0;
width: 100%;
z-index: 1002;
padding: 16px 0;
background: transparent;
transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
border-bottom: 1px solid transparent;
}

/* Scrolled state - solid navbar */
header.header-scrolled {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(12px);
border-bottom-color: var(--gray-200);
}

nav {
max-width: 1400px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 32px;
position: relative;
}

.logo {
display: flex;
align-items: center;
font-size: 24px;
font-weight: 700;
color: var(--secondary);
text-decoration: none;
letter-spacing: -0.025em;
}

.logo-icon {
width: 32px;
height: 32px;
margin-right: 8px;
background: var(--secondary);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
}

header .nav-links {
display: flex;
gap: 24px;
list-style: none;
}

header .nav-links a {
color: var(--gray-700);
text-decoration: none;
font-weight: 500;
font-size: 14px;
transition: color 0.2s ease;
}

header .nav-links a:hover, header .nav-links a*:focus-visible {
color: var(--secondary);
}

.cta-button,
header .cta-button,
a.cta-button {
background: #14B8A6 !important;
color: #fff !important;
padding: 12px 24px;
border-radius: 10px;
text-decoration: none;
font-weight: 600;
font-size: 14px;
transition: all 0.3s ease;
border: none;
cursor: pointer;
box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.cta-button:hover,
header .cta-button:hover {
background: #0D9488 !important;
transform: translateY(-2px) scale(1.02);
box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

/* Hide CTA button by default on front page, show after scrolling past hero */
header .cta-button {
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease;
}

header.header-show-cta .cta-button {
opacity: 1;
pointer-events: auto;
}

/* Hero Section */
.hero {
padding: 120px 0 80px;
text-align: center;
background: var(--white);
position: relative;
overflow: hidden;
}

/* Premium gradient orbs */
.hero::before {
content: '';
position: absolute;
top: -100px;
right: -150px;
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
}

.hero::after {
content: '';
position: absolute;
bottom: -50px;
left: -100px;
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
}

.hero-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 32px;
position: relative;
z-index: 1;
}

.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 16px;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
border-radius: 20px;
color: var(--white);
font-size: 12px;
font-weight: 600;
margin-bottom: 24px;
animation: pulse-glow 3s ease-in-out infinite;
box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.hero h1 {
font-size: clamp(40px, 4.5vw, 60px);
font-weight: 800;
line-height: 1.1;
margin-bottom: 24px;
color: var(--secondary);
letter-spacing: -0.025em;
max-width: 900px;
margin-left: auto;
margin-right: auto;
}

.hero-subtitle {
font-size: 18px;
color: var(--gray-600);
margin-bottom: 40px;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
line-height: 1.6;
}

.hero-cta-group {
display: flex;
gap: 16px;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}

.hero-cta-primary {
background: var(--primary);
color: var(--white);
padding: 16px 32px;
border-radius: 10px;
text-decoration: none;
font-weight: 600;
font-size: 16px;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.hero-cta-primary:hover {
background: var(--primary-dark);
transform: translateY(-2px) scale(1.02);
box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

.hero-cta-secondary {
background: var(--white);
color: var(--gray-700);
padding: 16px 32px;
border: 1px solid var(--gray-300);
border-radius: 10px;
text-decoration: none;
font-weight: 600;
font-size: 16px;
transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
border-color: var(--secondary);
background: var(--gray-50);
color: var(--secondary);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(30, 58, 95, 0.15);
}

/* Hero Trust Indicator */
.hero-trust {
margin-top: 48px;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
color: var(--gray-500);
font-size: 14px;
font-weight: 500;
}

.hero-trust-avatars {
display: flex;
align-items: center;
}

.hero-trust-avatar {
width: 32px;
height: 32px;
border-radius: 50%;
border: 2px solid var(--white);
margin-left: -8px;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
font-size: 11px;
font-weight: 700;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-trust-avatar:first-child {
margin-left: 0;
}

.hero-trust-stars {
color: var(--orange-500);
font-size: 14px;
letter-spacing: 1px;
}

/* Stats Section */
.stats-section {
padding: 80px 0;
background: var(--gray-50);
}

.stats-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 32px;
}

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

.stat-card {
background: var(--white);
padding: 40px 24px;
border-radius: 16px;
text-align: center;
border: 1px solid var(--gray-200);
transition: all 0.3s ease;
}

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

/* Stat Icon Styling */
.stat-icon {
width: 56px;
height: 56px;
margin: 0 auto 20px;
background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
color: var(--white);
transform: scale(1.05);
}

.stat-number {
font-size: 48px;
font-weight: 800;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 8px;
letter-spacing: -0.025em;
}

.stat-label {
font-size: 16px;
font-weight: 600;
color: var(--secondary);
margin-bottom: 4px;
}

.stat-description {
color: var(--gray-500);
font-size: 14px;
}

/* Services Section */
.services {
padding: 100px 0;
background: var(--white);
}

.services-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 32px;
}

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

.section-badge {
display: inline-block;
padding: 4px 12px;
background: var(--primary);
border-radius: 20px;
color: var(--white);
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 16px;
}

/* Universal section title styling - consistent across all sections */
.section-header h2 {
font-size: clamp(32px, 3.5vw, 44px);
font-weight: 800;
margin-bottom: 16px;
color: var(--secondary);
letter-spacing: -0.025em;
line-height: 1.2;
}

/* Universal subsection title styling - consistent h3 across all sections */
.service-card h3 {
font-size: 20px;
font-weight: 700;
margin-bottom: 12px;
color: var(--secondary);
letter-spacing: -0.025em;
line-height: 1.3;
}

/* Universal stat and feature title styling - consistent h3 across sections */
.stat-content h3,
.traffic-stat-item h3 {
font-size: 18px;
font-weight: 700;
color: var(--secondary);
margin-bottom: 8px;
letter-spacing: -0.025em;
line-height: 1.3;
}

/* Keep h4 styling for success messages and other edge cases */
.stat-content h4,
.traffic-stat-item h4 {
font-size: 16px;
font-weight: 700;
color: var(--secondary);
margin-bottom: 8px;
letter-spacing: -0.025em;
line-height: 1.3;
}



.service-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
gap: 32px;
}

.service-card {
background: var(--white);
padding: 40px 32px;
border-radius: 16px;
border: 1px solid var(--gray-200);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

/* Top border gradient effect */
.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
transform: scaleX(0);
transition: transform 0.3s ease;
}

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

.service-card:hover {
transform: translateY(-6px) scale(1.01);
box-shadow: 0 20px 40px rgba(30, 58, 95, 0.12);
border-color: var(--gray-300);
}

/* Service Icon Styling */
.service-icon {
width: 64px;
height: 64px;
margin-bottom: 24px;
background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
transition: all 0.3s ease;
}

.service-card:hover .service-icon {
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
color: var(--white);
transform: scale(1.05) rotate(-3deg);
box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

/* Service card h3 now uses universal styling above */

.service-card > p {
font-size: 15px;
color: var(--gray-600);
line-height: 1.6;
margin-bottom: 20px;
}

.service-features {
list-style: none;
}

.service-features li {
color: var(--gray-600);
margin-bottom: 8px;
position: relative;
padding-left: 20px;
font-size: 14px;
}

.service-features li:before {
content: '✓';
color: var(--emerald-500);
font-weight: 600;
position: absolute;
left: 0;
}

/* LLM Traffic Section */
.llm-traffic-section {
padding: 100px 0;
background: var(--gray-50);
}

.llm-traffic-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 32px;
}

.traffic-infographic {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 64px;
align-items: center;
margin-top: 48px;
}

.traffic-visual {
display: flex;
justify-content: center;
align-items: center;
}

/* Premium image wrapper with gradient border */
.traffic-image-wrapper {
position: relative;
border-radius: 20px;
padding: 4px;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
background-size: 200% 200%;
animation: gradient-shift 6s ease infinite;
box-shadow: 0 20px 50px rgba(20, 184, 166, 0.2);
}

.traffic-image {
max-width: 100%;
height: auto;
border-radius: 16px;
display: block;
}

.traffic-stats {
display: grid;
gap: 32px;
}

.traffic-stat-item {
padding: 24px;
padding-left: 28px;
background: var(--white);
border-radius: 12px;
border: 1px solid var(--gray-200);
border-left: 3px solid var(--primary);
transition: all 0.3s ease;
display: flex;
align-items: flex-start;
gap: 16px;
}

.traffic-stat-item:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-lg);
border-color: var(--gray-300);
border-left-color: var(--accent);
}

/* Traffic Stat Icon */
.traffic-stat-icon {
flex-shrink: 0;
width: 44px;
height: 44px;
background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
transition: all 0.3s ease;
}

.traffic-stat-item:hover .traffic-stat-icon {
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
color: var(--white);
}

/* Stat icon styles removed as icons are no longer used */

/* Stat content h4 now uses universal styling above */

.stat-content p {
font-size: 14px;
color: var(--gray-600);
line-height: 1.5;
margin: 0;
}

/* Testimonials Section */
.testimonials-section {
padding: 100px 0;
background: var(--white);
}

.testimonials-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 32px;
}

.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
gap: 32px;
margin-bottom: 64px;
}

.testimonial-card {
background: var(--white);
padding: 32px;
border-radius: 16px;
border: 1px solid var(--gray-200);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.testimonial-card:hover {
transform: translateY(-6px);
box-shadow: 0 20px 40px rgba(30, 58, 95, 0.12);
border-color: var(--gray-300);
}

/* Decorative Quote Icon */
.testimonial-quote-icon {
font-size: 72px;
font-family: Georgia, serif;
line-height: 1;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
opacity: 0.3;
position: absolute;
top: 16px;
left: 24px;
font-weight: 700;
}

.testimonial-rating {
text-align: center;
margin: 20px 0;
}

.star {
color: var(--orange-500);
font-size: 16px;
margin-right: 2px;
text-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}

.testimonial-card blockquote {
font-size: 16px;
line-height: 1.7;
color: var(--gray-700);
margin: 0 0 24px 0;
font-style: italic;
position: relative;
padding-top: 32px;
}

.testimonial-author {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
}

/* Testimonial Avatar */
.testimonial-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
font-size: 18px;
font-weight: 700;
flex-shrink: 0;
box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.author-name {
font-size: 16px;
font-weight: 600;
color: var(--secondary);
margin-bottom: 4px;
letter-spacing: -0.025em;
}

.author-title {
font-size: 14px;
color: var(--gray-600);
}

.testimonials-logos {
text-align: center;
padding-top: 48px;
border-top: 1px solid var(--gray-200);
}

/* Testimonials logos h3 styling - updated for proper hierarchy */
.testimonials-logos h3 {
font-size: 16px;
font-weight: 600;
color: var(--gray-600);
margin-bottom: 32px;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.company-logos {
display: flex;
justify-content: center;
align-items: center;
gap: 48px;
flex-wrap: wrap;
}

.logo-item {
font-size: 16px;
font-weight: 700;
color: var(--gray-500);
padding: 14px 28px;
border: 1px solid var(--gray-200);
border-radius: 10px;
background: var(--white);
transition: all 0.3s ease;
letter-spacing: -0.01em;
}

.logo-item:hover {
color: var(--primary);
border-color: var(--primary);
background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15);
}

/* Pricing Section */
.pricing {
padding: 100px 0;
background: var(--gray-50);
}

.pricing-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 32px;
text-align: center;
}

/* Pricing h2 now uses universal .section-header h2 styling above */

.pricing-subtitle {
font-size: 18px;
font-weight: 600;
color: var(--gray-600);
margin-bottom: 12px;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
line-height: 1.6;
}

/* Universal section subtitle styling */
.section-subtitle {
font-size: 18px;
color: var(--gray-600);
max-width: 1000px;
margin: 0 auto;
line-height: 1.6;
}

/* Additional section description for pricing and other sections */
.section-description {
font-size: 18px;
color: var(--gray-600);
max-width: 1000px;
margin: 0 auto;
line-height: 1.6;
}

.pricing-cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
max-width: 900px;
margin: 0 auto;
}

.pricing-card {
background: var(--white);
padding: 40px 24px;
border-radius: 16px;
border: 1px solid var(--gray-200);
transition: all 0.2s ease;
position: relative;
min-height: 600px;
display: flex;
flex-direction: column;
}

.pricing-card.featured {
border: 2px solid var(--primary);
transform: scale(1.02);
box-shadow: 0 20px 50px rgba(20, 184, 166, 0.2);
background: linear-gradient(180deg, rgba(20, 184, 166, 0.03) 0%, var(--white) 100%);
}

.pricing-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
transform: translateY(-6px) scale(1.02);
box-shadow: 0 25px 60px rgba(20, 184, 166, 0.25);
}

.popular-badge {
position: absolute;
top: -14px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
background-size: 200% auto;
animation: shimmer 3s linear infinite;
color: var(--white);
padding: 8px 20px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.plan-name {
font-size: 24px;
font-weight: 700;
margin-bottom: 8px;
color: var(--secondary);
letter-spacing: -0.025em;
}

.plan-description {
color: var(--gray-600);
margin-bottom: 12px;
font-size: 15px;
font-weight: 600;
}

.plan-detail {
color: var(--gray-600);
margin-bottom: 24px;
font-size: 13px;
line-height: 1.5;
}

.plan-price {
font-size: 48px;
font-weight: 800;
color: var(--secondary);
margin-bottom: 4px;
letter-spacing: -0.025em;
}

.plan-price span {
font-size: 16px;
color: var(--gray-500);
font-weight: 500;
}

.plan-features {
list-style: none;
text-align: left;
margin: 32px 0 40px;
flex-grow: 1;
}

.plan-features li {
padding: 10px 0;
color: var(--gray-600);
position: relative;
padding-left: 24px;
font-size: 14px;
border-bottom: 1px solid var(--gray-100);
line-height: 1.4;
}

.plan-features li:before {
content: '✓';
color: var(--white);
font-weight: 600;
position: absolute;
left: 0;
top: 10px;
background: var(--primary);
width: 18px;
height: 18px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
}

.plan-features li:last-child {
border-bottom: none;
}

.plan-button {
width: 100%;
padding: 14px 24px;
border-radius: 10px;
font-weight: 600;
text-decoration: none;
display: inline-block;
transition: all 0.2s ease;
border: none;
cursor: pointer;
font-size: 15px;
margin-top: auto;
}

.plan-button.primary {
background: var(--secondary);
color: var(--white);
border: 1px solid var(--secondary);
}

.plan-button.primary:hover {
background: var(--secondary-dark);
}

.plan-button.secondary {
background: var(--primary);
color: var(--white);
}

.plan-button.secondary:hover {
background: var(--primary-dark);
}

/* FAQ / AI Discovery Section */
.faq-section {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.faq-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.faq-card {
  background: var(--white);
  padding: 40px var(--space-lg);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-300);
  border-left-color: var(--primary);
}

/* FAQ Icon Styling */
.faq-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}

.faq-card:hover .faq-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
}

.faq-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--secondary);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.faq-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* Footer */
footer {
background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-dark) 100%);
color: var(--white);
padding: 80px 0 32px;
position: relative;
}

footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

.footer-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 32px;
}

.footer-main {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 64px;
margin-bottom: 48px;
}

.footer-brand h3 {
font-size: 28px;
font-weight: 800;
margin-bottom: 16px;
color: var(--white);
letter-spacing: -0.025em;
}

.footer-tagline {
font-size: 16px;
color: var(--gray-300);
margin-bottom: 32px;
line-height: 1.6;
}

/* Footer Social Links */
.footer-social {
display: flex;
gap: 12px;
margin-top: 24px;
}

.social-link {
width: 44px;
height: 44px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.15);
display: flex;
align-items: center;
justify-content: center;
color: var(--gray-300);
transition: all 0.3s ease;
}

.social-link:hover {
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
border-color: transparent;
color: var(--white);
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.contact-form {
background: var(--secondary-dark);
padding: 32px;
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
font-size: 20px;
font-weight: 700;
margin-bottom: 24px;
color: var(--white);
letter-spacing: -0.025em;
}

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

.form-group {
margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 12px 16px;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 8px;
background: rgba(255, 255, 255, 0.05);
color: var(--white);
font-family: inherit;
font-size: 14px;
transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--accent);
background: rgba(255, 255, 255, 0.08);
box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.submit-button {
background: var(--primary);
color: var(--white);
padding: 12px 24px;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
font-size: 14px;
}

.submit-button:hover {
background: var(--primary-dark);
}

/* Form Success Message */
.form-success-message {
background: var(--gray-900);
padding: 32px;
border-radius: 16px;
border: 1px solid var(--emerald-500);
text-align: center;
}

.success-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}

.success-icon {
font-size: 48px;
line-height: 1;
}

.form-success-message h4 {
font-size: 20px;
font-weight: 700;
color: var(--white);
letter-spacing: -0.025em;
margin: 0;
}

.form-success-message p {
color: var(--gray-300);
line-height: 1.6;
margin: 0;
max-width: 400px;
}

.footer-bottom {
border-top: 1px solid var(--gray-800);
padding-top: 24px;
text-align: center;
color: var(--gray-400);
font-size: 14px;
}

/* Mobile Nav CTA */
.mobile-nav-cta {
display: none;
background: var(--primary);
color: var(--white);
padding: 8px 16px;
border-radius: 20px;
text-decoration: none;
font-weight: 600;
font-size: 13px;
transition: all 0.2s ease;
white-space: nowrap;
margin-right: 12px;
}

.mobile-nav-cta:hover {
background: var(--primary-dark);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
.pricing-cards {
grid-template-columns: 1fr;
max-width: 500px;
gap: 32px;
}
.pricing-card.featured {
transform: none;
}
.pricing-card.featured:hover {
transform: translateY(-4px);
}
.traffic-infographic {
grid-template-columns: 1fr;
gap: 48px;
}
.traffic-visual {
order: -1;
}
.testimonials-grid {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.company-logos {
gap: 24px;
}
}

@media (max-width: 1200px) {
header .nav-links {
gap: 18px;
}
header .nav-links a {
font-size: 13px;
}
}

@media (max-width: 1024px) {
header .nav-links {
gap: 16px;
}
}

/* Mobile Menu Button */
.mobile-menu-toggle {
display: none !important;
background: none;
border: none;
cursor: pointer;
padding: 8px;
border-radius: 4px;
transition: all 0.2s ease;
z-index: 1003;
position: relative;
}

.mobile-menu-toggle:hover {
background: var(--gray-100);
}

.hamburger {
width: 24px;
height: 18px;
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.hamburger span {
display: block;
height: 2px;
width: 100%;
background: var(--secondary);
transition: all 0.3s ease;
border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
}

.mobile-nav-menu {
display: none;
position: fixed;
top: 72px;
right: -300px;
width: 300px;
height: calc(100vh - 72px);
background: var(--white);
z-index: 1001;
padding: 32px 32px 32px;
box-shadow: var(--shadow-xl);
transition: right 0.3s ease;
overflow-y: auto;
}

.mobile-nav-menu.active {
right: 0;
}

.mobile-nav-menu ul {
list-style: none;
padding: 0;
margin: 0;
}

.mobile-nav-menu li {
margin-bottom: 0;
border: none !important;
}

.mobile-nav-menu a {
color: var(--gray-700);
text-decoration: none;
font-weight: 500;
font-size: 16px;
display: block;
padding: 16px 4px;
transition: color 0.2s ease;
border: none !important;
border-top: none !important;
border-bottom: none !important;
}

.mobile-nav-menu button {
border: none !important;
border-top: none !important;
border-bottom: none !important;
}

.mobile-nav-menu a:hover {
color: #2563eb;
}

.mobile-nav-menu .cta-button {
margin-top: 32px;
display: block;
text-align: center;
background: var(--primary);
color: var(--white);
border: none;
}

/* Mobile Accordion Navigation (Clay-style) */
.m-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.m-nav li {
  margin: 0;
  padding: 0;
  border: none !important;
}

.m-row,
.m-acc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 16px;
  line-height: 1.3;
  background: none;
  border: none !important;
  color: var(--gray-900);
  text-decoration: none;
}

.m-chevron {
  transition: transform 0.2s ease;
}

.m-acc-panel {
  padding: 0;
  margin: 0;
}

.m-acc-panel[hidden] {
  display: none;
}

.m-acc-panel h4 {
  margin: 12px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.m-link {
  display: block;
  padding: 16px 4px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--gray-900);
  text-decoration: none;
  border: none !important;
}

.m-link:hover {
  color: var(--blue-600);
}

.m-cta-inline {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
}

@media (max-width: 900px) {
.mobile-menu-toggle {
display: block !important;
}

header .nav-links {
display: none !important;
}

header .cta-button {
display: none !important;
}

.mobile-nav-cta {
display: block;
}

.mobile-nav-overlay {
display: none;
}

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

@media (max-width: 768px) {
/* Mobile Navigation styles are handled in @media (max-width: 900px) above */

.hero {
padding: 100px 0 60px;
}
.hero-cta-group {
flex-direction: column;
align-items: stretch;
}
.hero-cta-primary,
.hero-cta-secondary {
text-align: center;
}
.service-cards {
grid-template-columns: 1fr;
}
.pricing-cards {
grid-template-columns: 1fr;
max-width: 350px;
gap: 40px;
margin: 0 auto;
}
.pricing-card {
min-height: auto;
padding: 32px 20px;
}

.plan-features {
margin: 20px 0 24px;
}

.plan-features li {
padding: 6px 0;
font-size: 13px;
padding-left: 20px;
line-height: 1.3;
}

.plan-features li:before {
top: 6px;
font-size: 10px;
width: 16px;
height: 16px;
}
.form-row {
grid-template-columns: 1fr;
}
.footer-main {
grid-template-columns: 1fr;
gap: 40px;
}
.stats-grid {
grid-template-columns: 1fr;
}
.traffic-infographic {
grid-template-columns: 1fr;
gap: 32px;
}
.traffic-stats {
gap: 24px;
}
.traffic-stat-item {
padding: 20px;
text-align: left;
}
.testimonials-grid {
grid-template-columns: 1fr;
gap: 24px;
/* Enable horizontal scroll on mobile */
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
padding-bottom: 20px;
}

.testimonial-card {
flex: 0 0 90%;
scroll-snap-align: start;
margin-right: 16px;
padding: 24px;
}
.company-logos {
/* Improved mobile layout - better organization */
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
padding: 0 20px;
justify-items: center;
}
.logo-item {
font-size: 16px;
padding: 12px 20px;
width: 100%;
text-align: center;
white-space: nowrap;
}

/* Improve testimonials section header on mobile */
.testimonials-logos h4 {
font-size: 14px;
margin-bottom: 24px;
}
}

/* Mobile styles for pilot signup form */
@media (max-width: 768px) {
.pilot-form-section {
padding: 60px 0;
}

.pilot-form-content {
padding: 0 20px;
}

.pilot-signup-form {
padding: 32px 24px;
max-width: 100%;
width: calc(100% - 40px);
margin: 0 auto;
}

.pilot-signup-form h3 {
font-size: 20px;
margin-bottom: 20px;
}
}

@media (max-width: 480px) {
/* Mobile Navigation - Force display */
.mobile-menu-toggle {
display: block !important;
}

/* Very small screens - single column for company logos */
.company-logos {
grid-template-columns: 1fr;
gap: 12px;
}

/* Pilot signup form mobile adjustments */
.pilot-signup-form {
padding: 24px 20px;
max-width: 100%;
width: calc(100% - 32px);
margin: 0 auto;
}

.pilot-signup-form .submit-button {
padding: 14px 24px;
font-size: 15px;
}

header .nav-links {
display: none !important;
}

header .cta-button {
display: none !important;
}

/* Mobile Menu Adjustments */
.mobile-nav-menu {
width: 100%;
right: -100%;
top: 72px;
height: calc(100vh - 72px);
padding: 32px 20px 20px;
}

.mobile-nav-menu.active {
right: 0;
}

/* Section spacing adjustments */
.llm-traffic-section,
.testimonials-section,
.services,
.pricing {
padding: 60px 0;
}
.llm-traffic-content,
.testimonials-content,
.services-content,
.pricing-content {
padding: 0 20px;
}
.traffic-stat-item {
text-align: center;
}
/* Testimonial author mobile styles updated for centered layout */
}

/* Smooth scrolling */
html {
scroll-behavior: smooth;
}

/* Focus states for accessibility */
.cta-button:focus,
.hero-cta-primary:focus,
.hero-cta-secondary:focus,
.plan-button:focus,
.submit-button:focus {
outline: 2px solid var(--blue-600);
outline-offset: 2px;
}

/* Mobile Menu Focus States */
.mobile-menu-toggle:focus {
outline: 2px solid var(--blue-600);
outline-offset: 2px;
background: var(--gray-100);
}

/* Ensure hamburger button stays visible when menu is open */
.mobile-menu-toggle.active {
z-index: 1004;
background: rgba(255, 255, 255, 0.9);
border-radius: 4px;
}


/* Pilot Signup Page Styles */

/* Remove bottom margin from pilot page hero subtitle */
.pilot-hero-subtitle {
margin-bottom: 0;
}

/* Pilot form section - styled like stats section */
.pilot-form-section {
padding: 80px 0;
background: var(--gray-50);
}

.pilot-form-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 32px;
}

/* Pilot signup form - styled like stat cards */
.pilot-signup-form {
max-width: 600px;
width: 100%;
margin: 0 auto;
background: var(--white);
padding: 40px 32px;
border-radius: 12px;
border: 1px solid var(--gray-200);
transition: all 0.2s ease;
box-sizing: border-box;
}

/* Ensure form element respects container width */
.pilot-signup-form form {
width: 100%;
max-width: 100%;
}

/* Ensure form-row respects container width */
.pilot-signup-form .form-row {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}

/* Ensure form-group respects container width */
.pilot-signup-form .form-group {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}

.pilot-signup-form:hover {
box-shadow: var(--shadow-lg);
border-color: var(--gray-300);
}

.pilot-signup-form h3 {
font-size: 24px;
font-weight: 700;
margin-bottom: 24px;
color: var(--secondary);
letter-spacing: -0.025em;
text-align: center;
}

/* Form inputs for white background - with higher specificity */
.pilot-signup-form .form-group input,
.pilot-signup-form .form-group textarea {
width: 100% !important;
padding: 12px 16px !important;
border: 1px solid var(--gray-300) !important;
border-radius: 8px !important;
background: var(--gray-50) !important;
color: var(--gray-900) !important;
font-family: inherit !important;
font-size: 14px !important;
transition: all 0.2s ease !important;
}

.pilot-signup-form .form-group input::placeholder,
.pilot-signup-form .form-group textarea::placeholder {
color: var(--gray-500) !important;
}

.pilot-signup-form .form-group input:focus,
.pilot-signup-form .form-group textarea:focus {
outline: none !important;
border-color: var(--gray-600) !important;
background: var(--white) !important;
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
}

/* Button styling to match home page CTA */
.pilot-signup-form .submit-button {
background: var(--primary);
color: var(--white);
padding: 16px 32px;
border: none;
border-radius: 10px;
font-weight: 600;
font-size: 16px;
cursor: pointer;
transition: all 0.2s ease;
width: 100%;
}

.pilot-signup-form .submit-button:hover {
background: var(--primary-dark);
transform: translateY(-1px);
}

/* Success message styling for white background */
.pilot-signup-form .form-success-message {
background: var(--white);
padding: 32px;
border-radius: 16px;
border: 2px solid var(--emerald-500);
text-align: center;
}

.pilot-signup-form .form-success-message h4 {
font-size: 20px;
font-weight: 700;
color: var(--secondary);
letter-spacing: -0.025em;
margin: 0;
}

.pilot-signup-form .form-success-message p {
color: var(--gray-600);
line-height: 1.6;
margin: 0;
max-width: 400px;
margin-left: auto;
margin-right: auto;
}

/* Additional mobile responsive fixes */
@media (max-width: 900px) {
nav {
padding: 0 20px;
}

.mobile-menu-toggle {
min-width: 40px;
min-height: 40px;
display: flex !important;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.logo {
flex-shrink: 0;
}
}

@media (max-width: 480px) {
nav {
padding: 0 16px;
}

.mobile-menu-toggle {
min-width: 44px;
min-height: 44px;
}

.logo {
font-size: 20px;
}

.logo-icon {
width: 28px;
height: 28px;
font-size: 16px;
}
}

/* Blog Styles */

/* Blog Hero Section */
.blog-hero {
padding: 120px 0 60px;
text-align: center;
background: var(--white);
}

.blog-hero-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 32px;
}

.blog-hero h1 {
font-size: clamp(36px, 4vw, 56px);
font-weight: 800;
line-height: 1.1;
margin-bottom: 24px;
color: var(--secondary);
letter-spacing: -0.025em;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}

/* Blog Posts Section */
.blog-posts {
padding: 60px 0 100px;
background: var(--gray-50);
}

.blog-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 32px;
}

.blog-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
gap: 32px;
margin-bottom: 64px;
justify-content: center;
max-width: 1400px;
margin-left: auto;
margin-right: auto;
}

.blog-card {
background: var(--white);
border-radius: 16px;
border: 1px solid var(--gray-200);
transition: all 0.3s ease;
overflow: hidden;
cursor: pointer;
position: relative;
}

/* Top border gradient effect */
.blog-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
transform: scaleX(0);
transition: transform 0.3s ease;
z-index: 1;
}

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

.blog-featured-image {
width: 100%;
height: 200px;
overflow: hidden;
position: relative;
}

.blog-featured-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

.blog-card:hover .blog-featured-image img {
transform: scale(1.05);
}

.blog-placeholder-image {
width: 100%;
height: 200px;
background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
display: flex;
align-items: center;
justify-content: center;
color: var(--gray-400);
font-size: 24px;
}

.blog-placeholder-image svg {
width: 64px;
height: 64px;
opacity: 0.5;
}

.blog-card:hover {
transform: translateY(-6px) scale(1.01);
box-shadow: 0 20px 40px rgba(30, 58, 95, 0.12);
border-color: var(--gray-300);
}

.blog-card-link {
display: block;
text-decoration: none;
color: inherit;
height: 100%;
}

.blog-card-content {
padding: 32px;
}

.blog-meta {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 16px;
font-size: 13px;
color: var(--gray-500);
}

.blog-separator {
color: var(--gray-300);
}

.blog-title {
margin-bottom: 16px;
color: var(--secondary);
font-size: 20px;
font-weight: 700;
letter-spacing: -0.025em;
line-height: 1.3;
transition: color 0.2s ease;
}

.blog-card:hover .blog-title {
color: var(--gray-700);
}

.blog-excerpt {
color: var(--gray-600);
line-height: 1.6;
margin-bottom: 0;
font-size: 15px;
}

/* Blog card footer and read more styles removed - entire card is now clickable */

/* Blog Pagination */
.blog-pagination {
display: flex;
justify-content: center;
margin-top: 64px;
}

.pagination-nav {
display: flex;
gap: 8px;
align-items: center;
}

.page-item .page-numbers {
display: inline-block;
padding: 12px 16px;
border: 1px solid var(--gray-200);
border-radius: 8px;
color: var(--gray-600);
text-decoration: none;
font-weight: 500;
transition: all 0.2s ease;
background: var(--white);
}

.page-item .page-numbers:hover,
.page-item .page-numbers.current {
background: var(--primary);
color: var(--white);
border-color: var(--primary);
}

.page-item .page-numbers.prev,
.page-item .page-numbers.next {
padding: 12px 20px;
}

/* No Posts */
.no-posts {
padding: 80px 0;
text-align: center;
}

.no-posts-content h2 {
font-size: 32px;
font-weight: 700;
color: var(--secondary);
margin-bottom: 16px;
letter-spacing: -0.025em;
}

.no-posts-content p {
color: var(--gray-600);
font-size: 16px;
margin-bottom: 32px;
}

/* Single Post Styles */

/* Post Hero Section */
.post-hero {
padding: 120px 0 60px;
background: var(--white);
}

.post-hero-content {
max-width: 800px;
margin: 0 auto;
padding: 0 32px;
}

.post-breadcrumb {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 24px;
font-size: 14px;
}

.post-breadcrumb a {
color: var(--gray-600);
text-decoration: none;
transition: color 0.2s ease;
}

.post-breadcrumb a:hover {
color: var(--secondary);
}

.breadcrumb-separator {
color: var(--gray-400);
}

.current-post {
color: var(--gray-400);
}

.post-title {
font-size: clamp(32px, 4vw, 48px);
font-weight: 800;
line-height: 1.2;
margin-bottom: 24px;
color: var(--secondary);
letter-spacing: -0.025em;
}

.post-meta {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
color: var(--gray-500);
}

.post-separator {
color: var(--gray-300);
}

/* Post Content Section */
.post-content {
padding: 40px 0 100px;
background: var(--white);
}

.post-container {
max-width: 800px;
margin: 0 auto;
padding: 0 32px;
}

.post-body {
color: var(--gray-800);
line-height: 1.7;
font-size: 16px;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
color: var(--secondary);
font-weight: 700;
letter-spacing: -0.025em;
margin: 32px 0 16px;
}

.post-body h1 { font-size: 32px; }
.post-body h2 { font-size: 28px; }
.post-body h3 { font-size: 24px; }
.post-body h4 { font-size: 20px; }

.post-body p {
margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
margin: 20px 0;
padding-left: 24px;
}

.post-body li {
margin-bottom: 8px;
}

.post-body blockquote {
border-left: 4px solid var(--gray-300);
padding: 16px 24px;
margin: 24px 0;
background: var(--gray-50);
font-style: italic;
color: var(--gray-700);
}

.post-body img {
max-width: 100%;
height: auto;
border-radius: 8px;
margin: 24px 0;
}

.post-body a {
color: var(--blue-600);
text-decoration: underline;
transition: color 0.2s ease;
}

.post-body a:hover {
color: var(--secondary);
}

/* Table Styling for WordPress Block Tables and Blog Post Tables */
.post-body .wp-block-table,
.wp-block-table {
margin: 24px 0;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
border-radius: 8px;
box-shadow: var(--shadow-sm);
border: 1px solid var(--gray-200);
}

.post-body table,
.wp-block-table table {
min-width: 800px; /* Ensure minimum width for readability */
width: 100%;
border-collapse: collapse;
margin: 0;
background: var(--white);
}

/* Large tables (7+ columns) need more space - using nth-child for better browser support */
.post-body th:nth-child(7),
.wp-block-table th:nth-child(7) {
/* When 7th column exists, table needs more space */
}

.post-body th:nth-child(7) ~ th,
.post-body th:nth-child(7),
.wp-block-table th:nth-child(7) ~ th,
.wp-block-table th:nth-child(7) {
/* Targets tables with 7+ columns */
}

/* Force wider tables for comparison tables (common pattern) */
.post-body table[class*="comparison"],
.post-body .wp-block-table table,
.wp-block-table table {
min-width: 1200px; /* Default to larger size for tool comparison tables */
}

.post-body th,
.wp-block-table th {
background: var(--secondary);
color: var(--white);
font-weight: 700;
padding: 12px 10px;
text-align: left;
font-size: 13px;
letter-spacing: -0.025em;
border-bottom: 2px solid var(--secondary-dark);
min-width: 120px; /* Minimum column width */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

/* First column (usually descriptions) gets more space */
.post-body th:first-child,
.wp-block-table th:first-child {
min-width: 180px;
white-space: normal; /* Allow wrapping for descriptions */
}

.post-body td,
.wp-block-table td {
padding: 10px;
border-bottom: 1px solid var(--gray-200);
color: var(--gray-800);
font-size: 13px;
line-height: 1.4;
vertical-align: top;
min-width: 120px;
}

/* First column cells get more space and allow wrapping */
.post-body td:first-child,
.wp-block-table td:first-child {
min-width: 180px;
font-weight: 500;
}

.post-body tr:last-child td,
.wp-block-table tr:last-child td {
border-bottom: none;
}

.post-body tr:nth-child(even) td,
.wp-block-table tr:nth-child(even) td {
background: var(--gray-50);
}

.post-body tr:hover td,
.wp-block-table tr:hover td {
background: var(--gray-100);
}

/* WordPress Block Table Container */
.wp-block-table.has-fixed-layout table {
table-layout: fixed;
}

/* Scroll hint for large tables */
.wp-block-table::after {
content: "← Scroll horizontally to see all columns →";
display: block;
text-align: center;
font-size: 12px;
color: var(--gray-500);
padding: 8px;
font-style: italic;
}

@media (min-width: 1400px) {
.wp-block-table::after {
display: none; /* Hide scroll hint on very large screens */
}
}

/* Mobile Responsiveness - Horizontal Scroll */
@media (max-width: 768px) {
.post-body table,
.wp-block-table table {
min-width: 600px;
font-size: 12px;
}

/* Large tables need even more space on mobile */
.post-body .wp-block-table table,
.wp-block-table table {
min-width: 900px; /* Larger minimum for tool comparison tables */
}

.post-body th,
.wp-block-table th {
padding: 10px 6px;
font-size: 12px;
min-width: 100px;
}

.post-body th:first-child,
.wp-block-table th:first-child {
min-width: 140px;
}

.post-body td,
.wp-block-table td {
padding: 8px 6px;
font-size: 12px;
min-width: 100px;
}

.post-body td:first-child,
.wp-block-table td:first-child {
min-width: 140px;
}

.post-body .wp-block-table,
.wp-block-table {
margin: 20px -16px;
padding: 0 16px;
border-radius: 0;
}

.wp-block-table::after {
font-size: 11px;
padding: 6px;
}
}

/* Post Navigation */
.post-navigation {
margin-top: 64px;
padding-top: 32px;
border-top: 1px solid var(--gray-200);
}

.nav-links {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 32px;
}

.nav-previous {
justify-self: start;
}

.nav-next {
justify-self: end;
text-align: right;
}

.nav-link {
display: block;
padding: 20px 24px;
border: 1px solid var(--gray-200);
border-radius: 12px;
background: var(--white);
text-decoration: none;
transition: all 0.2s ease;
max-width: 280px;
}

.nav-link:hover {
border-color: var(--gray-300);
box-shadow: var(--shadow-md);
transform: translateY(-2px);
}

.nav-direction {
display: block;
font-size: 12px;
font-weight: 600;
color: var(--gray-500);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 4px;
}

.nav-title {
display: block;
font-size: 14px;
font-weight: 600;
color: var(--secondary);
line-height: 1.4;
}

.back-to-blog {
margin-top: 48px;
text-align: center;
}

.back-link {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--gray-600);
text-decoration: none;
font-weight: 500;
font-size: 14px;
transition: all 0.2s ease;
}

.back-link:hover {
color: var(--secondary);
gap: 12px;
}

.back-link svg {
transition: transform 0.2s ease;
}

.back-link:hover svg {
transform: translateX(-2px);
}

/* Page Styles */

/* Page Hero Section */
.page-hero {
padding: 120px 0 60px;
background: var(--white);
text-align: center;
}

.page-hero-content {
max-width: 800px;
margin: 0 auto;
padding: 0 32px;
}

.page-title {
font-size: clamp(32px, 4vw, 48px);
font-weight: 800;
line-height: 1.2;
color: var(--secondary);
letter-spacing: -0.025em;
}

/* Page Content Section */
.page-content {
padding: 40px 0 100px;
background: var(--white);
}

.page-container {
max-width: 800px;
margin: 0 auto;
padding: 0 32px;
}

.page-body {
color: var(--gray-800);
line-height: 1.7;
font-size: 16px;
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
color: var(--secondary);
font-weight: 700;
letter-spacing: -0.025em;
margin: 32px 0 16px;
}

.page-body h1 { font-size: 32px; }
.page-body h2 { font-size: 28px; }
.page-body h3 { font-size: 24px; }
.page-body h4 { font-size: 20px; }

.page-body p {
margin-bottom: 20px;
}

.page-body ul,
.page-body ol {
margin: 20px 0;
padding-left: 24px;
}

.page-body li {
margin-bottom: 8px;
}

.page-body a {
color: var(--blue-600);
text-decoration: underline;
transition: color 0.2s ease;
}

.page-body a:hover {
color: var(--secondary);
}

/* Error Pages */
.post-not-found,
.page-not-found {
padding: 120px 0;
background: var(--white);
text-align: center;
}

.not-found-content h1 {
font-size: 32px;
font-weight: 700;
color: var(--secondary);
margin-bottom: 16px;
letter-spacing: -0.025em;
}

.not-found-content p {
color: var(--gray-600);
font-size: 16px;
margin-bottom: 32px;
}

/* Responsive Design for Blog */
@media (max-width: 1024px) {
.blog-grid {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 24px;
max-width: 800px;
}
}

@media (max-width: 768px) {
.blog-grid {
grid-template-columns: 1fr;
gap: 20px;
max-width: 100%;
}

.blog-featured-image,
.blog-placeholder-image {
height: 180px;
}

.blog-card-content {
padding: 24px 20px 28px;
}
.nav-links {
grid-template-columns: 1fr;
gap: 16px;
}
.nav-next {
text-align: left;
}
.nav-link {
max-width: 100%;
}
.pagination-nav {
flex-wrap: wrap;
}
} 