/*
Theme Name: Digital Download Child
Description: Child theme for Digital Download theme
Author: Wenqiang Liu
Template: digital-download
Version: 1.0.0
*/
/* CSS Variables - Modern Yellow & White Theme */
:root {
    --primary-color: #f59e0b;        /* Amber/Yellow */
    --primary-dark: #d97706;         /* Darker yellow */
    --primary-light: #fef3c7;        /* Light yellow */
    --secondary-color: #10b981;      /* Green for success */
    --accent-color: #f97316;         /* Orange accent */
    --text-primary: #0f172a;         /* Darker text for better contrast */
    --text-secondary: #475569;       /* Improved secondary text */
    --text-light: #94a3b8;           /* Improved light text */
    --border-color: #e2e8f0;         /* Cleaner border color */
    --bg-light: #fefefe;             /* Very light off-white */
    --bg-white: #ffffff;             /* Pure white */
    --bg-dark: #0f172a;              /* Darker background */
    --warning: #f59e0b;              /* Yellow warning */
    --error: #ef4444;                /* Red error */
    --success: #10b981;              /* Green success */
    
    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Modern Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    
    /* Smooth Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.cart-link {
    position: relative;
    color: var(--text-primary);
    font-size: 1.2rem;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.cart-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 50%, #f8fafc 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-sm);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.stat-divider {
    width: 1px;
    height: 2rem;
    background: var(--border-color);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    width: 100%;
    max-width: 350px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card-header {
    background: var(--bg-light);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-dots {
    display: flex;
    gap: 0.5rem;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.card-dots span:first-child {
    background: #ef4444;
}

.card-dots span:nth-child(2) {
    background: #f59e0b;
}

.card-dots span:last-child {
    background: #10b981;
}

.card-content {
    padding: 1.5rem;
}

.card-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    width: 85%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Section */
.section {
    padding: 4rem 0;
}

.text-center {
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Feature Items */
.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-details {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.feature-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-details li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    font-size: 0.8rem;
}

.feature-details li strong {
    color: var(--text-primary);
}

/* Modern Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-section .section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.features-section .section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.feature-icon-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
}

.feature-highlight i {
    font-size: 0.8rem;
}

/* Study Flexibility Section */
.study-flexibility-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.flexibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.flexibility-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.flexibility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.flexibility-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.flexibility-icon i {
    font-size: 1.5rem;
    color: white;
}

.flexibility-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.flexibility-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.flexibility-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flexibility-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.flexibility-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.75rem;
    margin-top: 0.1rem;
}

.flexibility-card .cta-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Study Flexibility Responsive Design */
@media (max-width: 768px) {
    .flexibility-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .flexibility-card {
        padding: 1.5rem;
    }
}

/* Search Section */
.search-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 5rem 0;
}

.search-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-form-wrapper-enhanced {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    transition: var(--transition);
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    z-index: 1;
}

.enhanced-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    outline: none;
}

.enhanced-search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    white-space: nowrap;
    padding: 1rem 2rem;
    margin-left: 0.5rem;
}

