/* General Styling */
:root {
    --primary-blue: #0A7EFF; /* Slightly brighter, more engaging blue */
    --dark-blue: #0047AB; /* Deeper blue for hover/strong emphasis */
    --light-grey: #F8F9FA; /* Off-white, clean background */
    --medium-grey: #E9ECEF; /* Softer accent background */
    --dark-grey: #212529; /* Near black for strong contrast */
    --text-color: #495057; /* Darker, but softer text */
    --accent-green: #28a745;
    --white: #ffffff;
    --shadow-light: 0 4px 18px rgba(0, 0, 0, 0.06); /* More diffused, subtle shadow */
    --shadow-medium: 0 12px 30px rgba(0, 0, 0, 0.12); /* Stronger, but still diffused for hover */
    --border-radius-base: 12px; /* Slightly more rounded corners */
    --light-blue-gradient: linear-gradient(135deg, #e0f2ff, #cceeff); /* Subtle gradient for accents */
    --transition-base: all 0.3s ease-in-out; /* Consistent transition for animations */
    --bg-gradient-light: linear-gradient(to bottom right, #fdfdfe, #f5f7f9); /* Very subtle background gradient for body */
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; /* Add a modern font */
    line-height: 1.7; /* Increased line height for readability */
    color: var(--text-color);
    background: var(--bg-gradient-light); /* Use subtle background gradient */
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

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

h1, h2, h3 {
    color: var(--dark-grey);
    margin-bottom: 1rem;
    line-height: 1.25;
    font-weight: 700; /* Bolder headings */
}

h1 { font-size: 2.8rem; letter-spacing: -0.03em; } /* Larger, tighter for premium feel */
h2 { font-size: 2.4rem; margin-bottom: 3rem; } /* Slightly larger h2, more margin */
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

a:hover {
    text-decoration: underline;
    color: var(--dark-blue);
}

ul {
    list-style: none;
    padding: 0;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem; /* Larger buttons */
    border-radius: var(--border-radius-base);
    font-size: 1.1rem; /* Slightly larger font */
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    border: none;
    box-shadow: 0 6px 15px var(--shadow-light); /* Refined shadow */
    font-weight: 600; /* Bolder button text */
}

.btn-primary {
    background-color: var(--primary-blue);
    background-image: linear-gradient(45deg, var(--primary-blue) 0%, #006aff 100%);
    color: var(--white);
}

.btn-primary:hover {
    background-image: linear-gradient(45deg, #006aff 0%, var(--dark-blue) 100%);
    transform: translateY(-5px); /* More pronounced lift */
    box-shadow: 0 10px 20px var(--shadow-medium);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--white); /* White background for secondary */
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue); /* Stronger border */
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-medium);
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px;
    z-index: 9999;
    font-size: 1rem;
    border-radius: 0 0 var(--border-radius-base) var(--border-radius-base);
}

.skip-link:focus {
    top: 0;
    left: 0;
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #006aff 100%); /* Match site's primary gradient */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Very high z-index to cover everything */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease-out, visibility 0.7s ease-out; /* Smooth fade-out transition */
    color: var(--white);
    text-align: center;
}

#splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

#splash-screen .splash-icon {
    width: 120px; /* Larger icon */
    height: 120px;
    margin-bottom: 2rem;
    animation: bounceIn 1s forwards ease-out; /* Subtle entrance animation for icon */
}

#splash-screen .splash-title {
    font-size: 3.5rem; /* Large title */
    font-weight: 800;
    margin: 0;
    color: var(--white);
    letter-spacing: -2px;
    animation: fadeIn 1.5s forwards ease-out; /* Fade-in animation for title */
    animation-delay: 0.3s; /* Delay title animation slightly */
    opacity: 0; /* Start hidden for animation */
}

/* Animations for splash screen elements */
@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Main Content Visibility */
main#main-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in; /* Smooth fade-in for main content */
}

main#main-content.visible {
    opacity: 1;
    visibility: visible;
}


