/* Base Styles */
:root {
    --primary-color: #4a6bff;
    --primary-dark: #3753cc;
    --secondary-color: #ff7e5f;
    --text-color: #333333;
    --light-text: #666666;
    --background: #ffffff;
    --alt-background: #f8f9fc;
    --border-color: #e6e6e6;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --shadow-active: rgba(0, 0, 0, 0.12);
    --success-color: #4caf50;
    --error-color: #f44336;
    --gradient-start: #4a6bff;
    --gradient-end: #7c4dff;
    --card-radius: 12px;
    --button-radius: 6px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.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: 0.8em;
    color: var(--text-color);
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5em;
    max-width: 100%;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 0.8em;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 0.6em;
}

p {
    margin-bottom: 1.5em;
    color: var(--light-text);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--button-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(74, 107, 255, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 8px rgba(74, 107, 255, 0.35);
    transform: translateY(-2px);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(74, 107, 255, 0.2);
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--background);
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
}

.desktop-menu {
    display: flex;
    list-style: none;
}

.desktop-menu li {
    margin-right: 25px;
}

.desktop-menu li:last-child {
    margin-right: 0;
}

.desktop-menu a {
    padding: 8px;
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition-speed) ease;
}

.desktop-menu a:hover {
    color: var(--primary-color);
}

.language-selector {
    position: relative;
    margin-left: 20px;
    cursor: pointer;
}

.current-language {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: var(--button-radius);
    transition: background-color var(--transition-speed) ease;
}

.current-language img {
    margin-right: 5px;
}

.language-selector:hover .current-language {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 12px var(--shadow-color);
    border-radius: var(--button-radius);
    list-style: none;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed) ease;
    z-index: 10;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    padding: 0;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--text-color);
    transition: background-color var(--transition-speed) ease;
}

.language-dropdown a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-dropdown img {
    margin-right: 8px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

.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: var(--background);
    z-index: 9;
    padding: 80px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all var(--transition-speed) ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    display: block;
    padding: 10px;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--button-radius);
    transition: background-color var(--transition-speed) ease;
}

.mobile-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-item a {
    display: flex;
    align-items: center;
}

.language-item img {
    margin-right: 8px;
    display: inline-block;
}

/* Sections */
section {
    padding: 80px 0;
}

.alt-bg {
    background-color: var(--alt-background);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto 20px;
}

.section-image {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: transform 0.5s ease;
}

.section-image:hover {
    transform: translateY(-5px) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI3NzUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMSI+PGNpcmNsZSBjeD0iNjgzLjQzOCIgY3k9IjM2OS41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSI3NzQiIGN5PSIyOTQiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjUwMy41IiBjeT0iMjU5LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjEwMjIuNSIgY3k9IjQ0My41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSI1OTAuNSIgY3k9IjQ1NS41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSI3MDciIGN5PSI0MjAiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjQ2MiIgY3k9IjM2OSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iODI3LjUiIGN5PSIzNzAuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iODIwLjUiIGN5PSIyNzEuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iOTQ5LjUiIGN5PSIzNjkuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iOTU3IiBjeT0iMjUyIiByPSIxLjUiLz48Y2lyY2xlIGN4PSI5MjYiIGN5PSI0MjAiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjU3MSIgY3k9IjM0MiIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iNjU3IiBjeT0iMjk0IiByPSIxLjUiLz48Y2lyY2xlIGN4PSI2MTMiIGN5PSIyMDgiIHI9IjMiLz48Y2lyY2xlIGN4PSI3NTAiIGN5PSIzNzAuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iODkyLjUiIGN5PSIzMTIuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iNjUzLjUiIGN5PSIyMzkuNSIgcj0iMS41Ii8+PC9nPjwvc3ZnPg==') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-section h1,
.hero-section p {
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.search-container {
    margin-top: 30px;
    max-width: 500px;
}

.neumorphic {
    background-color: white;
    border-radius: var(--card-radius);
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.1),
        -12px -12px 24px rgba(255, 255, 255, 0.6);
    padding: 25px;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.neumorphic:hover {
    transform: translateY(-5px);
    box-shadow: 
        15px 15px 30px rgba(0, 0, 0, 0.12),
        -15px -15px 30px rgba(255, 255, 255, 0.7);
}

.zip-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--button-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
}

.hero-image img {
    border-radius: var(--card-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateZ(30px);
}

/* Content Grids */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feature-card {
    margin-bottom: 30px;
    transition: transform var(--transition-speed) ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--primary-color);
}

.cta-container {
    margin-top: 50px;
    text-align: center;
}

.cta-container h3 {
    color: var(--primary-color);
}

.cta-wide {
    margin-top: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: var(--card-radius);
    padding: 40px;
    text-align: center;
}

.cta-wide h3 {
    color: white;
}

.cta-wide p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.cta-wide .input-group {
    max-width: 600px;
    margin: 0 auto;
}

/* Provider Cards */
.provider-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.provider-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.provider-logo {
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-logo img {
    max-height: 100%;
    width: auto;
}

.provider-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 15px 0 20px;
}

.provider-features span {
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Comparison Table */
.comparison-table-container {
    margin-top: 50px;
}

.table-responsive {
    overflow-x: auto;
    box-shadow: 0 5px 15px var(--shadow-color);
    border-radius: var(--card-radius);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table th:first-child {
    border-top-left-radius: var(--card-radius);
}

.comparison-table th:last-child {
    border-top-right-radius: var(--card-radius);
}

.comparison-table tr:last-child td:first-child {
    border-bottom-left-radius: var(--card-radius);
}

.comparison-table tr:last-child td:last-child {
    border-bottom-right-radius: var(--card-radius);
}

.comparison-table tr:hover td {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Tips Section */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.tip-card {
    text-align: center;
}

.tip-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(74, 107, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform var(--transition-speed) ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 0 20px 20px;
}

/* Conclusion Section */
.conclusion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.conclusion-text h3 {
    color: var(--primary-color);
}

.conclusion-cta {
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed) ease;
}

.footer-column a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--card-radius);
    max-width: 600px;
    width: 90%;
    text-align: center;
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.logo-container {
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.processing-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(74, 107, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animations */
@keyframes floatUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.section-header,
.feature-card,
.provider-card,
.tip-card,
.faq-item {
    animation: floatUp 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    section {
        padding: 60px 0;
    }
    
    .content-grid,
    .conclusion-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-column:first-child {
        order: 2;
    }
    
    .content-column:last-child {
        order: 1;
    }
    
    .section-image {
        margin: 0 auto;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .desktop-menu,
    .cta-header {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        margin-top: 30px;
        order: 2;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .search-container {
        margin: 30px auto 0;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .company-logos {
        gap: 10px;
    }
    
    .logo-container {
        width: 80px;
        height: 40px;
    }
}