/* Base Styles & Reset */
:root {
    --primary-color: #4A6FE3;
    --secondary-color: #6C63FF;
    --accent-color: #FF6B6B;
    --dark-color: #2E3A59;
    --light-color: #F7F9FC;
    --text-color: #333333;
    --text-light: #787878;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons & CTAs */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
}

/* Header */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.main-nav {
    display: flex;
    align-items: center;
}

.desktop-nav {
    display: flex;
    align-items: center;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 20px;
    cursor: pointer;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
}

.selected-language img {
    display: inline-block;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 150px;
    z-index: 100;
    display: none;
    overflow: hidden;
}

.language-selector.active .language-dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

.language-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-color);
}

.language-dropdown li a:hover {
    background-color: var(--light-color);
}

.arrow {
    font-size: 0.7rem;
    margin-left: 5px;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    padding: 80px 20px 20px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
    animation: slideIn 0.3s ease;
}

.mobile-menu-item {
    display: block;
    padding: 12px 0;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
}

.mobile-language {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
}

.mobile-cta {
    margin-top: 20px;
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.alt-bg {
    background-color: var(--light-color);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.gradient-bg h1, 
.gradient-bg h2, 
.gradient-bg h3, 
.gradient-bg p {
    color: white;
}

.light {
    color: white;
}

.light h2, .light p {
    color: white;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 3rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    height: auto;
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-15deg);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0);
}

/* ZIP Search Form */
.search-container {
    margin-top: 30px;
}

.search-container.centered {
    display: flex;
    justify-content: center;
}

.search-container.final {
    margin-top: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.zip-search-form {
    display: flex;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.zip-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.zip-input:focus {
    outline: none;
}

.search-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.search-btn:hover {
    background-color: #ff5252;
}

/* Intro Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Basics Section */
.basics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.basics-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.basics-image:hover img {
    transform: scale(1.03);
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.comparison-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.comparison-image:hover img {
    transform: scale(1.03);
}

.check-list {
    margin: 20px 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.check-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Providers Section */
.provider-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.provider-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.provider-logo {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
}

.provider-logo img {
    max-height: 100%;
    width: auto;
}

.provider-features {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    color: var(--accent-color);
    font-weight: bold;
}

.provider-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
}

.provider-cta:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Steps Guide */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

details:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

summary {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary:after {
    content: "+";
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

details[open] summary:after {
    content: "-";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-text {
    margin-bottom: 40px;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav-column h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-nav-column ul li {
    margin-bottom: 10px;
}

.footer-nav-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav-column ul li a:hover {
    color: white;
}

.footer-disclaimer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer p:last-child {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 999;
    max-width: 400px;
    font-size: 0.9rem;
}

.cookie-accept {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    white-space: nowrap;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.search-modal-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.search-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-message {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.results-message {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 30px;
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.company-logos img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Neumorphism Effect */
.feature-card, 
.provider-card {
    background: #ffffff;
    box-shadow: 8px 8px 16px #e6e6e6, 
                -8px -8px 16px #ffffff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }

    .hero .container,
    .basics-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }

    .basics-image, 
    .comparison-image {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    .step {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }

    .provider-features {
        grid-template-columns: 1fr;
    }

    .zip-search-form {
        flex-direction: column;
    }

    .zip-input, 
    .search-btn {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    section {
        padding: 40px 0;
    }

    .search-modal-content {
        padding: 20px;
    }

    .cookie-consent {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}