

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/assets/hero-bg.bf1e757c.jpg) no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: calc(var(--header-height) + 100px) 0 100px; /* Adjust padding for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;

    /* Add animation for background pan */
    background-position: center center; /* Ensure a good starting point */
    animation: panBackground 60s linear infinite alternate; /* Pan over 60 seconds, linear, infinite, reverses direction */
}

/* Keyframes for background panning animation */
@keyframes panBackground {
    0% {
        background-position: 0% 50%; /* Start from left */
    }
    100% {
        background-position: 100% 50%; /* Pan to right */
    }
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    color: white;
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .tagline {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Button Group Styling */
.button-group {
    display: flex;
    justify-content: center; /* Center buttons horizontally */
    gap: 20px; /* Space between buttons */
    margin-top: 40px; /* Space above buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.section-subheader {
    font-size: 1.3em;
    color: #555;
    max-width: 800px;
    margin: -30px auto 50px auto; /* Adjust margin to place it below the header */
    text-align: center;
    line-height: 1.5;
}


.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--background-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    height: 60px;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color); /* Uses the new green */
}

.feature-item p {
    font-size: 1em;
    color: #666;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.steps-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.step-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 300px;
    flex: 1;
}

/* Styling for step images */
.step-item .step-image {
    max-width: 100px; /* Adjust as needed */
    height: auto;
    margin-bottom: 15px;
}

.step-item .step-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color); /* Uses the new green */
    display: block;
    margin-bottom: 15px;
}

.step-item h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.step-item p {
    color: #666;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--background-light); /* Light background for contrast */
    text-align: center;
}

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

.testimonial-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes author to bottom */
}

.testimonial-item .stars {
    color: var(--accent-color); /* Gold stars */
    font-size: 1.5em;
    margin-bottom: 15px;
}

.testimonial-item p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows review text to expand */
}

.testimonial-item .author {
    font-weight: 600;
    color: var(--secondary-color);
    text-align: right; /* Align author to the right */
    font-size: 0.95em;
}


/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

/* Style for FAQ H2 (Questions heading) */
.faq-section h2 {
    color: var(--secondary-color); /* Default color for H2 */
}

/* This span makes "Questions" specifically green */
.faq-section h2 .highlight-green {
    color: var(--primary-color);
}

/* Style for FAQ Subheader */
.faq-subheader {
    font-size: 1.3em;
    color: #555;
    max-width: 800px;
    margin: -30px auto 50px auto; /* Adjust margin to place it below the header */
    text-align: center;
    line-height: 1.5;
}


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

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    background-color: var(--background-light);
    color: var(--secondary-color);
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #e0e0e0;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: white;
}

.accordion-content p {
    padding-bottom: 20px;
    font-size: 0.95em;
    color: #555;
}

/* Call to Action Sections - Generic Styling */
.cta-section {
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.8em; /* Match hero h2 size for impact */
    margin-bottom: 20px;
}

.cta-section .cta-subheader {
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
    line-height: 1.5;
}

/* Specific styling for the primary CTA sections (green background) */
.cta-section.green-bg {
    background: linear-gradient(rgba(38, 169, 87, 0.9), rgba(38, 169, 87, 0.9)), /* 90% opaque green overlay */
                url(/assets/texture-bg.4dd026e0.png) repeat; /* Your subtle texture image */
    background-size: auto;
}


/* Specific styling for the CTA buttons within .green-bg sections */
.cta-section.green-bg .btn-primary {
    background-color: white; /* Make the button stand out against green */
    color: var(--primary-color); /* Text color for the button */
}

.cta-section.green-bg .btn-primary:hover {
    background-color: var(--light-gray); /* Slightly off-white on hover */
    color: var(--primary-color);
}

.cta-section.green-bg .btn-primary::before {
    background-color: var(--primary-color); /* Green accent for the white CTA primary button */
}

.cta-section.green-bg .btn-outline {
    border: 2px solid white;
    color: white; /* Text is now white */
    background-color: transparent; /* Explicitly transparent fill */
}

.cta-section.green-bg .btn-outline::after {
    color: white; /* Arrow is white by default to match text */
}

.cta-section.green-bg .btn-outline:hover::after {
    color: var(--primary-color); /* Arrow turns primary green on hover to match text */
}

.cta-section.green-bg .btn-primary::after {
    color: var(--primary-color); /* Make arrow green by default to match text */
}

.cta-section.green-bg .btn-primary:hover::after {
    color: var(--primary-color); /* Keep arrow green on hover to match text */
}

/* Specific styling for the new "Available on Your Favorite Browsers" section (no background) */
.cta-section.no-bg {
    background: none; /* Remove background */
    /* Ensure no background-image is set either */
    background-image: none;
    color: var(--text-color); /* Change text color to match main content */
    padding: 80px 0; /* Keep padding consistent */
}

