/**
 * Features Page CSS
 * daten24.io - Combined Features Styles
 */

/* ==========================================
   FEATURES HERO
   ========================================== */

.features-hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.features-hero .page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--d24-primary), #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-hero .lead {
    font-size: 1.25rem;
    color: var(--d24-text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* ==========================================
   AUDIENCE SELECTOR
   ========================================== */

.audience-selector {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.audience-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 3rem;
    background: var(--d24-bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--d24-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.audience-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.1), transparent);
    transition: left 0.5s ease;
}

.audience-btn:hover::before {
    left: 100%;
}

.audience-btn:hover {
    border-color: var(--d24-primary);
    transform: translateY(-4px);
    box-shadow: var(--d24-shadow-lg);
}

.audience-btn.active {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(108, 92, 231, 0.1));
    border-color: var(--d24-primary);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.2);
}

.audience-btn .icon {
    font-size: 3rem;
}

.audience-btn .label {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--d24-text-primary);
}

/* ==========================================
   FEATURES SECTIONS
   ========================================== */

.features-section {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.features-section.active {
    display: block;
    opacity: 1;
    animation: fadeInSection 0.5s ease forwards;
}

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features-section .text-center {
    text-align: center;
}

.features-section .subtitle {
    font-size: 1.125rem;
    color: var(--d24-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   FEATURE HIGHLIGHT
   ========================================== */

.feature-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem 0;
    padding: 3rem;
    background: var(--d24-bg-secondary);
    border-radius: var(--d24-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-content {
    position: relative;
}

.feature-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--d24-primary), #00b894);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--d24-radius-md);
    margin-bottom: 1rem;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.feature-details-grid {
    display: grid;
    gap: 1.5rem;
}

.detail-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: var(--d24-text-secondary);
    font-size: 0.9375rem;
}

.browser-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.browser-icon {
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--d24-radius-md);
    color: var(--d24-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.browser-icon:hover {
    background: var(--d24-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 212, 170, 0.3);
}

.browser-icon.clicked {
    transform: scale(0.95);
}

/* ==========================================
   EXTENSION PREVIEW
   ========================================== */

.feature-visual {
    position: relative;
}

.extension-preview {
    position: relative;
}

.extension-card {
    background: var(--d24-bg-primary);
    border: 2px solid var(--d24-primary);
    border-radius: var(--d24-radius-lg);
    padding: 2rem;
    box-shadow: var(--d24-shadow-xl);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.extension-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.card-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: var(--d24-primary);
}

.card-body {
    padding-top: 1rem;
}

.step-indicator {
    font-size: 0.875rem;
    color: var(--d24-text-muted);
    margin-bottom: 1rem;
}

.platform-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--d24-text-primary);
    margin: 1rem 0;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--d24-primary), #00b894);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ==========================================
   FEATURE CARDS
   ========================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--d24-bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--d24-radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--d24-primary), #6c5ce7);
    border-radius: var(--d24-radius-lg) var(--d24-radius-lg) 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before,
.feature-card.selected::before {
    opacity: 1;
}

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

.feature-card.highlight {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(108, 92, 231, 0.1));
    border-color: var(--d24-primary);
}

.feature-card .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card > p {
    color: var(--d24-text-secondary);
    margin-bottom: 1.5rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--d24-text-secondary);
    font-size: 0.9375rem;
}

.feature-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--d24-primary);
    font-weight: 700;
}

/* ==========================================
   PLATFORM TIERS
   ========================================== */

.platform-tiers-section {
    padding: 4rem 0;
}

.platform-tiers-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.platform-tiers-section .subtitle {
    text-align: center;
    color: var(--d24-text-secondary);
    margin-bottom: 3rem;
}

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

.tier-card {
    background: var(--d24-bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--d24-radius-lg);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.tier-card:hover {
    border-color: var(--d24-primary);
    transform: translateY(-4px);
    box-shadow: var(--d24-shadow-xl);
}

.tier-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--d24-radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.tier-badge.recommended {
    background: linear-gradient(135deg, var(--d24-primary), #00b894);
    color: white;
}

.tier-api {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05), rgba(108, 92, 231, 0.05));
}

.tier-extension {
    border-color: var(--d24-primary);
}

.tier-manual {
    background: rgba(255, 255, 255, 0.02);
}

.tier-card h4 {
    margin-bottom: 0.5rem;
}

