/*
Theme Name: OverRider v1.0.6 Enterprise Theme
Description: WordPress theme for OverRider v1.0.6 - Enterprise Traffic Generation System with advanced licensing
Version: 1.0.6
Author: SEOBrainLab
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* CSS Variables */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #6366f1;
    --accent-color: #10b981;
    --background: #ffffff;
    --surface: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --hero-gradient: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #dc2626 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced Header */
.header,
body.woocommerce .header,
body.woocommerce-page .header,
body.woocommerce-cart .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.3rem 0 !important;
    min-height: 0 !important;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    padding: 0;
    margin: 0;
}

.logo {
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1;
}

.logo img {
    max-height: 35px;
    width: auto;
    display: block;
}

.logo h1,
.logo a {
    background: linear-gradient(135deg, #ff6b00 0%, #ffb800 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
    padding: 0;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    line-height: 1;
    display: inline-block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Currency Switcher */
.currency-switcher-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    top: 15px;
}

.currency-switcher-wrapper select,
.currency-switcher-wrapper .woocommerce-currency-switcher {
    padding: 0.2rem 0.5rem !important;
    border: none !important;
    border-radius: 4px;
    font-size: 0.9rem !important;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent !important;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
    line-height: 1.2 !important;
    height: auto !important;
}

.currency-switcher-wrapper select:hover,
.currency-switcher-wrapper .woocommerce-currency-switcher:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05) !important;
}

/* Dropdown submenu styles */
.nav-menu .has-submenu {
    position: relative;
}

.nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 320px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-menu .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .submenu li {
    margin: 0;
    list-style: none;
}

.nav-menu .submenu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 0;
    transition: all 0.2s ease;
}

.nav-menu .submenu a::after {
    display: none;
}

.nav-menu .submenu a:hover {
    background: var(--primary-color);
    color: white;
}

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

.user-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.user-link:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Enhanced Hero Section */
.hero {
    background: var(--hero-gradient);
    color: white;
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0; /* No gap - hero starts right after header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><path fill="%23ffffff" fill-opacity="0.08" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1008,192,1032,224L1056,256L1056,0L1032,0C1008,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"/></svg>') no-repeat;
    background-size: cover;
    animation: float 6s ease-in-out infinite;
}

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

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ff6b00 0%, #ffb800 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero .description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.trial-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

/* Trial Card Specific Styling */
.trial-card {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white !important;
    border: 3px solid #059669;
    position: relative;
    overflow: hidden;
}

.trial-card > * {
    position: relative;
    z-index: 2;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.trial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.02), transparent);
    animation: shimmer 3s infinite;
    z-index: 0;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.trial-badge-card {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trial-card {
    min-width: 280px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.trial-card h3,
.trial-card .price,
.trial-card .features-list,
.trial-card .trial-badge-card,
.trial-card .trial-btn,
.trial-card .price-period {
    color: #FFD700 !important;
    word-wrap: break-word;
    position: relative;
    z-index: 15;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    font-weight: bold;
}

.trial-card .trial-badge-card {
    background: rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 15;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    color: #FFD700 !important;
}

.trial-card .features-list li {
    color: #FFD700 !important;
    position: relative;
    z-index: 15;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    font-weight: 600;
}

.trial-card .features-list li::before {
    color: rgba(255, 255, 255, 0.8);
}

.trial-btn {
    background: white !important;
    color: #10b981 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 15;
    border: none;
    text-shadow: none;
}

.trial-btn:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #059669 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-button {
    background: linear-gradient(135deg, #ff6b00 0%, #ffb800 50%, #ffd700 100%);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    display: inline-block;
    font-size: 1.1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
    color: #000;
    text-decoration: none;
}

/* Trial/Download/Subscribe Buttons - Purple Gradient */
.trial-button,
.cta-button[href*="trial"],
.cta-button[href*="download"],
.newsletter-form button[type="submit"],
#trialForm button[type="submit"] {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
    border: 2px solid #6366f1 !important;
}

.trial-button:hover,
.cta-button[href*="trial"]:hover,
.cta-button[href*="download"]:hover,
.newsletter-form button[type="submit"]:hover,
#trialForm button[type="submit"]:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4) !important;
    color: white !important;
}

