@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');

/*
Theme Name: Espresso Classic
Author: Roo
Description: A clean, simple, and AI-friendly classic theme for Espresso Resume.
Version: 1.0.0
*/

/* --- Style Guide --- */

/* 1. Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #374151;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #111827;
}

a {
    font-weight: 500;
    color: #111827;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 2. Layout & Spacing */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1rem, 2.5vw, 2rem);
}

/* 3. UI Elements */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #5A67D8;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #4C51BF;
    color: #FFFFFF;
    text-decoration: none;
}

.btn-secondary {
    background-color: #111827;
    color: #FFFFFF;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: #374151;
    color: #FFFFFF;
    text-decoration: none;
}
/* 4. Single Post Styles */

/* Breadcrumb Navigation */
.breadcrumb-container {
    background-color: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
    padding: 0.75rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6B7280;
}

.breadcrumb a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #5A67D8;
    text-decoration: none;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #9CA3AF;
}

.breadcrumb-current {
    color: #374151;
    font-weight: 500;
}

/* Blog Page Breadcrumbs */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.breadcrumb-nav .breadcrumb-separator {
    margin: 0 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.breadcrumb-nav .breadcrumb-current {
    color: #FFFFFF;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Single Post Hero */
.single-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.single-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.single-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.post-category-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.single-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: white;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.meta-item svg {
    opacity: 0.8;
}

.single-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
}

/* Single Post Cleanup */
.single-post {
    background: #FFFFFF;
    margin: 0;
    padding: 0;
}

.single-post .site-main {
    background: #FFFFFF;
    margin: 0;
    padding: 0;
}

.single-post body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.single-post html {
    margin: 0;
    padding: 0;
}

/* Featured Image & Dynamic Cover */
.single-featured-image {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: none !important;
    box-shadow: none !important;
}

.featured-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: none;
}

