:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --amazon-color: #ff9900;
    --idealo-color: #f40000;
    --geizhals-color: #1a5c8e;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f0f2f5;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    padding: 60px 0;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    margin-bottom: 40px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
}

section {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

h2 {
    margin-bottom: 25px;
    border-left: 6px solid var(--primary-color);
    padding-left: 20px;
    font-size: 1.8rem;
}

h3 {
    margin: 30px 0 15px;
    color: var(--dark-color);
}

/* Color Selector */
.color-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-color {
    padding: 10px 30px;
    border: 2px solid #ddd;
    background: var(--white);
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
}

.btn-color.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Gallery */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.gallery {
    display: flex;
    flex-direction: column;
}

.main-img-container {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.main-img-container img {
    max-width: 100%;
    max-height: 500px;
    display: block;
    transition: opacity 0.3s ease;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
}

.thumb:hover, .thumb.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Info */
.features-list {
    list-style: none;
    margin: 25px 0;
}

.features-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

.cta-box {
    background: var(--light-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e9ecef;
}

.price-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.price-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: var(--transition);
    color: var(--white);
}

.btn-amazon { background: var(--amazon-color); }
.btn-amazon:hover { background: #e68a00; }

.btn-idealo { background: var(--idealo-color); }
.btn-idealo:hover { background: #d30000; }

.btn-geizhals { background: var(--geizhals-color); }
.btn-geizhals:hover { background: #14486f; }

/* Integration */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.card {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: var(--transition);
    text-align: center;
    background: #fcfcfc;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.integration-logo {
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Alternatives */
.product-grid-alt {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.alt-card {
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.alt-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.alt-card p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.alt-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Details Section Enhancement */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.detail-item {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Integration Logo Container */
.logo-placeholder {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
}

/* App Features Section */
.app-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.app-card {
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.app-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.app-img-container {
    background: #000;
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    overflow: hidden;
}

.app-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.app-card h3 {
    margin: 15px 0 10px;
    font-size: 1.2rem;
}

.app-card p {
    font-size: 0.95rem;
    color: var(--secondary-color);
}

@media (max-width: 900px) {
    .app-screenshot-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

.integration-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Alternatives Image Container */
.alt-img-container {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.alt-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.btn-small {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: var(--transition);
    margin-top: 15px;
}

.btn-small:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-container {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--secondary-color);
    font-size: 1rem;
}

footer {
    text-align: center;
    padding: 60px 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .product-grid, .integration-grid, .product-grid-alt {
        grid-template-columns: 1fr;
    }
    
    header h1 { font-size: 2.2rem; }
}
