.product-section {
    border-bottom: 1px solid var(--border-color);
}

.product-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    position: relative;
}

.product-details {
    flex: 1;
    width: 100%;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.product-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8) 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .product-features-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-feature-item i {
    color: var(--accent-purple);
    margin-top: 3px;
    font-size: 0.85rem;
}

/* Browser mockup framing for product screenshots */
.product-visual {
    flex: 1.2;
    width: 100%;
    position: relative;
    z-index: 1;
}

.product-visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75%;
    height: 75%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.2;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.product-item:nth-of-type(1) .product-visual::after {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 65%);
}

.product-item:nth-of-type(2) .product-visual::after {
    background: radial-gradient(circle, rgba(255, 92, 0, 0.2) 0%, transparent 65%);
}

.product-item:nth-of-type(3) .product-visual::after {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 65%);
}

.product-item:hover .product-visual::after {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.05);
}

.browser-mockup {
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(18, 18, 20, 0.3);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

:root[data-theme="light"] .browser-mockup {
    background: rgba(255, 255, 255, 0.4);
}

.browser-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.browser-mockup:hover {
    transform: translateY(-5px) scale(1.02);
}

.product-item:nth-of-type(1) .browser-mockup:hover {
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    border-color: rgba(168, 85, 247, 0.3);
}

.product-item:nth-of-type(2) .browser-mockup:hover {
    box-shadow: var(--shadow-glow-orange), var(--shadow-lg);
    border-color: rgba(255, 92, 0, 0.3);
}

.product-item:nth-of-type(3) .browser-mockup:hover {
    box-shadow: var(--shadow-glow-cyan), var(--shadow-lg);
    border-color: rgba(6, 182, 212, 0.3);
}

.browser-header {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    margin-right: 5px;
}

.browser-dot:nth-child(1) { background-color: #ef4444; }
.browser-dot:nth-child(2) { background-color: #eab308; }
.browser-dot:nth-child(3) { background-color: #22c55e; }

.browser-url {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: 1px var(--space-4);
    margin-left: var(--space-4);
    width: 60%;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-content {
    display: block;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
}

.browser-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.browser-mockup:hover .browser-content img {
    transform: scale(1.04);
}

/* Alternate order for landscape screens */
@media (min-width: 992px) {
    .product-item {
        flex-direction: row;
        gap: var(--space-16);
    }
    
    .product-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .product-details {
        width: auto;
    }
    
    .product-visual {
        width: auto;
    }
}