/* Header & Navigation */
.main-header {
    background-color: var(--white);
    padding: 1.2rem 0; /* More padding */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Softer, slightly less prominent shadow */
    border-bottom: 1px solid var(--medium-grey); /* Subtle bottom border */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 2.2rem; /* Slightly larger */
    font-weight: 800; /* Bolder */
    color: var(--primary-blue);
    letter-spacing: -1px; /* Tighter letter spacing */
    white-space: nowrap; /* Keep title on one line */
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    background: linear-gradient(45deg, var(--primary-blue), #006aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav .nav-list {
    display: flex;
    gap: 2rem; /* More space between nav items */
}

.main-nav .nav-list a {
    color: var(--text-color); /* Updated text color */
    font-weight: 600; /* Bolder for navigation */
    padding: 0.6rem 0;
    position: relative;
    transition: var(--transition-base);
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px; /* Move slightly down */
    width: 0;
    height: 3px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-nav .nav-list a:hover {
    color: var(--primary-blue); /* Primary color on hover */
    transform: translateY(-3px); /* Slight lift on hover */
    text-decoration: none; /* Ensure no underline on hover if not desired */
}

.main-nav .nav-list a:hover::after {
    width: 100%;
}

.hamburger {
    display: none; /* Hidden on desktop */
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001; /* Above nav list when open */
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 28px; /* Slightly wider */
    height: 3px;
    background-color: var(--primary-blue); /* Hamburger bars match primary color */
    margin: 6px 0; /* More margin */
    border-radius: 2px;
    transition: var(--transition-base);
}

/* Hero Section */
.hero-section {
    background: url('hero-car-protection.png') no-repeat center center/cover;
    color: var(--white);
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); /* More defined text shadow */
    padding: 10rem 0; /* More vertical padding */
    text-align: center;
    position: relative;
    isolation: isolate; /* To ensure pseudo-element background blends correctly */
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker overlay */
    z-index: -1;
}

.hero-section h2 {
    color: var(--white);
    font-size: 4.2rem; /* Larger hero title */
    font-weight: 800;
    margin-bottom: 1.8rem;
    letter-spacing: -0.04em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section p {
    font-size: 1.45rem; /* Larger hero paragraph */
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Styling */
.info-section, .accent-section {
    padding: 6rem 0; /* More padding between sections */
    text-align: center;
}

.info-section {
    background-color: var(--white);
}

.accent-section {
    /* For premium feel, add a very light gradient here */
    background: linear-gradient(135deg, var(--medium-grey) 0%, #e2e4e7 100%);
}

.info-section h2, .accent-section h2 {
    margin-bottom: 3.5rem;
    position: relative;
    display: inline-block;
}

.info-section h2::after, .accent-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px; /* Move slightly down */
    transform: translateX(-50%);
    width: 100px; /* Wider underline */
    height: 5px; /* Thicker underline */
    background-color: var(--primary-blue);
    border-radius: 3px;
}

/* New: Section intro/conclusion text */
.section-intro-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: -1rem auto 3rem auto; /* Adjust margin to sit closer to heading but separate from steps */
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.85;
    font-weight: 300;
}

.section-conclusion {
    margin-top: 3rem; /* Add some space above */
    margin-bottom: 2rem;
}

/* New: Utility class for margin-top */
.mt-4 {
    margin-top: 2rem;
}

/* Specific Section Layouts */
.info-grid, .how-to-grid, .contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly wider min width */
    gap: 2.5rem; /* More gap */
    margin-top: 3rem;
    text-align: left;
}

.info-item, .how-to-item, .contact-item {
    background-color: var(--white);
    padding: 2.5rem; /* More padding */
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light); /* Apply new shadow */
    transition: var(--transition-base);
    border: 1px solid rgba(0,0,0,0.05); /* Subtle border */
    outline: none; /* Remove default outline on focus */
}

.accent-section .info-item, .accent-section .how-to-item {
    background-color: var(--white); /* Ensure cards have white background even in accent section */
}

.info-item:hover, .how-to-item:hover, .contact-item:hover {
    transform: translateY(-10px); /* More pronounced lift */
    box-shadow: var(--shadow-medium); /* Stronger shadow on hover */
}

