/**
 * Phishing Awareness Training — Supplemental Stylesheet
 * Extends the main computersecurity.us style.css
 * 
 * Sections:
 * 1. Landing Page Hero
 * 2. Feature Cards
 * 3. How It Works
 * 4. Pricing Section
 * 5. Stats/Social Proof
 * 6. CTA Sections
 * 7. Flash Messages
 * 8. Threat Types Showcase
 * 9. Responsive
 */

/* ==========================================================================
   1. Landing Page Hero
   ========================================================================== */

.pg-hero {
    background: linear-gradient(135deg, #003366 0%, #004c99 40%, #0066cc 100%);
    color: white;
    padding: 100px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0,102,204,0.3) 0%, transparent 50%);
    pointer-events: none;
}

.pg-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.pg-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.pg-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.pg-hero h1 span {
    color: #ff6b35;
}

.pg-hero-sub {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 680px;
    margin: 0 auto 36px;
}

.pg-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.pg-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.pg-btn-primary {
    background: #CC0000;
    color: white;
}

.pg-btn-primary:hover {
    background: #990000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
}

.pg-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.pg-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.pg-hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.pg-hero-stat {
    text-align: center;
}

.pg-hero-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.pg-hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   2. Feature Cards
   ========================================================================== */

.pg-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.pg-section-dark {
    background: #f8f9fb;
    max-width: 100%;
    padding: 80px 40px;
}

.pg-section-dark .pg-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pg-section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 12px;
}

.pg-section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.pg-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pg-feature-card {
    background: white;
    border-radius: 12px;
    padding: 36px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eef0f4;
    transition: all 0.3s ease;
}

.pg-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,51,102,0.1);
    border-color: #004c99;
}

.pg-feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.pg-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 10px;
}

.pg-feature-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* ==========================================================================
   3. How It Works
   ========================================================================== */

.pg-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    counter-reset: step;
}

.pg-step {
    text-align: center;
    position: relative;
}

.pg-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #003366, #004c99);
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 18px;
}

.pg-step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 8px;
}

.pg-step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ==========================================================================
   4. Pricing Section
   ========================================================================== */

.pg-pricing-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pg-pricing-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    border: 2px solid #eef0f4;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pg-pricing-card.featured {
    border-color: #003366;
    box-shadow: 0 12px 40px rgba(0,51,102,0.15);
    transform: scale(1.04);
}

.pg-pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #CC0000;
    color: white;
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pg-pricing-tier {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #004c99;
    margin-bottom: 16px;
}

.pg-pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #003366;
    line-height: 1;
    margin-bottom: 4px;
}

.pg-pricing-amount sup {
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 2px;
}

.pg-pricing-period {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 8px;
}
.pg-pricing-range {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: #004c99;
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.pg-pricing-card.featured .pg-pricing-range {
    background: #CC0000;
    color: #fff;
}
.pg-pricing-starting-label {
    font-size: 0.78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
    margin-bottom: 0;
}
.pg-pricing-card.featured .pg-pricing-starting-label {
    color: #666;
}
.pg-pricing-permsg {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 24px;
    margin-top: 4px;
}
.pg-pricing-card.featured .pg-pricing-permsg {
    color: #666;
}
.pg-pricing-note {
    text-align: center;
    color: #aac4e8;
    font-size: 0.85rem;
    margin-top: 32px;
}

.pg-pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pg-pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pg-pricing-features li::before {
    content: '✓';
    color: #28a745;
    font-weight: 700;
    flex-shrink: 0;
}

.pg-pricing-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pg-pricing-btn-primary {
    background: #CC0000;
    color: white;
    border: none;
}

.pg-pricing-btn-primary:hover {
    background: #990000;
}

.pg-pricing-btn-outline {
    background: transparent;
    color: #003366;
    border: 2px solid #003366;
}

.pg-pricing-btn-outline:hover {
    background: #003366;
    color: white;
}

/* ==========================================================================
   5. Stats / Social Proof
   ========================================================================== */

.pg-stats-bar {
    background: linear-gradient(135deg, #002244, #003366);
    color: white;
    padding: 50px 40px;
}

.pg-stats-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.pg-stat-item {
    text-align: center;
}

.pg-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.pg-stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* ==========================================================================
   6. CTA Section
   ========================================================================== */

.pg-cta-section {
    background: linear-gradient(135deg, #003366, #004c99);
    color: white;
    padding: 80px 40px;
    text-align: center;
}

.pg-cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pg-cta-section p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ==========================================================================
   7. Flash Messages
   ========================================================================== */

.flash-message {
    max-width: 1200px;
    margin: 16px auto;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 500;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================================================
   8. Threat Types Showcase
   ========================================================================== */

.pg-threat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pg-threat-card {
    background: white;
    border-radius: 10px;
    padding: 24px;
    border-left: 4px solid #CC0000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.pg-threat-card h4 {
    color: #003366;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.pg-threat-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   9. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .pg-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pg-pricing-wrapper {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .pg-pricing-card.featured {
        transform: none;
    }
    .pg-threat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pg-hero {
        padding: 60px 20px 50px;
    }
    .pg-hero h1 {
        font-size: 2rem;
    }
    .pg-hero-sub {
        font-size: 1.05rem;
    }
    .pg-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .pg-section {
        padding: 50px 20px;
    }
    .pg-section-dark {
        padding: 50px 20px;
    }
    .pg-section-title {
        font-size: 1.7rem;
    }
    .pg-features-grid {
        grid-template-columns: 1fr;
    }
    .pg-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pg-stats-grid {
        flex-direction: column;
        gap: 24px;
    }
    .pg-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .pg-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    .pg-threat-grid {
        grid-template-columns: 1fr;
    }
    .pg-cta-section h2 {
        font-size: 1.7rem;
    }
}

/* ==========================================================================
   10. Explainer Video Section
   ========================================================================== */

.pg-video-section {
    background: linear-gradient(180deg, #003366 0%, #00264d 100%);
    padding: 80px 40px;
    text-align: center;
}

.pg-video-section .pg-section-title {
    color: #ffffff;
}

.pg-video-section .pg-section-subtitle {
    color: rgba(255,255,255,0.75);
}

.pg-video-inner {
    max-width: 900px;
    margin: 0 auto;
}

.pg-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.pg-video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #001a33 0%, #002244 50%, #003355 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.pg-video-placeholder:hover {
    background: linear-gradient(135deg, #002244 0%, #003355 50%, #004466 100%);
}

.pg-video-placeholder:hover .pg-video-play-btn svg circle {
    fill: rgba(204,0,0,0.8);
}

.pg-video-play-btn {
    transition: transform 0.3s ease;
}

.pg-video-placeholder:hover .pg-video-play-btn {
    transform: scale(1.1);
}

.pg-video-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.pg-video-embed {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.pg-video-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
}

/* Fix: Remove footer top-margin on landing page */
.pg-cta-section + .footer,
.pg-video-section ~ .footer {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .pg-video-section {
        padding: 50px 20px;
    }
}

/* Override footer margin when phishing layout is used */
body .footer {
    margin-top: 0;
}
