/* Global Styles */
:root {
    --primary-color: #5469D4; /* Updated to a modern tech blue */
    --primary-dark: #3A4CB1; /* Darker blue */
    --secondary-color: #BACCFF; /* Lighter blue */
    --accent-color: #FF7252; /* Vibrant orange for accents */
    --text-color: #1A1F36; /* Near black for text */
    --text-light: #697386; /* Medium gray */
    --text-white: #FFFFFF; /* White text */
    --background-light: #F7FAFC; /* Very light gray background */
    --background-gray: #F0F4F8; /* Light gray background */
    --white: #FFFFFF; /* White */
    --gray-light: #E2E8F0; /* Light gray */
    --gray: #A0AEC0; /* Medium gray */
    --gradient-primary: linear-gradient(135deg, #5469D4 0%, #3A4CB1 100%); /* Blue gradient */
    --gradient-accent: linear-gradient(135deg, #FF7252 0%, #E55C3D 100%); /* Orange gradient */
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    --hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); /* Deeper shadow for hover */
    --border-radius: 8px;
    --card-border-radius: 12px;
    --button-border-radius: 50px; /* Rounded buttons */
    --transition: all 0.25s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
    position: relative;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--button-border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    min-width: 160px;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(84, 105, 212, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(84, 105, 212, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(84, 105, 212, 0.05);
    transform: translateY(-2px);
}

.btn i {
    margin-right: 10px;
    font-size: 18px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    gap: 20px; /* Add gap between flex items */
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color); /* Keep default text color for now */
    text-decoration: none;
    /* margin-right: 20px; /* Replaced by gap */
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo img {
    height: 36px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap; /* Allow menu items to wrap */
    margin-right: auto; /* Push nav-buttons to the right */
    gap: 15px; /* Add gap between menu items */
}

.nav-menu li {
    /* margin: 0 15px; /* Replaced by gap */
}

.nav-menu a {
    color: var(--text-color); /* Keep default text color for now */
    position: relative;
    padding: 5px 0;
    font-weight: 500;
    text-decoration: none;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-menu a:hover:after, .nav-menu a.active:after {
    transform: scaleX(1);
}

.nav-menu a:hover {
    color: var(--primary-dark);
}

/* Hero Section Styles */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 0 100px; /* Adjust padding */
    background-color: var(--charcoal, #323D46); /* Use Charcoal from palette */
    /* background: var(--gradient-primary); */ /* Remove old gradient */
    color: var(--white, #FFFFFF); /* Use White from palette */
    position: relative;
    overflow: hidden; /* Prevent potential overflow issues */
}

/* Optional: Add a subtle pattern or gradient overlay if desired */
/* .hero:before { */
    /* content: ''; */
    /* position: absolute; */
    /* top: 0; left: 0; width: 100%; height: 100%; */
    /* background: linear-gradient(rgba(50, 61, 70, 0.1), rgba(50, 61, 70, 0.3)); */ /* Subtle gradient overlay */
    /* z-index: 1; */
/* } */

.hero .container {
    display: flex; /* Use flexbox for layout */
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Add gap between content and image */
    position: relative;
    z-index: 2;
}

/* The old :before pseudo-element rule was here and has been removed */

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--burnt_sienna, #EA7B51); /* Use Burnt Sienna from palette */
    /* background: var(--gradient-accent); */ /* Remove old gradient */
    color: var(--white, #FFFFFF);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px; /* Increased margin */
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    word-break: break-word; /* Added to prevent overflow */
}

.hero p {
    font-size: 18px;
    color: var(--tiffany_blue, #85D2D8); /* Use Tiffany Blue for subtitle */
    /* color: var(--text-light); */
    margin-bottom: 40px; /* Increased margin */
    max-width: 550px; /* Limit width */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--white, #FFFFFF);
}

.stat-label {
    font-size: 14px;
    color: var(--tiffany_blue, #85D2D8); /* Use Tiffany Blue for stat labels */
    /* color: var(--text-light); */
    text-transform: uppercase; /* Optional: Uppercase labels */
}

.hero-image {
    max-width: 550px; /* Slightly increase image size if needed */
    flex-shrink: 0; /* Prevent image from shrinking */
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
}

/* Features Section Styles */
.features {
    padding: 100px 0;
    background-color: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.feature-card.highlighted {
    background: var(--gradient-accent);
    color: var(--text-white);
}

.feature-card.highlighted::before {
    content: 'Nouveau';
    display: block;
    background: var(--accent-color);
    color: var(--text-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
}

.feature-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.feature-icon i {
    font-size: 48px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
}

/* Data Section Styles */
.data-section {
    padding: 100px 0;
    background-color: var(--background-gray);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.data-card {
    background-color: var(--white);
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.data-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.data-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.data-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.data-icon i {
    font-size: 48px;
}

.data-metrics {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.data-metric {
    text-align: center;
}

.metric-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.metric-label {
    font-size: 14px;
    color: var(--text-light);
}

.data-card p {
    font-size: 16px;
    color: var(--text-light);
}

/* Predictions Section Styles */
.predictions-section {
    padding: 100px 0;
    background-color: var(--background-light);
}

.predictions-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.predictions-info {
    max-width: 600px;
}

.prediction-feature {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.prediction-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-right: 16px;
}

.prediction-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.prediction-text p {
    font-size: 16px;
    color: var(--text-light);
}

.predictions-visual {
    max-width: 500px;
}

.predictions-visual img {
    width: 100%;
    height: auto;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--background-light);
}

.workflow-container {
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin-top: 60px;
}

.process-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.step-icon {
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(84, 105, 212, 0.3);
}

.step-content {
    flex: 1;
    background-color: var(--white);
    border-radius: var(--card-border-radius);
    padding: 20px 25px;
    box-shadow: var(--card-shadow);
    margin-left: -10px;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 0;
}

.step-connector {
    position: absolute;
    height: calc(100% + 30px);
    width: 3px;
    background-color: var(--gray-light);
    left: 29px;
    top: 60px;
    z-index: 0;
}

.process-step:last-child .step-connector {
    display: none;
}

.workflow-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.workflow-image {
    width: 100%;
    max-width: 450px;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.workflow-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* Compatible Sites Section */
.compatible-sites {
    padding: 100px 0;
    background-color: var(--white);
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.site-card {
    background-color: var(--white);
    border-radius: var(--card-border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.site-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.site-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.site-logo img {
    max-width: 100%;
    max-height: 100%;
    transition: var(--transition);
}

.site-card:hover .site-logo img {
    transform: scale(1.1);
}

.site-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--background-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.faq-item p {
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='smallGrid' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 20 0 L 0 0 0 20' fill='none' stroke='rgba(255, 255, 255, 0.1)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%' height='100%' fill='url(%23smallGrid)'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3);
}

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background-color: var(--text-color);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.footer h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-contact a {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social .social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .predictions-content {
        flex-direction: column;
    }
    
    .workflow-container {
        flex-direction: column-reverse;
    }
    
    .workflow-visual {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-menu li {
        margin: 8px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin: 0 auto 15px;
    }
    
    .step-content {
        margin-left: 0;
        text-align: center;
    }
    
    .step-connector {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .feature-metrics {
        flex-direction: column;
        gap: 10px;
    }
}

/* Styles pour la modale de connexion */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.auth-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.auth-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-auth-google {
    background-color: #4285F4;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth-google:hover {
    background-color: #2a75f3;
}

/* Checkout Status Indicator */
.checkout-status {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.status-content {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    width: 350px;
}

.status-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #4285F4;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Message Styles */
.error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 5px;
    padding: 15px 20px;
    color: #d32f2f;
    font-size: 14px;
    z-index: 10000;
    max-width: 350px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slide-in 0.3s ease-out forwards;
}

@keyframes slide-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Credits Indicator */
.credits-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.credits-indicator.premium {
    background: #f5f5ff;
    border-color: #c5cae9;
}

.credits-indicator .icon {
    margin-right: 10px;
    color: #4285F4;
}

.credits-indicator.premium .icon {
    color: #7986cb;
}

.credits-indicator .count {
    font-weight: bold;
    margin: 0 3px;
}

.credits-indicator.low .count {
    color: #f44336;
}

.credits-count {
    display: inline-block;
    background: #4285F4;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
}

/* Login Status Indicator */
.login-status {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 20px;
    background: #f5f5f5;
    margin-right: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-status:hover {
    background: #e0e0e0;
}

.login-status img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.login-status.logged-in {
    background: #e8f5e9;
}

.login-status.logged-out {
    background: #f5f5f5;
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    z-index: 10000;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    overflow: hidden;
}

.dropdown-content {
    padding: 0;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f5f8ff;
    border-bottom: 1px solid #e0e0e0;
}

.user-info img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-info div {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 14px;
    color: #333;
}

.user-info span {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-item i {
    margin-right: 10px;
    color: #666;
    width: 16px;
    text-align: center;
}

/* Login Button and Modal Styles */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(83, 58, 191, 0.1);
}

.btn-secondary.logged-in {
    background-color: rgba(83, 58, 191, 0.1);
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: modalOpen 0.3s ease-out;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    margin-top: 0;
    color: var(--dark-text-color);
}

.modal-content p {
    margin-bottom: 20px;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}

.close:hover {
    color: var(--primary-color);
}

.btn-google {
    background-color: #4285F4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
    width: 100%;
    font-size: 16px;
}

.btn-google:hover {
    background-color: #357ae8;
}

/* Account Page Styles */
.account-section {
    padding: 100px 0 60px;
    background-color: #f9f9fe;
    min-height: calc(100vh - 300px);
}

.account-content {
    margin-top: 40px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.user-profile .user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.user-profile .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile .user-info h2 {
    margin: 0 0 5px;
    font-size: 24px;
    color: var(--dark-text-color);
}

.user-profile .user-info p {
    margin: 0;
    color: var(--text-color);
    font-size: 16px;
}

.account-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.account-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    background-color: #f5f7ff;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--dark-text-color);
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    background-color: #e0e0e0;
    color: #616161;
}

.badge-premium {
    background-color: var(--primary-color);
    color: white;
}

.card-content {
    padding: 24px;
}

.card-content p {
    margin: 0 0 10px;
    color: var(--text-color);
}

.card-actions {
    padding: 16px 24px 24px;
    display: flex;
    gap: 10px;
}

.usage-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.usage-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-color);
}

.progress-container {
    height: 10px;
    background-color: #eaeaea;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    background-color: #4caf50;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .user-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .account-cards {
        grid-template-columns: 1fr;
    }
}

/* Loading indicator for checkout */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4361ee;
    animation: spin 1s ease-in-out infinite;
}

.loading-text {
    margin-top: 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px; /* Reduced font size for smaller screens */
    }

    .hero-content {
        max-width: 100%; /* Allow content to take full width */
        text-align: center; /* Center text on smaller screens */
    }

    .hero-buttons {
        justify-content: center; /* Center buttons */
    }

    .hero-stats {
        justify-content: center; /* Center stats */
        flex-wrap: wrap; /* Allow stats to wrap */
        gap: 20px; /* Adjust gap */
    }

    .hero-image {
        display: none; /* Hide image on smaller screens to save space */
    }

    .predictions-content {
        flex-direction: column; /* Stack prediction content vertically */
    }

    .predictions-info,
    .predictions-visual {
        max-width: 100%; /* Allow content to take full width */
    }

    .workflow-container {
        flex-direction: column; /* Stack workflow vertically */
    }

    .process-steps {
        align-items: center; /* Center process steps */
    }

    .process-step {
        flex-direction: column; /* Stack step icon and content */
        text-align: center; /* Center step content */
    }

    .step-icon {
        margin-right: 0; /* Remove margin */
        margin-bottom: 10px; /* Add bottom margin */
    }

    .step-connector {
        height: 20px; /* Adjust connector height */
        width: 2px; /* Adjust connector width */
        margin: 10px auto; /* Center connector */
    }

    .workflow-visual {
        margin-top: 40px; /* Add space above visual */
    }

    .sites-grid,
    .faq-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .footer-content {
        flex-direction: column; /* Stack footer content vertically */
        text-align: center; /* Center footer content */
        gap: 30px; /* Add gap between sections */
    }

    .footer-logo,
    .footer-links,
    .footer-contact,
    .footer-social {
        align-items: center; /* Center items in footer sections */
    }

    .footer-links ul {
        padding-left: 0; /* Remove padding */
    }

    .footer-links li {
        margin-bottom: 10px; /* Add margin */
    }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px; /* Further reduce font size */
    }

    .btn {
        padding: 10px 20px; /* Adjust button padding */
        font-size: 14px; /* Adjust button font size */
        min-width: 120px; /* Adjust min width */
    }

    .hero-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px; /* Adjust gap */
    }

    .hero-stats {
        flex-direction: column; /* Stack stats vertically */
        gap: 10px; /* Adjust gap */
    }

    .stat-value {
        font-size: 28px; /* Adjust stat value font size */
    }

    .section-title {
        font-size: 28px; /* Adjust section title font size */
    }

    .section-subtitle {
        font-size: 16px; /* Adjust section subtitle font size */
    }

    .feature-card h3,
    .data-card h3,
    .prediction-text h3 {
        font-size: 20px; /* Adjust card title font size */
    }

    .feature-card p,
    .data-card p,
    .prediction-text p,
    .faq-item p {
        font-size: 14px; /* Adjust paragraph font size */
    }
}

/* Responsive adjustments for Navbar */
@media (max-width: 992px) { /* Adjust breakpoint as needed */
    .navbar {
        flex-direction: column; /* Stack navbar items vertically */
        align-items: flex-start; /* Align items to the start */
    }

    .logo {
        margin-bottom: 10px; /* Add space below logo */
        margin-right: 0; /* Remove right margin */
    }

    .nav-menu {
        margin-right: 0; /* Remove auto margin */
        margin-bottom: 10px; /* Add space below menu */
    }

    .nav-menu li {
        margin: 0 10px 5px 0; /* Adjust margin for wrapped items */
    }

    .nav-buttons {
        width: 100%; /* Allow buttons to take full width */
        justify-content: center; /* Center buttons */
        gap: 10px; /* Adjust gap */
    }

    .nav-buttons .btn {
        flex-grow: 1; /* Allow buttons to grow */
        text-align: center; /* Center text in buttons */
    }
}

/* Responsive adjustments for Navbar */
@media (max-width: 992px) { /* Adjust breakpoint as needed */
    .navbar {
        flex-direction: column; /* Stack navbar items vertically */
        align-items: flex-start; /* Align items to the start */
    }

    .logo {
        margin-bottom: 10px; /* Add space below logo */
        margin-right: 0; /* Remove right margin */
    }

    .nav-menu {
        margin-right: 0; /* Remove auto margin */
        margin-bottom: 10px; /* Add space below menu */
    }

    .nav-menu li {
        margin: 0 10px 5px 0; /* Adjust margin for wrapped items */
    }

    .nav-buttons {
        width: 100%; /* Allow buttons to take full width */
        justify-content: center; /* Center buttons */
        gap: 10px; /* Adjust gap */
    }

    .nav-buttons .btn {
        flex-grow: 1; /* Allow buttons to grow */
        text-align: center; /* Center text in buttons */
    }
}

/* Responsive adjustments for Navbar */
@media (max-width: 992px) { /* Adjust breakpoint as needed */
    .navbar {
        flex-direction: column; /* Stack navbar items vertically */
        align-items: flex-start; /* Align items to the start */
    }

    .logo {
        margin-bottom: 10px; /* Add space below logo */
        margin-right: 0; /* Remove right margin */
    }

    .nav-menu {
        margin-right: 0; /* Remove auto margin */
        margin-bottom: 10px; /* Add space below menu */
    }

    .nav-menu li {
        margin: 0 10px 5px 0; /* Adjust margin for wrapped items */
    }

    .nav-buttons {
        width: 100%; /* Allow buttons to take full width */
        justify-content: center; /* Center buttons */
        gap: 10px; /* Adjust gap */
    }

    .nav-buttons .btn {
        flex-grow: 1; /* Allow buttons to grow */
        text-align: center; /* Center text in buttons */
    }
}