/* AI Frameworks - Enhanced Design System */
/* Mobile-first, accessibility-focused, performance-optimized */

:root {
    /* Deep midnight palette */
    --midnight-900: #0f0f1a;
    --midnight-800: #1a1a2e;
    --midnight-700: #252545;
    --midnight-600: #35355d;
    
    /* Warm accent - Copper/Bronze (WCAG AA compliant) */
    --copper-600: #a85d44;
    --copper-500: #c9785d;
    --copper-400: #d9917a;
    --copper-300: #e6ac98;
    
    /* Neutrals */
    --stone-900: #1c1c1c;
    --stone-800: #2d2d2d;
    --stone-700: #4a4a4a;
    --stone-600: #636363;
    --stone-500: #7d7d7d;
    --stone-400: #a3a3a3;
    --stone-300: #c4c4c4;
    --stone-200: #e0e0e0;
    --stone-100: #f5f5f5;
    --stone-50: #fafafa;
    
    /* Success */
    --emerald: #10b981;
    --emerald-dark: #059669;
    
    /* Typography */
    --font-display: 'Crimson Pro', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --section-padding: 5rem 1.5rem;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--stone-800);
    line-height: 1.8;
    background: var(--stone-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.0625rem;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--midnight-800);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--copper-500);
    outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--midnight-800);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    color: var(--stone-600);
}

a {
    color: var(--copper-500);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--copper-400);
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--copper-500);
    outline-offset: 2px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stone-200);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-soft);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--midnight-800);
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--stone-700);
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--midnight-800);
}

.nav-links a.active {
    color: var(--copper-500);
}

.nav-cta {
    padding: 0.625rem 1.25rem !important;
    background: var(--midnight-800);
    color: white !important;
    border-radius: 6px;
}

.nav-cta:hover {
    background: var(--midnight-700) !important;
    color: white !important;
    transform: translateY(-1px);
}

/* Mobile Menu Button with Animation */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--midnight-800);
    transition: var(--transition);
    position: absolute;
}

.hamburger-line:nth-child(1) { transform: translateY(-7px); }
.hamburger-line:nth-child(2) { transform: translateY(0); }
.hamburger-line:nth-child(3) { transform: translateY(7px); }

/* Hamburger to X animation */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px; /* Touch target size */
}

.btn-primary {
    background: var(--copper-500);
    color: white;
}

.btn-primary:hover {
    background: var(--copper-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 120, 93, 0.3);
}

.btn-secondary {
    background: var(--stone-100);
    color: var(--midnight-800);
    border: 1px solid var(--stone-200);
}

.btn-secondary:hover {
    background: var(--stone-200);
    color: var(--midnight-800);
}

.btn-outline {
    background: transparent;
    color: var(--midnight-800);
    border: 2px solid var(--midnight-800);
}

.btn-outline:hover {
    background: var(--midnight-800);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 1.5rem 60px;
    background: linear-gradient(135deg, var(--midnight-800) 0%, var(--midnight-900) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 120, 93, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(201, 120, 93, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(201, 120, 93, 0.15);
    border: 1px solid rgba(201, 120, 93, 0.3);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--copper-300);
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: white;
    margin-bottom: 1.25rem;
}

.hero h1 .highlight {
    color: var(--copper-400);
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--stone-400);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--stone-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   CREDIBILITY BANNER
   ============================================ */

.credibility-banner {
    background: var(--stone-100);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--stone-200);
}

.credibility-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.credibility-text {
    flex: 1;
    min-width: 280px;
}

.credibility-intro {
    font-size: 0.75rem;
    color: var(--stone-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.credibility-text h3 {
    font-size: 1.375rem;
    margin-bottom: 0.375rem;
    color: var(--midnight-800);
}

.credibility-bio {
    font-size: 0.875rem;
    color: var(--stone-600);
    margin: 0;
    line-height: 1.6;
}

.credibility-bio a {
    color: var(--copper-500);
    font-weight: 500;
}

.credibility-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cred-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 1px solid var(--stone-200);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-700);
    transition: var(--transition);
    min-height: 44px;
}

.cred-link:hover {
    border-color: var(--copper-400);
    color: var(--copper-500);
}