.info-item h3, .how-to-item h3, .contact-item h3 {
    color: var(--dark-blue); /* Darker blue for headings */
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.info-item ul, .how-to-item ul {
    list-style: disc;
    padding-left: 25px;
    font-size: 1.05rem;
    color: var(--text-color);
}

.info-item li, .how-to-item li {
    margin-bottom: 0.8rem;
}

/* Coverage Types */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted min width */
    gap: 2rem;
    margin-top: 3rem;
}

.coverage-item {
    background-color: var(--white);
    padding: 2.5rem 2rem; /* More vertical padding */
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light); /* Apply new shadow */
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(0,0,0,0.05); /* Subtle border */
    outline: none; /* Remove default outline on focus */
}

.coverage-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium); /* Stronger shadow on hover */
}

.coverage-item h3 {
    color: var(--dark-blue);
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.coverage-item p {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Calculator Wrapper */
.calculator-widget-wrapper {
    max-width: 100%;
    margin: 3rem auto 0 auto;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0,0,0,0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.calculator-widget-wrapper iframe {
    border-radius: var(--border-radius-base);
    display: block;
    margin: 0 auto;
    min-height: 700px;
    width: 100%;
    max-width: 100%;
    border: none;
    overflow: hidden;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    counter-reset: step-counter;
    margin-top: 3.5rem;
}

.process-steps li {
    flex-basis: calc(50% - 1.25rem); /* Two columns on larger screens */
    max-width: 550px; /* Slightly increase max width for steps */
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light); /* Apply new shadow */
    text-align: left;
    position: relative;
    padding-left: 6rem; /* More space for step number */
    transition: var(--transition-base);
    border: 1px solid rgba(0,0,0,0.05);
    outline: none; /* Remove default outline on focus */
}

.process-steps li:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium); /* Stronger shadow on hover */
}

.process-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 2.2rem; /* Adjusted for larger number bubble */
    top: 2.5rem;
    background-color: var(--primary-blue);
    color: var(--white);
    width: 48px; /* Larger number bubble */
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800; /* Bolder number */
    font-size: 1.5rem; /* Larger number font */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Shadow for number bubble */
}

.process-steps h3 {
    color: var(--dark-blue); /* Heading color for steps */
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.process-steps p {
    font-size: 1.05rem;
    color: var(--text-color);
}

/* FAQ */
.faq-list {
    max-width: 900px; /* Wider FAQ section */
    margin: 3rem auto 0 auto;
    text-align: left;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1.5rem; /* More space between FAQ items */
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light); /* Apply new shadow */
    overflow: hidden; /* For smooth dropdown animation */
    transition: var(--transition-base);
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium); /* Stronger shadow on hover */
}

.faq-item summary {
    display: block; /* For better styling control */
    padding: 1.5rem 2rem; /* More padding */
    font-weight: 700; /* Bolder text */
    font-size: 1.2rem; /* Larger text */
    cursor: pointer; /* Explicitly show it's clickable */
    position: relative;
    color: var(--dark-grey);
    background-color: var(--white); /* White background for summary */
    border-bottom: none; /* Remove border from summary */
    border-radius: var(--border-radius-base); /* Apply border radius to summary as well */
    transition: var(--transition-base);
    outline: none; /* Remove default outline on focus */
}

.faq-item summary:hover {
    background-color: var(--medium-grey); /* Subtle hover for summary */
    color: var(--primary-blue);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::marker { /* For Firefox */
    display: none;
}

.faq-item summary::after {
    content: '+'; /* Plus sign */
    font-size: 1.5rem; /* Larger icon */
    line-height: 1;
    position: absolute; /* Position the arrow */
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    right: 2rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '-'; /* Minus sign when open */
    transform: translateY(-50%) rotate(0deg);
}

.faq-item[open] summary {
    border-bottom-left-radius: 0; /* Adjust border radius when open */
    border-bottom-right-radius: 0;
}

.faq-item p {
    padding: 0 2rem 2rem 2rem; /* Consistent padding */
    margin-bottom: 0;
    color: var(--text-color);
    border-top: 1px solid var(--medium-grey); /* Separator for content */
    line-height: 1.7;
    font-size: 1.05rem;
    max-height: 0; /* Start collapsed */
    opacity: 0; /* Start hidden */
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, padding 0.5s ease-out; /* Smooth transition */
}

.faq-item[open] p {
    max-height: 500px; /* Arbitrarily large value for expansion */
    opacity: 1; /* Show content */
    padding-top: 1.5rem; /* Add padding top when open */
}


/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly wider min width */
    gap: 2.5rem;
    margin-top: 3rem;
}

