/**
 * SellerLegend Feature Pages - Centralized Theme
 * Dark theme with orange (#FF9900) accents
 * Consistent with main site design system
 */

/* ========================================
   CSS Variables - Feature Pages Theme
   ======================================== */
:root {
    /* Primary Colors */
    --feature-primary: #FF9900;
    --feature-primary-light: #FFB347;
    --feature-primary-dark: #E68A00;

    /* Background Colors */
    --feature-bg-dark: #0a0e17;
    --feature-bg-darker: #050810;
    --feature-bg-card: rgba(15, 20, 30, 0.95);
    --feature-bg-card-hover: rgba(20, 25, 35, 0.98);
    --feature-bg-section-alt: #0d1117;

    /* Text Colors */
    --feature-text-primary: #ffffff;
    --feature-text-secondary: #94a3b8;
    --feature-text-muted: #64748b;

    /* Border & Shadow */
    --feature-border: rgba(255, 255, 255, 0.1);
    --feature-border-hover: rgba(255, 153, 0, 0.3);
    --feature-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    --feature-shadow-glow: 0 0 40px rgba(255, 153, 0, 0.15);

    /* Gradients */
    --feature-gradient-primary: linear-gradient(135deg, #FF9900 0%, #FFB347 100%);
    --feature-gradient-hero: linear-gradient(135deg, #0a0e17 0%, #0d1420 50%, #0a0e17 100%);
    --feature-gradient-cta: linear-gradient(135deg, #0d1117 0%, #131922 100%);
}

/* Light Theme Overrides */
[data-theme="light"] {
    --feature-primary: #E08600;
    --feature-primary-light: #FF9900;
    --feature-primary-dark: #B86E00;
    --feature-bg-dark: #FFFFFF;
    --feature-bg-darker: #F8FAFC;
    --feature-bg-card: rgba(255, 255, 255, 0.95);
    --feature-bg-card-hover: rgba(248, 250, 252, 0.98);
    --feature-bg-section-alt: #F1F5F9;
    --feature-text-primary: #0F172A;
    --feature-text-secondary: #475569;
    --feature-text-muted: #94A3B8;
    --feature-border: rgba(15, 23, 42, 0.08);
    --feature-border-hover: rgba(224, 134, 0, 0.3);
    --feature-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --feature-shadow-glow: 0 0 30px rgba(224, 134, 0, 0.1);
    --feature-gradient-primary: linear-gradient(135deg, #E08600 0%, #FF9900 100%);
    --feature-gradient-hero: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 50%, #FFFFFF 100%);
    --feature-gradient-cta: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
}

/* ========================================
   Feature Hero Section
   ======================================== */
.feature-hero {
    background: var(--feature-gradient-hero);
    position: relative;
    padding: 120px 20px 100px;
    margin-top: 0;
    overflow: hidden;
}

.feature-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 153, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 179, 71, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 153, 0, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--feature-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--feature-primary);
}

.breadcrumb span {
    color: var(--feature-text-muted);
}

/* Hero Content Grid */
.feature-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Category Badge */
.feature-category-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--feature-gradient-primary);
    color: var(--feature-bg-dark);
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-updated-date {
    display: block;
    font-size: 0.8125rem;
    color: var(--feature-text-secondary, #94a3b8);
    margin-bottom: 12px;
}

/* Hero Title */
.feature-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--feature-text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #FF9900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--feature-text-secondary);
    margin-bottom: 24px;
}

/* Feature Badges */
.feature-badges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Badge Variants - Dark Theme */
.badge-real-time,
.badge-near-real-time {
    background: rgba(255, 153, 0, 0.15);
    color: #FFB347;
    border: 1px solid rgba(255, 153, 0, 0.3);
}
.badge-customizable {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.3);
}
.badge-multi-marketplace {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}
.badge-accurate,
.badge-detailed {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-forecasting,
.badge-smart-alerts {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}
.badge-ppc,
.badge-roi-tracking {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge-product-insights,
.badge-bestsellers {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.badge-clv,
.badge-segmentation {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.badge-money-recovery,
.badge-tracking {
    background: rgba(20, 184, 166, 0.15);
    color: #2dd4bf;
    border: 1px solid rgba(20, 184, 166, 0.3);
}
.badge-protection,
.badge-instant-alerts {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}
.badge-fba {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.badge-cost-tracking,
.badge-cogs {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-bulk-upload {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-team,
.badge-permissions {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.3);
}
.badge-automation,
.badge-alerts {
    background: rgba(255, 153, 0, 0.15);
    color: #FFB347;
    border: 1px solid rgba(255, 153, 0, 0.3);
}
.badge-api,
.badge-developer {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-cta .btn-primary {
    background: var(--feature-gradient-primary);
    color: var(--feature-bg-dark);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(255, 153, 0, 0.3);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 153, 0, 0.4);
}

.hero-cta .btn-secondary {
    background: transparent;
    color: var(--feature-text-primary);
    padding: 14px 32px;
    border: 2px solid var(--feature-border);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.hero-cta .btn-secondary:hover {
    border-color: var(--feature-primary);
    color: var(--feature-primary);
}

/* Hero Visual / Screenshot */
.feature-hero-visual {
    position: relative;
}

.feature-screenshot {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--feature-shadow), var(--feature-shadow-glow);
    border: 1px solid var(--feature-border);
}

/* Mockup Window (for pages without screenshots) */
.feature-mockup {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

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

.mockup-window {
    background: var(--feature-bg-card);
    border-radius: 16px;
    box-shadow: var(--feature-shadow), var(--feature-shadow-glow);
    overflow: hidden;
    border: 1px solid var(--feature-border);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--feature-border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title {
    color: var(--feature-text-muted);
    font-size: 0.875rem;
}

.mockup-content {
    padding: 80px 40px;
    background: var(--feature-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-placeholder i {
    font-size: 96px;
    color: var(--feature-bg-dark);
    opacity: 0.3;
}

/* ========================================
   Feature Overview Section
   ======================================== */
.feature-overview {
    padding: 80px 20px;
    background: var(--feature-bg-dark);
}

.overview-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--feature-text-primary);
    margin-bottom: 20px;
}

.overview-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--feature-text-secondary);
}

/* ========================================
   Enhanced Layout (Test - Analytics Dashboard)
   ======================================== */

/* Enhanced Hero - Larger Screenshot */
.feature-hero--enhanced {
    overflow: visible;
}

.feature-hero--enhanced .container {
    max-width: 1280px;
    padding: 0 2rem;
}

.feature-hero-content--enhanced {
    grid-template-columns: minmax(320px, 400px) 1fr;
    gap: 48px;
    align-items: center;
    max-width: none;
    width: 100%;
}

.feature-hero-content--enhanced .feature-hero-text {
    text-align: left;
}

.feature-hero-content--enhanced .hero-description {
    text-align: justify;
    text-justify: inter-word;
}

.feature-hero-content--enhanced .feature-hero-visual {
    position: relative;
    justify-self: stretch;
    width: 100%;
}

.feature-hero-content--enhanced .screenshot-container {
    max-width: none;
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-hero-content--enhanced .screenshot-container:hover {
    transform: scale(1.02);
}

.feature-hero-content--enhanced .feature-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 153, 0, 0.1);
}

.feature-hero-content--enhanced .screenshot-overlay {
    border-radius: 12px;
}

/* Enhanced Overview - With Sidebar */
.feature-overview--enhanced .container {
    max-width: 1280px;
    padding: 0 2rem;
}

.feature-overview--enhanced .overview-content {
    max-width: none;
}

.feature-overview--enhanced .overview-text {
    text-align: justify;
    text-justify: inter-word;
}

.overview-grid--with-sidebar {
    display: grid;
    grid-template-columns: minmax(320px, 400px) 1fr;
    gap: 48px;
    align-items: start;
}

/* Quick Stats Sidebar */
.overview-sidebar {
    position: sticky;
    top: 100px;
    width: 100%;
}

.quick-stats {
    background: var(--feature-bg-card);
    border: 1px solid var(--feature-border);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.quick-stats h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--feature-text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--feature-border);
    text-align: left;
}

/* Stats Grid - 2x2 layout for better space utilization */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
    border-bottom: none;
    padding-bottom: 16px;
}

.stat-item:first-of-type {
    padding-top: 16px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 153, 0, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--feature-primary);
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--feature-text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--feature-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Perfect For Section */
.perfect-for {
    background: var(--feature-bg-card);
    border: 1px solid var(--feature-border);
    border-radius: 16px;
    padding: 24px;
}

.perfect-for h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--feature-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.perfect-for-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.perfect-tag {
    padding: 8px 14px;
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.2);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--feature-primary-light);
    transition: all 0.3s ease;
}

.perfect-tag:hover {
    background: rgba(255, 153, 0, 0.2);
    border-color: rgba(255, 153, 0, 0.4);
}

/* Responsive for Enhanced Layout */
@media (max-width: 1024px) {
    .feature-hero-content--enhanced {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-hero-content--enhanced .feature-hero-visual {
        order: -1;
    }

    .feature-hero-content--enhanced .screenshot-container {
        max-width: 600px;
        margin: 0 auto;
    }

    .feature-overview--enhanced .overview-text {
        text-align: left;
    }

    .overview-grid--with-sidebar {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .overview-sidebar {
        position: static;
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 14px;
    }
}

/* RTL Support for Enhanced Layout */
[dir="rtl"] .feature-hero-content--enhanced .feature-hero-visual {
    transform-origin: center left;
}

/* ========================================
   Key Benefits Section
   ======================================== */
.key-benefits-section {
    padding: 80px 20px;
    background: var(--feature-bg-section-alt);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--feature-text-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--feature-bg-card);
    border-radius: 16px;
    border: 1px solid var(--feature-border);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--feature-border-hover);
    background: var(--feature-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--feature-shadow-glow);
}

.benefit-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--feature-gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--feature-bg-dark);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.25);
}

