/* Base Styles */
:root {
    --primary-color: #4e67eb;
    --primary-dark: #3a50c2;
    --secondary-color: #2cd3b1;
    --accent-color: #ff7e5f;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-bg: #2c3e50;
    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    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(--primary-dark);
}

ul, ol {
    list-style-position: inside;
    padding-left: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Navigation */
.desktop-menu {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.language-items {
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.language-items a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1.5rem;
    cursor: pointer;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    background-color: var(--light-bg);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 150px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 0.5rem 0;
    z-index: 100;
}

.language-selector.active .language-dropdown {
    display: block;
}

.language-dropdown li {
    list-style: none;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.language-dropdown a:hover {
    background-color: var(--light-bg);
}

/* Buttons & CTAs */
.cta-button, .zip-form button, .provider-cta {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.cta-button:hover, .zip-form button:hover, .provider-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

/* ZIP Form */
.zip-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.zip-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid transparent;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.zip-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.zip-form button {
    white-space: nowrap;
    border-radius: 0;
}

.zip-form.highlight {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-center {
    text-align: center;
    margin: 2rem 0;
}

.cta-container {
    margin-top: 2rem;
}

.final-cta {
    text-align: center;
    margin-top: 2rem;
}

.final-cta h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

.gradient-bg {
    background: var(--gradient);
    color: var(--white);
}

.gradient-bg h2, .gradient-bg h3 {
    color: var(--white);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    text-align: center;
    animation: fadeIn 1.5s ease-out;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
}

.trusted-by {
    margin-top: 2rem;
}

.trusted-by p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.trust-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    opacity: 0.9;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

/* Neumorphism Effect */
.neumorphism {
    background: #f0f0f0;
    box-shadow: 
        10px 10px 20px rgba(0, 0, 0, 0.05),
        -10px -10px 20px rgba(255, 255, 255, 0.8);
}

/* Content with Image Layout */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.content-with-image.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-with-image .image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.content-with-image .image img:hover {
    transform: scale(1.05);
}

/* Content Columns */
.content-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Provider Cards */
.provider-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.provider-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.provider-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.provider-logo img {
    max-height: 60px;
    width: auto;
}

.provider-card h3 {
    margin-bottom: 0.5rem;
    text-align: center;
}

.provider-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.provider-cta {
    align-self: center;
    width: 100%;
    max-width: 200px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 2rem auto 0;
}

details {
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

details:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

summary {
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
    padding-right: 30px;
}

summary:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
}

details[open] summary:after {
    content: '-';
}

details p {
    margin-top: 1rem;
    padding-left: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-nav h4, .footer-disclaimer h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-disclaimer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.cookie-buttons a {
    color: var(--text-light);
}

.cookie-buttons button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.cookie-buttons button:hover {
    background-color: var(--primary-dark);
}

/* Processing Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 1.5rem auto;
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.company-logos img {
    margin: 0 auto;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-grid, .content-with-image, .content-with-image.reverse {
        grid-template-columns: 1fr;
    }
    
    .content-with-image .image {
        order: -1;
    }
    
    .content-with-image.reverse .image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .desktop-menu .cta-button {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .desktop-menu .language-selector {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .zip-form {
        flex-direction: column;
    }
    
    .zip-form input, .zip-form button {
        width: 100%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .card, .provider-card {
        padding: 1.5rem;
    }
}