.review-card {
    background-color: var(--white);
    padding: 2.5rem; /* More padding */
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light); /* Apply new shadow */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-base);
    border: 1px solid rgba(0,0,0,0.05);
    outline: none; /* Remove default outline on focus */
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium); /* Stronger shadow on hover */
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.review-header h3 {
    margin: 0;
    color: var(--dark-blue); /* Reviewer name color */
    font-weight: 700;
    font-size: 1.3rem;
}

.stars {
    color: #FFD700; /* Gold color for stars */
    font-size: 1.5rem; /* Larger stars */
    letter-spacing: 3px;
}

.review-card p {
    font-style: normal; /* Remove italic */
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Footer */
.main-footer {
    background-color: var(--dark-grey);
    color: var(--light-grey); /* Lighter text color */
    text-align: center;
    padding: 3rem 0; /* More padding */
    margin-top: 6rem; /* More space before footer */
}

.main-footer p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* New Compact Design */
.hero-calculator-section {
    background: var(--bg-gradient-light);
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero-content-compact {
    margin-bottom: 2rem;
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(10, 126, 255, 0.1);
    border: 2px solid rgba(10, 126, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.hero-content-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #006aff);
}

.hero-content-compact h1 {
    font-size: 3.5rem;
    color: var(--dark-grey);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    background: linear-gradient(45deg, var(--dark-grey) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content-compact p {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0;
    font-weight: 400;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-content-compact {
        padding: 1.5rem;
        margin: 0 -1rem;
        border-radius: 15px;
    }
    
    .hero-content-compact h1 {
        font-size: 2.8rem;
    }
    
    .hero-content-compact p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content-compact h1 {
        font-size: 2.2rem;
    }
    
    .hero-content-compact p {
        font-size: 1rem;
    }
}

.calculator-widget-wrapper-main {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0,0,0,0.05);
}

.calculator-widget-wrapper-main iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: var(--border-radius-base);
}

.info-section-compact, .accent-section-compact {
    padding: 3rem 0;
}

.info-section-compact {
    background: var(--white);
}

.accent-section-compact {
    background: var(--light-blue-gradient);
}

.info-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-item-compact {
    padding: 1.5rem;
    border-radius: var(--border-radius-base);
    background: var(--white);
    border: 1px solid var(--medium-grey);
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

.info-item-compact h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    position: relative;
}

.info-item-compact h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 36px; height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.advantage-item {
    padding: 1.75rem;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    border-radius: var(--border-radius-base);
    background: var(--white);
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(10,126,255,0.15);
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 2rem;
    background: var(--light-grey);
    border-radius: 50%;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 0 0 6px rgba(240,242,245,0.9);
    margin-bottom: 1rem;
}

.advantage-item h3 {
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.advantage-item p {
    color: var(--text-color);
    opacity: 0.9;
}

.faq-list-compact {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item-compact {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition-base);
    overflow: hidden;
}

.faq-item-compact:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(10,126,255,0.15);
}

.faq-item-compact summary {
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-base);
}

.faq-item-compact summary:hover {
    background: linear-gradient(135deg, #f8fbff 0%, #e6f2ff 100%);
    color: var(--primary-blue);
}

.faq-item-compact summary::-webkit-details-marker {
    display: none;
}
.faq-item-compact summary::marker { /* For Firefox */
    display: none;
}

.faq-item-compact summary::after {
    content: '❯';
    font-size: 1.2rem;
    line-height: 1;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.faq-item-compact[open] summary::after {
    transform: rotate(90deg);
}

.faq-item-compact[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.faq-item-compact p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, padding 0.5s ease-out;
    background: var(--white);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.05rem;
}

.faq-item-compact[open] p {
    max-height: 500px;
    opacity: 1;
    padding-top: 1.5rem;
}

/* Mobile optimizations for FAQ */
@media (max-width: 768px) {
    .faq-item-compact summary {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }
    
    .faq-item-compact p {
        padding: 0 1.2rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .faq-item-compact summary::after {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-item-compact summary {
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
    
    .faq-item-compact p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
}

.contact-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item-compact {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
    border: 1px solid rgba(0,0,0,0.06);
}

.contact-item-compact:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(10,126,255,0.15);
}

.contact-item-compact h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-item-compact p {
    margin: 0;
}

.contact-item-compact a {
    color: var(--primary-blue);
    font-weight: 600;
}

.contact-item-compact a:hover {
    color: var(--dark-blue);
    text-decoration: none;
}

/* Video Instruction Styles */
.video-instruction-wrapper {
    margin-top: 3rem;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(10, 126, 255, 0.15);
    border: 2px solid rgba(10, 126, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.video-instruction-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(10, 126, 255, 0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.video-instruction-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.video-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #006aff 100%);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(10, 126, 255, 0.4);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.video-instruction-wrapper h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.video-instruction-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    font-weight: 500;
    color: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
}

.video-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .video-instruction-wrapper {
        padding: 1.5rem;
        margin: 2rem -1rem;
        border-radius: 15px;
    }
    
    .video-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .video-instruction-wrapper h3 {
        font-size: 1.5rem;
    }
    
    .video-features {
        gap: 1rem;
    }
    
    .video-feature {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .video-instruction-wrapper {
        padding: 1rem;
        margin: 1.5rem -0.5rem;
    }
    
    .video-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .video-instruction-wrapper h3 {
        font-size: 1.3rem;
    }
    
    .video-container {
        border-radius: 10px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .site-title {
        font-size: 2rem; /* Adjusted for smaller screens */
    }

    .main-nav .nav-list {
        gap: 1.5rem;
    }

    .hero-section {
        padding: 8rem 0; /* Adjusted for smaller screens */
    }

    .hero-section h2 {
        font-size: 3.4rem; /* Adjusted for smaller screens */
    }

    .hero-section p {
        font-size: 1.3rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; margin-bottom: 2.5rem; }
    h3 { font-size: 1.4rem; }

    .info-section, .accent-section {
        padding: 5rem 0; /* Adjusted for smaller screens */
    }

    .info-item, .how-to-item, .contact-item, .coverage-item, .review-card, .process-steps li {
        padding: 2rem; /* Slightly less padding */
    }

    .process-steps li {
        flex-basis: calc(100% - 0.5rem); /* Make it single column earlier */
        max-width: 100%;
        padding-left: 5.5rem;
    }
    .process-steps li::before {
        left: 2rem;
        top: 2rem;
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .section-intro-text {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: nowrap; /* Prevent title and hamburger from wrapping */
        justify-content: space-between; /* Keep hamburger on the right */
        position: relative;
    }

    .site-title {
        text-align: left; /* Align title left */
        flex-grow: 0; /* Don't take all space */
        padding-right: 0;
        font-size: 1.8rem;
    }

    .main-nav {
        order: initial; /* Reset order */
        width: auto;
    }

    .main-nav .nav-list {
        display: none; /* Hide nav list by default */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        background-color: var(--white);
        box-shadow: 0 5px 15px var(--shadow-light);
        padding: 1rem 0;
        border-top: 1px solid var(--medium-grey);
        align-items: center;
        transition: all 0.3s ease-in-out; /* Smooth transition for mobile menu */
    }

    .main-nav .nav-list.active {
        display: flex; /* Show when active */
    }

    .main-nav .nav-list li {
        width: 100%;
        text-align: center;
    }

    .main-nav .nav-list a {
        padding: 1rem 1rem;
        display: block;
        border-bottom: 1px solid var(--medium-grey);
        color: var(--dark-grey);
        font-weight: 500;
    }
    .main-nav .nav-list a::after {
        display: none; /* Remove underline animation for mobile */
    }

    .main-nav .nav-list li:last-child a {
        border-bottom: none;
    }

    .hamburger {
        display: block; /* Show hamburger on mobile */
        position: static; /* Position within the flex container */
        transform: none;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg); /* Adjusted for slightly larger bars */
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-section {
        padding: 6rem 0;
    }

    .hero-section h2 {
        font-size: 2.8rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; margin-bottom: 2rem; }
    h3 { font-size: 1.3rem; }
    body { font-size: 15px; } /* Slightly smaller base font for mobile */

    .info-grid, .coverage-grid, .how-to-grid, .reviews-grid, .contact-info-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .process-steps li {
        flex-basis: 100%; /* Single column */
        max-width: 100%;
        padding-left: 5rem;
    }
    .process-steps li::before {
        left: 1.5rem;
        top: 2rem;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .calculator-widget-wrapper {
        padding: 1.5rem;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .calculator-widget-wrapper iframe {
        min-height: 600px;
        width: 100%;
        max-width: 100%;
        transform: scale(1);
        transform-origin: top left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .site-title {
        font-size: 1.5rem;
    }
    .hero-section {
        padding: 4rem 0;
    }
    .hero-section h2 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .process-steps li {
        padding-left: 4.5rem;
    }
    .process-steps li::before {
        left: 1.2rem;
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
    h3 { font-size: 1.2rem; }
    .info-section, .accent-section {
        padding: 3.5rem 0;
    }
    body { font-size: 14px; }

    .calculator-widget-wrapper {
        padding: 1rem;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .calculator-widget-wrapper iframe {
        min-height: 550px;
        width: 100%;
        max-width: 100%;
    }

    .faq-item summary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    .faq-item summary::after {
        right: 1.5rem;
        font-size: 1.2rem;
    }
    .faq-item p {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    .stars {
        font-size: 1.3rem;
    }

    .section-intro-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Splash Screen on very small mobile */
    #splash-screen .splash-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    #splash-screen .splash-title {
        font-size: 2rem;
    }
}

@media (max-width: 360px) {
    .calculator-widget-wrapper {
        padding: 0.8rem;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .calculator-widget-wrapper iframe {
        min-height: 500px;
        width: 100%;
        max-width: 100%;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-calculator-section {
        padding: 2rem 0 1.5rem;
    }
    
    .hero-content-compact h1 {
        font-size: 2rem;
    }
    
    .hero-content-compact p {
        font-size: 1rem;
    }
    
    .calculator-widget-wrapper-main {
        padding: 1rem;
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .calculator-widget-wrapper-main iframe {
        height: 600px;
    }
    
    .info-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .advantage-item {
        padding: 1rem;
    }
    
    .advantage-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content-compact h1 {
        font-size: 1.8rem;
    }
    
    .calculator-widget-wrapper-main iframe {
        height: 550px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid-compact {
        grid-template-columns: 1fr;
    }
}

/* Mobile optimizations for video and calculator */
@media (max-width: 768px) {
    .video-instruction-wrapper {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .video-instruction-wrapper h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .video-container {
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    
    .calculator-widget-wrapper-main {
        padding: 1rem;
        margin: 0 -1rem;
        border-radius: 0;
        box-shadow: none;
        border-left: none;
        border-right: none;
    }
    
    .calculator-widget-wrapper-main iframe {
        height: 600px;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .video-instruction-wrapper {
        padding: 0 0.5rem;
    }
    
    .video-instruction-wrapper h3 {
        font-size: 1.3rem;
    }
    
    .video-container {
        border-radius: 6px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }
    
    .calculator-widget-wrapper-main iframe {
        height: 550px;
    }
}

@media (max-width: 360px) {
    .calculator-widget-wrapper-main iframe {
        height: 500px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .video-instruction-wrapper {
        max-width: 1000px;
    }
    
    .calculator-widget-wrapper-main {
        max-width: 1000px;
    }
}