.benefit-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--feature-text-primary);
}

.benefit-content p {
    color: var(--feature-text-secondary);
    line-height: 1.6;
}

/* ========================================
   Features List Section (What's Included)
   ======================================== */
.features-list-section {
    padding: 80px 20px;
    background: var(--feature-bg-section-alt);
    position: relative;
}

.features-list-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 153, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 153, 0, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.features-list-section .section-title {
    position: relative;
    z-index: 1;
}

.features-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    font-size: 0.95rem;
    color: var(--feature-text-secondary);
    background: var(--feature-bg-card);
    border: 1px solid var(--feature-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--feature-border-hover);
    background: var(--feature-bg-card-hover);
    transform: translateX(4px);
}

.feature-item span {
    flex: 1;
    line-height: 1.5;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    color: #10b981;
}

/* ========================================
   Related Features Section
   ======================================== */
.related-features-section {
    padding: 80px 20px;
    background: var(--feature-bg-section-alt);
}

.related-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-feature-card {
    background: var(--feature-bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--feature-border);
    transition: all 0.3s ease;
}

.related-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--feature-border-hover);
    box-shadow: var(--feature-shadow-glow);
}

.related-feature-icon {
    width: 52px;
    height: 52px;
    background: var(--feature-gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--feature-bg-dark);
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.25);
}

