/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    background: #f8f9fa;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* === Header === */
header {
    background: #1a1a2e;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}
nav {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.logo img { height: 36px; width: 36px; border-radius: 6px; }
.logo span { color: #6c9bff; font-weight: 800; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: #ccc; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
    background: #4a6cf7;
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
}
.nav-cta:hover { background: #3a5ce5; }

/* === Hero === */
.hero {
    padding: 8rem 2rem 6rem;
    text-align: center;
    background: #0a0a1a url('hero-bg.png') center center / cover no-repeat;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, #f8f9fa);
}
.hero-content { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #fff;
}
h1 span { color: #6c9bff; }
.hero .subtitle {
    font-size: 1.15rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.cta {
    display: inline-block;
    background: #4a6cf7;
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}
.cta:hover { background: #3a5ce5; }

/* === Product Hero (subpages) === */
.product-hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 26, 0.75);
}
.product-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, #f8f9fa);
}
.product-hero > * { position: relative; z-index: 1; }
.product-name {
    font-size: 0.9rem;
    letter-spacing: 6px;
    color: #6c9bff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.product-hero h1 { font-size: 2.6rem; color: #fff; margin-bottom: 1rem; }
.product-hero .subtitle { color: #ccc; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* === Section Headings === */
.products, .differentiators, .product-detail, .compliance {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* === Product Grid (home page) === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.product-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; color: #1a1a2e; }
.product-tagline { color: #4a6cf7; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.8rem; }
.product-card p { color: #555; font-size: 0.95rem; line-height: 1.6; }
.learn-more { display: inline-block; margin-top: 1rem; color: #4a6cf7; font-weight: 600; font-size: 0.9rem; }

/* === Differentiators === */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.diff-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.diff-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: #1a1a2e; }
.diff-item p { color: #666; font-size: 0.9rem; }

/* === Feature Sections (product pages) === */
.feature-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}
.feature-section h2 { text-align: left; font-size: 1.5rem; margin-bottom: 0.8rem; }
.feature-section p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}
.feature-section ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.feature-section li { color: #555; font-size: 1rem; line-height: 1.7; margin-bottom: 0.4rem; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}
.feature-box {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.feature-box h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature-box p { color: #666; font-size: 0.9rem; margin: 0; }

.cta-section {
    text-align: center;
    padding: 3rem 2rem 4rem;
}
.cta-section p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* === Stats Row === */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.stat {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.stat .number { font-size: 2rem; font-weight: 700; color: #4a6cf7; }
.stat .label { color: #666; font-size: 0.9rem; margin-top: 0.3rem; }

/* === Compliance Pages === */
.compliance {
    max-width: 800px;
}
.compliance h1 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}
.compliance .updated {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.compliance h2 {
    text-align: left;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}
.compliance p, .compliance li {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}
.compliance ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.compliance li { margin-bottom: 0.4rem; }
.compliance a { color: #4a6cf7; }

/* === Footer === */
footer {
    background: #1a1a2e;
    color: #999;
    padding: 3rem 2rem 1.5rem;
    margin-top: 2rem;
}
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2a2a4e;
}
.footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}
.footer-brand span { color: #6c9bff; font-weight: 800; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links h4 { color: #fff; font-size: 0.9rem; margin-bottom: 0.3rem; }
.footer-links a { color: #999; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: #6c9bff; }
.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    text-align: center;
}

/* === Flywheel === */
.flywheel-section { text-align: center; }
.flywheel-container { max-width: 500px; margin: 0 auto; }
.flywheel-svg { width: 100%; height: auto; }

/* === Service Grid (Foreman) === */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}
.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.service-icon { flex-shrink: 0; }
.service-text h3 { font-size: 1.1rem; margin-bottom: 0.3rem; color: #1a1a2e; }
.service-text p { color: #666; font-size: 0.9rem; margin: 0; line-height: 1.5; }

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 2.2rem; }
    .hero { padding: 5rem 1.5rem 4rem; }
    .product-grid, .diff-grid, .feature-grid, .stats-row { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .footer-content { grid-template-columns: 1fr; }
}