.tier-card > p {
    color: var(--d24-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.tier-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.platform-tag {
    padding: 0.375rem 0.75rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--d24-radius-sm);
    color: var(--d24-primary);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.platform-tag:hover {
    background: var(--d24-primary);
    color: white;
}

.tier-description {
    color: var(--d24-text-secondary);
    font-size: 0.9375rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================
   DATA CATEGORIES
   ========================================== */

/* ==========================================
   DATA CATEGORIES SECTION - EXPANDABLE CARDS
   ========================================== */

.data-categories-section {
    padding: 4rem 0;
}

.data-categories-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--d24-text-secondary);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

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

/* Category Card Base Styles */
.category-card {
    background: var(--d24-bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--d24-radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.category-card:hover {
    border-color: var(--d24-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.category-card:focus {
    outline: 3px solid var(--d24-primary);
    outline-offset: 2px;
}

/* Category Header (Always Visible) */
.category-header {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-header h4 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.category-teaser {
    color: var(--d24-text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* Expand/Collapse Icon */
.expand-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-card:hover .expand-icon {
    background: var(--d24-primary);
}

.expand-icon svg {
    transition: transform 0.3s ease;
}

.icon-collapse {
    display: none;
}

.category-card.expanded .icon-expand {
    display: none;
}

.category-card.expanded .icon-collapse {
    display: block;
}

/* Category Content (Hidden by Default) */
.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.category-card.expanded .category-content {
    max-height: 3000px;
    padding: 0 2rem 2rem 2rem;
}

/* Expanded Card Styling */
.category-card.expanded {
    grid-column: span 2;
    border-color: var(--d24-primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.category-card.expanded .category-header {
    text-align: left;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card.expanded .category-icon {
    display: inline-block;
    font-size: 2.5rem;
    margin-right: 1rem;
    margin-bottom: 0;
    vertical-align: middle;
}

.category-card.expanded .category-header h4 {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

.category-card.expanded .category-teaser {
    display: block;
    margin-top: 0.5rem;
    margin-left: 4.5rem;
}

/* Category Description */
.category-description {
    margin-bottom: 2rem;
}

.category-description h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--d24-primary);
}

.category-description p {
    color: var(--d24-text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Platforms Grid */
.category-platforms {
    margin-bottom: 2rem;
}

.category-platforms h5 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--d24-radius);
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.platform-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.platform-badge {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Platform Badge Colors */
.platform-badge.health { background: linear-gradient(135deg, #4CAF50, #45a049); }
.platform-badge.finance { background: linear-gradient(135deg, #2196F3, #1976D2); }
.platform-badge.ecommerce { background: linear-gradient(135deg, #FF9800, #F57C00); }
.platform-badge.social { background: linear-gradient(135deg, #E91E63, #C2185B); }
.platform-badge.location { background: linear-gradient(135deg, #9C27B0, #7B1FA2); }
.platform-badge.entertainment { background: linear-gradient(135deg, #F44336, #D32F2F); }

/* Data Types List */
.category-data-types {
    margin-bottom: 2rem;
}

.category-data-types h5 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

.data-types-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--d24-radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.data-types-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.data-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Use Cases Grid */
.category-use-cases h5 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.use-case {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-left: 3px solid var(--d24-primary);
    border-radius: var(--d24-radius);
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.use-case strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--d24-primary);
}

.use-case p {
    margin: 0;
    color: var(--d24-text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .category-card.expanded {
        grid-column: span 1;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .category-card.expanded .category-header {
        text-align: center;
    }

    .category-card.expanded .category-icon {
        display: block;
        margin: 0 auto 1rem;
    }

    .category-card.expanded .category-header h4 {
        display: block;
    }

    .category-card.expanded .category-teaser {
        margin-left: 0;
    }
}

/* ==========================================
   PLATFORM FEATURES GRID
   ========================================== */

.platform-features {
    padding: 4rem 0;
}

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

.platform-feature {
    text-align: center;
    padding: 2.5rem;
    background: var(--d24-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--d24-radius-lg);
    transition: all 0.3s ease;
}

.platform-feature:hover {
    border-color: var(--d24-primary);
    transform: translateY(-4px);
    box-shadow: var(--d24-shadow-lg);
}

.feature-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.platform-feature h3 {
    margin-bottom: 1rem;
}

.platform-feature p {
    color: var(--d24-text-secondary);
    font-size: 0.9375rem;
}

/* ==========================================
   FEATURES CTA
   ========================================== */

.features-cta {
    padding: 5rem 0;
    text-align: center;
}

.features-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-cta p {
    font-size: 1.125rem;
    color: var(--d24-text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid children */
.features-grid .fade-in-visible,
.categories-grid .fade-in-visible,
.tiers-grid .fade-in-visible {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .feature-highlight {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .feature-visual {
        order: -1;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .category-card.expanded {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .features-hero .page-title {
        font-size: 2rem;
    }

    .features-hero .lead {
        font-size: 1.125rem;
    }

    .audience-selector {
        flex-direction: column;
        gap: 1rem;
    }

    .audience-btn {
        flex-direction: row;
        padding: 1.5rem;
        gap: 1rem;
    }

    .audience-btn .icon {
        font-size: 2rem;
    }

    .audience-btn .label {
        font-size: 1rem;
    }

    .feature-highlight {
        padding: 1.5rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .features-grid,
    .tiers-grid,
    .categories-grid,
    .platform-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .browser-icons {
        flex-wrap: wrap;
    }

    .category-icon {
        font-size: 2.5rem;
    }

    .feature-icon-large {
        font-size: 3rem;
    }

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

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ==========================================
   EXTENSION GALLERY CAROUSEL
   ========================================== */

.extension-gallery {
    position: relative;
    padding: 2rem;
    background: var(--d24-bg-secondary);
    border-radius: var(--d24-radius-lg);
}

.extension-gallery .gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--d24-primary);
}

.extension-gallery .gallery-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Gallery Track */
.extension-gallery-track {
    display: flex;
    position: relative;
    min-height: 280px;
    overflow: visible;
    padding: 1rem 0;
}

.extension-gallery .extension-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    max-width: 400px;
    width: 100%;
}

.extension-gallery .extension-card.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.extension-gallery .extension-card:hover {
    transform: translateX(-50%) rotate(0deg) scale(1.02);
}

/* Gallery Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--d24-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

.gallery-arrow:hover {
    background: linear-gradient(135deg, var(--d24-primary), #00b894);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.5);
}

.gallery-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-arrow.gallery-prev {
    left: -25px;
}

.gallery-arrow.gallery-next {
    right: -25px;
}

.gallery-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Gallery Indicators */
.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.gallery-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.gallery-indicators .indicator.active {
    background: var(--d24-primary);
    transform: scale(1.3);
}

/* Platform-specific styling */
.extension-card .platform-logo {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    text-align: center;
    color: var(--d24-primary);
}

/* Responsive Gallery Design */
@media (max-width: 1024px) {
    .extension-gallery {
        padding: 1.5rem;
    }

    .extension-gallery-track {
        min-height: 260px;
    }

    .extension-gallery .extension-card {
        max-width: 350px;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .gallery-arrow.gallery-prev {
        left: -20px;
    }

    .gallery-arrow.gallery-next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .extension-gallery {
        padding: 1.5rem 1rem;
    }

    .extension-gallery .gallery-title {
        font-size: 1.25rem;
    }

    .extension-gallery-track {
        min-height: 240px;
    }

    .extension-gallery .extension-card {
        max-width: 300px;
        font-size: 0.9rem;
    }

    .extension-card .platform-logo {
        font-size: 1.75rem;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .gallery-arrow.gallery-prev {
        left: 10px;
    }

    .gallery-arrow.gallery-next {
        right: 10px;
    }

    /* Smaller indicators on mobile */
    .gallery-indicators .indicator {
        width: 8px;
        height: 8px;
    }

    .gallery-indicators .indicator.active {
        transform: scale(1.5);
    }
}

@media (max-width: 480px) {
    .extension-gallery-track {
        min-height: 220px;
    }

    .extension-gallery .extension-card {
        max-width: 260px;
    }

    /* Stack indicators if too many on very small screens */
    .gallery-indicators {
        gap: 0.4rem;
        max-width: 100%;
    }

    .gallery-indicators .indicator {
        width: 6px;
        height: 6px;
    }
}

/* ==========================================
   RESPONSIVE: HERO
   ========================================== */

@media (max-width: 768px) {
    .features-hero {
        padding: 3rem 0 2rem;
    }

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

    .features-hero .lead {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-hero .page-title {
        font-size: 1.75rem;
    }

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