.related-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--feature-text-primary);
}

.related-feature-card p {
    color: var(--feature-text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.related-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--feature-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.related-feature-link:hover {
    gap: 12px;
    color: var(--feature-primary-light);
}

/* ========================================
   Feature CTA Section
   ======================================== */
.feature-cta-section {
    padding: 100px 20px;
    background: var(--feature-gradient-cta);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.08) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.feature-cta-content {
    position: relative;
    z-index: 1;
}

.feature-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--feature-text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #FF9900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-cta-content p {
    font-size: 1.25rem;
    color: var(--feature-text-secondary);
    margin-bottom: 32px;
}

.feature-cta-content .btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.cta-note {
    font-size: 0.875rem;
    color: var(--feature-text-muted);
    margin-top: 16px;
}

/* ========================================
   Features Listing Page (features.blade.php)
   ======================================== */
.page-hero {
    background: var(--feature-gradient-hero);
    position: relative;
    padding: 140px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 153, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 179, 71, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 153, 0, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--feature-text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #FF9900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--feature-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: var(--feature-bg-dark);
}

/* Category Filter */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--feature-border);
    background: transparent;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--feature-text-secondary);
}

.filter-btn:hover {
    border-color: var(--feature-primary);
    color: var(--feature-primary);
}

.filter-btn.active {
    background: var(--feature-gradient-primary);
    border-color: var(--feature-primary);
    color: var(--feature-bg-dark);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--feature-bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--feature-border);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--feature-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--feature-shadow-glow);
}

.feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--feature-gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--feature-bg-dark);
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.25);
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--feature-text-primary);
}

.feature-description {
    color: var(--feature-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-highlights {
    margin-bottom: 24px;
}

.feature-highlight {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--feature-text-secondary);
}

.feature-highlight.more-features {
    color: var(--feature-text-muted);
    font-style: italic;
    padding-left: 24px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--feature-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 12px;
    color: var(--feature-primary-light);
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: var(--feature-gradient-cta);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.08) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--feature-text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #FF9900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--feature-text-secondary);
    margin-bottom: 2rem;
}

.cta-note {
    font-size: 0.875rem;
    color: var(--feature-text-muted);
    margin-top: 1rem;
}

.cta-cross-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cta-cross-links a {
    color: #FF9900;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 153, 0, 0.08);
    transition: all 0.2s ease;
}

.cta-cross-links a:hover {
    background: rgba(255, 153, 0, 0.15);
    color: #FFB347;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
    .feature-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .feature-hero-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .feature-hero {
        padding: 40px 20px 60px;
    }

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

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

    .features-columns {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .feature-cta-content h2,
    .cta-content h2 {
        font-size: 1.75rem;
    }

    .benefit-card {
        flex-direction: column;
        text-align: center;
    }

    .benefit-icon {
        margin: 0 auto;
    }
}

/* ========================================
   Light Theme Component Overrides
   ======================================== */
[data-theme="light"] .mockup-header {
    background: rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .stat-item {
    background: rgba(15, 23, 42, 0.02);
    border-color: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .feature-hero h1,
[data-theme="light"] .feature-cta-content h2,
[data-theme="light"] .page-hero h1,
[data-theme="light"] .cta-content h2 {
    background: linear-gradient(135deg, #0F172A 0%, #E08600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .benefit-icon,
[data-theme="light"] .feature-icon,
[data-theme="light"] .related-feature-icon {
    color: #FFFFFF;
}

[data-theme="light"] .filter-btn.active {
    color: #FFFFFF;
}
