/* ============================================
   The Tech Leader's Guidebook - Main Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 30%),
        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='%2363b3ed' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.6); }
}

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================
   Scroll Animation Classes
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ============================================
   Utility Classes
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #60a5fa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

.monospace {
    font-family: 'SF Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
}

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

.floating-delay-1 { animation-delay: 0s; }
.floating-delay-2 { animation-delay: 2s; }
.floating-delay-3 { animation-delay: 4s; }

/* ============================================
   Background Elements
   ============================================ */

/* Animated Dot Grid Background */
.dot-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(circle, rgba(59, 130, 246, 0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(139, 92, 246, 0.25) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 25px 25px;
    animation: dotFloat 30s ease-in-out infinite;
}

@keyframes dotFloat {
    0%, 100% {
        background-position: 0 0, 25px 25px;
    }
    25% {
        background-position: 12px 18px, 37px 43px;
    }
    50% {
        background-position: 6px 30px, 31px 15px;
    }
    75% {
        background-position: -6px 12px, 19px 38px;
    }
}

/* Pulsing Accent Dots Layer */
.dot-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(96, 165, 250, 0.6) 1.5px, transparent 1.5px);
    background-size: 100px 100px;
    animation: dotPulse 4s ease-in-out infinite, dotFloatReverse 35s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

@keyframes dotFloatReverse {
    0%, 100% { background-position: 0 0; }
    50% { background-position: -15px -20px; }
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(59, 130, 246, 0.15);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.1);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 25s ease-in-out infinite;
}

/* Floating Code Snippets */
.floating-code {
    position: absolute;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.7rem;
    color: rgba(59, 130, 246, 0.2);
    white-space: pre;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.floating-code-1 { top: 20%; left: 5%; animation-delay: 0s; }
.floating-code-2 { top: 60%; right: 5%; animation-delay: 2s; }
.floating-code-3 { bottom: 20%; left: 10%; animation-delay: 4s; }

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

section {
    padding: 5rem 0;
    position: relative;
}

.section-dark {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

/* ============================================
   Scroll Progress Indicator
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #a78bfa);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* ============================================
   Navigation
   ============================================ */
nav {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-cta {
    background: #2563eb;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Nav Links (for pages with multiple nav items) */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #60a5fa;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #e2e8f0;
    margin: 5px 0;
    transition: all 0.3s ease;
}

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

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

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #60a5fa;
}

.mobile-nav-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 0.75rem 2rem !important;
    border-radius: 8px;
    margin-top: 1rem;
}

.mobile-nav-cta:hover {
    color: white !important;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #60a5fa;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #3b82f6;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* Glow Button Effect */
.glow-button {
    position: relative;
    overflow: hidden;
}

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

.glow-button:hover::before {
    left: 100%;
}

.glow-button:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: 1;
    transition: 0s;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #60a5fa;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

/* ============================================
   Badges & Tags
   ============================================ */
.badge {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
}

.code-badge {
    display: inline-block;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 6px;
    padding: 0.25rem 0.75rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.875rem;
    color: #60a5fa;
}

.discount-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ============================================
   Cards
   ============================================ */
.card-3d {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(59, 130, 246, 0.15);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 5rem 0;
}

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

.hero-content h1 .highlight {
    color: #60a5fa;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: #93c5fd;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.parallax-container {
    perspective: 1000px;
}

/* Typing Cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #60a5fa;
    margin-left: 4px;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #94a3b8;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   Social Proof
   ============================================ */
.social-proof {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
}

.social-proof-avatars {
    display: flex;
}

.social-proof-avatars span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: 2px solid #1e293b;
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.social-proof-avatars span:first-child {
    margin-left: 0;
}

.social-proof-text {
    font-size: 0.875rem;
    color: #cbd5e1;
}

.social-proof-text strong {
    color: #60a5fa;
}

/* Trust Badges Section */
.trust-section {
    text-align: center;
    padding: 3rem 0;
}

.trust-section p {
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.trust-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   Problem/Solution Sections
   ============================================ */
.problem-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.problem-section p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(29, 78, 216, 0.2) 100%);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.cta-box h3 {
    color: #93c5fd;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #60a5fa;
    margin: 1rem 0;
}

.terms {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 1rem;
}

.terms a {
    color: #60a5fa;
    text-decoration: underline;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 1.75rem;
    font-weight: 700;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    min-width: 60px;
    color: #60a5fa;
}

.countdown-label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Guarantee */
.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
}

.guarantee-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #86efac;
}

