@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #2d3748;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1a202c;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: #2d3748;
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    background-color: #f7fafc;
    border-color: #cbd5e0;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.icon {
    width: 20px;
    height: 20px;
}

/* Cards */
.card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    padding: 5rem 0 8rem;
    background: linear-gradient(135deg, #fafafa 0%, #f7fafc 100%);
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #718096;
}

/* Steps Section */
.steps {
    padding: 5rem 0;
    background-color: #f7fafc;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(45, 55, 72, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon svg {
    color: #2d3748;
}

.steps-grid .card {
    text-align: center;
}

.steps-grid .card h3 {
    margin-bottom: 1rem;
}

.steps-grid .card p {
    color: #718096;
    margin-bottom: 0;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 80rem;
    margin: 0 auto;
}

.benefit {
    text-align: center;
}

.benefit-icon {
    color: #2d3748;
    margin-bottom: 1rem;
}

.benefit h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.benefit p {
    color: #718096;
    margin-bottom: 0;
}

/* Cases Section */
.cases {
    padding: 5rem 0;
    background-color: #f7fafc;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.case-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 1rem;
}

.cases-grid .card h3 {
    margin-bottom: 1rem;
}

.cases-grid .card p {
    color: #718096;
    margin-bottom: 1.5rem;
}

.case-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #718096;
    flex-wrap: wrap;
}

.case-stats strong {
    font-weight: 600;
    color: #2d3748;
}

/* Mini CTA Section */
.mini-cta {
    padding: 5rem 0;
}

.mini-cta-box {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    background: rgba(45, 55, 72, 0.03);
    border: 2px solid rgba(45, 55, 72, 0.1);
    border-radius: 1rem;
    padding: 3rem;
}

.mini-cta-box h2 {
    margin-bottom: 1rem;
}

.mini-cta-box p {
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #f7fafc;
}

.contact-wrapper {
    max-width: 48rem;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
}

.contact-icon {
    color: #2d3748;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: #718096;
    transition: color 0.2s ease;
}

.contact-card a:hover {
    color: #2d3748;
}

/* Contact Form */
.contact-form-card {
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #2d3748;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d3748;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 2px solid #e2e8f0;
    background-color: #ffffff;
}

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

.footer-column h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-column p {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 0.25rem;
}

.footer-link {
    display: block;
    font-size: 0.875rem;
    color: #718096;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 0.5rem;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #2d3748;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #718096;
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 0.75rem;
    max-width: 32rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #718096;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #2d3748;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    color: #718096;
    line-height: 1.7;
}

.modal-body p strong {
    color: #2d3748;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .steps-grid,
    .benefits-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .mini-cta-box {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

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

@media (min-width: 1025px) {
    .container {
        padding: 0 2rem;
    }

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

    h2 {
        font-size: 2.5rem;
    }
}
