/* ========================================
   Sentinel Platform - Additional Styles
   ======================================== */

/* === Platform Hero === */
.platform-hero {
    background: linear-gradient(135deg, #0f2942 0%, #1a4d7f 50%, #e74c3c 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.platform-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="hexagons" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,0 52,15 52,45 30,60 8,45 8,15" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagons)"/></svg>');
    opacity: 0.3;
}

.platform-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.platform-hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* === Platform Overview Section === */
.platform-overview {
    background-color: #f4f6f8;
}

/* === Pillars Dashboard === */
.pillars-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pillar-module {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pillar-module:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #e74c3c;
}

.pillar-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f4f6f8;
}

.pillar-icon-large {
    font-size: 4rem;
    margin-bottom: 15px;
}

.pillar-header h3 {
    font-size: 1.8rem;
    color: #1a4d7f;
    margin-bottom: 8px;
}

.pillar-tagline {
    color: #6c757d;
    font-size: 0.95rem;
    font-style: italic;
}

.pillar-features {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: start;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item h4 {
    font-size: 1.1rem;
    color: #0f2942;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

.pillar-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #1a4d7f 0%, #0f2942 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.pillar-btn:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    transform: translateX(5px);
}

/* === Platform Stats Section === */
.platform-stats-section {
    background: linear-gradient(135deg, #0f2942 0%, #1a4d7f 100%);
    color: white;
}

.platform-stats-section .section-label {
    color: #e74c3c;
}

.platform-stats-section .section-header h2 {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* === Technology Section === */
.tech-section {
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tech-card {
    background: #f4f6f8;
    padding: 35px;
    border-radius: 12px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-card h3 {
    font-size: 1.5rem;
    color: #0f2942;
    margin-bottom: 10px;
}

.tech-card p {
    font-weight: 600;
    color: #1a4d7f;
    margin-bottom: 15px;
}

.tech-card ul {
    list-style: none;
    padding: 0;
}

.tech-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.tech-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

/* === CTA Buttons === */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-secondary-large {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-secondary-large:hover {
    background-color: white;
    color: #1a4d7f;
    transform: translateY(-3px);
}

/* === Responsive Adjustments === */
@media (max-width: 968px) {
    .platform-hero-title {
        font-size: 2.5rem;
    }

    .platform-hero-subtitle {
        font-size: 1.2rem;
    }

    .pillars-dashboard {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .platform-hero-title {
        font-size: 2rem;
    }

    .platform-hero-subtitle {
        font-size: 1rem;
    }

    .pillar-icon-large {
        font-size: 3rem;
    }

    .pillar-module {
        padding: 25px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* === Interactive States === */
.pillar-module[data-pillar="preplan"]:hover .pillar-icon-large {
    animation: bounce 0.6s ease;
}

.pillar-module[data-pillar="prepare"]:hover .pillar-icon-large {
    animation: pulse 0.6s ease;
}

.pillar-module[data-pillar="prevent"]:hover .pillar-icon-large {
    animation: shake 0.6s ease;
}

.pillar-module[data-pillar="respond"]:hover .pillar-icon-large {
    animation: flash 0.6s ease;
}

.pillar-module[data-pillar="rescue"]:hover .pillar-icon-large {
    animation: swing 0.6s ease;
}

.pillar-module[data-pillar="recover"]:hover .pillar-icon-large {
    animation: grow 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

@keyframes grow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
