/* Features Detail Page Styles */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    color: #ffd700;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 400px;
}

.hero-main-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    text-align: left;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 1.5rem 0;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
}

.stat-item {
    text-align: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 400px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Detailed Section */
.features-detailed {
    padding: 4rem 0;
    background: var(--white);
}

.feature-detail {
    margin-bottom: 6rem;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-detail.reverse .feature-content {
    direction: rtl;
}

.feature-detail.reverse .feature-info,
.feature-detail.reverse .feature-visual {
    direction: ltr;
}

.feature-info {
    padding: 2rem 0;
}

.feature-header {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-header .feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
    margin-bottom: 0 !important;
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.2;
}

.feature-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-benefits {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.feature-benefits li {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.5;
}

.feature-benefits li i {
    position: absolute;
    left: 0;
    color: var(--primary-600);
    font-size: 0.875rem;
    top: 0.25rem;
}

.feature-visual {
    background: var(--gray-100);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    text-align: center;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    width: 100%;
    max-width: 400px;
}

.mockup-header {
    background: var(--gray-900);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mockup-header::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #ff5f56;
    border-radius: 50%;
    box-shadow: 20px 0 #ffbd2e, 40px 0 #27ca3f;
}

.mockup-content {
    padding: 1.5rem;
}

.inventory-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 1rem;
}

.inventory-item:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 600;
    color: var(--gray-900);
    flex: 1;
    font-size: 0.875rem;
}

.item-stock {
    color: var(--gray-600);
    font-size: 0.8rem;
    min-width: 70px;
    text-align: center;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-md);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 85px;
    text-align: center;
}

.status-badge.green {
    background: #dcfce7;
    color: #166534;
}

.status-badge.orange {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.red {
    background: #fee2e2;
    color: #991b1b;
}

/* AI Demo */
.ai-demo {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    width: 100%;
    max-width: 400px;
}

.ai-input {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.ai-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-size: 0.875rem;
}

.ai-button {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
}

.ai-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.ai-output {
    text-align: left;
}

.ai-output h4 {
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-output p {
    margin: 0 0 1.5rem 0;
    color: var(--gray-700);
    line-height: 1.5;
    font-size: 0.875rem;
}

.ai-output p:last-child {
    margin-bottom: 0;
}

/* Order Management Mockup */
.order-mockup {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    width: 100%;
    max-width: 400px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.order-item:last-child {
    border-bottom: none;
}

.order-id {
    font-family: monospace;
    background: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    color: var(--gray-700);
}

.order-details {
    flex: 1;
}

.order-customer {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.875rem;
}

.order-amount {
    color: var(--gray-600);
    font-size: 0.8rem;
}

/* Multi-channel Sync */
.sync-demo {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    width: 100%;
    max-width: 400px;
}

.sync-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.platform {
    text-align: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-200);
}

.platform i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.platform.amazon i { color: #ff9900; }
.platform.flipkart i { color: #047bd6; }
.platform.etsy i { color: #d5641c; }
.platform.ebay i { color: #e53238; }

.platform-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-900);
}

.sync-status {
    text-align: center;
    padding: 1rem;
    background: var(--success-50);
    border: 1px solid var(--success-200);
    border-radius: var(--border-radius-md);
}

.sync-indicator {
    color: var(--success-600);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sync-text {
    font-size: 0.875rem;
    color: var(--success-800);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-left {
        order: 2;
    }
    
    .hero-main-content {
        order: 1;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .feature-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .feature-detail.reverse .feature-content {
        direction: ltr;
    }
    
    .feature-visual {
        padding: 2rem;
        min-height: 300px;
    }
    
    .dashboard-mockup,
    .ai-demo,
    .order-mockup,
    .sync-demo {
        max-width: 100%;
    }
    
    .sync-platforms {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 5rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .feature-title {
        font-size: 1.75rem;
    }
    
    .feature-visual {
        padding: 1.5rem;
    }
}