.featured-image-wrapper img,
.post-cover-image {
    width: 100%;
    height: 400px;
    min-height: 400px;
    display: block;
    object-fit: cover;
    background: none;
    border: none;
    outline: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

.single-hero-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.single-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.post-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.single-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.single-excerpt {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsive Cover */
@media (max-width: 768px) {
    .single-featured-image {
        min-height: 450px;
        height: auto;
    }
    
    .post-cover-image {
        min-height: 450px !important;
        height: auto !important;
    }
    
    .hero-overlay {
        padding: 2rem 0;
        margin: 0;
        min-height: 450px;
        display: flex;
        align-items: center;
    }
    
    .single-hero-content {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .single-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .single-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        margin: 1rem 0;
    }
    
    .meta-item {
        font-size: 0.85rem;
    }
    
    .single-excerpt {
        font-size: 0.95rem;
        margin-top: 1rem;
        line-height: 1.4;
    }
    
    .post-category-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .single-featured-image {
        min-height: 400px;
    }
    
    .post-cover-image {
        min-height: 400px !important;
    }
    
    .hero-overlay {
        min-height: 400px;
        padding: 1.5rem 0;
    }
    
    .single-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .single-hero-content {
        padding: 0.75rem;
    }
    
    .single-excerpt {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .gradient-cover .post-gradient-cover {
        height: 250px;
    }
}

/* Main Content Grid */
.single-content-wrapper {
    padding: 3rem 0;
}

.single-article {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Table of Contents Accordion */
.toc-accordion {
    margin-bottom: 2rem;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.toc-toggle {
    width: 100%;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #F8FAFC, #F1F5F9);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.toc-toggle:hover {
    background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
    color: #5A67D8;
}

.toc-toggle svg:first-child {
    color: #667EEA;
}

.toc-toggle span {
    flex: 1;
    text-align: left;
}

.toc-chevron {
    transition: transform 0.3s ease;
    color: #9CA3AF;
}

.toc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #FFFFFF;
}

.toc-list {
    list-style: none;
    padding: 1.25rem;
    margin: 0;
}

.toc-item {
    margin: 0;
}

.toc-sub-item {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.toc-item a,
.toc-sub-item a {
    display: block;
    padding: 0.75rem 1rem;
    color: #6B7280;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.toc-item a:hover,
.toc-sub-item a:hover {
    background: #F8FAFC;
    color: #5A67D8;
    border-left-color: #667EEA;
    transform: translateX(4px);
}

.toc-sub-item a {
    font-size: 0.9rem;
    font-weight: 400;
}

/* Article Content */
.single-article .entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

/* Smooth scrolling for all pages */
html {
    scroll-behavior: smooth;
}

/* Scroll padding specifically for blog posts with TOC */
.single-post html {
    scroll-padding-top: 1000px;
}

.single-article .entry-content h2,
.single-article .entry-content h3 {
    scroll-margin-top: 1000px;
}

.single-article .entry-content h2 {
    font-size: 1.875rem;
    margin: 2.5rem 0 1rem 0;
    color: #111827;
    border-bottom: 2px solid #E5E7EB;
    padding-bottom: 0.5rem;
}

.single-article .entry-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: #111827;
}

.single-article .entry-content p {
    margin-bottom: 1.5rem;
}

.single-article .entry-content ul,
.single-article .entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.single-article .entry-content li {
    margin-bottom: 0.5rem;
}

.single-article .entry-content blockquote {
    background-color: #F9FAFB;
    border-left: 4px solid #5A67D8;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.single-article .entry-content .cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    text-align: center;
}

.single-article .entry-content .cta-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.single-article .entry-content .cta-box p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* Tags Section */
.post-tags-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
}

.post-tags-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #111827;
}

.post-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.post-tag-link {
    background-color: #F3F4F6;
    color: #6B7280;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-tag-link:hover {
    background-color: #5A67D8;
    color: white;
    text-decoration: none;
}

/* Author Bio */
.author-bio-section {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #F9FAFB;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.author-bio-content {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #111827;
}

.author-info p {
    margin: 0;
    color: #6B7280;
    line-height: 1.6;
}

/* CTA Section */
.post-cta-section {
    margin-top: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.post-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.post-cta-section h3 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: white;
}

.post-cta-section p {
    font-size: 1.125rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-primary {
    background-color: white;
    color: #5A67D8;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-decoration: none;
    color: #4C51BF;
}

.cta-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.cta-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
    text-decoration: none;
    color: white;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

/* Sidebar */
.single-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h4 {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    color: #111827;
    border-bottom: 2px solid #E5E7EB;
    padding-bottom: 0.5rem;
}

/* Table of Contents */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item,
.toc-sub-item {
    margin-bottom: 0.5rem;
}

.toc-sub-item {
    margin-left: 1rem;
    font-size: 0.9rem;
}

.toc-list a {
    color: #6B7280;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
    border-radius: 4px;
}

.toc-list a:hover {
    color: #5A67D8;
    text-decoration: none;
}

/* Related Posts */
.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.related-post-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h5 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.related-post-content h5 a {
    color: #374151;
    text-decoration: none;
}

.related-post-content h5 a:hover {
    color: #5A67D8;
}

.related-post-date {
    font-size: 0.8rem;
    color: #9CA3AF;
}

/* Newsletter Widget */
.newsletter-widget p {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #5A67D8;
    box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.1);
}

.newsletter-form button {
    padding: 0.75rem;
    font-size: 0.9rem;
}

/* Comments Section */
.comments-section {
    background-color: #F9FAFB;
    padding: 3rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .single-article {
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .single-hero {
        padding: 2.5rem 0;
    }
    
    .single-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .author-bio-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-benefits {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .post-cta-section {
        padding: 2rem 1.5rem;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .breadcrumb-current {
        display: none;
    }
}

@media (max-width: 480px) {
    .single-article .entry-content {
        font-size: 1rem;
    }
    
    .single-title {
        font-size: 1.75rem;
    }
    
    .post-cta-section h3 {
        font-size: 1.5rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
    }
}

/* 5. Header and Navigation */
.site-header {
    border-bottom: 1px solid #E5E7EB;
}

.site-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 2rem;
}
.site-header .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.site-logo {
    max-height: 60px;
    width: auto;
}

@media (max-width: 768px) {
    .site-logo {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        max-height: 40px;
    }
}

.main-navigation {
    display: flex;
    justify-content: flex-end;
}


.nav-menu-and-button {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.header-buttons {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    display: inline-block;
    margin-left: 20px;
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.8em;
    margin-left: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #F3F4F6;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #F9FAFB;
    color: #5A67D8;
}
/* 5. Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #5A67D8, #D65A9E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* 5a. Page-specific hero sections with gradient backgrounds (NOT homepage) */
body:not(.home) .page .hero-section {
    padding: 80px 0 100px 0;
    margin-bottom: -60px;
    background: linear-gradient(135deg, #5A67D8 0%, #667eea 50%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
body:not(.home) .page .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Add curved bottom edge */
body:not(.home) .page .hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: #FFFFFF;
    clip-path: ellipse(100% 100% at 50% 100%);
}

body:not(.home) .page .hero-section h1 {
    color: #FFFFFF !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

body:not(.home) .page .hero-section p {
    color: #FFFFFF;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.98;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    line-height: 1.7;
}

/* 5b. Ensure homepage hero section keeps gradient text */
.home .hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #5A67D8, #D65A9E) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

/* 7. Features Section */
.features-section {
    padding: 2.4rem 0;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.feature-item {
    padding: 2rem;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
}

.feature-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #5A67D8;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


/* 6. Page-specific styling */
.page .entry-content {
    margin: 0;
    padding: 0;
}

.page .entry-content .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(1rem, 2.5vw, 2rem);
}

.page .two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.page .founder-section {
    background: #f8fafc;
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 80px;
}

.page .values-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.page .values-section > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.page .trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Removed conflicting page FAQ section rule - using homepage styling instead */

.page .guarantee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.page .support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.page .support-category {
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Mobile responsiveness for pages */
@media (max-width: 768px) {
    .page .two-column-grid,
    .page .guarantee-grid,
    .page .support-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .page .founder-section {
        padding: 40px 20px !important;
    }
    
    .page .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .page .hero-section {
        padding: 40px 0 !important;
    }
}

/* 8. Final Content Section */
.final-content-section {
    padding: 2.4rem 0;
    text-align: center;
}

.final-content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.final-content-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}
.hero-section .guarantee-text {
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.hero-section .button-group {
    margin-top: 2rem;
}
/* Testimonial Section */
.testimonial-section {
    background-color: #111827;
    padding: 4rem 2rem;
    color: #FFFFFF;
    border-radius: 24px;
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.testimonial-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
}

.testimonial-arrows .arrow {
    background: none;
    border: 1px solid #4B5563;
    color: #FFFFFF;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 0.5rem;
}

.testimonial-arrows .arrow:hover {
    background-color: #374151;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    display: none;
}

.testimonial-item.active {
    display: block;
}

.testimonial-card {
    background-color: #1F2937;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card blockquote {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
    flex-grow: 1;
}

.testimonial-author-info {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.testimonial-rating {
    margin-left: auto;
}

.testimonial-author {
    font-weight: 600;
    color: #FFFFFF;
}

.testimonial-title {
    color: #9CA3AF;
    font-size: 0.875rem;
}

.testimonial-nav {
    text-align: center;
    margin-top: 2rem;
}

.testimonial-dot {
    background-color: #4B5563;
    border: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: #5A67D8;
}
/* Pricing Section */
.pricing-section {
    padding: 2.4rem 0;
    text-align: center;
}

.pricing-section h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.pricing-plan {
    padding: 2rem;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.pricing-plan h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-description {
    margin-bottom: 2rem;
    min-height: 3em;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #6B7280;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
}

.pricing-plan.recommended {
    border-color: #5A67D8;
    box-shadow: 0 10px 15px -3px rgba(90, 103, 216, 0.3), 0 4px 6px -2px rgba(90, 103, 216, 0.15);
    transform: scale(1.05);
}

.pricing-plan.best-value {
    border-color: #D65A9E;
    box-shadow: 0 10px 15px -3px rgba(214, 90, 158, 0.3), 0 4px 6px -2px rgba(214, 90, 158, 0.15);
    position: relative;
    overflow: hidden;
}

.pricing-plan.best-value::before {
    content: 'Best Value';
    position: absolute;
    top: 25px;
    right: -35px;
    background-color: #D65A9E;
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Onboarding Section */
.onboarding-section {
    padding: 2.4rem 0;
    text-align: center;
}

.onboarding-step {
    margin-bottom: 4rem;
}

.onboarding-step h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.onboarding-step p {
    margin-top: 1rem;
    color: #6B7280;
}
/* Homepage FAQ Section */
.homepage-faq-section {
    padding: 4rem 0;
    background-color: #F9FAFB;
}

.homepage-faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
}

.homepage-faq-heading h2 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 0;
}
/* Why Us Section */
.why-us-section {
    padding: 2.4rem 0;
}

.why-us-section .two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.why-us-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.why-us-section .landing-interviews-emphasis {
    font-style: italic;
    color: #5A67D8;
    font-weight: 800;
}

/* Social Proof Section */
.social-proof-section {
    padding: 0;
    text-align: center;
    background-color: #FFFFFF;
    overflow: hidden;
}

.social-proof-section .container {
    padding: 0;
}

.social-proof-section h3 {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #111827;
    padding-top: 2rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 2rem 0;
    background: #E5E7EB;
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(229, 231, 235, 0), #E5E7EB);
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(229, 231, 235, 0), #E5E7EB);
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
}

.logos-slide img {
    height: 50px;
    margin: 0 40px;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(45deg, #5A67D8, #4C51BF);
    color: #FFFFFF;
    padding: 4rem;
    text-align: center;
    border-radius: 24px;
    margin: 0 2rem -4rem 2rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.final-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.final-cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.final-cta-section .btn {
    background-color: #312E81; /* A darker indigo for contrast */
    color: #FFFFFF;
    padding: 16px 32px;
    font-size: 1.25rem;
}

.final-cta-section .btn:hover {
    background-color: #26236D; /* Even darker on hover */
}

/* Single Post CTA Specific Styling */
.single-post-cta {
    margin-top: 3rem;
}

.single-post-cta .cta-icon {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.single-post-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.single-post-cta .cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.single-post-cta .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    justify-content: center;
}

.single-post-cta .benefit-item svg {
    color: #A7F3D0;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .single-post-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .single-post-cta .cta-benefits {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}
/* Video Container */
.video-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 320px;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
}

/* --- Media Queries --- */

/* Tablet and Smaller */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    .why-us-section .two-column-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #111827;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    .site-header {
        position: relative;
    }

    .header-inner {
        justify-content: space-between;
        align-items: center;
    }

    /* Hide desktop navigation on mobile */
    .main-navigation {
        display: none;
    }

    /* Show hamburger button on mobile */
    .mobile-menu-toggle {
        display: flex !important;
    }

    /* Mobile menu when opened */
    .main-navigation.mobile-menu-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #E5E7EB;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .mobile-menu-open .nav-menu-and-button {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 1rem 0;
    }

    .mobile-menu-open .main-nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }

    .mobile-menu-open .main-navigation li {
        margin: 0;
        border-bottom: 1px solid #F3F4F6;
    }

    .mobile-menu-open .main-navigation li:last-child {
        border-bottom: none;
    }

    .mobile-menu-open .main-navigation li a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .mobile-menu-open .dropdown-menu {
        position: static;
        background: #F9FAFB;
        border: none;
        box-shadow: none;
        margin: 0;
        border-radius: 0;
        padding: 0;
        display: none;
    }

    .mobile-menu-open .dropdown.mobile-dropdown-open .dropdown-menu {
        display: block;
    }

    .mobile-menu-open .dropdown-menu li {
        border-bottom: 1px solid #E5E7EB;
    }

    .mobile-menu-open .dropdown-menu li a {
        padding: 0.75rem 3rem;
        font-size: 0.9rem;
        color: #6B7280;
    }

    .mobile-menu-open .header-buttons {
        padding: 1rem 2rem;
        border-top: 1px solid #F3F4F6;
    }

    .mobile-menu-open .header-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .site-header .header-inner {
        padding: 0.1rem 1rem;
    }

    .main-nav {
        gap: 0.5rem;
    }

    .main-navigation li a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .features-section h2,
    .pricing-section h2,
    .final-content-section h2,
    .onboarding-step h2,
    .homepage-faq-section h2,
    .page-faq-section h2,
    .why-us-section h2,
    .final-cta-section h2 {
        font-size: 2rem;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-plan.recommended {
        transform: scale(1);
    }

    .logos-container {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

/* --- Footer --- */
.site-footer {
    background-color: #111827;
    color: #F9FAFB;
    padding: 6rem 0 2.4rem 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.125rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: #D1D5DB;
    font-weight: 400;
}

.footer-column a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    color: #9CA3AF;
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Founder Social Icons */
.founder-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.founder-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.founder-social-link:hover {
    background: rgba(102, 126, 234, 0.15);
    color: #5A67D8;
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.2);
}

@media (max-width: 768px) {
    .footer-social {
        gap: 0.75rem;
    }
    
    .footer-social-link {
        width: 36px;
        height: 36px;
    }
    
    .founder-social-links {
        gap: 0.5rem;
    }
    
    .founder-social-link {
        width: 28px;
        height: 28px;
    }
}
/* --- Single Post --- */
.single .site-main .container {
    max-width: 800px;
}

.single .entry-header {
    margin-bottom: 2rem;
}

.single .entry-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.post-meta {
    color: #6B7280;
    font-size: 0.9rem;
}

.post-meta .post-author,
.post-meta .post-date {
    margin-right: 1rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
}

.entry-content blockquote {
    border-left: 4px solid #5A67D8;
    padding-left: 1.5rem;
    margin-left: 0;
    font-style: italic;
    color: #6B7280;
}

/* --- Blog Archive --- */
.blog-post {
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.blog-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.entry-summary p {
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    font-weight: 700;
    color: #5A67D8;
}

.read-more:hover {
    color: #4C51BF;
    text-decoration: none;
}
/* Espresso Advantage Section */
.espresso-advantage-section {
    padding: 2.4rem 0;
    background-color: #F9FAFB;
    text-align: center;
}

.espresso-advantage-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.espresso-advantage-section .section-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 4rem;
}

.productivity-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left;
    margin-bottom: 4rem;
}

.comparison-header {
    padding-bottom: 1rem;
    border-bottom: 2px solid #E5E7EB;
    margin-bottom: 1rem;
}

.comparison-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.comparison-cell {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.comparison-cell.with-espresso {
    border-color: #5A67D8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.comparison-cell .stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
}

.comparison-cell.with-espresso .stat-value {
    color: #5A67D8;
}

.benefit-highlight {
    text-align: right;
}

.benefit-value {
    display: block;
    font-family: 'Caveat', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    color: #D65A9E;
    line-height: 1.1;
}

.benefit-label {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: #6B7280;
}

.comparison-cell .stat-label {
    color: #6B7280;
}

.roi-highlight {
    background: linear-gradient(to right, #5A67D8, #4C51BF);
    color: #FFFFFF;
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .roi-highlight {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .roi-highlight h3 {
        font-size: 2rem;
    }
}

.roi-highlight .btn {
    background-color: #FFFFFF;
    color: #5A67D8;
    font-weight: 700;
}

.roi-highlight h3 {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin: 0;
}

.roi-highlight p {
    margin: 0;
    text-align: left;
}

.roi-breakdown {
    margin-top: 1.5rem;
    opacity: 0.9;
}

.disclaimer {
    font-size: 0.875rem;
    color: #6B7280;
}

@media (max-width: 768px) {
    .productivity-comparison {
        grid-template-columns: 1fr;
    }
    .comparison-header {
        display: none; /* Hide headers on mobile, as context is in the cells */
    }
    .comparison-cell {
        margin-bottom: 1rem;
    }
    .comparison-cell.with-espresso {
        flex-direction: column;
        align-items: flex-start;
    }
    .benefit-highlight {
        text-align: left;
        margin-top: 1rem;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Homepage FAQ Accordion --- */
.homepage-faq-accordion {
    text-align: left;
}

.homepage-faq-item {
    border-bottom: 1px solid #E5E7EB;
}

.homepage-faq-item:last-child {
    border-bottom: none;
}

.homepage-faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Page FAQ Section - completely separate from homepage */
.page-faq-section {
    padding: 4rem 0;
    background-color: #F9FAFB;
}

.page-faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
}

.page-faq-heading h2 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 0;
}

.page-faq-accordion {
    text-align: left;
}

.page-faq-item {
    border-bottom: 1px solid #E5E7EB;
    margin: 0;
    padding: 0;
    text-align: left;
}

.page-faq-item:last-child {
    border-bottom: none;
}

.page-faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0.75rem 0;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-faq-question span {
    text-align: left;
    flex: 1;
}

.page-faq-question:hover {
    color: #111827;
}

.page-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #374151;
    padding: 0;
    text-align: left;
}

.page-faq-item.active .page-faq-answer {
    padding: 0 0 1.5rem 0;
}

.page-faq-answer p {
    padding-bottom: 1.5rem;
    text-align: left;
    margin: 0;
}

.page-faq-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    transition: transform 0.3s ease;
    position: relative;
    border: 2px solid #9CA3AF;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    box-sizing: border-box;
}

.page-faq-icon::before,
.page-faq-icon::after {
    content: '';
    position: absolute;
    background-color: #9CA3AF;
    transition: all 0.3s ease;
}

.page-faq-question:hover .page-faq-icon {
    border-color: #111827;
}

.page-faq-question:hover .page-faq-icon::before,
.page-faq-question:hover .page-faq-icon::after {
    background-color: #111827;
}

.page-faq-icon::before {
    top: 50%;
    left: 20%;
    width: 60%;
    height: 2px;
    margin-top: -1px;
}

.page-faq-icon::after {
    top: 20%;
    left: 50%;
    width: 2px;
    height: 60%;
    margin-left: -1px;
}

.page-faq-item.active .page-faq-question {
    font-weight: 600;
    color: #111827;
}

.page-faq-item.active .page-faq-icon {
    transform: rotate(45deg);
    border-color: #111827;
}

.page-faq-item.active .page-faq-icon::before,
.page-faq-item.active .page-faq-icon::after {
    background-color: #111827;
}

.page-faq-item.active .page-faq-icon::after {
    transform: rotate(90deg);
}

.homepage-faq-question:hover {
    color: #111827;
}

.homepage-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #374151;
    padding: 0 0 0;
}

.homepage-faq-answer p {
    padding-bottom: 1.5rem;
}

.homepage-faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    position: relative;
    border: 2px solid #9CA3AF;
    border-radius: 50%;
    flex-shrink: 0;
}

.homepage-faq-icon::before,
.homepage-faq-icon::after {
    content: '';
    position: absolute;
    background-color: #9CA3AF;
    transition: all 0.3s ease;
}

.homepage-faq-question:hover .homepage-faq-icon {
    border-color: #111827;
}

.homepage-faq-question:hover .homepage-faq-icon::before,
.homepage-faq-question:hover .homepage-faq-icon::after {
    background-color: #111827;
}

/* Plus icon */
.homepage-faq-icon::before {
    top: 50%;
    left: 20%;
    width: 60%;
    height: 2px;
    margin-top: -1px;
}

.homepage-faq-icon::after {
    top: 20%;
    left: 50%;
    width: 2px;
    height: 60%;
    margin-left: -1px;
}

/* Minus icon when active */
.homepage-faq-item.active .homepage-faq-question {
    font-weight: 600;
    color: #111827;
}

.homepage-faq-item.active .homepage-faq-icon {
    transform: rotate(45deg);
    border-color: #111827;
}

.homepage-faq-item.active .homepage-faq-icon::before,
.homepage-faq-item.active .homepage-faq-icon::after {
    background-color: #111827;
}

.homepage-faq-item.active .homepage-faq-icon::after {
    transform: rotate(90deg);
}
.espresso-advantage-section h2 .highlight {
    color: #D65A9E;
}

.comparison-header.header-with-espresso {
    border-bottom: 4px solid #5A67D8;
}
/* Onboarding Section Styles */
.onboarding-section {
    padding: 80px 0;
}

.onboarding-step-wrapper {
    margin-bottom: 60px;
}

.onboarding-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.onboarding-step:nth-child(even) .onboarding-visual {
    order: -1;
}

.onboarding-text {
    text-align: left;
}

.onboarding-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.onboarding-visual img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .onboarding-step {
        grid-template-columns: 1fr;
    }

    .onboarding-step:nth-child(even) .onboarding-visual {
        order: 0;
    }

    .onboarding-text {
        text-align: center;
        margin-bottom: 40px;
    }
}
.cursive-heading {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    color: #111827;
    margin-bottom: 1rem;
}
/* Interactive Features Section */
.interactive-features-section {
    text-align: center;
    padding: 4rem 0;
}

.feature-selectors {
    margin-bottom: 2rem;
}

.feature-selector {
    background: none;
    border: none;
    font-size: 1.25rem;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.feature-selector:hover {
    color: #111827;
}

.feature-selector.active {
    color: #5A67D8;
    border-bottom-color: #5A67D8;
}

.feature-content-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-content {
    display: none;
}

.feature-content.active {
    display: block;
}

.feature-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}
.feature-content {
    display: none;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.feature-content.active {
    display: grid;
}

@media (max-width: 768px) {
    .feature-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-content.active {
        display: grid;
    }
    
    .feature-visual {
        order: -1;
    }
    
    .feature-visual img {
        width: 100%;
        max-width: 100%;
    }
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.features-subheading {
    font-size: 1.5rem;
    color: #6B7280;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.text-highlight {
    color: #5A67D8;
}

/* Guarantee Page Styling */
.guarantee-content {
    padding: 2rem 0;
}

.guarantee-overview {
    margin-bottom: 3rem;
}

.guarantee-table {
    background: #F9FAFB;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 1rem;
    background: #5A67D8;
    color: white;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.table-row:last-child {
    border-bottom: none;
}

.guarantee-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.guarantee-section h2 {
    color: #5A67D8;
    border-bottom: 2px solid #5A67D8;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.guarantee-details h3 {
    color: #111827;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.guarantee-details ul, .guarantee-details ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.guarantee-details li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.note-box {
    background: #EEF2FF;
    border-left: 4px solid #5A67D8;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.note-box p {
    margin-bottom: 0.5rem;
}

.note-box p:last-child {
    margin-bottom: 0;
}

.contact-section {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

@media (max-width: 768px) {
    .table-header, .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .table-header > div, .table-row > div {
        padding: 0.5rem 0;
    }
}

/* Contact Page Styling */
.contact-content {
    padding: 2rem 0;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-form-section {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.contact-form-section h2 {
    color: #111827;
    margin-bottom: 1rem;
}

.contact-form-section p {
    color: #6B7280;
    margin-bottom: 2rem;
}

.hubspot-form {
    margin-top: 1.5rem;
}

.support-options {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 12px;
}

.support-options h2 {
    color: #111827;
    margin-bottom: 2rem;
}

.support-option {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    margin-bottom: 1rem;
}

.support-option:last-child {
    margin-bottom: 0;
}

.support-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #EEF2FF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5A67D8;
}

.support-details h3 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.support-details p {
    color: #6B7280;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.support-link {
    color: #5A67D8;
    font-weight: 500;
    text-decoration: none;
}

.support-link:hover {
    color: #4C51BF;
    text-decoration: underline;
}

.homepage-faq-grid .homepage-faq-heading p,
.page-faq-grid .page-faq-heading p {
    color: #6B7280;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .support-option {
        flex-direction: column;
        text-align: center;
    }
    
    .support-icon {
        align-self: center;
    }
}

/* About Page Styling */
.about-content {
    padding: 2rem 0;
}

.company-overview {
    margin-bottom: 3rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item h3 {
    color: #5A67D8;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #111827;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.location-detail {
    color: #6B7280;
    font-size: 0.875rem;
    font-style: italic;
}

.company-mission {
    background: linear-gradient(135deg, #EEF2FF 0%, #F0F9FF 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
}

.company-mission h2 {
    color: #111827;
    margin-bottom: 1rem;
}

.company-mission p {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.founder-story-section {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    margin-bottom: 3rem;
}

.founder-intro {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E5E7EB;
}

.founder-image {
    text-align: center;
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #5A67D8;
    box-shadow: 0 4px 12px rgba(90, 103, 216, 0.15);
}

.founder-details h3 {
    color: #5A67D8;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.founder-details h4 {
    color: #111827;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.founder-title {
    color: #6B7280;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.story-section, .why-espresso-section {
    margin-bottom: 3rem;
}

.company-values {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.company-values h2 {
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
}

.values-content p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.values-content p:last-child {
    margin-bottom: 0;
}

.context-note {
    color: #6B7280;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    margin-top: 1rem;
}

.story-section {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #374151;
}

.research-findings {
    background: #F9FAFB;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.finding {
    margin-bottom: 1rem;
}

.finding:last-child {
    margin-bottom: 0;
}

.finding h4 {
    color: #111827;
    margin-bottom: 0.5rem;
}

.finding p {
    color: #6B7280;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.results-highlight {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #5A67D8;
    margin: 2rem 0;
}

.results-highlight h3 {
    color: #5A67D8;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
    background: #FFFFFF;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #5A67D8;
}

.stat-label {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.reason {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reason:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    width: 64px;
    height: 64px;
    background: #EEF2FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: #5A67D8;
    box-shadow: 0 4px 12px rgba(90, 103, 216, 0.15);
}

.reason h3 {
    color: #111827;
    margin-bottom: 1rem;
}

.reason p {
    color: #6B7280;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .company-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .founder-intro {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}
.video-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(45deg, #111827, #374151);
    color: #FFFFFF;
    padding: 2rem 3rem;
    border-radius: 12px;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
}

.video-text {
    text-align: left;
}

.video-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

/* ========================
   BLOG HOMEPAGE STYLES
   ======================== */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 25%, #5A67D8 75%, #4C51BF 100%);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease-in-out infinite;
    color: #FFFFFF;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    pointer-events: none;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.025em;
}

.blog-hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Blog Search */
.blog-search-container {
    max-width: 500px;
    margin: 0 auto;
}

.blog-search-form {
    display: flex;
    background: #FFFFFF;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.blog-search-input::placeholder {
    color: #9CA3AF;
}

.blog-search-button {
    background: #3b3b3b;
    border: none;
    padding: 1rem 1.5rem;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blog-search-button:hover {
    background: #4C51BF;
}

/* Filter Tabs */
.blog-filters {
    background: #F9FAFB;
    padding: 2rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: #5A67D8;
    color: #5A67D8;
}

.filter-tab-active {
    background: #5A67D8;
    border-color: #5A67D8;
    color: #FFFFFF;
}

/* Featured Posts */
.featured-posts {
    padding: 4rem 0;
    background: #FFFFFF;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #111827;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.featured-post-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.featured-post-image {
    height: 200px;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post-card:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-post-content {
    padding: 1.5rem;
}

.featured-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.featured-post-category {
    background: #5A67D8;
    color: #FFFFFF;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

.featured-post-date {
    color: #6B7280;
    font-size: 0.875rem;
}

.featured-post-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.featured-post-title a {
    color: #111827;
    text-decoration: none;
}

.featured-post-title a:hover {
    color: #5A67D8;
}

.featured-post-excerpt {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.featured-post-link {
    color: #5A67D8;
    font-weight: 500;
    text-decoration: none;
}

.featured-post-link:hover {
    text-decoration: underline;
}

/* Main Blog Posts */
.blog-posts {
    padding: 4rem 0;
    background: #F9FAFB;
}

.blog-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.posts-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.sort-dropdown {
    padding: 0.5rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    background: #FFFFFF;
    color: #374151;
    font-size: 0.875rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .post-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .post-thumbnail {
        height: 140px;
    }
    
    .entry-title {
        font-size: 1rem;
    }
}

.blog-post-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
    border: 1px solid rgba(229, 231, 235, 0.8);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667EEA, #764BA2, #5A67D8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.2);
}

.blog-post-card:hover::before {
    opacity: 1;
}

.post-thumbnail {
    height: 140px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-thumbnail-placeholder {
    height: 140px;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    background-size: 200% 200%;
    animation: placeholder-shift 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.post-thumbnail-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><path d="M20 20l-10-10h5v-5h10v5h5l-10 10z"/></g></svg>');
    opacity: 0.3;
}

@keyframes placeholder-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.placeholder-icon {
    color: rgba(255, 255, 255, 0.8);
    z-index: 1;
    position: relative;
}

.post-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.post-meta {
    margin-bottom: 1rem;
}

.blog-post-card .entry-header {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-categories {
    margin-top: auto;
    padding-top: 0.75rem;
}

.post-category-bubble {
    display: inline-block;
    background: linear-gradient(135deg, #667EEA, #764BA2);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.post-date {
    color: #9CA3AF;
    font-size: 0.875rem;
    font-weight: 500;
    font-style: italic;
}

.entry-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

.post-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.post-card-link:hover {
    text-decoration: none;
}

.entry-title {
    color: #111827;
}

.post-card-link:hover .entry-title {
    color: #5A67D8;
}

.entry-summary p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}


/* No Posts State */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: #6B7280;
}

.no-posts-icon {
    margin-bottom: 1rem;
    color: #D1D5DB;
}

.no-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #374151;
}

/* Blog Pagination */
.blog-pagination {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #E5E7EB;
}

.pagination-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.posts-count {
    font-size: 0.95rem;
    color: #6B7280;
    font-weight: 500;
}

.pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-links a,
.pagination-links .current {
    display: inline-block;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 44px;
    text-align: center;
}

.pagination-links a:hover {
    background-color: #F3F4F6;
    border-color: #D1D5DB;
    color: #111827;
}

.pagination-links .current {
    background-color: #5A67D8;
    border-color: #5A67D8;
    color: white;
}

.pagination-links .prev,
.pagination-links .next {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.pagination-links .dots {
    border: none;
    background: none;
    color: #9CA3AF;
    font-weight: 700;
}

@media (max-width: 768px) {
    .pagination-links {
        gap: 0.25rem;
    }
    
    .pagination-links a,
    .pagination-links .current {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 36px;
    }
    
    .pagination-links .prev,
    .pagination-links .next {
        padding: 0.5rem 1rem;
    }
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #111827;
    border-bottom: 2px solid #5A67D8;
    padding-bottom: 0.5rem;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-post-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.popular-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.popular-post-item h4 a {
    color: #374151;
    text-decoration: none;
}

.popular-post-item h4 a:hover {
    color: #5A67D8;
}

.popular-post-date {
    color: #6B7280;
    font-size: 0.75rem;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    background: #F9FAFB;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.category-link:hover {
    background: #5A67D8;
    color: #FFFFFF;
}

.category-count {
    background: #E5E7EB;
    color: #6B7280;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.category-link:hover .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #5A67D8, #667EEA);
    color: #FFFFFF;
}

.newsletter-widget .widget-title {
    color: #FFFFFF;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    outline: none;
}

.newsletter-input::placeholder {
    color: #9CA3AF;
}

.newsletter-btn {
    background: #FFFFFF;
    color: #5A67D8;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #F3F4F6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-description {
        font-size: 1.125rem;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .featured-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .posts-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 3rem 0;
    }
    
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-search-form {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .blog-search-button {
        border-radius: 0 0 12px 12px;
    }
}

/* Featured Blog Section */
.featured-blog-section {
    background-color: #F9FAFB;
    padding: 5rem 0;
    margin-top: 3rem;
}

.featured-blog-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1F2937;
}

.featured-blog-section .section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.featured-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-blog-card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blog-card-cover {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-cover a {
    display: block;
    height: 100%;
    width: 100%;
}

.blog-card-cover .post-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-category {
    display: inline-block;
    background-color: #E5E7EB;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #1F2937;
}

.blog-card-content h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog-card-content h3 a:hover {
    color: #5A67D8;
}

.blog-card-content p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.975rem;
}

.blog-read-more {
    color: #5A67D8;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.975rem;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: #4C51BF;
}

.blog-section-cta {
    text-align: center;
}

.no-blog-posts {
    text-align: center;
    padding: 3rem;
    color: #6B7280;
    font-size: 1.125rem;
    grid-column: 1 / -1;
}

/* Featured Blog Section Responsive */
@media (max-width: 768px) {
    .featured-blog-section {
        padding: 3rem 0;
        margin-top: 2rem;
    }
    
    .featured-blog-section h2 {
        font-size: 2rem;
    }
    
    .featured-blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-blog-card {
        border-radius: 12px;
    }
    
    .blog-card-cover {
        height: 180px;
    }
    
    .blog-card-content {
        padding: 1.25rem;
    }
}

/* Affiliate Program Page Styles */
.affiliate-hero-section {
    padding: 5rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #5A67D8, #D65A9E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #374151;
    line-height: 1.6;
}

.hero-highlights {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.highlight-badge {
    background: linear-gradient(135deg, #5A67D8, #D65A9E);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 8px rgba(90, 103, 216, 0.2);
}

.hero-calculator {
    position: sticky;
    top: 2rem;
}

.earning-calculator {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    margin: 0;
    max-width: 100%;
    border: 3px solid #e9ecef;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.earning-calculator:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15), 0 12px 20px rgba(0, 0, 0, 0.1);
}

.earning-calculator h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #1f2937;
    position: relative;
}

.earning-calculator h3:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #5A67D8, #D65A9E);
    border-radius: 2px;
}

.calculator-widget {
    text-align: left;
}

.calculator-input {
    margin-bottom: 2rem;
}

.calculator-input label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
}

.calculator-input input[type="range"] {
    width: 100%;
    margin: 1rem 0;
    height: 12px;
    background: #e9ecef;
    border-radius: 8px;
    outline: none;
    -webkit-appearance: none;
}

.calculator-input input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #5A67D8, #D65A9E);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.calculator-input input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #5A67D8, #D65A9E);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
}

.calculator-results {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    margin-top: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.result-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #374151;
}

.result-value {
    font-weight: 700;
    font-size: 1.5rem;
    color: #5A67D8;
}

.savings-note {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #5A67D8, #D65A9E);
    color: white;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
}

/* Customer count display styling */
#customerDisplay {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5A67D8;
    margin: 0.5rem 0;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.commission-structure-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.commission-structure-section h2,
.earning-scenarios-section h2,
.how-it-works-section h2,
.faq-section h2,
.application-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.offer-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.offer-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.offer-card ul {
    list-style: none;
    padding: 0;
}

.offer-card li {
    margin-bottom: 0.5rem;
    color: #666;
    text-align: left;
}

.offer-card li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

.earning-scenarios-section {
    padding: 5rem 0;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.scenario-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.scenario-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
    position: relative;
}

.scenario-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.scenario-subtitle {
    color: #666;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.stat-value {
    font-weight: bold;
    color: #667eea;
}

.why-sixty-percent {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.reason-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reason-icon {
    font-size: 1.5rem;
}

.how-it-works-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.step-number {
    background: #667eea;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.step-card li {
    margin-bottom: 0.5rem;
    color: #666;
}

.step-card li:before {
    content: "• ";
    color: #667eea;
    font-weight: bold;
    margin-right: 0.5rem;
}

.faq-section {
    padding: 5rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.application-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.application-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.application-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.application-benefits {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.benefits-list {
    margin-top: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: black;
}

.benefit-icon {
    color: #28a745;
    font-weight: bold;
}

.final-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.opportunity-cost {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
}

.urgency-text {
    font-size: 1.125rem;
    margin: 2rem 0;
    opacity: 0.9;
}

.final-cta-buttons {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0.5rem;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.final-cta-section .btn-secondary {
    color: white;
    border-color: white;
}

.final-cta-section .btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Affiliate Page Responsive Styles */
@media (max-width: 968px) {
    .affiliate-hero-section {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-calculator {
        position: static;
    }
    
    .earning-calculator {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-highlights {
        justify-content: center;
    }
    
    .offer-grid,
    .scenarios-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .application-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-card.featured {
        transform: none;
    }
    
    .affiliate-hero-section,
    .commission-structure-section,
    .earning-scenarios-section,
    .how-it-works-section,
    .faq-section,
    .application-section,
    .final-cta-section {
        padding: 3rem 0;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Highlights Grid Styling - Dynamic Professional */
.commission-highlights-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    text-align: center;
    position: relative;
}

.commission-highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F1F5F9' fill-opacity='0.5'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.commission-highlights-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
    color: #0F172A;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #0F172A 0%, #5A67D8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(90, 103, 216, 0.15);
    position: relative;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    margin: 4rem auto 0;
    text-align: left;
    position: relative;
}

.highlight-card {
    background: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5A67D8, #D65A9E, #F59E0B);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(90, 103, 216, 0.2);
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, #5A67D8, #D65A9E);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(90, 103, 216, 0.2));
}

.highlight-card h3 {
    font-family: 'Inter', sans-serif;
    color: #0F172A;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.highlight-card p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

.highlight-card p br {
    content: "";
    display: block;
    margin: 0.5rem 0;
}

.highlight-card strong {
    color: #0F172A;
    font-weight: 700;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid #E2E8F0;
    position: relative;
}

.highlight-card strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, #5A67D8, #D65A9E);
    transition: width 0.3s ease;
}

.highlight-card:hover strong::after {
    width: 100%;
}

/* Custom bullet points styling */
.highlight-card p:not(:first-child) {
    position: relative;
    padding-left: 1.5rem;
    margin-top: 0.75rem;
}

.highlight-card p:not(:first-child):not(:has(strong))::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 0;
    color: #5A67D8;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Custom Affiliate Landing Page Styles */
.custom-affiliate-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 100px 0 !important;
    position: relative;
    overflow: hidden;
}

.custom-affiliate-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 103, 216, 0.9) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 1;
}

.custom-affiliate-hero-section .container {
    position: relative;
    z-index: 2;
}

.custom-affiliate-hero-section .hero-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 80px !important;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-affiliate-hero-section .hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.1 !important;
    color: white !important;
}

.custom-affiliate-hero-section .hero-subtitle {
    font-size: 1.25rem !important;
    margin-bottom: 2rem !important;
    opacity: 0.95;
    line-height: 1.6;
}

.custom-affiliate-hero-section .offer-highlight {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    padding: 30px !important;
    border-radius: 16px !important;
    margin: 40px 0 !important;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-affiliate-hero-section .discount-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    display: inline-block !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.custom-affiliate-hero-section .btn-large {
    padding: 18px 36px !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.custom-affiliate-hero-section .btn-large:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
}

.custom-affiliate-hero-section .hero-visual img {
    width: 100% !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}

/* Benefits Section */
.custom-affiliate-benefits-section {
    padding: 100px 0 !important;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%) !important;
}

.custom-affiliate-benefits-section h2 {
    text-align: center !important;
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
    color: #111827 !important;
}

.custom-affiliate-benefits-section .benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 40px !important;
    margin-top: 60px !important;
}

.custom-affiliate-benefits-section .benefit-card {
    background: white !important;
    padding: 40px 30px !important;
    border-radius: 16px !important;
    text-align: center !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9 !important;
}

.custom-affiliate-benefits-section .benefit-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.custom-affiliate-benefits-section .benefit-icon {
    font-size: 3rem !important;
    margin-bottom: 20px !important;
    display: block !important;
}

/* Pricing Section */
.custom-affiliate-pricing-section {
    padding: 100px 0 !important;
    background: #ffffff !important;
}

.custom-affiliate-pricing-section h2 {
    text-align: center !important;
    font-size: 2.5rem !important;
    margin-bottom: 60px !important;
    color: #111827 !important;
}

.custom-affiliate-pricing-section .pricing-comparison {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}

.custom-affiliate-pricing-section .pricing-card {
    background: white !important;
    padding: 50px 40px !important;
    border-radius: 20px !important;
    text-align: center !important;
    position: relative;
    transition: all 0.3s ease;
}

.custom-affiliate-pricing-section .pricing-card.discounted {
    border: 3px solid #5A67D8 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 20px 40px rgba(90, 103, 216, 0.15) !important;
}

.custom-affiliate-pricing-section .price {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #5A67D8 !important;
    margin: 20px 0 !important;
}

/* Testimonials Section */
.custom-affiliate-testimonials-section {
    padding: 100px 0 !important;
    background: #f8fafc !important;
}

.custom-affiliate-testimonials-section h2 {
    text-align: center !important;
    font-size: 2.5rem !important;
    margin-bottom: 60px !important;
    color: #111827 !important;
}

.custom-affiliate-testimonials-section .testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 40px !important;
    margin-top: 40px !important;
}

.custom-affiliate-testimonials-section .testimonial-card {
    background: white !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    border-left: 4px solid #5A67D8 !important;
}

/* Final CTA Section */
.custom-affiliate-cta-section {
    background: linear-gradient(135deg, #111827 0%, #374151 100%) !important;
    color: white !important;
    padding: 100px 0 !important;
    text-align: center !important;
    position: relative;
}

.custom-affiliate-cta-section h2 {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
    color: white !important;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .custom-affiliate-hero-section .hero-content {
        grid-template-columns: 1fr !important;
        gap: 60px !important;
        text-align: center !important;
    }
    
    .custom-affiliate-hero-section {
        padding: 80px 0 !important;
    }
    
    .custom-affiliate-pricing-section .pricing-comparison {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .custom-affiliate-pricing-section .pricing-card.discounted {
        transform: none !important;
    }
}

/* Hero Image Styles for Affiliate Pages */
.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.discount-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.discount-overlay .discount-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 10px;
}

.discount-overlay p {
    margin: 0;
    font-weight: 500;
    color: #111827;
}

.pricing-highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e5e7eb;
    max-width: 500px;
    margin: 0 auto;
}

.price-comparison {
    margin-bottom: 30px;
}

.original-price {
    font-size: 1.5rem;
    color: #6b7280;
    text-decoration: line-through;
    margin-right: 15px;
}

.discounted-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10B981;
    margin-right: 15px;
}

.savings-text {
    display: block;
    color: #059669;
    font-weight: 600;
    margin-top: 10px;
}

.guarantee-text {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .discount-overlay {
        position: static;
        margin-top: 20px;
    }
    
    .pricing-highlight {
        padding: 30px 20px;
    }
    
    .discounted-price {
        font-size: 2rem;
    }
}
}