:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #10B981;
    --dark: #1F2937;
    --light: #F9FAFB;
    --gray: #9CA3AF;
    --gray-light: #F3F4F6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo svg {
    height: 2rem;
    width: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.2s;
}

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

.cta-button {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-link:hover .logo {
    opacity: 0.9;
}

/* Hero section */
.hero {
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, white, var(--gray-light));
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--dark);
    max-width: 800px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-cta .cta-button {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.secondary-button {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.secondary-button:hover {
    background-color: var(--gray-light);
    transform: translateY(-2px);
}

.hero-image {
    max-width: 128px;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.3s;
}

.hero-image:hover {
    transform: perspective(1000px) rotateX(0deg);
}

/* Features section */
.features {
    padding: 5rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: var(--light);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px 4px 0 0;
}

.feature-icon {
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* Stats section */
.stats {
    padding: 5rem 0;
    background-color: var(--gray-light);
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 2rem;
}

.stat-item {
    max-width: 250px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--gray);
}

/* How it works section */
.how-it-works {
    padding: 5rem 0;
    background-color: white;
}

.steps {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step-number {
    background-color: var(--primary);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
}

/* Testimonials section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--gray-light);
}

.testimonial-info h4 {
    font-size: 1.125rem;
    color: var(--dark);
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--gray);
}

/* CTA section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background-color: white;
    color: var(--primary);
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

.cta-section .cta-button:hover {
    background-color: var(--gray-light);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--gray);
    transition: color 0.2s;
}

.social-links a:hover {
    color: white;
}

/* Loading animation */
.loading-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;
}

@keyframes loading {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Browser compatibility badges */
.browser-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.browser-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.browser-badge svg {
    width: 24px;
    height: 24px;
}

.browser-badge span {
    font-weight: 500;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-support-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-box {
    background-color: var(--light);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    width: 100%;
}

.contact-icon {
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.contact-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.contact-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-box p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.contact-box .contact-link {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Media queries */
@media (max-width: 768px) {
    /* Mobile navbar styles - Fixed for compact height */
    .navbar {
        padding: 1rem 0; /* Reduced from 1.5rem */
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Logo stays at top */
    .logo-link {
        order: 1;
        flex-basis: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .logo {
        font-size: 1.25rem; /* Slightly smaller on mobile */
    }

    .logo svg {
        height: 1.5rem;
        width: 1.5rem;
    }

    /* Navigation links in a row */
    .nav-links {
        order: 2;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    /* CTA button */
    .cta-button {
        order: 3;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .step {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Very small screens - even more compact */
@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 0;
        gap: 0.75rem;
    }

    .logo-link {
        margin-bottom: 0.25rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin-top: 0.25rem;
    }
}