/* Trial Banner */
.trial-banner {
    background: var(--surface);
    padding: 3rem 0;
    text-align: center;
}

.trial-banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.trial-banner .form-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.trial-banner input[type="email"] {
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    min-width: 300px;
    transition: border-color 0.3s ease;
}

.trial-banner input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Enhanced Features Section */
.features {
    padding: 30px 0;
    background: var(--surface);
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* System Requirements Section */
.system-requirements {
    padding: 30px 0;
    background: var(--surface);
}

.system-requirements h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Pricing Section */
.pricing {
    padding: 30px 0;
    background: white;
    position: relative;
}

.pricing h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* 4-Column Pricing Grid */
.pricing-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1200px) {
    .pricing-grid-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .pricing-grid-4col {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-width: 280px;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
    position: relative;
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-8px);
}

.pricing-grid-4col .pricing-card.popular {
    transform: none;
}

.pricing-grid-4col .pricing-card.popular:hover {
    transform: translateY(-8px);
}

.pricing-card.popular::before {
    content: "Popular";
    position: absolute;
    top: 0;
    right: 0;
    background: #334155;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 0 8px 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: none;
}

.pricing-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    display: block;
    margin-top: 0.5rem;
}

.trial-card .price-period {
    color: rgba(255, 255, 255, 0.9) !important;
}

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

.features-list li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.1rem;
}

.purchase-form {
    margin-top: 2rem;
}

/* User Dashboard */
.user-dashboard {
    padding: 4rem 0;
    background: var(--surface);
}

.user-dashboard h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

.license-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-expired {
    background: #fef2f2;
    color: #dc2626;
}

.status-trial {
    background: #fef3c7;
    color: #d97706;
}

