/* ============================================================================
   StrikeLayer - AI-Powered Penetration Testing Platform
   CSS Stylesheet - Dark Theme with Cyber Blue Accent
   ============================================================================ */

/* ============================================================================
   CSS CUSTOM PROPERTIES (Variables)
   ============================================================================ */
:root {
    /* Backgrounds */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --bg-elevated: #22222e;
    
    /* Accent Colors - Cyber Blue */
    --accent-primary: #00d4ff;
    --accent-secondary: #0099ff;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    --accent-glow: rgba(0, 212, 255, 0.4);
    
    /* Severity Colors */
    --color-critical: #ff3e3e;
    --color-high: #ff6b35;
    --color-medium: #f59e0b;
    --color-low: #22c55e;
    --color-info: #3b82f6;
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #64748b;
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Type Scale (Fluid) */
    --text-6xl: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --text-5xl: clamp(2rem, 4vw + 1rem, 3.5rem);
    --text-4xl: clamp(1.75rem, 3vw + 1rem, 2.5rem);
    --text-3xl: clamp(1.5rem, 2.5vw + 1rem, 2rem);
    --text-2xl: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
    --text-xl: 1.25rem;
    --text-lg: 1.125rem;
    --text-base: 1rem;
    --text-sm: 0.875rem;
    --text-xs: 0.75rem;
    
    /* Spacing */
    --section-padding: clamp(4rem, 8vw, 8rem);
    --container-max: 1280px;
    --container-padding: clamp(1rem, 5vw, 2rem);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--accent-glow), 0 0 40px rgba(0, 212, 255, 0.2);
}

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: var(--text-6xl); font-weight: 800; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); font-weight: 600; }
h4 { font-size: var(--text-2xl); font-weight: 600; }
h5 { font-size: var(--text-xl); font-weight: 600; }
h6 { font-size: var(--text-lg); font-weight: 600; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
}

.accent {
    color: var(--accent-primary);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

code, pre {
    font-family: var(--font-mono);
}

/* ============================================================================
   LAYOUT
   ============================================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: var(--text-lg);
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem var(--container-padding);
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo:hover {
    color: var(--text-primary);
}

.logo-icon {
    color: var(--accent-primary);
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.25rem;
    margin-right: 0.5rem;
}

.lang-btn {
    padding: 0.375rem 0.625rem;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.lang-btn.active {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.1);
}

.mobile-lang-switcher {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-lang-switcher .lang-btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    font-size: var(--text-sm);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition-base);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 999;
    padding: 2rem var(--container-padding);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .nav-container {
        height: 64px;
    }
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--accent-primary);
    padding: 0.5rem 0;
}

.btn-ghost:hover {
    color: var(--accent-secondary);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--text-base);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--text-xs);
}

.btn-block {
    width: 100%;
}

/* ============================================================================
   CARDS
   ============================================================================ */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
}

.card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: var(--text-2xl);
    margin-bottom: 0.75rem;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 153, 255, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    z-index: -1;
}

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

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 9999px;
    font-size: var(--text-sm);
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

/* Client Logos */
.client-logos {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.client-logos-title {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.logo-item {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--transition-base);
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--text-primary);
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
}

/* ============================================================================
   SERVICES SECTION
   ============================================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2.5rem;
}

.service-card .card-icon {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
}

.service-features {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.service-feature i {
    color: var(--color-low);
    margin-top: 0.25rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-weight: 500;
    color: var(--accent-primary);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ============================================================================
   STATS SECTION
   ============================================================================ */
.stats-section {
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
}

.testimonial-quote {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-primary);
    line-height: 0;
    display: block;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
}

.testimonial-info h4 {
    font-size: var(--text-base);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================================
   PRICING
   ============================================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-name {
    font-size: var(--text-2xl);
    margin-bottom: 0.5rem;
}

.pricing-description {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.pricing-amount {
    font-size: var(--text-5xl);
    font-weight: 800;
}

.pricing-period {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--text-sm);
}

.pricing-feature:last-child {
    border-bottom: none;
}

.pricing-feature i {
    color: var(--color-low);
    margin-top: 0.125rem;
}

/* ============================================================================
   METHODOLOGY
   ============================================================================ */
.methodology-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.methodology-step {
    display: flex;
    gap: 2rem;
    position: relative;
}

.methodology-step::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: -56px;
    width: 2px;
    background: var(--border-color);
}

.methodology-step:last-child::before {
    display: none;
}

.step-number {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--accent-primary);
}

.step-content {
    padding-bottom: 3rem;
}

.step-content h4 {
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
}

/* ============================================================================
   FORMS
   ============================================================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-hint {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: var(--text-lg);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.contact-method-info h4 {
    font-size: var(--text-base);
    margin-bottom: 0.25rem;
}

.contact-method-info p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 3rem;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

/* ============================================================================
   SAMPLE REPORT
   ============================================================================ */
.report-container {
    max-width: 900px;
    margin: 0 auto;
}

.report-header {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    margin-bottom: 3rem;
}

.report-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.report-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.report-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
}

.report-section h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.finding-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.finding-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.finding-title {
    font-size: var(--text-lg);
    font-weight: 600;
}

.severity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.severity-critical {
    background: rgba(255, 62, 62, 0.15);
    color: var(--color-critical);
}

.severity-high {
    background: rgba(255, 107, 53, 0.15);
    color: var(--color-high);
}

.severity-medium {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-medium);
}

.severity-low {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-low);
}

.finding-details {
    display: grid;
    gap: 1rem;
}

.finding-detail {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    font-size: var(--text-sm);
}

.finding-detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.code-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ============================================================================
   FLASH MESSAGES
   ============================================================================ */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 1rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flash-success {
    border-color: var(--color-low);
    background: rgba(34, 197, 94, 0.1);
}

.flash-error {
    border-color: var(--color-critical);
    background: rgba(255, 62, 62, 0.1);
}

.flash-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.flash-close:hover {
    color: var(--text-primary);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-logo:hover {
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: var(--text-sm);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-primary);
    color: white;
}

.footer-section h4 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul a {
    color: var(--text-muted);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-section ul a:hover {
    color: var(--accent-primary);
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.cert-badge i {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--accent-primary);
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================================
   404 & ERROR PAGES
   ============================================================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-code {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: var(--text-3xl);
    margin-bottom: 1rem;
}

.error-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
}
