/* Shared stylesheet for all Lumina product pages (Lumina CRM, Lumina
   Admissions, Lumina Campus, and any future product). Previously each
   product page carried its own ~370-line copy-pasted <style> block -
   this is the single source of truth instead, so a design tweak only
   needs to happen once. */

.crm-hero {
    background-color: #000000;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%25" height="100%25" fill="url(%23grid)"/></svg>');
    background-repeat: repeat;
    background-size: 100px 100px;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.crm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%25" height="100%25" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.crm-hero .container {
    position: relative;
    z-index: 1;
}

.crm-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff !important;
}

.crm-hero .lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff !important;
}

.crm-hero p {
    color: #ffffff !important;
}

.crm-hero-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.crm-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 4px 6px 4px 0;
}

.demo-btn {
    background: #fff;
    color: #c4161c;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
    border: 2px solid #fff;
}

.demo-btn:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.what-is-crm {
    background: #f8f9fa;
    padding: 80px 0;
}

.crm-explanation-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.crm-explanation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

.crm-explanation-card h3 {
    color: #171710;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.crm-explanation-card h3 i {
    color: var(--bs-primary);
}

.crm-explanation-card p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.crm-feature-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    transition: all 0.25s ease;
    background: #fff;
}

.crm-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.crm-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.25s ease;
}

.crm-feature-card:hover .crm-feature-icon {
    background: var(--bs-primary);
}

.crm-feature-icon i {
    font-size: 28px;
    color: var(--bs-primary);
    transition: color 0.25s ease;
}

.crm-feature-card:hover .crm-feature-icon i {
    color: #fff;
}

.crm-feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #171710;
}

.crm-feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.how-it-works-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number-circle {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: inline-block;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.how-it-works-step .arch-line {
    position: absolute;
    top: 30px;
    width: 150px;
    right: 0;
    left: calc(100% + 24px);
    transform: translateX(-50%);
    z-index: 1;
}

.how-it-works-step .arch-line.reverse {
    top: 30px;
}

@media (max-width: 991.98px) {
    .how-it-works-step .arch-line {
        display: none;
    }
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #171710;
}

.step-content p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.screenshot-gallery {
    background: #f8f9fa;
}

.screenshot-item {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: 15px 20px 0;
    font-weight: 600;
    color: #171710;
    text-align: center;
}

.journey-step {
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.journey-step:last-of-type {
    border-bottom: none;
}

.journey-content {
    padding: 20px;
}

.step-badge .badge {
    border: none;
    font-weight: 600;
}

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

.benefit-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--bs-primary);
    border-radius: 12px 0 0 12px;
}

.benefit-item h5 {
    font-weight: 600;
    color: #171710;
    margin-bottom: 10px;
}

.benefit-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.use-case-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.25s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.use-case-icon i {
    font-size: 28px;
    color: var(--bs-primary);
}

.use-case-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #171710;
}

.use-case-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Only letter-spacing is section-specific; the rest is covered by the shared .subtitle rule in style.css */
.crm-section .subtitle {
    letter-spacing: 0.5px;
}

.crm-cta-section {
    background: var(--bs-primary) !important;
}

.crm-cta-section h2,
.crm-cta-section .h2,
.crm-cta-section p,
.crm-cta-section .lead {
    color: #ffffff !important;
}

.crm-cta-section .btn-light {
    background: #ffffff !important;
    color: var(--bs-primary) !important;
    border-color: #ffffff !important;
}

.crm-cta-section .btn-light:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--bs-primary) !important;
}

.crm-cta-section .btn-outline-light {
    border-color: #ffffff !important;
    color: #ffffff !important;
    background: transparent !important;
}

.crm-cta-section .btn-outline-light:hover {
    background: #ffffff !important;
    color: var(--bs-primary) !important;
}
