/* Base styles are in Critical CSS inline */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.header-top-banner:hover {
    background: linear-gradient(45deg, #e67e22 0%, #d84315 25%, #c71c3c 50%, #b8185f 75%, #a01477 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-content strong {
    font-weight: 700;
    margin-left: 4px;
}

nav a:hover {
    color: #0071e3;
}

.btn-primary:hover {
    background-color: #0077ed;
    transform: translateY(-1px);
}

.btn-secondary:hover {
    background-color: #fff;
}

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

.product-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.product-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #1d1d1f;
}

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

.product-card {
    background-color: #fff;
    padding: 32px;
    border-radius: 14px;
    border: 1px solid #e5e5e7;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.product-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #0071e3;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.product-desc {
    font-size: 15px;
    color: #424245;
    margin-bottom: 18px;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.product-features {
    list-style: none;
    margin-bottom: 22px;
}

.product-features li {
    font-size: 14px;
    color: #424245;
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.services h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #1d1d1f;
}

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

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e5e7;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #e5e5e7;
}

.service-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.service-card p {
    font-size: 15px;
    color: #424245;
    line-height: 1.6;
}

.benefits {
    background-color: #fff;
    border-top: 1px solid #e5e5e7;
    border-bottom: 1px solid #e5e5e7;
    padding: 60px 20px;
}

.benefits-content {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #1d1d1f;
}

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

.benefit-item {
    text-align: center;
}

.benefit-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.benefit-item p {
    font-size: 14px;
    color: #424245;
    line-height: 1.6;
}

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

.testimonials h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #1d1d1f;
}

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

.testimonial {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e5e7;
}

.testimonial-text {
    font-size: 15px;
    color: #424245;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 14px;
}

.testimonial-role {
    font-size: 13px;
    color: #86868b;
    margin-top: 4px;
}

.contact-section {
    background-color: #fff;
    border-top: 1px solid #e5e5e7;
    padding: 60px 20px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #1d1d1f;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 12px 30px;
    background-color: #0071e3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit:hover {
    background-color: #0077ed;
}

footer {
    background-color: #f5f5f7;
    border-top: 1px solid #e5e5e7;
    padding: 40px 20px 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.footer-section a {
    display: block;
    font-size: 13px;
    color: #424245;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #0071e3;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #e5e5e7;
    text-align: center;
    font-size: 13px;
    color: #86868b;
}

/* Reviews Section - E-E-A-T & Schema.org Compliance */
.reviews-section {
    background-color: #fff;
    border-top: 1px solid #e5e5e7;
    padding: 60px 20px;
}

.reviews-content {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    color: #1d1d1f;
}

.reviews-subtitle {
    font-size: 16px;
    color: #424245;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Review Form */
.review-form-container {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #e5e5e7;
    margin-bottom: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.review-form-container h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #1d1d1f;
    font-weight: 600;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-form .form-group {
    display: flex;
    flex-direction: column;
}

.review-form label {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.review-form input[type="text"],
.review-form input[type="email"],
.review-form textarea {
    padding: 12px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s;
}

.review-form input[type="text"]:focus,
.review-form input[type="email"]:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.review-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Rating Selector */
.rating-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rating-selector input[type="radio"] {
    display: none;
}

.star-label {
    cursor: pointer;
    font-size: 32px;
    color: #d2d2d7;
    transition: all 0.2s;
    user-select: none;
}

.rating-selector input[type="radio"]:checked + .star-label,
.rating-selector input[type="radio"]:hover + .star-label {
    color: #f59e0b;
    transform: scale(1.1);
}

.form-message {
    display: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Reviews List Container */
.reviews-list-container {
    margin-top: 60px;
}

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

.review-card {
    background-color: #f5f5f7;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #e5e5e7;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #d2d2d7;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating .star {
    color: #f59e0b;
    font-size: 16px;
}

.review-date {
    font-size: 12px;
    color: #86868b;
    white-space: nowrap;
}

.review-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    line-height: 1.4;
}

.review-card p {
    font-size: 14px;
    color: #424245;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-author {
    padding-top: 16px;
    border-top: 1px solid #e5e5e7;
}

.review-author strong {
    display: block;
    font-size: 14px;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.review-role {
    font-size: 12px;
    color: #86868b;
    display: block;
}

.reviews-aggregate {
    background-color: #f5f5f7;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e5e5e7;
    text-align: center;
}

.aggregate-text {
    font-size: 16px;
    color: #1d1d1f;
    line-height: 1.6;
}

.aggregate-text strong {
    color: #0071e3;
}

.stats {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat {
    padding: 20px 0;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #424245;
    font-weight: 500;
}

@media (max-width: 768px) {
    header {
        margin-top: 0;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
        justify-content: center;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    nav {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    nav a {
        margin-left: 0;
        margin-right: 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-badge {
        display: none;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-header {
        flex-direction: column;
        gap: 8px;
    }

    .review-form-container {
        padding: 25px;
    }

    .review-form-container h3 {
        font-size: 20px;
    }

    .rating-selector {
        gap: 8px;
    }

    .star-label {
        font-size: 28px;
    }

    /* Mobile Carousel Optimization */
    .carousel-container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .carousel-wrapper {
        width: 100%;
        position: relative;
    }

    .carousel-btn {
        position: absolute;
        width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 4px;
        flex-shrink: 0;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(210, 210, 215, 0.5);
        z-index: 10;
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .carousel-btn-prev {
        left: 8px;
    }

    .carousel-btn-next {
        right: 8px;
    }

    .carousel-btn:hover {
        background: rgba(255, 255, 255, 0.9);
        opacity: 1;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .carousel-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    /* Hide last 3 benefit items on mobile */
    .benefits-grid .benefit-item:nth-child(n+4) {
        display: none;
    }

    /* Hide last 3 service cards on mobile */
    .service-grid .service-card:nth-child(n+4) {
        display: none;
    }
}

/* YouTube Section Styles */
.youtube-section {
    background: linear-gradient(135deg, #E53935 0%, #D32F2F 100%);
    padding: 60px 20px;
    margin: 40px 0;
}

.youtube-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.youtube-section h2 {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.youtube-subtitle {
    color: #F5F5F5;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.youtube-container {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.youtube-container iframe {
    display: block;
    border: none;
}

.btn-youtube {
    display: inline-block;
    background-color: #FFFFFF;
    color: #D32F2F;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #FFFFFF;
    cursor: pointer;
}

.btn-youtube:hover {
    background-color: transparent;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .youtube-section {
        padding: 40px 20px;
    }

    .youtube-section h2 {
        font-size: 28px;
    }

    .youtube-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .youtube-container {
        margin-bottom: 30px;
    }

    .youtube-container iframe {
        height: 300px;
    }

    .btn-youtube {
        padding: 12px 24px;
        font-size: 14px;
    }
}