.cred-icon {
    font-size: 1.125rem;
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header.light h2 {
    color: white;
}

.section-header.light p {
    color: var(--stone-400);
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.0625rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.free-badge {
    background: var(--emerald);
    color: white;
}

/* ============================================
   VALUE SECTION
   ============================================ */

.value-section {
    padding: var(--section-padding);
    background: white;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--stone-50);
    border-radius: 12px;
    border: 1px solid var(--stone-200);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--copper-400);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.value-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   FREE FRAMEWORK SECTION
   ============================================ */

.free-section {
    padding: var(--section-padding);
    background: var(--stone-100);
}

.free-framework-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--emerald);
}

.framework-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: var(--stone-100);
    border: 1px solid var(--stone-200);
    min-height: 200px;
}

.framework-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.framework-details {
    display: flex;
    flex-direction: column;
}

.framework-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--copper-500);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-bottom: 0.75rem;
}

.framework-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.framework-details > p {
    margin-bottom: 1.25rem;
}

.framework-features {
    list-style: none;
    margin-bottom: 1.25rem;
}

.framework-features li {
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--stone-700);
}

.framework-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--copper-500);
    font-weight: 600;
}

.framework-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--stone-50);
    border-radius: 8px;
}

.include-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--emerald-dark);
}

.free-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.free-cta .btn {
    flex: 1;
    min-width: 180px;
}

/* ============================================
   FRAMEWORKS GRID
   ============================================ */

.frameworks-section {
    padding: var(--section-padding);
    background: var(--midnight-800);
}

.frameworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.framework-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.framework-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.framework-card.free {
    border-color: var(--emerald);
    background: rgba(16, 185, 129, 0.1);
}

.framework-card.free:hover {
    background: rgba(16, 185, 129, 0.15);
}

.card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--emerald);
    color: white;
    z-index: 10;
}

.card-badge.pro {
    background: var(--copper-500);
}

.card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-content {
    padding: 1.25rem;
}

.card-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--copper-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.card-content h4 {
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-size: 1rem;
}

.card-content p {
    font-size: 0.8125rem;
    color: var(--stone-400);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.card-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--emerald);
}

.card-link:hover {
    color: #34d399;
}

.card-locked {
    font-size: 0.75rem;
    color: var(--stone-500);
}

/* ============================================
   PROFESSIONAL PACKAGE SECTION
   ============================================ */

.pro-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--midnight-800) 0%, var(--midnight-900) 100%);
}

.pro-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.pro-pricing {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    order: -1; /* Show pricing first on mobile */
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.price-tag .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stone-400);
}

.price-tag .amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.price-tag .period {
    font-size: 0.875rem;
    color: var(--stone-500);
    margin-left: 0.5rem;
}

.price-note {
    font-size: 0.8125rem;
    color: var(--stone-500);
    margin-bottom: 1.25rem;
}

.pro-pricing .btn {
    width: 100%;
    margin-bottom: 0.75rem;
}

.guarantee {
    font-size: 0.75rem;
    color: var(--stone-500);
}

.pro-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--copper-500);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.pro-content h2 {
    color: white;
    margin-bottom: 0.75rem;
}

.pro-description {
    font-size: 1rem;
    color: var(--stone-400);
    margin-bottom: 1.5rem;
}

.pro-includes h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.includes-list {
    list-style: none;
}

.includes-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    color: var(--stone-300);
    font-size: 0.9375rem;
}

.includes-list .check {
    color: var(--emerald);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   AUTHOR SECTION
   ============================================ */

.author-section {
    padding: var(--section-padding);
    background: var(--stone-100);
}

.author-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
}

.author-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--copper-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.625rem;
}

.author-card h2 {
    font-size: 1.75rem;
    margin-bottom: 0.375rem;
}

.author-title {
    font-size: 0.9375rem;
    color: var(--stone-500);
    margin-bottom: 1.25rem;
}

.author-bio {
    margin-bottom: 0.875rem;
    line-height: 1.7;
}

.author-bio a {
    color: var(--copper-500);
    font-weight: 500;
}

.author-quote {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--stone-50);
    border-left: 4px solid var(--copper-500);
    border-radius: 0 8px 8px 0;
}

.author-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--stone-700);
    margin: 0;
    line-height: 1.6;
}

.author-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.author-links .btn {
    flex: 1;
    min-width: 160px;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    padding: var(--section-padding);
    background: white;
    text-align: center;
}

.newsletter-content {
    max-width: 550px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 0.75rem;
}

