/* ==================== PRODUCT PAGE STYLES ==================== */

/* Product Hero */
.product-hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.product-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.product-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 76, 255, 0.92), rgba(200, 182, 255, 0.85));
}

.product-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--text-white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.product-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
}

.product-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Product Overview */
.product-overview {
    background: var(--surface);
    padding: 5rem 0;
}

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

.overview-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.overview-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Key Features */
.key-features {
    background: linear-gradient(180deg, var(--background), var(--surface));
    padding: 5rem 0;
}

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

.feature-item {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 2px solid transparent;
}

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

.feature-icon-large {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.feature-icon-large svg {
    width: 36px;
    height: 36px;
}

.feature-item h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* How It Works */
.how-it-works {
    background: var(--surface);
    padding: 5rem 0;
}

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

.step-card {
    background: var(--background);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.step-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.step-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(106, 76, 255, 0.1));
    z-index: 1;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.step-card:hover .step-image img {
    transform: scale(1.1);
}

.step-card h3 {
    padding: 1.5rem 2rem 0.75rem;
    font-size: 1.375rem;
    color: var(--text-dark);
}

.step-card p {
    padding: 0 2rem 2rem;
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Use Cases */
.use-cases {
    background: linear-gradient(180deg, var(--background), var(--surface));
    padding: 5rem 0;
}

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

.use-case-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.use-case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.use-case-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Technical Specs */
.tech-specs {
    background: var(--surface);
    padding: 5rem 0;
}

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

.tech-specs .tech-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.tech-specs .tech-text > p {
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.tech-features li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.tech-features svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.tech-specs .tech-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Product CTA */
.product-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 6rem 0;
    text-align: center;
    color: var(--text-white);
}

.product-cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-white);
    margin-bottom: 1rem;
}

.product-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

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

/* Feature Grid (Alternative Layout) */
.feature-grid,
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-grid div,
.feature-list div {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.feature-grid div:hover,
.feature-list div:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-grid strong,
.feature-list h4 {
    display: block;
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

/* Lists and Steps (Legacy Support) */
.steps {
    list-style: none;
    counter-reset: step-counter;
}

.steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.use-cases li,
.tech-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--background);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.use-cases li:hover,
.tech-list li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-content,
    .tech-specs .tech-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tech-specs .tech-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 8rem 0 4rem;
        min-height: 60vh;
    }
    
    .features-grid-large {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .product-cta {
        padding: 4rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-hero-title {
        font-size: 2rem;
    }
    
    .product-hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 2rem 1.5rem;
    }
    
    .step-card h3 {
        font-size: 1.25rem;
    }
}
