:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

header {
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.hero {
    max-width: 900px;
    margin: 4rem auto 2rem;
    padding: 0 1.5rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

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

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

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

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.verticals-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

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

.vertical-pill {
    background: var(--white);
    border: 1px solid #cbd5e1;
    padding: 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.2s;
}

.vertical-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eff6ff;
}

footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    border-top: 1px solid #e2e8f0;
    margin-top: 4rem;
}

/* Secondary Button Style for View Sample Report */
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.8125rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #eff6ff;
}

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

.modal-overlay.active {
    display: flex;
}

/* Modal Container */
.modal-container {
    background: var(--white);
    width: 100%;
    max-width: 900px;
    height: 85vh;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

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

.modal-header h3 {
    font-size: 1.25rem;
    color: #0f172a;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-body {
    flex: 1;
    width: 100%;
    background: #e2e8f0;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}