.newsletter-content p {
    margin-bottom: 1rem;
}

.newsletter-content .btn {
    margin-top: 0.75rem;
}

.newsletter-note {
    font-size: 0.8125rem;
    color: var(--stone-500);
    margin-top: 0.75rem;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
    padding: 4rem 1.5rem;
    background: var(--midnight-800);
    text-align: center;
}

.final-cta h2 {
    color: white;
    margin-bottom: 0.625rem;
}

.final-cta p {
    color: var(--stone-400);
    margin-bottom: 1.5rem;
}

.final-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.final-buttons .btn {
    min-width: 200px;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */

.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--stone-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.btn-sticky {
    width: 100%;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--midnight-800);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 997;
    box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--copper-500);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--midnight-900);
    padding: 2.5rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}

.footer-brand span {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 1.75rem;
}

.footer-links a {
    color: var(--stone-500);
    font-size: 0.875rem;
    padding: 0.25rem;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--stone-600);
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-hero {
    background: linear-gradient(135deg, var(--midnight-800) 0%, var(--midnight-900) 100%);
    padding: 140px 1.5rem 80px;
    text-align: center;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 120, 93, 0.1) 0%, transparent 50%);
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(201, 120, 93, 0.15);
    border: 1px solid rgba(201, 120, 93, 0.3);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--copper-300);
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.about-hero h1 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
}

.about-subtitle {
    font-size: 1.125rem;
    color: var(--stone-400);
}

.about-main {
    padding: var(--section-padding);
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Sidebar first on mobile */
.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    order: -1;
}

.about-text h2 {
    margin-bottom: 1.25rem;
}

.about-text h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--copper-600);
}

.about-text p {
    margin-bottom: 0.875rem;
    line-height: 1.8;
}

.about-text .lead {
    font-size: 1.125rem;
    color: var(--stone-700);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.highlight-box {
    background: var(--midnight-800);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--copper-500);
}

.highlight-box p {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--stone-300);
    margin: 0;
    line-height: 1.6;
}

.about-list {
    margin: 1.25rem 0;
    padding-left: 0;
    list-style: none;
}

.about-list li {
    padding: 0.625rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--stone-700);
    line-height: 1.6;
}

.about-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--copper-500);
    font-weight: 600;
}

.about-list li strong {
    color: var(--midnight-800);
}

/* Sidebar Cards */
.credentials-card,
.connect-card {
    background: var(--stone-50);
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    padding: 1.5rem;
}

.credentials-card h4,
.connect-card h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--stone-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.875rem;
}

.credentials-list {
    list-style: none;
}

.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--stone-200);
    font-size: 0.9375rem;
    color: var(--stone-700);
}

.credentials-list li:last-child {
    border-bottom: none;
}

.cred-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.connect-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.connect-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--stone-200);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--stone-700);
    transition: var(--transition);
    min-height: 48px;
}

.connect-link:hover {
    border-color: var(--copper-400);
    color: var(--copper-500);
}

.connect-icon {
    font-size: 1.125rem;
}

/* Book Section */
.book-section {
    padding: var(--section-padding);
    background: var(--stone-100);
}

.book-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border-left: 4px solid var(--copper-500);
}

.book-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--copper-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.625rem;
}

.book-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
}

.book-tagline {
    font-size: 1.0625rem;
    color: var(--copper-600);
    font-style: italic;
    margin-bottom: 1rem;
}

.book-card > p {
    margin-bottom: 1rem;
}

.book-quote {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--stone-50);
    border-radius: 8px;
}

.book-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--stone-700);
    margin: 0 0 0.625rem 0;
}

.book-quote cite {
    font-size: 0.8125rem;
    color: var(--stone-500);
    font-style: normal;
}

/* About CTA Section */
.about-cta-section {
    padding: 4rem 1.5rem;
    background: var(--midnight-800);
    text-align: center;
}

.about-cta-content h2 {
    color: white;
    margin-bottom: 0.625rem;
}

.about-cta-content p {
    color: var(--stone-400);
    margin-bottom: 1.5rem;
}

.about-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about-cta-buttons .btn {
    width: 100%;
    max-width: 300px;
}

/* ============================================
   PLAYBOOK STYLES
   ============================================ */

