/* Feature Detail Pages Styles */
:root {
    --primary-color: #4361ee;
    --primary-color-dark: #3a56d4;
    --success-color: #38b000;
    --text-color: #2c3e50;
    --text-secondary: #6c757d;
    --border-color: #e9ecef;
    --bg-light: #f8f9fa;
}

/* Hero Section */
.feature-detail-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--success-color) 100%);
    padding: 4rem 0 3rem;
    color: white;
    margin-bottom: 0;
}

.feature-detail-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.feature-detail-hero .lead {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feature-detail-hero h1 {
        font-size: 2rem;
    }
    .feature-detail-hero .lead {
        font-size: 1.1rem;
    }
}

/* Breadcrumb Section */
.feature-breadcrumb {
    background-color: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-breadcrumb .breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0;
}

.feature-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-secondary);
}

.feature-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.feature-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

.feature-breadcrumb .breadcrumb-item.active {
    color: var(--text-secondary);
}

/* Main Content Section */
.feature-detail-section {
    padding: 3rem 0;
}

.feature-detail-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.feature-detail-section h4 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.feature-detail-section p.lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-detail-section p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.feature-detail-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.feature-detail-section ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Screenshot Container */
.screenshot-container {
    margin: 2.5rem 0;
}

.screenshot-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    background-color: #f8f9fa;
    min-height: 300px;
    object-fit: contain;
    object-position: top center;
}

.screenshot-caption {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
    line-height: 1.5;
}

/* Screenshot Placeholder */
.screenshot-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin: 2.5rem 0;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot-placeholder .screenshot-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.screenshot-placeholder .screenshot-caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Key Features Grid */
.key-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.feature-card h4 i {
    color: var(--primary-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Feature Highlight Box */
.feature-highlight-box {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(56, 176, 0, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.feature-highlight-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.feature-highlight-box h4 i {
    color: var(--primary-color);
}

.feature-highlight-box p {
    margin-bottom: 0.75rem;
}

.feature-highlight-box p:last-child {
    margin-bottom: 0;
}

/* Use Case Section */
.use-case-section {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.use-case-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.use-case-section h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.use-case-section h4 i {
    margin-right: 0.5rem;
}

.use-case-section p {
    margin-bottom: 0.75rem;
}

.use-case-section p:last-child {
    margin-bottom: 0;
}

.use-case-section strong {
    color: var(--text-color);
    font-weight: 600;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--success-color) 100%);
    color: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.2);
}

.cta-box h4 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-box p.lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.cta-box .btn {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-box .btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .key-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .feature-detail-hero {
        padding: 3rem 0 2rem;
    }

    .feature-detail-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .feature-detail-hero .lead {
        font-size: 1rem;
    }

    /* Main Content */
    .feature-detail-section {
        padding: 2rem 0;
    }

    .feature-detail-section h3 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .feature-detail-section h4 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }

    /* Grid Layout */
    .key-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Feature Cards */
    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h4 {
        font-size: 1.1rem;
    }

    /* Screenshots */
    .screenshot-container {
        margin: 2rem 0;
    }

    .screenshot-container img {
        border-radius: 8px;
        min-height: 200px;
    }

    .screenshot-placeholder {
        padding: 2rem 1.5rem;
        min-height: 200px;
    }

    .screenshot-placeholder .screenshot-title {
        font-size: 1.1rem;
    }

    .screenshot-caption {
        font-size: 0.875rem;
        margin-top: 0.75rem;
    }

    /* Highlight Boxes */
    .feature-highlight-box {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    .feature-highlight-box h4 {
        font-size: 1.15rem;
    }

    /* Use Cases */
    .use-case-section {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .use-case-section h4 {
        font-size: 1.1rem;
    }

    /* CTA Box */
    .cta-box {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .cta-box h4 {
        font-size: 1.5rem;
    }

    .cta-box p.lead {
        font-size: 1rem;
    }

    .cta-box .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .feature-detail-hero {
        padding: 2rem 0 1.5rem;
    }

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

    .feature-detail-hero .lead {
        font-size: 0.95rem;
    }

    .feature-detail-section h3 {
        font-size: 1.35rem;
    }

    .feature-detail-section h4 {
        font-size: 1.1rem;
    }

    .screenshot-container img,
    .screenshot-placeholder {
        min-height: 150px;
    }

    .feature-highlight-box {
        padding: 1rem;
    }

    .use-case-section {
        padding: 1rem;
    }

    .cta-box {
        padding: 1.5rem 1rem;
    }

    .cta-box h4 {
        font-size: 1.25rem;
    }
}

/* Image Placeholder for Missing Screenshots */
.screenshot-container img[src*="screenshots/"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-container img[src*="screenshots/"]::after {
    content: "Screenshot Coming Soon";
    display: block;
    color: var(--text-secondary);
    font-size: 1.25rem;
    font-weight: 500;
}