.cta-section.no-bg h2,
.cta-section.no-bg .cta-subheader {
    color: var(--secondary-color); /* Ensure heading and subheader are dark */
    opacity: 1; /* Ensure full opacity */
}


/* New styles for the browser CTA cards */
.browser-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-content: center; /* Center grid items horizontally */
    align-items: stretch; /* Make cards stretch to the same height */
}

.browser-cta-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom */
    align-items: center;
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Remove underline from the <a> tag */
    color: inherit; /* Inherit text color from parent for default text */
}

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

.browser-cta-card .card-icon {
    height: 70px;
    margin-bottom: 20px;
}

.browser-cta-card h4 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.browser-cta-card .card-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 30px; /* Space before the button */
    flex-grow: 1; /* Allow description to take available space */
}

.browser-cta-card .card-action {
    /* These styles make the <span> act and look like a button */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    padding-right: 45px;
    overflow: hidden;
    width: 100%; /* Make the button span the width of the card */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Specific styling for the buttons within .no-bg section's cards (dark gray) */
.cta-section.no-bg .browser-cta-card .card-action.btn-primary {
    background-color: var(--secondary-color); /* Dark gray background */
    color: white; /* White text */
}

.cta-section.no-bg .browser-cta-card .card-action.btn-primary:hover {
    background-color: #2a363e; /* Slightly darker gray on hover */
    color: white;
}

.cta-section.no-bg .browser-cta-card .card-action.btn-primary::before {
    background-color: white; /* White accent line */
}

.cta-section.no-bg .browser-cta-card .card-action.btn-primary::after {
    color: white; /* White arrow */
}

.cta-section.no-bg .browser-cta-card .card-action.btn-primary:hover::after {
    color: white; /* Keep arrow white on hover */
}


.cta-section.no-bg .browser-cta-card .card-action.btn-outline {
    border: 2px solid var(--secondary-color); /* Dark gray border */
    color: var(--secondary-color); /* Dark gray text */
    background-color: transparent;
}

.cta-section.no-bg .browser-cta-card .card-action.btn-outline:hover {
    background-color: var(--secondary-color); /* Dark gray fill on hover */
    color: white; /* White text on hover */
}

.cta-section.no-bg .browser-cta-card .card-action.btn-outline::after {
    color: var(--secondary-color); /* Dark gray arrow */
}

.cta-section.no-bg .browser-cta-card .card-action.btn-outline:hover::after {
    color: white; /* White arrow on hover */
}


/* Footer */
/* Responsive Design */
@media (max-width: 768px) {
    .header .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px; /* Add gap between stacked logo/nav areas */
    }

    .logo-area { /* Ensure they take full width when stacked and center their content */
        width: 100%;
        justify-content: center;
    }

    /* HIDE .nav-area on mobile */
    .nav-area {
        display: none;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 0;
        align-items: center;
    }

    /* Button Group Responsive Styling (for hero and contact sections) */
    .button-group {
        flex-direction: column;
        gap: 15px;
    }

    /* Browser CTA Grid Responsive Styling */
    .browser-cta-grid {
        grid-template-columns: 1fr; /* Stack cards on small screens */
    }

    h2 {
        font-size: 2.2em;
    }

    h3 {
        font-size: 1.8em;
    }

    .section-subheader {
        font-size: 1.1em;
        margin: -20px auto 40px auto;
    }
    .faq-subheader { /* Apply responsive style to the new faq subheader */
        font-size: 1.1em;
        margin: -20px auto 40px auto;
    }

    .cta-section h2 {
        font-size: 2.2em;
    }

    .cta-section .cta-subheader {
        font-size: 1.2em;
    }

    /* Footer Responsive */
    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-info,
    .footer-sitemap {
        max-width: 100%;
    }

    .footer-logo-name {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        /*
        font-size: 1.5em;
        flex-direction: column; /* Stack logo and subtle text on very small screens
        align-items: center;
        gap: 0;
        */
        /* Keep logo and name side-by-side even on smaller screens */
        flex-direction: row;
        align-items: baseline;
        font-size: 1.5em; /* You can adjust this if needed, but it was already 1.5em here */
        gap: 5px; /* Maintain a small gap */
    }
    .logo .subtle-company {
        font-size: 0.8em; /* Adjust for better readability when stacked */
        margin-top: 0; /* Remove margin-top as they are side-by-side now */
    }

    .footer-info h4 {
        font-size: 1.2em; /* Adjust for better readability when stacked */
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .footer-info .subtle-company {
        font-size: 0.7em;
        margin-top: 5px;
    }

    .nav ul li a {
        font-size: 0.9em;
    }

    /* Adjust main buttons */
    .btn-primary {
        padding: 12px 25px;
        font-size: 1em;
        padding-right: 40px; /* Adjust padding for smaller button */
    }

    .accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }

    /* Adjust browser card buttons */
    .browser-cta-card .card-action {
        padding: 12px 25px;
        font-size: 1em;
        padding-right: 40px;
    }
}
