/* --- Base Reset & Variables --- */
:root {
    --primary-color: #2563eb; /* A modern, trustworthy blue */
    --primary-hover: #1d4ed8;
    --secondary-color: #f3f4f6; /* Light gray for backgrounds */
    --text-primary: #111827; /* Dark gray for text */
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --success-color: #22c55e;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-height: 80px;
    --border-radius: 0.5rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s ease-in-out;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem auto;
}

.section-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* --- Header --- */
.header {
    height: var(--header-height);
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo img {
    height: 40px;
}

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

.main-nav a {
    font-weight: 500;
    color: var(--text-secondary);
}

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

.header-actions {
    display: flex;
    gap: 1rem;
}

/* --- Hero Section --- */
.hero {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons .text-sm {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.hero-visual .hero-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* --- Features Section --- */
.features {
    padding: 6rem 0;
}

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

.feature-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.testimonial-card p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
}

.testimonial-author {
    margin-top: 1.5rem;
    text-align: right;
}

.author-name {
    display: block;
    font-weight: 600;
}
.author-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* --- CTA Section --- */
.cta-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-content .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    background-color: #f3f4f6;
}

/* --- Footer --- */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--white);
}

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

.footer-content p {
    margin-bottom: 0;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual {
        margin-top: 3rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .header-content .main-nav, .header-content .header-actions {
        display: none; /* Simplification for this example, would need JS for hamburger */
    }
}
