/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header styles */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #16a34a;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 6px;
}

nav a:hover {
    color: #16a34a;
    background-color: #f0fdf4;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #16a34a;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero section */
.hero {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.6;
}

.continue-btn {
    background-color: #16a34a;
    color: white;
    border: none;
    padding: 20px 48px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(22, 163, 74, 0.4);
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    min-width: 200px;
}

.continue-btn:hover {
    background-color: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(22, 163, 74, 0.4);
}

/* Features section */
.features {
    padding: 60px 0;
    background-color: #ffffff;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 50px;
}

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

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background-color: #f8fafc;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.feature-card p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}

/* How it works section */
.how-it-works {
    padding: 60px 0;
    background-color: #f8fafc;
}

.how-it-works h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 50px;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #16a34a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

.step h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.step p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}

/* Testimonials section */
.testimonials {
    padding: 60px 0;
    background-color: #ffffff;
}

.testimonials h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 50px;
}

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

.testimonial {
    background-color: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #16a34a;
    border: 1px solid #e2e8f0;
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-text {
    font-style: italic;
    color: #475569;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.testimonial-author {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

/* Footer */
footer {
    background-color: #1e293b;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
}

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

footer p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 8px;
}

/* Legal pages styles */
.legal-header {
    background-color: #f8fafc;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.legal-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.legal-header p {
    color: #64748b;
    font-size: 16px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 15px;
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    border-bottom: 2px solid #16a34a;
    padding-bottom: 10px;
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 35px;
    margin-bottom: 15px;
}

.legal-section p {
    margin-bottom: 15px;
    color: #64748b;
    line-height: 1.6;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-section li {
    margin-bottom: 8px;
    color: #64748b;
    line-height: 1.5;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #16a34a;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.back-link:hover {
    background-color: #f0fdf4;
}

/* Contact page specific styles */
.contact-section {
    margin-bottom: 40px;
}

.contact-info {
    background-color: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.contact-info h3 {
    color: #1e293b;
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
    margin-left: 0;
}

.contact-info li {
    margin-bottom: 10px;
    color: #64748b;
}

.contact-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #16a34a;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #15803d;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    header {
        padding: 12px 0;
    }

    .logo {
        font-size: 20px;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    nav li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 0;
        text-align: center;
    }

    nav a:hover {
        background-color: #f0fdf4;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 40px 0 30px;
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .continue-btn {
        padding: 14px 28px;
        font-size: 16px;
    }

    .features,
    .how-it-works,
    .testimonials {
        padding: 40px 0;
    }

    .features h2,
    .how-it-works h2,
    .testimonials h2 {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .features-grid,
    .steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card,
    .step,
    .testimonial {
        padding: 25px 15px;
    }

    .feature-card h3,
    .step h3 {
        font-size: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .legal-content {
        padding: 40px 10px;
    }

    .legal-header h1 {
        font-size: 28px;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 0 20px;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 15px;
    }

    .continue-btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .features h2,
    .how-it-works h2,
    .testimonials h2 {
        font-size: 24px;
    }

    .feature-card h3,
    .step h3 {
        font-size: 18px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .legal-header {
        padding: 30px 0;
    }

    .legal-header h1 {
        font-size: 24px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 18px;
    }
}

/* Print styles */
@media print {
    .continue-btn,
    nav,
    .back-link {
        display: none !important;
    }

    body {
        font-size: 12px;
    }

    .legal-content {
        max-width: none;
        padding: 20px;
    }
}
