/* ========================================
   TherapyExams - Main Stylesheet
   Optimized for performance and SEO
   ======================================== */

/* CSS Variables */
:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --accent: #f093fb;
    --success: #48bb78;
    --warning: #ed8936;
    --danger: #f56565;
    
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    
    --border-color: #e2e8f0;
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s ease;
    
    --container-max: 1200px;
    --container-padding: 20px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Touch optimization for mobile */
@media (hover: none) and (pointer: coarse) {
    a, button, .btn, input, textarea, select {
        touch-action: manipulation;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
}

.btn-ghost:hover {
    color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: '▾';
    margin-left: 6px;
    font-size: 12px;
    transition: var(--transition);
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 12px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-platforms {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-platforms > span {
    font-weight: 500;
}

.platform-icons {
    display: flex;
    gap: 16px;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* App Preview Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.app-mockup {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.app-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-header {
    background: var(--gradient-primary);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-title {
    color: white;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.5px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.mockup-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.mockup-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.mockup-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.mockup-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 2px solid var(--primary);
    padding: 20px;
}

.mockup-card.featured .card-icon {
    font-size: 2.5rem;
}

.mockup-card.featured .card-text strong {
    font-size: 17px;
    color: var(--primary-dark);
}

.mockup-card.featured .card-text span {
    font-size: 14px;
}

.card-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.mockup-card .card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.mockup-card .card-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mockup-card .card-text strong {
    font-size: 15px;
    color: var(--text-primary);
}

.mockup-card .card-text span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -100px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 50%;
    left: 30%;
}

/* Exams Section */
.exams-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.exam-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.exam-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Available NPTE-PT Card - Elegant Highlight */
.exam-card.available {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.exam-card.available::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.exam-card.available:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.available-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.4);
}

.exam-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.exam-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Coming Soon Cards */
.exam-card.coming-soon {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px dashed rgba(102, 126, 234, 0.3);
}

.exam-card.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    pointer-events: none;
}

.launching-badge {
    position: absolute;
    top: 12px;
    right: -32px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(238, 90, 90, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

/* Alternative centered badge style */
.exam-card.coming-soon .launching-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 3px 12px rgba(102, 126, 234, 0.4);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.6);
    }
}

.exam-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eaff 100%);
    border-radius: 50%;
    transition: var(--transition);
}

.exam-card.available .exam-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
}

.exam-card:hover .exam-icon {
    transform: scale(1.05);
}

.exam-card.coming-soon .exam-icon {
    margin-top: 20px;
    opacity: 0.8;
}

.exam-card h3 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.25rem;
}

.exam-card.available h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exam-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.step-card h3 {
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

/* Two-tier pricing layout */
.pricing-grid.two-tier {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
    gap: 40px;
}

.pricing-card {
    padding: 40px 32px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

/* Plan Icon */
.plan-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eaff 100%);
    border-radius: 50%;
}

.plan-icon.premium-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

/* Trial Highlight */
.trial-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
}

.highlight-icon {
    font-size: 18px;
}

/* Price Duration */
.price-duration {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Price Wrapper for strikethrough */
.price-wrapper {
    position: relative;
}

.original-price {
    display: block;
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: -4px;
}

/* Validity Badge */
.validity-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Savings Banner */
.savings-banner {
    padding: 12px 16px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #e65100;
}

/* Pricing Note */
.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    margin-bottom: 0;
}

/* Glowing Button */
.btn-glow {
    animation: btn-glow 2s ease-in-out infinite;
}

@keyframes btn-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(102, 126, 234, 0.6), 0 0 40px rgba(102, 126, 234, 0.3);
    }
}

/* Pricing Guarantee */
.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    padding: 24px 32px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.guarantee-icon {
    font-size: 2.5rem;
}

.guarantee-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.guarantee-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--success);
    font-weight: bold;
}

/* Pilot Student Cohort Brief Section (Homepage) */
.pilot-student-cohort-brief {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.pilot-student-cohort-brief::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    border-radius: 50%;
}

.pilot-brief-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pilot-brief-text .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.pilot-brief-text .section-title {
    color: white;
    margin-top: 16px;
}

.pilot-brief-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.pilot-brief-highlights {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.highlight-item .highlight-icon {
    font-size: 1.25rem;
}

/* Pilot Card Preview */
.pilot-card-preview {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.preview-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s ease-in-out infinite;
}

.preview-gift {
    font-size: 4rem;
    margin-bottom: 16px;
}

.preview-text strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.preview-text span {
    font-size: 14px;
    color: var(--text-muted);
}

.preview-spots {
    margin-top: 24px;
}

.spots-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.spots-bar .spots-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: 4px;
}

