/* --- BRAND VARIABLES --- */
:root {
    --perauto-dark: #111111;
    --perauto-accent: #ff0000;
    --perauto-light: #ffffff;
    --text-main: #e0e0e0;
}

/* --- BASE STYLES & GRADIENT BACKGROUND --- */
body {
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(136, 192, 56, 0.35) 0px, transparent 500px),
        radial-gradient(circle at 85% 75%, rgba(136, 192, 56, 0.25) 0px, transparent 500px);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    color: #333333; /* Swapped to dark grey for light background */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
}



/* --- STRUCTURAL CONTAINERS --- */
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-standard { max-width: 900px; margin: 0 auto; padding: 0 20px; text-align: center; }

/* --- GLOBAL HEADINGS --- */
h2, h3, h4, 
.green-heading,
.booking-container h2 {
    color: #88c038;
    text-align: center;
}

.green-heading {
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #555555;
    font-size: 20.8px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 50px;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    min-height: 400px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-bottom: 40px;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover; 
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.65); 
    z-index: -1;
}

.hero-content {
    z-index: 1;
    padding: 20px;
    max-width: 800px;
}

.hero-headline {
    font-size: 3.5rem;
    color: #ffffff !important;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subheadline {
    font-size: 1.2rem;
    color: #cccccc !important;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    background-color: var(--perauto-accent);
    color: var(--perauto-light);
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hero-btn:hover { background-color: #cc0000; }

/* --- TRANSPARENT SECTION WRAPPERS --- */
.benefits-glance-section, 
.premium-protection-section, 
.visualizer-section, 
.pricing-banner,
.next-steps-section {
    background-color: transparent !important;
    padding: 80px 0;
}

/* --- SECTION: QUICK FEATURES BAND --- */
.features-band {
    padding: 20px 0 60px 0;
    position: relative;
    z-index: 5;
}

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

/* Update your existing .feature-card and .feature-card p rules with these */

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #88c038;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.feature-icon {
    color: #88c038;
    margin-bottom: 15px;
}

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

/* Update just the paragraph rule to match the .section-subtitle size and weight, while keeping the text dark enough to read on the white card */

.feature-card p {
    color: #555555; /* Matches the original subtitle dark grey */
    font-size: 20.8px; /* Matches the exact font size of .section-subtitle */
    font-weight: 400; /* Removes the bold weight to match */
    line-height: 1.4;
    margin: 0;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* --- SECTION: BENEFITS AT A GLANCE --- */
.glance-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.glance-col { flex: 1; display: flex; flex-direction: column; gap: 40px; }
.glance-center { flex: 0 0 35%; text-align: center; }
.left-text { text-align: center; }
.right-text { text-align: center; }

.split-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border: 3px solid #88c038; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-radius: 8px;
}

.glance-item { position: relative; }

.glance-icon {
    color: #555555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(136, 192, 56, 0.15); 
    border-radius: 50%;
    margin-bottom: 15px;
    border: 1px solid rgba(136, 192, 56, 0.3);
}

.glance-icon svg { display: block; }
.glance-item h3 { color: #555555; font-size: 18px; margin: 0 0 10px 0; text-transform: uppercase; }
.glance-item p { color: #555555; font-size: 14px; line-height: 1.5; margin: 0; }

.glance-item:not(:last-child)::after {
    content: '';
    display: block;
    width: 50%;
    margin: 20px auto 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

/* --- SECTION: PREMIUM PROOF --- */
.premium-layout {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 60px;
    margin-top: 50px;
    text-align: left;
}

.premium-list { flex: 1; max-width: 650px; }
.premium-image { flex: 1; text-align: center; }
.kit-image { width: 100%; max-width: 420px; height: auto; border-radius: 8px; }

.premium-list ul { list-style: none; padding: 0; margin: 0; }
.premium-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    font-size: 18px;
    color: #555555;
    font-weight: 600;
    line-height: 1.4;
}

.premium-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -5px;
    width: 32px;
    height: 32px;
    background-color: rgba(136, 192, 56, 0.15);
    border: 1px solid rgba(136, 192, 56, 0.3);
    color: #88c038;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

/* Buttons */
.cta-center { text-align: center; margin-top: 40px; margin-bottom: 60px; }
.btn-green {
    display: inline-block;
    background-color: #88c038;
    color: #fff;
    padding: 18px 40px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s, transform 0.2s;
}
.btn-green:hover { background-color: #76a830; transform: translateY(-2px); }
.shadow-btn { box-shadow: 0 8px 15px rgba(0,0,0,0.3); }

/* --- SECTION: VISUALIZER --- */
.visualizer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
}

.visualizer-heading { margin-bottom: 30px; text-align: center; }
.visualizer-heading h3 { margin-bottom: 5px; font-size: 32px; text-transform: uppercase; }
.visualizer-heading p { margin-top: 0; color: #555555; }

.preview-area {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 280; 
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #111;
}

.overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 10; 
    pointer-events: none;
}

.car-color-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; 
    z-index: 1;
}

.wheel-container {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    background-color: #cecece; 
    width: 8.1%; 
    padding-top: 8.1%; 
    height: 0; 
    transform: translate(-50%, -50%); 
}

.front-wheel { top: 69.3%; left: 26.1%; }
.rear-wheel { top: 69.3%; left: 67.45%; }

.gator-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 4px solid #85a647; 
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.controls-area {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

/* --- VISUALIZER CONTROLS LIGHT THEME --- */
.control-group {
    background: #fafafa !important;
    border: 1px solid #dddddd !important;
    padding: 10px;
    border-radius: 8px;
}
.control-group h4 { color: #333333 !important; }
.color-picker-wrapper span { color: #555555 !important; }
.color-picker-wrapper span { font-size: 14px; color: #555555; }

.swatch-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s, border 0.2s;
}
.swatch:hover { transform: scale(1.1); border: 2px solid #fff; }

/* --- SECTION: 5-STAR PRICING BANNER --- */
.pricing-banner {
    background-color: #111111 !important; /* Overrides the glassmorphic transparency */
    color: #ffffff; 
    padding: 80px 20px;
    margin-top: 20px; /* Restores the original gap above the section */
}

.pricing-container {
    max-width: 800px; 
    margin: 0 auto; 
    text-align: center;
}

.stars-wrapper { 
    margin-bottom: 20px; 
}

.stars-wrapper svg { 
    margin: 0 3px; 
}

.pricing-banner h2 { 
    font-size: 2.5rem; 
    margin-top: 0; 
    margin-bottom: 15px; 
    letter-spacing: 1px; 
    color: #ffffff;
    text-transform: uppercase;
}

.pricing-banner p { 
    font-size: 1.2rem; 
    color: #cccccc; 
    margin-bottom: 40px; 
    line-height: 1.6; 
}

.pricing-card {
    background: #222222 !important; /* Restores solid dark grey */
    border: 2px solid #88c038 !important; /* Restores the solid green border */
    border-radius: 8px; 
    padding: 40px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: none !important; /* Removes the glass blur */
    -webkit-backdrop-filter: none !important;
}

.pricing-card h3 { 
    margin-top: 0; 
    margin-bottom: 0; 
    font-size: 2.5rem; 
    letter-spacing: 1px; 
    color: #88c038; 
}

.pricing-card .price-value { 
    font-size: 5.5rem; 
    font-weight: bold; 
    margin-top: 20px; 
    color: #ffffff; 
}

.pricing-card p { 
    font-size: 1.2rem; 
    color: #dddddd; 
    margin-bottom: 0; 
}

/* --- SECTION: BOOKING FORM --- */
.booking-container {
    max-width: 1000px;
    margin: 40px auto; 
    padding: 40px;
}

.booking-container h2 { margin-top: 0; font-size: 32px; text-transform: uppercase;}
.booking-container p { color: #555555; }

/* --- BOOKING FORM LIGHT THEME --- */
 
.step { 
    background: #f9f9f9 !important;
    border: 1px solid #dddddd !important;
    padding: 20px; 
    margin-bottom: 20px; 
    border-radius: 8px; 
}

.step h3 { text-align: left; color: #ffffff; margin-top: 0; }

.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 15px; margin-top: 15px; }

.color-box { 
    padding: 10px; 
    text-align: center; 
    background: #ffffff !important;
    border: 2px solid #cccccc !important;
    border-radius: 8px; 
    cursor: pointer; 
    transition: all 0.2s; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

.color-box:hover { border-color: #333333 !important; }
.color-box.selected {
    background-color: #f0f7e6) !important;
    border-color: #88c038 !important;
    box-shadow: 0 0 0 2px #88c038 !important;
}

.color-thumb { width: 100%; max-width: 80px; height: auto; margin-bottom: 8px; border-radius: 4px; }
.color-name { font-size: 14px; font-weight: bold; color: #ffffff !important; }

select, input[type="text"], input[type="email"], input[type="tel"] { 
    width: 100%; 
    padding: 12px; 
    font-size: 16px; 
    margin-top: 10px; 
    margin-bottom: 10px; 
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    color: #333333 !important;
    border-radius: 4px; 
    box-sizing: border-box; 
}

input::placeholder { color: #999999; }


#payment-container { margin-top: 20px; }

button.pay-btn, #card-button {
    background-color: #88c038 !important;
    color: #ffffff !important;
    border: none;
    font-weight: bold;
    padding: 15px 30px; 
    font-size: 16px; 
    cursor: pointer; 
    width: 100%; 
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

button.pay-btn:hover, #card-button:hover { background-color: #76a830 !important; }

/* --- SECTION: WHAT HAPPENS NEXT --- */
.steps-grid { display: flex; gap: 25px; margin-top: 50px; }

.step-card {
    flex: 1;
    padding: 30px 20px;
    position: relative;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.6); }

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #88c038;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(136, 192, 56, 0.4);
}

.step-icon {
    color: #88c038;
    background-color: rgba(136, 192, 56, 0.15);
    border: 1px solid rgba(136, 192, 56, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.step-card h3 { font-size: 18px; color: #555555; margin-top: 0; margin-bottom: 12px; text-transform: uppercase; font-weight: 700; }
.step-card p { font-size: 14px; color: #555555; line-height: 1.5; margin: 0; }

/* --- SITE FOOTER --- */
.site-footer {
    background-color: rgba(10, 10, 10, 0.95);
    color: #a0a0a0;
    padding: 70px 0 30px;
    border-top: 3px solid #88c038; 
    font-size: 14px;
}

.footer-grid { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.footer-col { flex: 1; }
.brand-col { flex: 1.3; }

.footer-brand { color: #ffffff !important; font-size: 24px; letter-spacing: 2px; margin-top: 0; margin-bottom: 12px; }
.footer-tagline { color: #888888; line-height: 1.5; margin-bottom: 20px; }
.footer-col h4 { color: #fff !important; font-size: 24px; text-transform: uppercase; letter-spacing: 1px; margin-top: 0; margin-bottom: 20px; }

.contact-list, .footer-links, .footer-keywords { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #cccccc; }
.contact-list svg { color: #88c038; flex-shrink: 0; }

.contact-list a, .footer-links a { color: #cccccc; text-decoration: none; transition: color 0.2s ease; display: inline-block; }
.contact-list a:hover, .footer-links a:hover { color: #88c038; transform: translateX(3px); }
.footer-links li { margin-bottom: 10px; }

/* SEO Keywords Accessibility */
.footer-keywords li { margin-bottom: 8px; color: #777777; font-size: 13px; position: relative; padding-left: 14px; }
.footer-keywords li::before { content: "•"; color: #88c038; position: absolute; left: 0; }
.footer-keywords a { color: inherit; text-decoration: none; }
.footer-keywords a:hover { color: #ffffff; text-decoration: underline; }
.footer-keywords a:focus-visible { color: #ffffff; outline: 2px solid #85a647; outline-offset: 2px; }

/* Address Block */
.contact-list li.address-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-list li.address-item svg { margin-top: 3px; }
.address-block { display: flex; flex-direction: column; gap: 3px; }
.address-block .company-name { font-weight: bold; color: #ffffff; }
.address-block span { color: #cccccc; line-height: 1.4; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    text-align: center;
    color: #666666;
    font-size: 13px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    .glance-layout, .premium-layout { flex-direction: column; }
    .glance-center { order: -1; margin-bottom: 30px; }
    .glance-item:not(:last-child)::after { width: 80%; }
    .premium-layout { gap: 30px; }
    .steps-grid { flex-direction: column; gap: 35px; }
    .visualizer-container, .booking-container { padding: 20px; }
}

@media (max-width: 768px) {
    .footer-grid { flex-direction: column; gap: 35px; }
}