.search-suggestions {
    margin-top: 1.5rem;
    text-align: center;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.suggestion-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.suggestion-tag {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-tag:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Categories */
.categories-section {
    background: var(--bg-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.category-count {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Sample Questions Section */
.sample-questions {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
}

.sample-questions h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.question-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.question-number {
    font-weight: 600;
    color: var(--primary-color);
}

.question-type {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.question-content p {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    cursor: not-allowed;
    opacity: 0.7;
}

.option input[type="radio"] {
    margin-top: 0.125rem;
}

.answer-section {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.blurred-answer {
    background: var(--bg-light);
    border: 1px dashed var(--border-color);
}

.answer-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

.answer-preview i {
    color: var(--text-light);
}

/* Preview Container */
.preview-container {
    margin: 2rem 0;
}

.blurred-preview {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 300px;
    background: linear-gradient(45deg, var(--primary-light) 25%, transparent 25%), 
                linear-gradient(-45deg, var(--primary-light) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, var(--primary-light) 75%), 
                linear-gradient(-45deg, transparent 75%, var(--primary-light) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    filter: blur(8px);
    opacity: 0.3;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.unlock-message {
    text-align: center;
    color: var(--text-primary);
}

.unlock-message i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.unlock-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.unlock-message p {
    color: var(--text-secondary);
}

/* Download Grid */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.download-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.download-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.download-thumbnail i {
    /*font-size: 4rem;*/
    /*color: var(--primary-color);*/
    /*opacity: 0.3;*/
}

.download-content {
    padding: 1.5rem;
}

.download-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.download-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.download-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.download-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-stats {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-badge {
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-section .section-header h2 {
        font-size: 2.5rem;
    }
    
    .enhanced-product-header {
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .purchase-actions {
        flex-direction: column;
    }
    
    .meta-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .product-summary-section,
    .whats-included-section,
    .user-reviews-section {
        padding: 1.5rem;
    }
    
    .summary-content {
        gap: 1.5rem;
    }
    
    .included-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .paper-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .disclaimer-section {
        grid-template-columns: 1fr;
    }
    
    .reviews-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .overall-rating {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .related-documents-grid {
        grid-template-columns: 1fr;
    }

    .header-actions {
        flex-wrap: wrap;
    }

    .search-input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .enhanced-search-input {
        padding: 1rem;
        text-align: center;
    }

    .search-btn {
        width: 100%;
        margin: 0;
    }

    .suggestion-tags {
        justify-content: flex-start;
    }

    .suggestion-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Sample content */
.sample-section {
    margin: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
/* Product Detail Page Styles */
.breadcrumbs {
    margin: 1rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.current-page {
    color: var(--text-light);
}

/* Product Header */
.product-header {
    position: relative;
    margin: 2rem 0 3rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    color: #666;
    font-weight: 500;
}

.meta-value {
    color: #333;
}

.category-tag {
    background: #f39c12;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.category-tag:hover {
    background: #e67e22;
    color: white;
    text-decoration: none;
}

.header-purchase-buttons {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
}

/* Main Content Grid */
.product-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Discussion Content Column */
.discussion-content-column {
    background: #fff8dc; /* Light yellow background like screenshot */
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #f0e68c;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    margin-top: 0;
}

.discussion-section {
    margin-bottom: 2rem;
}

.discussion-section .section-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.instructions-section .section-content {
    color: #555;
}

.instruction-item {
    margin: 0.5rem 0;
    line-height: 1.5;
}

/* Document Preview Column */
.document-preview-column {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
}

.document-preview .section-title {
    margin-bottom: 1.5rem;
}

.preview-container {
    position: relative;
}

.preview-box {
    border: 2px dashed #ccc;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 8px;
    background: #f9f9f9;
}



.restricted-access-icon {
    font-size: 4rem;
    color: #999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



.blurred-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Paper Details Banner */
.paper-details-banner {
    background: #f39c12;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.banner-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1.5rem 0;
    color: white;
}

.paper-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
}

.product-tags .tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.document-preview {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.document-preview h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blurred-document {
    position: relative;
    height: 400px;
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loading-animation {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.preview-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.blurred-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-align: center;
}

.blurred-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.pricing-section {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.file-access-info {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
}

.file-access-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-access-info h4 i {
    font-size: 1rem;
}

.file-access-info > p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.file-formats {
    margin-bottom: 1rem;
}

.file-format-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
}

.file-format-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    min-width: 20px;
}

.file-format-item:last-child {
    margin-bottom: 0;
}

.file-format-item span {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

.file-format-item strong {
    color: var(--text-dark);
}

.file-note {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid #93c5fd;
    font-size: 0.85rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.file-note i {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.price-display {
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.instant-access-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instant-access-note i {
    color: var(--primary-color);
    font-size: 1rem;
}

.purchase-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-full {
    width: 100%;
}

.discount-offer {
    background: var(--primary-light);
    padding: 1rem;
    border-radius: var(--radius-sm);
    color: var(--primary-color);
    font-size: 0.9rem;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.cta-card h4 {
    margin-bottom: 1rem;
    color: white;
}

.cta-promotion {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.cta-promotion p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.back-to-products {
    margin: 3rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .preview-actions {
        flex-direction: column;
        align-items: center;
    }

    .file-access-info {
        padding: 1rem;
        margin: 1rem 0;
    }

    .file-format-item {
        padding: 0.75rem;
    }

    .file-format-item span {
        font-size: 0.85rem;
    }
}

/* Footer Styles */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.newsletter-content h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    min-width: 400px;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    background: white;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: var(--text-light);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.badge i {
    color: var(--accent-color);
}

.text-danger {
    color: #dc3545 !important;
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .features-section .section-header h2 {
        font-size: 2.75rem;
    }
    
    .product-header-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .summary-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .included-grid {
        grid-template-columns: 1fr;
    }
    
    .related-documents-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
    
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Easy Digital Downloads (EDD) Compatibility Styles */
.edd-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.edd-download-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.edd-download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.edd-download-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.edd-download-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.edd-download-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.edd-download-title a:hover {
    color: var(--primary-color);
}

.edd-download-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.edd-download-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.edd-download-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.edd-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.edd-price.free {
    color: #059669;
}

.edd-price del {
    color: #6b7280;
    font-size: 0.8em;
    margin-right: 0.5rem;
}

.edd-buy-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.95rem;
}

.edd-buy-button:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.edd-buy-button:disabled {
    background: #6b7280;
    cursor: not-allowed;
    transform: none;
}

/* EDD Cart Styles */
.edd-cart {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.edd-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.edd-cart-table th,
.edd-cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.edd-cart-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-dark);
}

.edd-cart-remove {
    color: #dc2626;
    text-decoration: none;
    font-size: 0.9rem;
}

.edd-cart-remove:hover {
    color: #991b1b;
}

.edd-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #e2e8f0;
}

.edd-cart-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.edd-checkout {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.edd-checkout:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* EDD Checkout Styles */
.edd-checkout-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.edd-checkout-form {
    display: grid;
    gap: 2rem;
}

.edd-checkout-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}

.edd-checkout-section h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.edd-form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.edd-form-group {
    display: flex;
    flex-direction: column;
}

.edd-form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.edd-form-input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.edd-form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.edd-payment-methods {
    display: grid;
    gap: 1rem;
}

.edd-payment-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.edd-payment-method:hover {
    border-color: var(--primary-color);
    background: #fef3c7;
}

.edd-payment-method.selected {
    border-color: var(--primary-color);
    background: #fef3c7;
}

/* EDD Search Styles */
.edd-search-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.edd-search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.edd-search-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.edd-search-button:hover {
    background: var(--primary-dark);
}

/* EDD Empty States */
.edd-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.edd-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.edd-empty p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* EDD Notifications */
.edd-notice {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edd-notice.success {
    background: #dcfce7;
    border-color: #16a34a;
    color: #15803d;
}

.edd-notice.error {
    background: #fee2e2;
    border-color: #dc2626;
    color: #991b1b;
}

.edd-notice.info {
    background: #dbeafe;
    border-color: #2563eb;
    color: #1d4ed8;
}

.edd-notice.warning {
    background: #fef3c7;
    border-color: #d97706;
    color: #92400e;
}

/* Distraction-free checkout */
.edd-distraction-free-checkout .edd-navigation,
.edd-distraction-free-checkout .footer,
.edd-distraction-free-checkout .sidebar {
    display: none;
}

.edd-distraction-free-checkout main {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive EDD Styles */
@media (max-width: 768px) {
    .edd-download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .edd-cart-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .edd-cart-total {
        text-align: center;
        font-size: 1.5rem;
    }

    .edd-checkout {
        text-align: center;
        width: 100%;
    }

    .edd-checkout-form {
        gap: 1.5rem;
    }

    .edd-form-row {
        grid-template-columns: 1fr;
    }

    .edd-search-form {
        margin: 0 1rem 2rem;
    }
}

/* Modern Animations & Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Fade in animation for elements */
.feature-card,
.hero-card,
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Floating animation for hero visual */
.hero-visual {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation for buttons */
.btn-primary:hover {
    animation: pulse 0.6s ease-in-out;
}

/* Modern button enhancements */
.btn {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Enhanced focus states */
.btn:focus,
.search-input:focus,
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

/* Modern loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Enhanced Product Page Styles */
.enhanced-product-header {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.product-header-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.product-title-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.product-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--primary-color);
}

.rating {
    font-weight: 600;
    color: var(--text-primary);
}

.stat-divider {
    color: var(--border-color);
}

.pricing-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.purchase-actions {
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
}

.guarantee-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-size: 0.9rem;
    justify-content: center;
}

.product-meta-info {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.meta-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-weight: 500;
    color: var(--text-primary);
}

.category-tag {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.category-tag:hover {
    text-decoration: underline;
}

/* Product Summary Section */
.product-summary-section {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.summary-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.abstract-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.abstract-text p:last-child {
    margin-bottom: 0;
}

.key-topics h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.topics-list {
    list-style: none;
    padding: 0;
}

.topics-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.topics-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.topics-list li:last-child {
    border-bottom: none;
}

/* What's Included Section */
.whats-included-section {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.included-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.included-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.included-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.included-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced Paper Details Banner */
.enhanced-paper-details-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.paper-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-label {
    font-weight: 500;
    opacity: 0.9;
}

.detail-value {
    font-weight: 600;
}

.disclaimer-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.disclaimer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.disclaimer-item i {
    font-size: 1rem;
    opacity: 0.8;
}

/* User Reviews Section */
.user-reviews-section {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: #fbbf24;
}

.rating-count {
    color: var(--text-secondary);
}

.review-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.review-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-helpful {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.helpful-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.helpful-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.reviews-footer {
    text-align: center;
    padding-top: 1rem;
}

/* Related Documents Section */
.related-documents-section {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.related-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-document-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.related-document-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.doc-preview {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.doc-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.doc-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.doc-category {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.doc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-price {
    font-weight: 600;
    color: var(--primary-color);
}

.doc-rating {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.doc-rating i {
    color: #fbbf24;
    margin-right: 0.25rem;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.edd-buy-button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.edd-buy-button.added::after{

    font-family: WooCommerce;
    content: "\e017";
    margin-left: .53em;
    vertical-align: bottom;
}