/* Product Page Shared Styles */

/* Hero Section */
.product-hero {
    padding: 10rem 2rem 5rem;
    text-align: center;
    background: var(--navy-deep);
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 30%, var(--teal-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, var(--orange-glow) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.4;
}

.product-hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.product-hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.product-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-hero-tagline {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.product-hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 2rem;
}

.product-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.product-badge-hero {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-badge-hero.available {
    background: rgba(20, 184, 166, 0.15);
    color: var(--teal);
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.product-badge-hero.coming-soon {
    background: rgba(251, 146, 60, 0.15);
    color: var(--orange);
    border: 1px solid rgba(251, 146, 60, 0.3);
}

/* Minimal Hero Variant (Sales Intelligence Style) */
.product-hero-minimal {
    padding: 10rem 2rem 5rem;
}

.product-hero-minimal h1 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

.product-hero-tagline-large {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.product-hero-minimal .btn-hero {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.product-hero-subtext {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Proof Bar */
.product-proof-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
    margin-top: 0;
}

.product-proof-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-proof-item strong {
    color: var(--teal);
    font-weight: 600;
}

/* Features Section */
.product-features {
    padding: 5rem 2rem;
    background: var(--navy-mid);
}

.product-features.alt {
    background: var(--navy-deep);
}

.product-features-container {
    max-width: 1100px;
    margin: 0 auto;
}

.product-features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--navy-deep);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Use Cases Section */
.product-use-cases {
    padding: 5rem 2rem;
    background: var(--navy-deep);
}

.product-use-cases-container {
    max-width: 1100px;
    margin: 0 auto;
}

.product-use-cases h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-use-cases > p,
.product-use-cases-container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.use-case-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--navy-mid);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.use-case-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.use-case-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.use-case-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* How It Works Section */
.product-how-it-works {
    padding: 5rem 2rem;
    background: var(--navy-mid);
}

.product-how-it-works-container {
    max-width: 900px;
    margin: 0 auto;
}

.product-how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.product-cta-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
    position: relative;
    overflow: hidden;
}

.product-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, var(--teal-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, var(--orange-glow) 0%, transparent 50%);
    opacity: 0.3;
    pointer-events: none;
}

.product-cta-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.product-cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.product-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Related Products */
.related-products {
    padding: 5rem 2rem;
    background: var(--navy-deep);
}

.related-products-container {
    max-width: 1100px;
    margin: 0 auto;
}

.related-products h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.related-card:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
}

.related-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.related-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.related-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Story Section */
.product-story {
    padding: 5rem 2rem;
    background: var(--navy-mid);
}

.product-story.alt {
    background: var(--navy-deep);
}

.product-story-container {
    max-width: 720px;
    margin: 0 auto;
}

.product-story h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.product-story p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    text-align: center;
}

.product-story p.opener {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-story .standout,
.product-use-cases .standout,
.si-section .standout,
.si-content .standout {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-top: 2rem;
    text-align: center;
}

.product-story .standout strong,
.product-use-cases .standout strong,
.si-section .standout strong,
.si-content .standout strong {
    color: var(--teal);
}

/* Highlight Block - matching Sales Intelligence style */
.highlight-block {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 4px solid var(--teal);
    padding: 1.5rem 2rem;
    margin: 2.5rem auto;
    border-radius: 0 12px 12px 0;
    max-width: 700px;
    text-align: left;
}

.highlight-block p {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1.05rem;
}

/* Insight List - Clean vertical accent style */
.insight-list {
    list-style: none;
    padding: 0;
    margin: 2.5rem auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 500px;
}

.insight-list li {
    background: var(--navy-light);
    border-left: 3px solid var(--orange);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    transition: all 0.2s ease;
}

.insight-list li:hover {
    background: var(--navy-mid);
    border-left-color: var(--teal);
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .insight-list {
        margin: 2rem auto;
        max-width: 100%;
    }
    
    .insight-list li {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Comparison Section */
.product-comparison {
    padding: 5rem 2rem;
    background: var(--navy-mid);
}

.product-comparison-container {
    max-width: 800px;
    margin: 0 auto;
}

.product-comparison h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-comparison > p,
.product-comparison-container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.comparison-table {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.comparison-header {
    background: var(--navy-deep);
}

.comparison-header .comparison-cell {
    font-weight: 600;
    color: var(--text-primary);
    padding: 1rem 1.5rem;
}

.comparison-cell {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.comparison-row:last-child .comparison-cell {
    border-bottom: none;
}

.comparison-cell:first-child {
    border-right: 1px solid var(--border);
}

.comparison-cell.highlight {
    color: var(--teal);
    font-weight: 500;
}

.comparison-row:nth-child(odd):not(.comparison-header) {
    background: rgba(20, 184, 166, 0.03);
}

.comparison-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.comparison-footer strong {
    color: var(--text-primary);
    display: block;
    margin-top: 0.5rem;
}

/* Popular Badge for product hero */
.product-badge-hero.popular {
    background: rgba(20, 184, 166, 0.15);
    color: var(--teal);
    border: 1px solid rgba(20, 184, 166, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .product-hero {
        padding: 8rem 1.5rem 4rem;
    }
    
    .product-hero h1 {
        font-size: 2rem;
    }
    
    .product-hero-tagline {
        font-size: 1.15rem;
    }
    
    .product-hero-description {
        font-size: 1rem;
    }
    
    .product-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .product-proof-bar {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .features-grid,
    .use-cases-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .product-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .product-story {
        padding: 3rem 1.5rem;
    }
    
    .product-story h2 {
        font-size: 1.5rem;
    }
    
    .product-story p {
        font-size: 1rem;
    }
    
    .highlight-block {
        padding: 1.25rem 1.5rem;
    }
    
    .product-comparison {
        padding: 3rem 1.5rem;
    }
    
    .comparison-cell {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .comparison-footer {
        font-size: 1rem;
    }
}
