/* Custom CSS for Tray Selector Website */

:root {
    --primary-red: #b71c1c;
    --primary-red-hover: #8b0000;
    --dark-red: #8b0000;
    --light-red-bg: #c62828;
    --light-red: #ffcdd2;
    --accent-blue: #2196F3;
    --dark-gray: #333333;
    --light-gray: #F5F5F5;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

h1 {
    color: var(--dark-gray);
}

h2 {
    color: var(--dark-gray);
    font-weight: 700;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-red) !important;
}

.brand-text {
    color: var(--dark-red);
    font-family: 'Poppins', sans-serif;
}

.nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.4);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffebee 100%);
}

.hero-title {
    color: var(--dark-gray);
    line-height: 1.2;
    font-size: 2.5rem;
}

.hero-paragraph {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-paragraph strong {
    color: var(--dark-gray);
    font-weight: 700;
}

.hero-content h1 {
    color: var(--dark-gray);
    line-height: 1.2;
}

.hero-content .lead {
    color: #666;
    font-size: 1.25rem;
}

.lead {
    color: #666;
    font-size: 1.25rem;
}

.eco-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(183, 28, 28, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 2px solid var(--light-red);
}

.eco-text {
    color: var(--dark-red);
    font-weight: 600;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #555;
}

.video-container {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-container iframe,
.video-container video {
    border: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Trusted By Section */
.trusted-section {
    background-color: #fafafa;
}

.logo-placeholder {
    transition: transform 0.3s ease;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.logo-placeholder img {
    max-width: 150px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-placeholder:hover {
    transform: scale(1.05);
}

/* Custom 7-column grid for large screens */
@media (min-width: 992px) {
    .col-lg-custom {
        flex: 0 0 auto;
        width: 14.285714%;
    }
}

/* Full Width Video Section */
.full-video-section {
    background-color: #fff;
}

.video-container-large {
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.video-container-large video {
    border: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Take a Look Section */
.take-a-look-section {
    background-color: #fff;
}

.take-a-look-section h2 {
    color: var(--dark-gray);
    font-weight: 700;
}

.take-a-look-section .lead {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Features Section */
.features-section {
    background-color: var(--light-gray);
}

.feature-card {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: inline-block;
}

.feature-icon svg {
    max-width: 60px;
    height: auto;
}

.feature-card h4 {
    color: var(--dark-gray);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.pricing-card {
    background: white;
    border-radius: 0;
    overflow: visible;
    border: 1px solid #e0e0e0;
}

.pricing-header {
    padding: 2rem;
}

.pricing-header-free {
    background: #5bc0de;
}

.pricing-header-standard {
    background: #76C34D;
}

.pricing-header-enterprise {
    background: #666666;
}

.pricing-card h3 {
    font-size: 1.75rem;
}

.price {
    color: var(--dark-gray);
}

.pricing-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: #333;
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.check-icon {
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

.cross-icon {
    color: #dc3545;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Pricing Ribbons */
.pricing-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    overflow: hidden;
    width: 150px;
    height: 150px;
    text-align: right;
    pointer-events: none;
}

.pricing-ribbon::before {
    content: attr(data-text);
    position: absolute;
    display: block;
    width: 225px;
    padding: 8px 0;
    background-color: #c62828;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
    right: -50px;
    top: 30px;
    transform: rotate(45deg);
}

.pricing-ribbon-free::before {
    content: 'FREE';
}

.pricing-ribbon-popular::before {
    content: 'POPULAR';
}

.pricing-ribbon-enterprise::before {
    content: "LET'S TALK";
}

.btn-danger {
    background-color: #c62828;
    border-color: #c62828;
}

.btn-danger:hover {
    background-color: #a52020;
    border-color: #a52020;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-gray);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stars {
    color: #FFC107;
    font-size: 1.25rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    font-size: 1.05rem;
}

.testimonial-author strong {
    color: var(--dark-gray);
    font-size: 1.05rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.read-more-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-left: 5px;
}

.read-more-link:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-hover) 100%);
    color: white;
}

.cta-section h2 {
    color: white;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-red);
    border-color: white;
}

.cta-section .btn-primary:hover {
    background-color: var(--light-gray);
    border-color: var(--light-gray);
    color: var(--dark-red);
}

/* Footer */
.footer {
    background-color: #2c2c2c !important;
}

.footer h5 {
    color: var(--light-red);
}

/* Download Page Styles */
.download-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffebee 100%);
}

.download-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-red);
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(183, 28, 28, 0.25);
}

.download-success {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--light-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }
}

/* Terms and Conditions Page */
.terms-content h2 {
    color: var(--dark-red);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-red);
}

.terms-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.terms-content h1 {
    color: var(--dark-red);
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 1rem;
}

.installation-steps {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
}

.installation-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.installation-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Footer Link Hover */
.footer a:hover {
    color: var(--light-red) !important;
    text-decoration: underline !important;
}

/* Help & FAQ Page Styles */
.help-section,
.faq-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    min-height: 80vh;
}

.help-header h1,
.faq-header h1 {
    color: var(--dark-gray);
    font-weight: 700;
}

.help-header .lead,
.faq-header .lead {
    color: #555;
    font-size: 1.1rem;
}

.help-toc {
    background: #f8f9fa;
    border: 2px solid var(--light-red);
}

.help-toc h2 {
    color: var(--dark-red);
}

.help-toc a {
    color: var(--primary-red);
    text-decoration: none;
    padding: 0.25rem 0;
    display: inline-block;
}

.help-toc a:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

.help-section-content h2,
.help-section-content h3 {
    color: var(--dark-gray);
}

.help-section-content h3.h5 {
    color: var(--dark-red);
}

.help-content a,
.faq-content a {
    color: var(--primary-red);
    text-decoration: none;
}

.help-content a:hover,
.faq-content a:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

.step-item {
    border-left: 4px solid var(--primary-red);
}

.accordion-button {
    font-weight: 600;
    color: var(--dark-gray);
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-red);
    color: var(--dark-red);
}

.accordion-button:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.25rem rgba(183, 28, 28, 0.25);
}

.faq-categories .btn-outline-primary {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.faq-categories .btn-outline-primary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.faq-category h2 {
    color: var(--dark-red);
    border-bottom-color: var(--light-red) !important;
}

.help-contact,
.faq-contact {
    background: linear-gradient(135deg, #ffebee 0%, #f8f9fa 100%);
    border-left: 4px solid var(--primary-red);
}

/* Contact Page Styles */
.contact-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffebee 100%);
    min-height: 80vh;
}

.contact-header h1 {
    color: var(--dark-gray);
    font-weight: 700;
}

.contact-header .lead {
    color: #555;
    font-size: 1.1rem;
}

.contact-form-card {
    background: white;
    border-radius: 16px;
    border: 2px solid var(--light-red);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--dark-gray);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(183, 28, 28, 0.25);
}

.contact-form-card textarea.form-control {
    resize: vertical;
}

.contact-section a {
    color: var(--primary-red);
    text-decoration: none;
}

.contact-section a:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.testimonial-card,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}
