/* Products Page Specific Styles */

/* Products Hero */
.products-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    text-align: center;
}

.products-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.products-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.products-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Sections */
.product-section {
    padding: 5rem 0;
    background: white;
}

.product-section.alt-bg {
    background: var(--bg-light);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-content.reverse {
    direction: rtl;
}

.product-content.reverse > * {
    direction: ltr;
}

.product-info {
    max-width: 500px;
}

.product-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-features h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.feature-list-detailed li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.feature-list-detailed li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.feature-list-detailed strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.feature-list-detailed span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.tech-stack {
    margin-top: 2rem;
}

.tech-stack h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.tech-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-badge {
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Product Visuals */
.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* API Demo */
.api-demo {
    width: 100%;
    max-width: 500px;
}

.code-block {
    background: #1f2937;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.code-header {
    background: #374151;
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code {
    color: #e5e7eb;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.dashboard-header {
    background: var(--bg-light);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.nav-item.active {
    color: var(--primary-color);
    position: relative;
}

.nav-item.active:after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.dashboard-content {
    padding: 2rem;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1f2937;
    border-radius: 2rem;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    background: white;
    height: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--gradient);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.app-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.app-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.music-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.album-art {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 0.5rem;
}

.song-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.artist-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.control {
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.control.play {
    color: var(--primary-color);
    font-size: 2.5rem;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    max-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.process-step p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-card > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-content.reverse {
        direction: ltr;
    }
    
    .product-visual {
        order: -1;
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .products-title {
        font-size: 2.5rem;
    }
    
    .stat-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Active Navigation State */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}