.preview-spots > span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Blog Preview Section (Homepage) */
.blog-preview {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.blog-preview-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.blog-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-preview-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-preview-card:hover .blog-preview-image img {
    transform: scale(1.05);
}

.blog-preview-image .blog-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.blog-preview-content {
    padding: 24px;
}

.blog-preview-content .blog-date {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-preview-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-preview-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-preview-content h3 a:hover {
    color: var(--primary);
}

.blog-preview-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.blog-preview-cta {
    text-align: center;
}

/* Testimonials - kept for future use */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 15px;
    color: var(--text-primary);
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    font-size: 15px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
}

.cta-content {
    text-align: center;
    color: white;
}

.cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 16px;
}

.cta-download {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-download > span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.95;
}

.cta-platforms {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.cta-platform-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--text-primary);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p {
    margin: 16px 0 32px;
    opacity: 0.7;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 15px;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .app-mockup {
        max-width: 420px;
    }
    
    .featured-item {
        padding: 14px 20px;
    }
    
    .featured-item .icon {
        font-size: 1.8rem;
    }
    
    .featured-item .label {
        font-size: 0.95rem;
    }
    
    .features-grid,
    .steps-grid,
    .pricing-grid,
    .testimonials-grid,
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid.two-tier {
        gap: 24px;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    .exams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 16px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .hero-platforms {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .platform-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .platform-item {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .app-mockup {
        max-width: 320px;
        transform: none;
    }
    
    .app-mockup:hover {
        transform: none;
    }
    
    .mockup-content {
        padding: 12px;
        gap: 8px;
    }
    
    .mockup-card {
        padding: 12px;
        gap: 12px;
    }
    
    .mockup-card.featured {
        padding: 14px;
    }
    
    .mockup-card .card-icon {
        font-size: 1.5rem;
    }
    
    .mockup-card.featured .card-icon {
        font-size: 1.8rem;
    }
    
    .mockup-card .card-text strong {
        font-size: 13px;
    }
    
    .mockup-card .card-text span {
        font-size: 11px;
    }
    
    .card-badge {
        font-size: 8px;
        padding: 3px 8px;
        top: -6px;
        right: 8px;
    }
    
    .hero-image {
        min-height: auto;
        padding: 20px 0;
    }

    .featured-items {
        gap: 10px;
    }
    
    .featured-item {
        padding: 12px 16px;
    }
    
    .featured-item .icon {
        font-size: 1.6rem;
    }
    
    .featured-item .label {
        font-size: 0.9rem;
    }
    
    .mockup-cards {
        gap: 10px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
    
    .stat {
        min-width: 80px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Exams Section Mobile */
    .exams-section {
        padding: 50px 0;
    }
    
    .exams-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    
    .exams-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }
    
    .exam-card {
        padding: 24px 20px;
    }
    
    .exam-icon img {
        width: 40px;
        height: 40px;
    }
    
    .exam-card h3 {
        font-size: 1.1rem;
        margin: 12px 0 8px;
    }
    
    .exam-card p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .available-badge,
    .exam-card.coming-soon .launching-badge {
        font-size: 10px;
        padding: 5px 12px;
    }
    
    .exam-cta {
        margin-top: 12px;
        padding: 8px 20px;
        font-size: 13px;
    }

    .features-grid,
    .steps-grid,
    .pricing-grid,
    .testimonials-grid,
    .exams-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid.two-tier {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .pricing-guarantee {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Feature Cards Mobile */
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .feature-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Beta Program Brief Responsive */
    .beta-brief-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .beta-brief-highlights {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pilot-brief-visual {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .pilot-student-cohort-brief {
        padding: 60px 0;
    }
    
    /* Blog Preview Responsive */
    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-preview {
        padding: 60px 0;
    }
    
    .blog-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .footer-links li {
        margin: 0;
    }

    .features,
    .how-it-works,
    .pricing,
    .testimonials,
    .faq,
    .cta {
        padding: 50px 0;
    }
    
    .pricing-card {
        padding: 28px 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .faq-question {
        padding: 16px;
        font-size: 14px;
    }
    
    .faq-answer {
        padding: 0 16px 16px;
        font-size: 14px;
    }
    
    /* CTA Section Mobile */
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.1rem; }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    /* Hero Section Small Mobile */
    .hero {
        padding: 90px 0 40px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .app-mockup {
        max-width: 280px;
    }
    
    .mockup-header {
        padding: 12px 14px;
    }
    
    .mockup-title {
        font-size: 14px;
    }
    
    .mockup-dots span {
        width: 8px;
        height: 8px;
    }
    
    .mockup-content {
        padding: 10px;
        gap: 6px;
    }
    
    .mockup-card {
        padding: 10px;
        gap: 10px;
    }
    
    .mockup-card.featured {
        padding: 12px;
    }
    
    .mockup-card .card-icon {
        font-size: 1.3rem;
    }
    
    .mockup-card.featured .card-icon {
        font-size: 1.5rem;
    }
    
    .mockup-card .card-text strong {
        font-size: 12px;
    }
    
    .mockup-card .card-text span {
        font-size: 10px;
    }
    
    .card-badge {
        font-size: 7px;
        padding: 2px 6px;
        top: -5px;
        right: 6px;
    }

    .featured-items {
        gap: 8px;
        padding: 0 10px;
    }
    
    .featured-item {
        padding: 10px 12px;
    }
    
    .featured-item .icon {
        font-size: 1.4rem;
    }
    
    .featured-item .label {
        font-size: 0.8rem;
    }
    
    .mockup-cards {
        gap: 8px;
        padding: 0 10px;
    }
    
    .mockup-card h4 {
        font-size: 0.7rem;
    }
    
    .mockup-card p {
        font-size: 0.9rem;
    }
    
    .progress-display {
        padding: 8px 12px;
    }
    
    .progress-bar {
        height: 6px;
    }
    
    .start-btn {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 12px;
    }
    
    .stat {
        min-width: 70px;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    /* Exams Section Extra Small */
    .exams-section {
        padding: 40px 0;
    }
    
    .exams-grid {
        gap: 12px;
        margin-top: 24px;
    }
    
    .exam-card {
        padding: 20px 16px;
    }
    
    .exam-icon img {
        width: 36px;
        height: 36px;
    }
    
    .exam-card h3 {
        font-size: 1rem;
        margin: 10px 0 6px;
    }
    
    .exam-card p {
        font-size: 12px;
    }
    
    .available-badge,
    .exam-card.coming-soon .launching-badge {
        font-size: 9px;
        padding: 4px 10px;
    }
    
    .exam-cta {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Beta Brief responsive for small screens */
    .beta-brief-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-item {
        width: 100%;
        justify-content: center;
    }
    
    .preview-gift {
        font-size: 3rem;
    }
    
    .beta-card-preview {
        padding: 24px;
    }
    
    .feature-card,
    .exam-card {
        padding: 20px 16px;
    }
    
    .feature-icon {
        width: 44px;
        height: 44px;
    }
    
    .step-card {
        padding: 20px 16px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    /* Pricing Mobile Small */
    .pricing-card {
        padding: 24px 16px;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .pricing-features li {
        font-size: 13px;
        padding: 8px 0;
    }
    
    /* Blog Cards Small */
    .blog-card-content {
        padding: 16px;
    }
    
    .blog-card-title {
        font-size: 1rem;
    }
    
    .blog-card-excerpt {
        font-size: 13px;
    }

    .footer-grid {
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    /* Sections Padding Small */
    .features,
    .how-it-works,
    .pricing,
    .testimonials,
    .faq,
    .cta {
        padding: 40px 0;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    :root {
        --container-padding: 12px;
    }
    
    h1 { font-size: 1.35rem; }
    h2 { font-size: 1.25rem; }
    
    .logo-img {
        height: 32px !important;
    }
    
    .nav-buttons .btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .hero {
        padding: 85px 0 35px;
    }
    
    .hero h1 {
        font-size: 1.35rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 8px;
    }
    
    .stat {
        min-width: 60px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .app-mockup {
        max-width: 260px;
    }
    
    .mockup-card .card-icon {
        font-size: 1.2rem;
    }
    
    .mockup-card .card-text strong {
        font-size: 11px;
    }
    
    .mockup-card .card-text span {
        font-size: 9px;
    }
    
    .exam-card {
        padding: 16px 14px;
    }
    
    .exam-icon img {
        width: 32px;
        height: 32px;
    }
    
    .exam-card h3 {
        font-size: 0.95rem;
    }
    
    .exam-card p {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* Mobile Menu Active State */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 24px;
    gap: 16px;
    overflow-y: auto;
    z-index: 999;
}

.nav-links.active a {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-buttons.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-buttons.active .btn {
    width: 100%;
    justify-content: center;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   BLOG STYLES
   ======================================== */

/* Blog Hero */
.blog-hero {
    padding: 140px 0 60px;
    background: var(--bg-secondary);
    text-align: center;
}

.blog-hero h1 {
    margin-bottom: 16px;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Category Filter */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.category-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* Featured Post */
.featured-post-section {
    padding: 60px 0;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.featured-post-image {
    position: relative;
    min-height: 400px;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-image .post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.featured-post-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post-content h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-post-content h2 a:hover {
    color: var(--primary);
}

.featured-post-content > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.post-meta-large {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Post Author */
.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Blog Grid */
.blog-posts-section {
    padding: 60px 0 80px;
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

/* Blog Card */
.blog-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-image .post-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content h3 a:hover {
    color: var(--primary);
}

.blog-card-content > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Load More */
.blog-load-more {
    text-align: center;
    margin-top: 48px;
}

/* Blog Newsletter */
.blog-newsletter {
    padding: 80px 0;
    background: var(--bg-primary);
}

.newsletter-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    color: white;
}

.newsletter-card h2 {
    color: white;
    margin-bottom: 16px;
}

.newsletter-card p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--text-primary);
    border: none;
}

.newsletter-form button:hover {
    background: #2d3748;
}

.newsletter-disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 16px;
}

/* ========================================
   BLOG POST STYLES
   ======================================== */

/* Post Header */
.post-header {
    padding: 140px 0 40px;
    background: var(--bg-secondary);
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 24px;
}

.back-to-blog:hover {
    color: var(--primary-dark);
}

.post-category-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.post-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 900px;
    margin-bottom: 24px;
}

.post-author-large {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.post-author-large .author-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Featured Image */
.post-featured-image {
    padding: 0 0 40px;
    background: var(--bg-secondary);
}

.post-featured-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Post Content */
.post-content {
    padding: 60px 0;
}

.container-narrow {
    max-width: 760px;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.post-content p.lead {
    font-size: 1.3rem;
    color: var(--text-secondary);
    border-left: 4px solid var(--primary);
    padding-left: 24px;
    margin-bottom: 40px;
}

.post-content h2 {
    font-size: 1.75rem;
    margin: 48px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.post-content h3 {
    font-size: 1.35rem;
    margin: 32px 0 16px;
}

/* Table of Contents */
.table-of-contents {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    margin: 32px 0;
}

.table-of-contents h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.table-of-contents ul {
    padding-left: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: var(--primary);
    font-weight: 500;
}

.table-of-contents a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Content Lists */
.content-list {
    margin: 24px 0;
    padding-left: 24px;
}

.content-list li {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 1.05rem;
}

ul.content-list li {
    list-style-type: disc;
}

ol.content-list li {
    list-style-type: decimal;
}

/* Blockquote */
.post-content blockquote {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary);
    padding: 32px;
    margin: 32px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-content blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 12px;
}

.post-content blockquote cite {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Callout Boxes */
.callout {
    padding: 24px;
    border-radius: var(--radius-md);
    margin: 32px 0;
}

.callout h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.callout p {
    margin-bottom: 0;
    font-size: 1rem;
}

.callout-tip {
    background: rgba(72, 187, 120, 0.1);
    border-left: 4px solid var(--success);
}

.callout-warning {
    background: rgba(237, 137, 54, 0.1);
    border-left: 4px solid var(--warning);
}

.callout-info {
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid var(--primary);
}

/* Post Figure */
.post-figure {
    margin: 40px 0;
}

.post-figure img {
    border-radius: var(--radius-md);
    width: 100%;
}

.post-figure figcaption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

/* Comparison Table */
.comparison-table {
    margin: 32px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.comparison-table tr:hover td {
    background: var(--bg-secondary);
}

/* Post CTA Box */
.post-cta-box {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 48px 0;
}

.post-cta-box h3 {
    color: white;
    margin-bottom: 12px;
}

.post-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.post-cta-box .btn {
    background: white;
    color: var(--primary);
}

.post-cta-box .btn:hover {
    background: var(--bg-secondary);
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.tag-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.tag {
    background: var(--bg-secondary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.tag:hover {
    background: var(--primary);
    color: white;
}

/* Author Bio Section */
.author-bio-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.author-bio-card {
    display: flex;
    gap: 32px;
    align-items: center;
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.author-bio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-bio-content h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.author-bio-content h3 {
    margin-bottom: 12px;
}

.author-bio-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.author-social {
    display: flex;
    gap: 16px;
}

.author-social a {
    color: var(--primary);
    font-weight: 500;
}

.author-social a:hover {
    color: var(--primary-dark);
}

/* Share Section */
.share-section {
    padding: 40px 0;
}

.share-box {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.share-box span {
    font-weight: 600;
    color: var(--text-secondary);
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-linkedin {
    background: #0077b5;
    color: white;
}

.share-email {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Blog Responsive */
@media (max-width: 992px) {
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-post-content {
        padding: 32px;
    }
    
    .blog-grid,
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 40px;
    }
    
    .blog-categories {
        gap: 8px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .blog-grid,
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-card {
        padding: 40px 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .author-bio-card {
        flex-direction: column;
        text-align: center;
    }
    
    .share-box {
        flex-direction: column;
        text-align: center;
    }
    
    .share-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .post-header h1 {
        font-size: 1.75rem;
    }
    
    .post-content p {
        font-size: 1rem;
    }
    
    .post-content p.lead {
        font-size: 1.1rem;
    }
}
