/* --- Global Styles & Variables --- */
:root {
    --primary-color: #007bff; /* A nice, professional blue */
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
    --container-width: 1140px;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.section-light {
    background-color: var(--light-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid #ddd;
}
.btn-secondary:hover {
    background-color: #f1f1f1;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* --- Header --- */
.main-header {
    background: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
.main-nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
#hero {
    padding: 80px 0;
}
#hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-content h1 {
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    margin-bottom: 15px;
}
.feature-card p {
    color: var(--secondary-color);
}

/* --- How It Works Section --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.step-card {
    text-align: center;
}
.step-number {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px auto;
}
.step-card h3 {
    margin-bottom: 10px;
}

/* --- Testimonials Section --- */
.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.testimonial blockquote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark-color);
}
.testimonial-author {
    font-weight: 600;
    font-style: normal;
}
.testimonial-company {
    display: block;
    color: var(--secondary-color);
    margin-top: 5px;
}

/* --- Pricing Section --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.pricing-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--box-shadow);
}
.pricing-card h3 {
    margin-bottom: 10px;
}
.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}
.price span {
    font-size: 1rem;
    font-weight: 400;
    vertical-align: middle;
}
.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}
.pricing-card li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}

/* --- Footer --- */
.main-footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 40px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-links a {
    color: var(--white-color);
    text-decoration: none;
    margin-left: 20px;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.social-links a:hover {
    opacity: 1;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .features-grid, .steps-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        gap: 20px;
        font-size: 0.9rem;
    }
    #hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-image {
        order: -1; /* Puts image on top on mobile */
    }
    .features-grid, .steps-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}