/**
 * Single Product Template Styles
 * Moderne Produkt-Landingpage für cockpitOS Module
 */

/* Product Single Container */
.smg-product-single {
    font-family: var(--smg-font-primary, 'Open Sans', sans-serif);
    line-height: 1.6;
    color: var(--smg-text-dark, #333);
}

/* 1. Hero-Bereich */
.smg-product-single .smg-single-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.smg-product-single .smg-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.smg-product-single .smg-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.8);
}

.smg-product-single .smg-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.smg-breadcrumbs {
    margin-bottom: 20px;
    opacity: 0.9;
}

.smg-breadcrumbs a {
    color: white;
    text-decoration: none;
}

.smg-breadcrumbs .separator {
    margin: 0 8px;
}

.smg-page-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.smg-intro-text {
    font-size: 1.3rem;
    margin: 20px 0 30px 0;
    opacity: 0.95;
    line-height: 1.5;
}

.smg-product-categories {
    margin: 20px 0 30px 0;
}

.smg-category-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin: 0 8px 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* CTA Buttons im Hero */
.smg-product-ctas {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.smg-product-ctas .smg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 200px;
    justify-content: center;
}

.smg-product-ctas .smg-btn-primary {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.smg-product-ctas .smg-btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

.smg-product-ctas .smg-btn-secondary {
    background: #4ecdc4;
    color: white;
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.smg-product-ctas .smg-btn-secondary:hover {
    background: #26d0ce;
    transform: translateY(-3px);
}

/* 2. Problem Section - Vergleichstabelle */
.smg-problem-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.smg-problem-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 700;
}

.smg-comparison-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.smg-comparison-column {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.smg-comparison-column:hover {
    transform: translateY(-5px);
}

.smg-comparison-column.smg-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.smg-comparison-column h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.smg-comparison-column.smg-highlight h3 {
    border-bottom-color: rgba(255,255,255,0.3);
}

.smg-column-content p {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* 3. Demo Video Section */
.smg-demo-section {
    padding: 80px 0;
    background: white;
}

.smg-demo-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 600;
}

.smg-demo-video {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.smg-demo-video iframe,
.smg-demo-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 4. Features Section */
.smg-features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.smg-features-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 600;
}

.smg-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.smg-feature-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.smg-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.smg-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.smg-feature-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.smg-feature-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Content Section */
.smg-content-section {
    padding: 60px 0;
    background: white;
}

.smg-content-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.smg-text-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 5. Gallery Section */
.smg-gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.smg-gallery-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 600;
}

.smg-product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.smg-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.smg-gallery-item:hover {
    transform: scale(1.05);
}

.smg-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 6. Use Cases Section */
.smg-use-cases-section {
    padding: 80px 0;
    background: white;
}

.smg-use-cases-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 600;
}

.smg-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.smg-use-case-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.smg-use-case-item:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.smg-use-case-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.smg-use-case-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.smg-use-case-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* 7. Technical Section */
.smg-technical-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.smg-technical-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 600;
}

.smg-tech-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.smg-tech-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.smg-tech-features li i {
    color: #4ecdc4;
    font-size: 1.2rem;
}

.smg-integrations {
    margin: 50px 0;
}

.smg-integrations h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

.smg-integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.smg-integration-item {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.smg-integration-item strong {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.smg-integration-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.smg-datasheet-download {
    text-align: center;
    margin-top: 40px;
}

.smg-download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.smg-download-button:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

/* 8. Testimonial Section */
.smg-testimonial-section {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.smg-testimonial {
    max-width: 700px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    font-style: italic;
    position: relative;
}

.smg-testimonial::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.smg-testimonial p {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.smg-testimonial cite {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    font-style: normal;
}

/* 9. Final CTA Section */
.smg-final-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.smg-final-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.smg-final-cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.smg-final-ctas {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.smg-final-ctas .smg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 280px;
    justify-content: center;
}

.smg-btn-large {
    font-size: 1.2rem !important;
    padding: 18px 35px !important;
}

.smg-final-ctas .smg-btn-primary {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.smg-final-ctas .smg-btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

.smg-final-ctas .smg-btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.smg-final-ctas .smg-btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .smg-comparison-table {
        grid-template-columns: 1fr;
    }
    
    .smg-comparison-column.smg-highlight {
        transform: none;
    }
    
    .smg-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .smg-single-hero {
        padding: 80px 0 60px;
    }
    
    .smg-page-title {
        font-size: 2.2rem;
    }
    
    .smg-intro-text {
        font-size: 1.1rem;
    }
    
    .smg-product-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .smg-product-ctas .smg-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .smg-problem-section h2,
    .smg-features-section h2,
    .smg-gallery-section h2,
    .smg-use-cases-section h2,
    .smg-technical-section h2 {
        font-size: 1.8rem;
    }
    
    .smg-final-cta-content h2 {
        font-size: 2rem;
    }
    
    .smg-final-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .smg-use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .smg-feature-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .smg-use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .smg-product-gallery {
        grid-template-columns: 1fr;
    }
    
    .smg-tech-features ul {
        grid-template-columns: 1fr;
    }
    
    .smg-integration-grid {
        grid-template-columns: 1fr;
    }
}

/* DialogPilot Demo Integration auf Produktseiten */

.product-dialog-pilot-demo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin: 60px 0;
    position: relative;
}

.product-dialog-pilot-demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color, #667eea) 50%, transparent 100%);
}

.product-dialog-pilot-demo-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color, #667eea) 50%, transparent 100%);
}

.product-dialog-pilot-demo-section .smg-dialog-pilot-demo {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
    position: relative;
}

.product-dialog-pilot-demo-section .demo-header {
    text-align: center;
    margin-bottom: 40px;
}

.product-dialog-pilot-demo-section .demo-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color, #2c3e50);
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary-color, #667eea), var(--secondary-color, #4ecdc4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-dialog-pilot-demo-section .demo-subtitle {
    font-size: 1.2rem;
    color: var(--text-light, #6c757d);
    margin: 0;
    line-height: 1.6;
}

/* Responsive Anpassungen für Produktseiten */
@media (max-width: 768px) {
    .product-dialog-pilot-demo-section {
        padding: 60px 0;
        margin: 40px 0;
    }
    
    .product-dialog-pilot-demo-section .smg-dialog-pilot-demo {
        padding: 30px 20px;
    }
    
    .product-dialog-pilot-demo-section .demo-title {
        font-size: 2rem;
    }
    
    .product-dialog-pilot-demo-section .demo-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .product-dialog-pilot-demo-section {
        padding: 40px 0;
        margin: 30px 0;
    }
    
    .product-dialog-pilot-demo-section .smg-dialog-pilot-demo {
        padding: 25px 15px;
        border-radius: 16px;
    }
} 