/* ===== ComplAI Product Page ===== */
/* Used by: landing/product.php */
/* Inherits: landing.css (base styles, navbar, footer, mockup components) */

/* ===== Product Hero ===== */
.product-hero {
    padding: 9rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-muted) 100%);
    border-bottom: 1px solid var(--border-light);
}
.product-hero-content {
    max-width: 720px;
    margin: 0 auto 3rem;
}
.product-hero h1 {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.product-hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
}

/* Module Navigation Pills */
.product-module-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.product-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}
.product-nav-pill:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.product-nav-pill i {
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.product-nav-pill:hover i {
    color: var(--accent);
}
.product-nav-pill.active {
    color: white;
    background: var(--accent);
    border-color: var(--accent);
}
.product-nav-pill.active i {
    color: rgba(255,255,255,0.7);
}

/* ===== Product Module Sections ===== */
.product-module {
    padding: 6.5rem 0;
    position: relative;
}
.product-module-muted {
    background: linear-gradient(180deg, #f8f7f6 0%, #f5f4f3 50%, #f8f7f6 100%);
    border-top: 1px solid rgba(231,229,228,0.7);
    border-bottom: 1px solid rgba(231,229,228,0.7);
}

/* Module Number */
.product-module-number {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-family: 'Inter', monospace;
}

/* Module Icon Badge */
.product-module-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, #44403c 100%);
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(28,25,23,0.15);
}

/* Product Text Block */
.product-text h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.product-text-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.product-text-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.product-text-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.5;
}
.product-text-list li i {
    color: var(--success);
    font-size: 0.9375rem;
    flex-shrink: 0;
    margin-top: 0.1875rem;
}
.product-text-list li strong {
    font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .product-hero { padding: 7rem 0 3rem; }
    .product-hero h1 { font-size: 2.25rem; }
    .product-module { padding: 5rem 0; }
    .fm-roles-grid { grid-template-columns: 1fr; }
    .fm-stats-row { grid-template-columns: repeat(2, 1fr); }
    .fm-col-cin, .col-cin { display: none; }
}

@media (max-width: 767.98px) {
    .product-hero h1 { font-size: 1.875rem; }
    .product-module { padding: 4rem 0; }
    .product-module-nav { gap: 0.375rem; }
    .product-nav-pill { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
    .product-nav-pill span { display: none; }
    .panel-kpi-strip { grid-template-columns: repeat(2, 1fr); }
    .fm-analytics-kpi { grid-template-columns: repeat(2, 1fr); }
    .fm-stepper span:not(.fm-step-dot) { display: none; }
    .fm-form-row { grid-template-columns: 1fr; }
    .fm-col-shares, .fm-col-pct { display: none; }
    .fm-doc-tabs { overflow-x: auto; }
    .fm-perm-matrix { overflow-x: auto; }
}

@media (max-width: 575.98px) {
    .product-hero h1 { font-size: 1.625rem; }
    .product-hero-subtitle { font-size: 0.9375rem; }
}