.guarantee p {
    color: #86efac;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   Persona Cards
   ============================================ */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.persona-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.persona-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.persona-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.persona-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* ============================================
   Pain Points
   ============================================ */
.pain-points {
    max-width: 900px;
    margin: 3rem auto 0;
}

.pain-point {
    background: rgba(30, 41, 59, 0.5);
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.pain-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #93c5fd;
    margin-bottom: 1rem;
}

.pain-response {
    font-size: 1.125rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.pain-cta {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #60a5fa;
}

/* ============================================
   Features Section
   ============================================ */
.features-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.features-intro p {
    font-size: 1.25rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.feature-subtitle {
    color: #93c5fd;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.feature-points {
    list-style: none;
}

.feature-points li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: #cbd5e1;
}

.feature-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.25rem;
}

.learn-more {
    display: inline-block;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s;
}

.learn-more:hover {
    color: #93c5fd;
    transform: translateX(5px);
}

/* ============================================
   Table of Contents
   ============================================ */
.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.toc-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.toc-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.toc-item:hover::before {
    left: 100%;
}

.toc-item:hover {
    border-color: #3b82f6;
    transform: translateY(-3px);
}

.toc-item:hover .toc-number {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.toc-number {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.toc-content h4 {
    color: #e2e8f0;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.toc-content p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 2rem;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.testimonial-info h4 {
    color: #60a5fa;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Star Ratings */
.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars svg {
    width: 20px;
    height: 20px;
    fill: #fbbf24;
}

/* ============================================
   Quote/Blockquote Styles
   ============================================ */
.quote-block {
    background: rgba(30, 41, 59, 0.5);
    border-left: 4px solid #3b82f6;
    border-radius: 0 12px 12px 0;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(59, 130, 246, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-block p {
    font-size: 1.25rem;
    font-style: italic;
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.quote-block cite {
    display: block;
    color: #94a3b8;
    font-size: 0.875rem;
    font-style: normal;
    padding-left: 1rem;
}

.quote-block cite strong {
    color: #60a5fa;
    font-weight: 600;
}

/* Large featured quote */
.quote-featured {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.quote-featured p {
    font-size: 1.75rem;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.quote-featured cite {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #94a3b8;
    font-style: normal;
}

.quote-featured .quote-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Placeholder quote (for when content is coming) */
.quote-placeholder {
    background: rgba(30, 41, 59, 0.3);
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: #64748b;
}

.quote-placeholder p {
    font-style: italic;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 1.125rem;
}

.faq-question:hover {
    color: #60a5fa;
}

.faq-icon {
    font-size: 1.5rem;
    color: #3b82f6;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #cbd5e1;
    line-height: 1.8;
}

/* ============================================
   Author Section
   ============================================ */
.author-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.author-image {
    text-align: center;
}

.author-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 4px solid #3b82f6;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.author-content h3 {
    font-size: 1.5rem;
    color: #60a5fa;
    margin-bottom: 0.5rem;
}

.author-content .author-title {
    color: #93c5fd;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.author-content p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ============================================
   Email Capture
   ============================================ */
.email-capture {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.email-capture p {
    color: #cbd5e1;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.email-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.email-form input {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.8);
    color: #e2e8f0;
    font-size: 1rem;
    width: 300px;
    transition: all 0.3s;
}

.email-form input::placeholder {
    color: #94a3b8;
}

.email-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), 0 0 20px rgba(59, 130, 246, 0.2);
}

.email-form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* ============================================
   Social Links
   ============================================ */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    padding: 3rem 0;
    text-align: center;
}

footer p {
    color: #94a3b8;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #93c5fd;
}

/* ============================================
   Wave Dividers
   ============================================ */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: rgba(15, 23, 42, 0.5);
}

.wave-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ============================================
   Blog Styles
   ============================================ */
.blog-header {
    text-align: center;
    padding: 4rem 0;
}

.blog-header h1 {
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-card-content h3 a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-content h3 a:hover {
    color: #60a5fa;
}

.blog-card-content p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-tag {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Blog Post Page */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-post-header {
    margin-bottom: 3rem;
}

.blog-post-header h1 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.blog-post-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #cbd5e1;
}

.blog-post-content h2 {
    text-align: left;
    font-size: 1.75rem;
    margin: 3rem 0 1.5rem;
    color: #e2e8f0;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

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

.blog-post-content a {
    color: #60a5fa;
    text-decoration: underline;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

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

.blog-post-content code {
    background: rgba(30, 41, 59, 0.8);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9em;
    color: #60a5fa;
}

.blog-post-content pre {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
}

.blog-post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-post-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #94a3b8;
}

/* Blog Card Additional Styles */
.blog-card-category {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-card-date {
    color: #64748b;
}

.blog-card-link {
    display: inline-block;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.blog-card-link:hover {
    color: #93c5fd;
}

.blog-card-link.disabled {
    color: #64748b;
    pointer-events: none;
}

.blog-card-placeholder {
    width: 60px;
    height: 60px;
    color: rgba(255, 255, 255, 0.3);
}

.blog-card-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Blog Post Additional Styles */
.blog-post-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.blog-post-author-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-post-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.blog-post-author-name {
    font-weight: 600;
    color: #e2e8f0;
}

.blog-post-read-time {
    font-size: 0.875rem;
    color: #64748b;
}

.blog-post-content .lead {
    font-size: 1.25rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Inline Quote Block for Blog Posts */
.quote-block-inline {
    background: rgba(30, 41, 59, 0.5);
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: normal;
}

.quote-block-inline p {
    font-size: 1.25rem;
    color: #93c5fd;
    margin: 0;
    font-style: italic;
}

/* Callout Box */
.callout-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.callout-box h4 {
    color: #60a5fa;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.callout-box p {
    margin: 0;
    color: #e2e8f0;
}

/* Blog Post CTA */
.blog-post-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.blog-post-cta h3 {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.blog-post-cta p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

/* Blog Post Footer */
.blog-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.blog-post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    color: #94a3b8;
    transition: all 0.3s;
}

.share-button:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #60a5fa;
}

.blog-post-nav {
    display: flex;
    gap: 1rem;
}

/* Secondary Button */
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(59, 130, 246, 0.5);
    color: #60a5fa;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

/* Quote Icon for Quote Blocks */
.quote-block .quote-icon {
    width: 40px;
    height: 40px;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.quote-block .quote-icon svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   Decorative Elements
   ============================================ */
.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    height: 1px;
    width: 200px;
    pointer-events: none;
}

.circuit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.code-decoration {
    position: absolute;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: rgba(59, 130, 246, 0.15);
    white-space: pre;
    pointer-events: none;
    user-select: none;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-image img {
        transform: none;
    }

    .hero-image img:hover {
        transform: scale(1.02);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }

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

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

    .author-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-image img {
        width: 200px;
        height: 200px;
    }

    .email-form {
        flex-direction: column;
        align-items: center;
    }

    .email-form input {
        width: 100%;
    }

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

    .nav-cta {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .scroll-top {
        bottom: 80px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

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

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .sticky-buy-bar .sticky-buy-text {
        display: none;
    }

    .sticky-buy-content {
        justify-content: center;
    }

    .exit-popup {
        width: 95%;
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* ============================================
   Sticky Buy Bar
   ============================================ */
.sticky-buy-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.75rem 0;
    z-index: 1001;
    transition: bottom 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-buy-bar.visible {
    bottom: 0;
}

.sticky-buy-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.sticky-buy-text {
    color: #e2e8f0;
    font-size: 0.95rem;
}

.sticky-buy-text strong {
    color: #60a5fa;
}

.sticky-buy-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sticky-buy-price {
    color: #10b981;
    font-weight: 700;
    font-size: 1.25rem;
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* ============================================
   Exit Intent Popup
   ============================================ */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.exit-popup-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.exit-popup {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 450px;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.exit-popup-overlay.visible .exit-popup {
    transform: scale(1);
}

.exit-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #64748b;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.exit-popup-close:hover {
    color: #e2e8f0;
}

.exit-popup-content {
    text-align: center;
}

.exit-popup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.exit-popup-content h3 {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 0.75rem;
}

.exit-popup-content > p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.exit-popup-form input {
    padding: 0.875rem 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.5);
    color: #e2e8f0;
    font-size: 1rem;
}

.exit-popup-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.exit-popup-form button {
    width: 100%;
}

.exit-popup-note {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 1rem;
}

/* Large Exit Popup Variant */
.exit-popup-large {
    max-width: 500px;
}

.exit-popup-subtitle {
    color: #60a5fa;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.exit-popup-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.exit-popup-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.exit-popup-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* ============================================
   Leadership Quotes Carousel
   ============================================ */
.quotes-carousel {
    margin: 2rem auto;
    max-width: 600px;
}

.quote-terminal {
    background: #0d1117;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'SF Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background: #161b22;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: #64748b;
}

.terminal-body {
    padding: 1.5rem;
    min-height: 120px;
    display: block;
    text-align: left;
}

.terminal-prompt {
    color: #10b981;
    font-weight: bold;
    margin-right: 0.75rem;
}

.quote-text {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.quote-cursor {
    color: #60a5fa;
    animation: blink 1s infinite;
    font-weight: bold;
    margin-left: 2px;
}

.quote-author {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    color: #64748b;
    font-size: 0.85rem;
    text-align: right;
    font-style: italic;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.quote-author.visible {
    opacity: 1;
}

@media (max-width: 768px) {
    .quote-terminal {
        font-size: 0.85rem;
    }

    .terminal-body {
        padding: 1rem;
        min-height: 140px;
    }

    .quote-text {
        font-size: 0.85rem;
    }
}

/* ============================================
   Expandable TOC
   ============================================ */
.toc-expandable {
    cursor: pointer;
    display: block;
    flex-direction: unset;
    align-items: unset;
}

.toc-expandable .toc-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.toc-expandable .toc-number {
    flex-shrink: 0;
}

.toc-expandable .toc-content {
    flex: 1;
}

.toc-expand-icon {
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: auto;
}

.toc-expandable.active .toc-expand-icon {
    transform: rotate(45deg);
}

.toc-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    margin-left: 4rem;
}

.toc-expandable.active .toc-details {
    max-height: 300px;
    padding-top: 1rem;
}

.toc-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-details li {
    color: #94a3b8;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.toc-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.toc-details li:last-child {
    color: #60a5fa;
    font-weight: 500;
}

/* ============================================
   Sample Chapter Section
   ============================================ */
.sample-chapter {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.sample-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.sample-chapter-content h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.sample-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.sample-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.sample-includes li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.sample-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.sample-includes li:last-child {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.sample-includes li:last-child::before {
    content: '📄';
}

.sample-form {
    margin-top: 1.5rem;
}

.sample-form-row {
    display: flex;
    gap: 0.75rem;
}

.sample-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.8);
    color: #e2e8f0;
    font-size: 1rem;
}

.sample-form input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.sample-form button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    padding: 0.875rem 1.5rem;
}

.sample-form button svg {
    flex-shrink: 0;
}

.sample-note {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.75rem;
}

/* Sample Chapter Preview Visual */
.sample-chapter-preview {
    display: flex;
    justify-content: center;
}

.sample-preview-page {
    width: 220px;
    height: 280px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.sample-chapter:hover .sample-preview-page {
    transform: rotate(0deg);
}

.sample-preview-header {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.sample-preview-title {
    font-size: 1rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.sample-preview-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sample-line {
    height: 8px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 4px;
}

.sample-line.short {
    width: 60%;
}

@media (max-width: 768px) {
    .sample-chapter {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sample-chapter-content h2 {
        text-align: center;
    }

    .sample-includes {
        text-align: left;
        max-width: 300px;
        margin: 0 auto 2rem;
    }

    .sample-form-row {
        flex-direction: column;
    }

    .sample-chapter-preview {
        order: -1;
    }

    .sample-preview-page {
        transform: rotate(0deg);
    }
}

/* ============================================
   Bundle Pricing Table
   ============================================ */
.pricing-section {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(29, 78, 216, 0.2));
    border: 2px solid #3b82f6;
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.pricing-currency {
    font-size: 1.5rem;
    color: #60a5fa;
    font-weight: 600;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #60a5fa;
    line-height: 1;
}

.pricing-original {
    color: #64748b;
    text-decoration: line-through;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.6rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #cbd5e1;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

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

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.pricing-features li.disabled {
    color: #475569;
}

.pricing-features li.disabled::before {
    content: '—';
    color: #475569;
}

.pricing-card .btn-primary {
    width: 100%;
    text-align: center;
}

.pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
}

.pricing-guarantee svg {
    width: 20px;
    height: 20px;
    color: #86efac;
    flex-shrink: 0;
}

.pricing-guarantee p {
    color: #86efac;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 2rem auto 0;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* ============================================
   Accessibility Enhancements
   ============================================ */

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Enhanced Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
}

/* Reduce Motion for Users who Prefer It */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .floating,
    .floating-code,
    .bg-orb,
    .dot-grid,
    .dot-grid::after {
        animation: none !important;
    }

    .typing-cursor {
        animation: none !important;
        opacity: 1;
    }
}

/* High Contrast Mode Adjustments */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid white;
    }

    .nav-links a,
    .mobile-nav a {
        text-decoration: underline;
    }

    .toc-item,
    .pricing-card,
    .testimonial-card,
    .feature-card {
        border-width: 2px;
    }
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Visible on Focus for Skip Links */
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}
