/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Swiss Design Colors */
:root {
    --primary-red: #D44015;
    --secondary-red: #FF6B35;
    --light-red: #FFE5E0;
    --swiss-white: #FFFFFF;
    --swiss-gray: #F5F5F5;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --border-light: #E0E0E0;
    --success-green: #28A745;
    --warning-orange: #FFC107;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    max-width: 400px;
    padding: 40px;
}

.preloader-logo {
    margin-bottom: 40px;
}

.logo-icon {
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
}

.preloader-brand {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.preloader-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.preloader-animation {
    margin-bottom: 30px;
}

.spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.4s;
    border-top-color: var(--secondary-red);
    width: 70px;
    height: 70px;
    top: 5px;
    left: 5px;
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.8s;
    border-top-color: var(--primary-red);
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
}

.loading-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.preloader-progress {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progress 3s ease-in-out infinite;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .preloader {
        transition: none;
    }
    
    .logo-icon {
        animation: none;
    }
    
    .spinner-ring {
        animation: none;
        border-top-color: var(--primary-red);
    }
    
    .spinner-ring:nth-child(2) {
        border-top-color: var(--secondary-red);
    }
    
    .spinner-ring:nth-child(3) {
        border-top-color: var(--primary-red);
    }
    
    .progress-fill {
        animation: none;
        width: 100%;
    }
}

/* Mobile responsive preloader */
@media (max-width: 768px) {
    .preloader-content {
        padding: 20px;
        max-width: 300px;
    }
    
    .preloader-brand {
        font-size: 2rem;
    }
    
    .spinner {
        width: 60px;
        height: 60px;
    }
    
    .spinner-ring {
        border-width: 2px;
    }
    
    .spinner-ring:nth-child(2) {
        width: 52px;
        height: 52px;
        top: 4px;
        left: 4px;
    }
    
    .spinner-ring:nth-child(3) {
        width: 44px;
        height: 44px;
        top: 8px;
        left: 8px;
    }
}

@media (max-width: 480px) {
    .preloader-brand {
        font-size: 1.8rem;
    }
    
    .preloader-subtitle {
        font-size: 0.9rem;
    }
    
    .loading-text {
        font-size: 0.8rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--primary-red);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content h3 {
    color: var(--primary-red);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.cookie-content p {
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 10px;
    flex: 1;
    min-width: 200px;
}

.cookie-content a {
    color: var(--primary-red);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept, .btn-reject {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--primary-red);
    color: white;
}

.btn-accept:hover {
    background: #B83510;
}

.btn-reject {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-light);
}

.btn-reject:hover {
    background: var(--swiss-gray);
}

/* Navigation */
.navbar {
    background: var(--swiss-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-red);
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #B83510;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    background: var(--light-red);
    color: var(--primary-red);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-price {
    margin-bottom: 30px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-new {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-red);
}

.price-save {
    background: var(--success-green);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-buy-primary {
    background: var(--primary-red);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 64, 21, 0.3);
}

.btn-buy-primary:hover {
    background: #B83510;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 64, 21, 0.4);
}

.trust-indicators {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-showcase {
    position: relative;
    text-align: center;
}

/* Product Gallery */
.product-gallery {
    margin-bottom: 20px;
}

.main-product-image {
    margin-bottom: 15px;
}

.main-product-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.main-product-image img:hover {
    transform: scale(1.02);
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--primary-red);
    transform: scale(1.1);
}

.thumbnail.active {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px var(--light-red);
}

.product-placeholder-fallback {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.product-svg-text {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 16px;
    fill: #666;
}

.product-features-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: var(--light-red);
    color: var(--primary-red);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--swiss-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.feature-card {
    background: var(--swiss-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.feature-icon {
    background: var(--light-red);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Specifications */
.specifications {
    padding: 100px 0;
    background: var(--swiss-gray);
}

.specs-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary-red);
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    color: var(--text-light);
}

.package-includes {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.package-includes h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.package-list {
    list-style: none;
}

.package-list li {
    padding: 8px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
}

.package-list li::before {
    content: "✓";
    color: var(--success-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: var(--swiss-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
}

.stars {
    margin-bottom: 15px;
}

.star {
    color: #ddd;
    font-size: 18px;
}

.star.filled {
    color: #FFD700;
}

.review-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.review-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.reviewer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
}

.reviewer strong {
    color: var(--text-dark);
}

.reviewer span {
    color: var(--text-light);
    font-size: 14px;
}

.reviews-summary {
    text-align: center;
    padding: 40px;
    background: var(--light-red);
    border-radius: 12px;
}

.summary-stats .rating {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-red);
}

.summary-stats .rating-stars {
    font-size: 2rem;
    color: #FFD700;
    margin: 10px 0;
}

.summary-stats p {
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--swiss-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--swiss-gray);
}

.faq-question h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary-red);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer {
    padding: 0 25px;
}

.faq-answer p, .faq-answer ul {
    color: var(--text-light);
    line-height: 1.6;
    padding-bottom: 25px;
}

.faq-answer ul {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 5px;
}

/* Buy Now Section */
.buy-now {
    padding: 100px 0;
    background: var(--primary-red);
    color: white;
}

.buy-card {
    background: white;
    border-radius: 16px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.buy-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.buy-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.price-final {
    margin-bottom: 30px;
}

.price-old {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 15px;
}

.price-final-new {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-red);
}

.buy-benefits {
    list-style: none;
}

.buy-benefits li {
    padding: 8px 0;
    color: var(--text-dark);
    font-weight: 500;
}

.btn-buy-large {
    background: var(--primary-red);
    color: white;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 64, 21, 0.3);
}

.btn-buy-large:hover {
    background: #B83510;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 64, 21, 0.4);
}

.security-note {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.contact-info p {
    margin-bottom: 5px;
    color: #ccc;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--swiss-gray);
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-red);
}

.modal-body {
    padding: 30px;
}

.modal-body h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    margin-top: 25px;
    font-size: 1.2rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    margin-bottom: 8px;
    color: var(--text-dark);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .specs-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .buy-card {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .price-new {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .buy-content h2 {
        font-size: 2rem;
    }
    
    .price-final-new {
        font-size: 2.2rem;
    }
    
    .btn-buy-large {
        font-size: 1.1rem;
        padding: 16px 30px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus states for accessibility */
a:focus, button:focus, .faq-question:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar, .cookie-banner, .modal {
        display: none !important;
    }
    
    .hero, .features, .specifications, .reviews, .faq, .buy-now {
        padding: 20px 0;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
}