/* PMS Page Specific Styles */

/* Hero Section */
.pms-hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.pms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #0a0a0a;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #667eea;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:first-child {
    border-top: none;
}

.feature-list li::before {
    content: "→";
    color: #667eea;
    margin-right: 0.75rem;
}

/* Dashboard Preview */
.dashboard-preview {
    padding: 80px 0;
    background: #000000;
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.preview-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.preview-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: #667eea;
    flex-shrink: 0;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.dot:first-child {
    background: #ff5f57;
}

.dot:nth-child(2) {
    background: #ffbd2e;
}

.dot:last-child {
    background: #28ca42;
}

.mockup-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mockup-content {
    padding: 2rem;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.widget {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
}

.widget-large {
    grid-column: span 2;
}

.widget-chart {
    grid-column: span 3;
}

.widget-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
}

.widget-change {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.widget-change.positive {
    color: #00ff88;
}

.chart-placeholder {
    height: 150px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.2), transparent);
    border-radius: 4px;
}

/* Risk Management Section */
.risk-management {
    padding: 80px 0;
    background: #0a0a0a;
}

.risk-header {
    text-align: center;
    margin-bottom: 3rem;
}

.risk-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.risk-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.risk-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.risk-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

.risk-metric {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.risk-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.risk-features {
    max-width: 800px;
    margin: 0 auto;
}

.features-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.risk-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    color: #667eea;
    font-weight: bold;
}

/* Integration Section */
.integration {
    padding: 80px 0;
    background: #000000;
}

.integration-header {
    text-align: center;
    margin-bottom: 3rem;
}

.integration-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.integration-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

/* Code Examples */
.code-examples {
    max-width: 900px;
    margin: 0 auto;
}

.code-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.code-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.code-tab.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #667eea;
}

.code-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.code-content {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.code-block {
    display: none;
    padding: 2rem;
}

.code-block.active {
    display: block;
}

.code-block pre {
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-mockup {
        display: none;
    }
    
    .risk-grid {
        grid-template-columns: 1fr;
    }
    
    .code-tabs {
        flex-wrap: wrap;
    }
    
    .code-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}