/* CPMS-Specific Styles */

/* Active Nav Link */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-electric);
    border-radius: 1px;
}

/* CPMS Hero */
.cpms-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    padding: 100px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 16px;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .hero-trust {
        flex-direction: row;
        gap: 32px;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.trust-item i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Dashboard Mockup */
.cpms-dashboard-mockup {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.mockup-window {
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 60px rgba(8, 124, 167, 0.15);
    overflow: hidden;
}

.mockup-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-title {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.mockup-content {
    padding: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-box {
    background: var(--background-secondary);
    padding: 16px 12px;
    border-radius: var(--border-radius);
    text-align: center;
}

.stat-box .stat-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

.stat-box .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-box .stat-label {
    font-size: 11px;
    color: var(--text-secondary);
}

.chart-placeholder {
    background: var(--background-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    height: 120px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    gap: 8px;
}

.chart-bars .bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
    animation: bar-grow 1s ease-out;
}

@keyframes bar-grow {
    from {
        height: 0 !important;
    }
}

/* Who It's For Section */
.who-its-for {
    background: var(--background-primary);
    padding: 80px 0;
}

.who-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (min-width: 1024px) {
    .who-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.who-card {
    background: var(--background-primary);
    border: 2px solid var(--border-color);
    padding: 32px;
    border-radius: var(--border-radius-large);
    transition: all 0.3s ease;
    text-align: center;
}

.who-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(8, 124, 167, 0.1);
}

.who-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(8, 124, 167, 0.1), rgba(41, 115, 115, 0.1));
    border-radius: 50%;
    color: var(--primary-color);
}

.who-icon i {
    font-size: 28px;
}

.who-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.who-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: var(--background-light);
    padding: 80px 0;
}

.features-grid-large {
    display: grid;
    gap: 28px;
}

@media (min-width: 768px) {
    .features-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .features-grid-large {
        gap: 40px;
    }
}

.feature-card-large {
    background: var(--background-primary);
    padding: 40px;
    border-radius: var(--border-radius-large);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card-large:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(8, 124, 167, 0.15);
}

.feature-icon-large {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    color: white;
    margin-bottom: 20px;
}

.feature-icon-large i {
    font-size: 24px;
}

.feature-card-large h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card-large > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 14px;
}

/* Integration Section */
.integration-section {
    background: var(--background-primary);
    padding: 80px 0;
}

.integration-content {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .integration-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.integration-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.integration-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
}

.step-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.integration-graphic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(8, 124, 167, 0.05), rgba(41, 115, 115, 0.05));
    border-radius: var(--border-radius-large);
}

.graphic-layer {
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
}

.graphic-layer i {
    font-size: 36px;
}

.graphic-layer p {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.graphic-arrow {
    color: var(--primary-color);
    font-size: 24px;
}

/* Demo Section */
.demo-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
}

.demo-content {
    display: grid;
    gap: 48px;
    align-items: start;
}

@media (min-width: 1024px) {
    .demo-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
    }
}

.demo-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-item i {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
    font-size: 20px;
}

.benefit-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.benefit-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Demo Form */
.demo-form-container {
    background: var(--background-primary);
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: 0 12px 40px rgba(8, 124, 167, 0.1);
}

.demo-form h3 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.demo-form .form-group {
    margin-bottom: 20px;
}

.demo-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--background-primary);
    color: var(--text-primary);
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(8, 124, 167, 0.1);
}

.demo-form textarea {
    resize: vertical;
}

.demo-form .form-note {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .cpms-hero {
        padding: 80px 0 60px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

    .features-grid-large {
        grid-template-columns: 1fr;
    }

    .demo-form-container {
        padding: 24px;
    }

    .feature-card-large {
        padding: 24px;
    }

    .who-card {
        padding: 24px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .mockup-content {
        padding: 16px;
    }

    .stat-box {
        padding: 12px 8px;
    }

    .stat-box .stat-value {
        font-size: 20px;
    }

    .integration-graphic {
        padding: 24px;
    }

    .graphic-layer {
        width: 100px;
        height: 100px;
    }

    .graphic-layer i {
        font-size: 28px;
    }
}
