/* Base Styles */
:root {
    --primary: #3b82f6;
    --primary-light: #dbeafe;
    --primary-dark: #2563eb;
    --accent: #7311cf;
    --accent-light: #f3e8ff;
    --positive: #10b981;
    --negative: #ef4444;
    --neutral: #f59e0b;
    --darkBg: #1e293b;
    --mediumGray: #64748b;
    --lightGray: #94a3b8;
    --lightBg: #f1f5f9;
    --white: #ffffff;
    --black: #0f172a;
    --radius: 0.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--darkBg);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.bold {
    font-weight: 600;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.accent {
    color: var(--accent);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary);
    border: none;
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.btn i {
    margin-left: 0.5rem;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.logo-text {
    margin-left: 0.5rem;
    font-size: 1.25rem;
    font-weight: 500;
}

.desktop-nav {
    display: none;
}

.nav-link {
    margin-right: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--mediumGray);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--darkBg);
    cursor: pointer;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 99;
    flex-direction: column;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    padding: 0.75rem 0;
    font-weight: 500;
    border-bottom: 1px solid var(--lightBg);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom right, var(--primary-light), var(--accent-light));
    padding: 4rem 0;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--mediumGray);
    margin-bottom: 2rem;
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image {
    width: 100%;
    max-width: 28rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--mediumGray);
    max-width: 36rem;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--lightBg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-icon.primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.feature-icon.accent {
    background-color: var(--accent-light);
    color: var(--accent);
}

.feature-icon.green {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--positive);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-text {
    color: var(--mediumGray);
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    background-color: var(--lightBg);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--lightBg);
    position: relative;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-text {
    color: var(--mediumGray);
}

/* AI Insights Section */
.ai-insights {
    padding: 4rem 0;
    background-color: var(--white);
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.insights-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.insights-list {
    margin-bottom: 2rem;
}

.insights-item {
    display: flex;
    margin-bottom: 1rem;
}

.insights-item i {
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--positive);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.insights-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: var(--lightBg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--lightGray);
}

.testimonial-text {
    margin-bottom: 1rem;
    color: var(--mediumGray);
}

.testimonial-rating {
    color: var(--primary);
    display: flex;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--darkBg);
    color: var(--white);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.footer-tagline {
    color: var(--lightGray);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--lightGray);
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--white);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--lightGray);
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--lightGray);
    font-size: 0.875rem;
}

.footer-bottom p:first-child {
    margin-bottom: 0.5rem;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--lightGray);
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.mobile-bottom-nav a.active {
    color: var(--primary);
}

.mobile-bottom-nav i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

/* Media Queries */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
    
    .hero .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .hero-content {
        text-align: left;
        margin-bottom: 0;
        flex: 1;
        padding-right: 2rem;
    }
    
    .hero-image {
        flex: 1;
    }
    
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
    
    .desktop-nav {
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}