.playbook-hero {
    background: linear-gradient(135deg, var(--midnight-800) 0%, var(--midnight-900) 100%);
    padding: 120px 1.5rem 60px;
    position: relative;
}

.playbook-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 120, 93, 0.1) 0%, transparent 50%);
}

.playbook-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.playbook-breadcrumb {
    font-size: 0.8125rem;
    color: var(--stone-500);
    margin-bottom: 1.25rem;
}

.playbook-breadcrumb a {
    color: var(--copper-400);
}

.playbook-breadcrumb a:hover {
    color: var(--copper-300);
}

.playbook-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--emerald);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.875rem;
}

.playbook-badge.pro {
    background: var(--copper-500);
}

.playbook-hero h1 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.playbook-subtitle {
    font-size: 1.125rem;
    color: var(--stone-400);
    margin-bottom: 1.25rem;
}

.playbook-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--copper-500);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.playbook-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.playbook-section {
    margin-bottom: 2.5rem;
}

.playbook-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid var(--stone-200);
}

.playbook-section h3 {
    font-size: 1.125rem;
    margin-top: 1.75rem;
    margin-bottom: 0.625rem;
    color: var(--copper-600);
}

.playbook-section p {
    margin-bottom: 0.875rem;
    line-height: 1.8;
}

.playbook-section ul {
    margin: 0.875rem 0 1.25rem 1.25rem;
    line-height: 1.8;
}

.playbook-section li {
    margin-bottom: 0.375rem;
    color: var(--stone-700);
}

.playbook-section strong {
    color: var(--midnight-800);
}

.key-insight {
    background: linear-gradient(135deg, var(--midnight-800) 0%, var(--midnight-700) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--copper-500);
}

.key-insight h4 {
    color: var(--copper-400);
    margin-bottom: 0.625rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.key-insight p {
    color: var(--stone-300);
    font-size: 1.0625rem;
    margin: 0;
}

.playbook-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid var(--stone-200);
    margin-top: 2.5rem;
}

.playbook-actions .btn {
    flex: 1;
    min-width: 180px;
}

.cta-box {
    background: var(--stone-100);
    border: 2px solid var(--copper-500);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2.5rem;
}

.cta-box h3 {
    margin-bottom: 0.625rem;
}

.cta-box p {
    margin-bottom: 1.25rem;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (min-width: 768px) {
    :root {
        --section-padding: 6rem 2rem;
    }
    
    body {
        font-size: 1.0625rem;
    }
    
    .hero {
        padding: 120px 2rem 80px;
    }
    
    .hero h1 .highlight {
        display: inline;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.8125rem;
    }
    
    .stat-hide-mobile {
        display: block;
    }
    
    .free-framework-card {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }
    
    .pro-card {
        grid-template-columns: 1fr 320px;
        gap: 3rem;
        padding: 3rem;
    }
    
    .pro-pricing {
        order: 0; /* Restore original order on desktop */
    }
    
    .price-tag .amount {
        font-size: 3.5rem;
    }
    
    .author-card {
        padding: 2.5rem;
    }
    
    .author-links .btn {
        flex: 0 1 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr 300px;
    }
    
    .about-sidebar {
        order: 0;
        position: sticky;
        top: 100px;
        align-self: start;
    }
    
    .about-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .about-cta-buttons .btn {
        width: auto;
        min-width: 200px;
    }
    
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .playbook-content {
        padding: 4rem 2rem;
    }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */

@media (min-width: 1024px) {
    .pro-card {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
        padding: 4rem;
    }
    
    .price-tag .amount {
        font-size: 4rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr 320px;
        gap: 3rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 0;
        gap: 0;
        border-bottom: 1px solid var(--stone-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--stone-100);
        width: 100%;
        text-align: center;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-cta {
        margin: 1rem 1.5rem !important;
        border-radius: 8px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .stat-hide-mobile {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .credibility-content {
        flex-direction: column;
        text-align: center;
    }
    
    .credibility-links {
        justify-content: center;
        width: 100%;
    }
    
    .cred-link {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
    
    .sticky-cta {
        display: block;
    }
    
    .back-to-top {
        bottom: 5rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }
    
    .final-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .final-buttons .btn {
        width: 100%;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Reduced motion preference */
@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;
    }
}

/* Print styles */
@media print {
    header,
    .sticky-cta,
    .back-to-top,
    footer {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem;
    }
}