/* Enhanced Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.footer p {
    text-align: center;
    margin-bottom: 1rem;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }

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

    .hero {
        padding: 100px 0 60px;
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .features-grid,
    .pricing-grid,
    .license-info {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .features {
        padding: 60px 0;
    }

    .pricing {
        padding: 60px 0;
    }

    .features h2,
    .pricing h2 {
        font-size: 2.2rem;
    }

    .trial-banner .form-group {
        flex-direction: column;
    }

    .trial-banner input[type="email"] {
        min-width: 100%;
        margin-bottom: 1rem;
    }

    .user-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Legal pages mobile */
    .legal-page-wrapper {
        padding: 100px 0 60px;
    }

    .legal-content {
        margin: 0 1rem;
        padding: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .refund-guarantee-badge {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .feature-card,
    .pricing-card,
    .info-card {
        padding: 1.5rem;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .pricing-grid {
        gap: 1.5rem;
    }
}

/* Legal Pages Styling */
.legal-page-wrapper {
    padding: 120px 0 80px;
    background: var(--background);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.legal-content-body {
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem 0;
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.contact-info {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.refund-guarantee-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.guarantee-icon {
    font-size: 3rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.guarantee-text p {
    margin: 0;
    opacity: 0.9;
}

/* FAQ Specific Styles */
.faq-item {
    background: var(--surface);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--primary-dark);
}

.faq-answer {
    padding: 1.5rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-toggle {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* WooCommerce Checkout & Cart Styles */
/* Table padding */
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
    padding: 0.75rem !important;
    vertical-align: middle !important;
}

/* Print Styles */
@media print {
    .header,
    .cta-button,
    .trial-banner,
    .footer {
        display: none;
    }

    .hero {
        background: none;
        color: black;
        margin-top: 0;
    }

    .legal-page-wrapper {
        padding: 20px 0;
    }

    .legal-content {
        box-shadow: none;
        padding: 1rem;
    }
}

/* FINAL FIX: Override .price class for WooCommerce checkout/cart */
body.woocommerce-checkout .price,
body.woocommerce-cart .price,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .price,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr td span,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr td span.woocommerce-Price-amount,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr td bdi,
body.woocommerce-cart table.cart tbody tr td,
body.woocommerce-cart table.cart tbody tr td span,
body.woocommerce-cart table.cart tbody tr td bdi {
    font-size: 1rem !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #1f2937 !important;
    font-weight: normal !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr td span,
body.woocommerce-cart .cart-subtotal td,
body.woocommerce-cart .order-total td {
    font-size: 1rem !important;
    font-weight: 600 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #1f2937 !important;
}
/* ===========================
   Blog/Post Styles (WordPress Default Look)
   =========================== */

/* Blog Content Area - Fix header overlap */
.blog-content-area {
    padding-top: 100px;
    background: #f8f9fa;
    min-height: 70vh;
}

.single-post-area {
    padding-top: 100px;
    background: #f8f9fa;
}

/* Archive/Blog Listing */
.site-main article {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.site-main article:last-child {
    border-bottom: none;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 2rem;
    line-height: 1.3;
    margin: 0 0 1rem 0;
}

.entry-title a {
    color: #333;
    text-decoration: none;
}

.entry-title a:hover {
    color: #667eea;
}

.entry-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.entry-meta span {
    margin-right: 1rem;
}

.sticky-post {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.entry-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #333;
}

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

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

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

.entry-content blockquote {
    border-left: 4px solid #667eea;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #f5f5f5;
    font-style: italic;
}

.entry-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.tags-links {
    color: #666;
}

.tags-links a {
    display: inline-block;
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.tags-links a:hover {
    background: #667eea;
    color: white;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
}

.read-more:hover {
    background: #5568d3;
}

.cat-links a {
    color: #667eea;
    text-decoration: none;
}

.cat-links a:hover {
    text-decoration: underline;
}

/* Post Navigation */
.post-navigation,
.posts-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 0 0 48%;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 1rem;
    background: #f5f5f5;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #667eea;
    color: white;
}

.nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.25rem;
}

.nav-title {
    display: block;
    font-weight: 600;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 4px;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.6;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.85rem;
}

.comment-reply-link:hover {
    background: #5568d3;
}

.comment-respond {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.comment-form textarea {
    min-height: 150px;
}

.comment-form .submit-comment {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.comment-form .submit-comment:hover {
    background: #5568d3;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-results .page-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.no-results .page-content {
    font-size: 1.1rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .entry-title {
        font-size: 1.5rem;
    }

    .nav-previous,
    .nav-next {
        flex: 0 0 100%;
        margin-bottom: 1rem;
    }

    .comments-area {
        padding: 1rem;
    }
}

/* ===========================
   PROFESSIONAL MODERN BLOG DESIGN
   =========================== */

/* Blog Container & Layout */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, transparent, #667eea, transparent) 1;
}

.blog-page-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.blog-page-description {
    font-size: 1.3rem;
    color: #64748b;
    font-weight: 400;
}

/* Blog Layout Wrapper - 2/3 + 1/3 */
.blog-layout-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.blog-main-content {
    min-width: 0; /* Fix grid overflow */
}

/* Blog Posts List - One per row */
.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* OLD Grid Layout (keeping for backwards compatibility) */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Professional Blog Post Card */
.blog-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-post-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.3);
}

.blog-post-card.sticky {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(255,255,255,1) 100%);
}

/* Sticky Post Ribbon */
.sticky-ribbon {
    position: absolute;
    top: 20px;
    right: -40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.6rem 3.5rem;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card Thumbnail */
.post-card-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.post-card-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.blog-post-card:hover .post-card-thumbnail::after {
    opacity: 1;
}

.post-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-post-card:hover .post-card-thumbnail img {
    transform: scale(1.15);
}

/* Card Content */
.post-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.entry-meta-top {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.post-date,
.post-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-weight: 500;
}

.post-date i,
.post-category i {
    color: #667eea;
    font-size: 0.9rem;
}

.post-category a {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.post-category a:hover {
    color: #764ba2;
}

.post-card-content .entry-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

.post-card-content .entry-title a {
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s;
    display: inline;
    background: linear-gradient(to right, #667eea, #764ba2);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
}

.post-card-content .entry-title a:hover {
    color: #667eea;
    background-size: 100% 2px;
}

.entry-excerpt {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    flex: 1;
    font-size: 0.975rem;
}

.entry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 2px solid #f1f5f9;
    margin-top: auto;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.post-author img {
    border-radius: 50%;
    border: 2px solid #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.read-more-btn:hover {
    gap: 0.9rem;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ===========================
   FULL-WIDTH POST CARD (One per row)
   =========================== */

.blog-post-full {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-post-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.blog-post-full.sticky {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(255,255,255,1) 100%);
}

.post-full-wrapper {
    display: flex;
    align-items: stretch;
}

.post-full-thumbnail {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    min-height: 200px;
    max-height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.post-full-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.blog-post-full:hover .post-full-thumbnail::after {
    opacity: 1;
}

.post-full-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-post-full:hover .post-full-thumbnail img {
    transform: scale(1.15);
}

.post-full-content {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.post-full-content .entry-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.post-full-content .entry-title a {
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s;
    display: inline;
    background: linear-gradient(to right, #667eea, #764ba2);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
}

.post-full-content .entry-title a:hover {
    color: #667eea;
    background-size: 100% 2px;
}

.post-full-content .entry-excerpt {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===========================
   SIDEBAR WIDGETS
   =========================== */

.blog-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #667eea;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.search-field:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-submit {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Recent Posts List */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.recent-posts-list li:last-child {
    border-bottom: none;
}

.recent-posts-list a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.2s;
    display: block;
    margin-bottom: 0.5rem;
}

.recent-posts-list a:hover {
    color: #667eea;
}

.post-date-small {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-date-small i {
    color: #667eea;
}

/* Categories List */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 0.75rem;
}

.categories-list a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.2s;
}

.categories-list a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.categories-list .count {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.categories-list a:hover .count {
    color: rgba(255,255,255,0.8);
}

/* Archives List */
.archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archives-list li {
    margin-bottom: 0.5rem;
}

.archives-list a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.2s;
}

.archives-list a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* ===========================
   SINGLE POST PROFESSIONAL DESIGN
   =========================== */

.single-post-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.single-post-article {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

/* Single Post Header */
.single-post-header {
    padding: 3.5rem 3.5rem 2.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.single-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.post-meta-badges {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.post-category-badge,
.post-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.post-category-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.post-category-badge a {
    color: white;
    text-decoration: none;
}

.post-date-badge {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.single-post-title {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.post-author-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.post-author-meta img {
    border-radius: 50%;
    border: 3px solid #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.05rem;
}

.author-bio {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Single Post Thumbnail */
.single-post-thumbnail {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    position: relative;
}

.single-post-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.single-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Single Post Content */
.single-post-content {
    padding: 3.5rem;
    font-size: 1.125rem;
    line-height: 1.9;
    color: #334155;
}

.single-post-content p {
    margin-bottom: 1.875rem;
}

.single-post-content h2 {
    font-size: 2.25rem;
    color: #0f172a;
    margin: 3rem 0 1.5rem;
    font-weight: 800;
    position: relative;
    padding-left: 1.5rem;
}

.single-post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.single-post-content h3 {
    font-size: 1.75rem;
    color: #1e293b;
    margin: 2.5rem 0 1.25rem;
    font-weight: 700;
}

.single-post-content h4 {
    font-size: 1.4rem;
    color: #334155;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

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

.single-post-content li {
    margin-bottom: 0.875rem;
    line-height: 1.8;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.single-post-content blockquote {
    border-left: 5px solid #667eea;
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    font-style: italic;
    color: #475569;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.single-post-content blockquote p {
    margin-bottom: 0;
    font-size: 1.15rem;
    font-weight: 500;
}

.single-post-content code {
    background: #f1f5f9;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    color: #e83e8c;
    border: 1px solid #e2e8f0;
}

.single-post-content pre {
    background: #1e293b;
    color: #f1f5f9;
    padding: 2rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2.5rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid #334155;
}

.single-post-content pre code {
    background: none;
    padding: 0;
    color: #f1f5f9;
    border: none;
}

.single-post-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.single-post-content a:hover {
    border-bottom-color: #667eea;
    color: #764ba2;
}

/* Single Post Footer */
.single-post-footer {
    padding: 2.5rem 3.5rem;
    border-top: 2px solid #f1f5f9;
    background: #fafbfc;
}

.post-tags-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-tags-section i {
    color: #667eea;
    font-size: 1.2rem;
}

.post-tags-list a {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #667eea;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0.35rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.post-tags-list a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Post Navigation */
.post-navigation {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.post-navigation a {
    display: block;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.post-navigation a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.post-navigation .nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.post-navigation .nav-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-navigation a:hover .nav-label {
    color: rgba(255,255,255,0.9);
}

.post-navigation .nav-title {
    font-size: 1.15rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.4;
}

.post-navigation a:hover .nav-title {
    color: white;
}

/* Posts Navigation (Archive Pagination) */
.posts-navigation {
    margin-top: 4rem;
}

.posts-navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.posts-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid #667eea;
    font-weight: 800;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.posts-navigation a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    padding: 3.5rem;
    margin-bottom: 2.5rem;
}

.comments-section .comments-title {
    font-size: 2.25rem;
    color: #0f172a;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 3px solid #667eea;
    font-weight: 800;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.comment {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.comment-author {
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.comment-metadata a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.comment-content {
    color: #334155;
    line-height: 1.8;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s;
}

.comment-reply-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.comment-respond {
    margin-top: 2.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
}

.comment-respond .comment-reply-title {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 2rem;
    font-weight: 800;
}

.comment-form label {
    display: block;
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-form textarea {
    min-height: 180px;
    resize: vertical;
}

.comment-form .submit-comment,
.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-form .submit-comment:hover,
.comment-form input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Back to Blog Button */
.back-to-blog-section {
    text-align: center;
    margin-top: 2.5rem;
}

.back-to-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid #667eea;
    font-weight: 800;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.back-to-blog-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}

.no-results .page-title {
    font-size: 2.75rem;
    color: #1e293b;
    margin-bottom: 1.25rem;
    font-weight: 900;
}

.no-results .page-content {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-layout-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        order: 2;
    }

    .post-full-wrapper {
        grid-template-columns: 1fr;
    }

    .post-full-thumbnail {
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .blog-page-title {
        font-size: 2.25rem;
    }

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

    .blog-layout-wrapper {
        gap: 2rem;
    }

    .post-full-content {
        padding: 2rem;
    }

    .post-full-content .entry-title {
        font-size: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .widget-title {
        font-size: 1.15rem;
    }

    .single-post-header {
        padding: 2.5rem 2rem 2rem;
    }

    .single-post-title {
        font-size: 2.25rem;
    }

    .single-post-content {
        padding: 2.5rem 2rem;
        font-size: 1.05rem;
    }

    .single-post-footer {
        padding: 2rem;
    }

    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .comments-section {
        padding: 2rem;
    }

    .post-author-meta {
        flex-direction: column;
        text-align: center;
    }

    .sticky-ribbon {
        font-size: 0.7rem;
        padding: 0.5rem 3rem;
    }
}

@media (max-width: 480px) {
    .blog-container {
        padding: 0 1rem;
    }

    .single-post-container {
        padding: 0 1rem;
    }

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

    .post-full-content {
        padding: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.25rem;
    }
}
