/* ============================================
   AWS Console Theme - Authentic AWS Styling
   Based on AWS Console + AWS Documentation
   ============================================ */

/* 1. AWS Official Font - Amazon Ember */
@font-face {
    font-family: "Amazon Ember";
    font-weight: 400;
    src: url("https://d1ge0kk1l5kms0.cloudfront.net/fonts/AmazonEmber_Rg.woff2") format("woff2"),
         url("https://d1ge0kk1l5kms0.cloudfront.net/fonts/AmazonEmber_Rg.woff") format("woff");
}
@font-face {
    font-family: "Amazon Ember";
    font-weight: 700;
    src: url("https://d1ge0kk1l5kms0.cloudfront.net/fonts/AmazonEmber_Bd.woff2") format("woff2"),
         url("https://d1ge0kk1l5kms0.cloudfront.net/fonts/AmazonEmber_Bd.woff") format("woff");
}

/* 2. AWS Official Color Palette */
:root {
    /* AWS Console Backgrounds */
    --aws-squid-ink: #232f3e;          /* AWS primary dark blue (header) */
    --aws-squid-ink-dark: #16191f;     /* Darker variant - actual console bg */
    --aws-squid-ink-light: #37475a;    /* Lighter panels */
    
    /* AWS Orange - The Brand Color */
    --aws-orange: #ff9900;             /* AWS official orange */
    --aws-orange-dark: #ec7211;        /* Hover state */
    --aws-orange-light: #ffac31;       /* Light variant */
    
    /* AWS Console UI Colors */
    --aws-panel-bg: #1b1f26;           /* Console panel background - slightly grayer */
    --aws-card-bg: #232935;            /* Console cards - less saturated */
    --aws-border: #2a3240;             /* Console borders - more subtle */
    --aws-border-light: #3a4454;       /* Lighter borders - less contrast */
    
    /* AWS Text Colors */
    --aws-text-primary: #ffffff;       /* Primary white text */
    --aws-text-secondary: #d5dbdb;     /* Secondary gray text */
    --aws-text-tertiary: #aab7b8;      /* Tertiary muted text */
    
    /* AWS Service Colors */
    --aws-blue: #1e8fff;               /* AWS service blue */
    --aws-blue-dark: #0972d3;          /* Dark blue */
    --aws-blue-light: #5fb3ff;         /* Light blue */
    
    /* AWS Status Colors */
    --aws-green: #1d8102;              /* Success (healthchecks) */
    --aws-green-light: #2ea043;        /* Lighter green */
    --aws-red: #d13212;                /* Error/critical */
    --aws-red-light: #ff5947;          /* Warning red */
    --aws-yellow: #ff9900;             /* Warning (matches orange) */
    
    /* AWS Shadows - minimal */
    --aws-shadow-sm: 0 1px 1px 0 rgba(0, 0, 0, 0.15);
    --aws-shadow-md: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    --aws-shadow-lg: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
    
    /* Spacing - AWS standard grid */
    --aws-spacing-xs: 4px;
    --aws-spacing-sm: 8px;
    --aws-spacing-md: 12px;
    --aws-spacing-lg: 16px;
    --aws-spacing-xl: 24px;
    
    /* Border radius - minimal like AWS */
    --aws-radius: 2px;
    --aws-radius-lg: 3px;
    
    /* Icon sizing - AWS standard */
    --aws-icon-sm: 14px;
    --aws-icon-md: 16px;
    --aws-icon-lg: 20px;
}

/* 3. Global Styles - AWS Console Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Amazon Ember", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #16191f; /* AWS console actual background - less saturated */
    color: var(--aws-text-primary);
    line-height: 1.4; /* AWS console tighter line height */
    font-size: 14px; /* AWS console base font size */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - AWS Console Style */
h1 {
    font-size: 24px; /* AWS console h1 size */
    font-weight: 400;
    color: var(--aws-text-primary);
    line-height: 1.2; /* Tight AWS title spacing */
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 18px; /* AWS console h2 size */
    font-weight: 700;
    color: var(--aws-text-primary);
    line-height: 1.3; /* Tight AWS spacing */
    margin-bottom: 12px;
    border-bottom: 1px solid var(--aws-border);
    padding-bottom: 6px;
}

h3 {
    font-size: 14px; /* AWS console h3 size */
    font-weight: 700;
    color: var(--aws-text-primary);
    line-height: 1.3;
    margin-bottom: 8px;
}

h4 {
    font-size: 13px; /* AWS console h4 size */
    font-weight: 700;
    color: var(--aws-text-primary);
    line-height: 1.3;
    margin-bottom: 6px;
}

p {
    color: var(--aws-text-secondary);
    margin-bottom: 12px; /* Tighter AWS spacing */
    font-size: 13px;
    line-height: 1.5; /* AWS console line height */
}

strong {
    font-weight: 700;
    color: var(--aws-text-primary);
}

a {
    color: var(--aws-blue-light);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--aws-orange);
    text-decoration: underline;
}

/* 4. Header - AWS Console Navigation Bar */
.site-header {
    background: var(--aws-squid-ink);
    border-bottom: 4px solid var(--aws-orange);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--aws-shadow-md);
}

.site-header > * {
    max-width: 1600px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--aws-text-primary);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    font-size: 28px;
    display: inline-block;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(255, 153, 0, 0.3));
}

.nav-links {
    display: flex;
    gap: 2px; /* AWS console tight nav spacing */
    align-items: center;
}

.nav-links a {
    color: var(--aws-text-secondary);
    font-weight: 400;
    font-size: 13px; /* AWS console nav font size */
    padding: 6px 12px; /* AWS console nav padding */
    border-radius: var(--aws-radius);
    transition: all 0.15s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.nav-links a:hover {
    background: var(--aws-squid-ink-light);
    color: var(--aws-text-primary);
    border-color: var(--aws-border);
    text-decoration: none;
}

.nav-links .active {
    background: var(--aws-orange);
    color: var(--aws-squid-ink);
    font-weight: 700;
    border-color: var(--aws-orange-dark);
}

/* 5. Main Content Area - AWS Console Layout */
.content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px; /* AWS standard horizontal padding */
}

/* 6. Cards - AWS Console Panel Style */
.card {
    background: var(--aws-card-bg);
    border: 1px solid #2a3240; /* More subtle AWS border */
    border-radius: var(--aws-radius); /* Minimal rounding like AWS */
    padding: 16px; /* AWS card internal padding */
    margin-bottom: 16px;
    box-shadow: none; /* AWS console has no shadows on cards */
}

.card h1 {
    border-bottom: 1px solid var(--aws-border); /* Subtle underline only */
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.card h2 {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid #2a3240; /* Subtle divider */
    border-bottom: none; /* Remove double borders */
}

.card h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* 7. Lists - AWS Documentation Style */
ul, ol {
    margin-left: var(--aws-spacing-xl);
    margin-bottom: var(--aws-spacing-lg);
}

ul li, ol li {
    color: var(--aws-text-secondary);
    margin-bottom: var(--aws-spacing-sm);
    line-height: 1.5; /* AWS tight list spacing */
    font-size: 13px;
}

ul li strong, ol li strong {
    color: var(--aws-text-primary);
    font-weight: 700;
}

.bullet-list {
    list-style: none;
    margin-left: 0;
}

.bullet-list li {
    position: relative;
    padding-left: var(--aws-spacing-lg);
    margin-bottom: var(--aws-spacing-sm);
}

.bullet-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--aws-orange);
    font-weight: 700;
    font-size: 13px;
}

/* 8. Buttons - AWS Console Action Buttons */
button,
.run-button {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--aws-radius);
    border: 1px solid var(--aws-orange-dark);
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--aws-orange);
    color: var(--aws-squid-ink);
    box-shadow: var(--aws-shadow-sm);
}

button:hover:not(:disabled),
.run-button:hover:not(:disabled) {
    background: var(--aws-orange-dark);
    box-shadow: var(--aws-shadow-md);
}

button:active:not(:disabled),
.run-button:active:not(:disabled) {
    transform: translateY(1px);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--aws-border);
    border-color: var(--aws-border);
}

/* Attack/danger button variant */
.attack-button {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 16px 20px;
    border-radius: var(--aws-radius);
    border: 1px solid var(--aws-red);
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--aws-panel-bg);
    color: var(--aws-text-primary);
    text-align: left;
}

.attack-button:hover:not(:disabled) {
    background: var(--aws-red);
    color: var(--aws-text-primary);
    border-color: var(--aws-red-light);
}

.attack-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.attack-desc {
    font-size: 12px;
    color: var(--aws-text-tertiary);
}

/* 9. Tables - AWS Console Table Style */
table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--aws-spacing-lg) 0;
    background: var(--aws-panel-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius);
    overflow: hidden;
    font-size: 13px; /* AWS table font size */
}

table thead {
    background: var(--aws-squid-ink-dark);
}

table th {
    padding: 10px 12px; /* AWS console table header padding */
    text-align: left;
    font-weight: 700;
    color: var(--aws-text-primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--aws-orange);
    line-height: 1.3;
}

table td {
    padding: 10px 12px; /* AWS console table cell padding */
    color: var(--aws-text-secondary);
    border-bottom: 1px solid var(--aws-border);
    line-height: 1.4;
    font-size: 13px;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background: var(--aws-card-bg);
}

/* 10. Code blocks - AWS Console/CLI Style */
pre, code {
    font-family: Monaco, Menlo, "Ubuntu Mono", "Courier New", monospace;
    font-size: 13px;
    border-radius: var(--aws-radius);
}

code {
    background: var(--aws-squid-ink-dark);
    color: var(--aws-orange-light);
    padding: 2px 6px;
    border: 1px solid var(--aws-border);
}

pre {
    background: var(--aws-squid-ink-dark);
    color: var(--aws-text-secondary);
    padding: 16px;
    overflow-x: auto;
    border: 1px solid var(--aws-border);
    line-height: 1.5;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

pre code {
    background: transparent;
    border: none;
    color: inherit;
    padding: 0;
}

/* 11. Console/Terminal panels */
.console-panel,
.console-output {
    background: var(--aws-panel-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius-lg);
    padding: 16px;
    font-family: Monaco, Menlo, monospace;
    font-size: 13px;
    overflow-x: auto;
}

.console-header {
    color: var(--aws-orange);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 14px;
    border-bottom: 1px solid var(--aws-border);
    padding-bottom: 8px;
}

.console-output {
    background: var(--aws-squid-ink-dark);
    color: var(--aws-text-secondary);
    max-height: 500px;
    overflow-y: auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.console-line {
    margin-bottom: 4px;
    line-height: 1.5;
}

.console-line.info { color: var(--aws-blue-light); }
.console-line.demo { color: #a78bfa; }
.console-line.success { color: var(--aws-green-light); }
.console-line.header { color: var(--aws-orange); font-weight: 700; }
.console-line.warning { color: var(--aws-yellow); }
.console-line.error { color: var(--aws-red-light); }

/* 12. State/Info panels - AWS Service Detail Panels */
.state-panel,
.state-section {
    background: var(--aws-card-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius-lg);
    padding: 20px;
}

.state-section {
    margin-bottom: 16px;
    background: var(--aws-panel-bg);
}

.state-section:last-child {
    margin-bottom: 0;
}

.state-section h3 {
    font-size: 14px;
    color: var(--aws-orange);
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--aws-border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 13. Metric cards - AWS CloudWatch Style */
.metrics-grid,
.defense-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--aws-spacing-md);
    margin-bottom: var(--aws-spacing-lg);
}

.metric-card,
.stat-card {
    background: var(--aws-card-bg);
    border: 1px solid var(--aws-border);
    border-left: 3px solid var(--aws-orange); /* AWS accent stripe */
    border-radius: var(--aws-radius);
    padding: var(--aws-spacing-md);
    text-align: center;
    transition: all 0.15s ease;
}

.metric-card:hover,
.stat-card:hover {
    border-left-color: var(--aws-blue);
    background: #293541; /* Slightly lighter on hover */
}

.metric-value,
.stat-value {
    font-size: 32px; /* AWS metric size */
    font-weight: 700;
    color: var(--aws-orange);
    line-height: 1;
    margin-bottom: var(--aws-spacing-xs);
}

.metric-label,
.stat-label {
    font-size: 11px; /* AWS label size */
    font-weight: 600;
    color: var(--aws-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.metric-value.success,
.stat-value.success {
    color: var(--aws-green-light);
}

/* 14. Info boxes - AWS Console Alert Styles */
.info-box,
.info-panel {
    background: var(--aws-panel-bg);
    border-left: 4px solid var(--aws-blue);
    padding: 16px 20px;
    border-radius: var(--aws-radius);
    margin: 20px 0;
    border: 1px solid var(--aws-border);
    border-left-width: 4px;
}

.success-box {
    border-left-color: var(--aws-green);
}

.warning-box {
    border-left-color: var(--aws-orange);
}

.error-box {
    border-left-color: var(--aws-red);
}

/* 15. Footer - AWS Console Footer */
.site-footer {
    background: var(--aws-squid-ink);
    border-top: 1px solid var(--aws-border);
    padding: 24px;
    margin-top: 48px;
    text-align: center;
}

.site-footer p {
    color: var(--aws-text-tertiary);
    font-size: 12px;
    margin: 0;
}

/* 16. User items - AWS Resource Lists */
.user-item {
    background: var(--aws-panel-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius);
    padding: 12px 16px;
    margin: 8px 0;
    transition: all 0.15s ease;
}

.user-item:hover {
    background: var(--aws-card-bg);
    border-color: var(--aws-orange);
    box-shadow: var(--aws-shadow-sm);
}

.user-item strong {
    color: var(--aws-text-primary);
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.user-item span {
    color: var(--aws-text-tertiary);
    font-size: 12px;
}

/* 17. AWS Service Color Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: var(--aws-radius);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-ec2 { background: #ff9900; color: #232f3e; }
.badge-rds { background: #527fff; color: white; }
.badge-s3 { background: #569a31; color: white; }
.badge-iam { background: #dd344c; color: white; }
.badge-vpc { background: #7b61ff; color: white; }
.badge-cloudwatch { background: #ff4f8b; color: white; }

/* 18. Responsive Design */
@media (max-width: 1200px) {
    .content {
        padding: var(--aws-spacing-lg); /* 16px for tablets */
    }
    
    .card {
        padding: var(--aws-spacing-md); /* 12px internal */
    }
}

@media (max-width: 768px) {
    .site-header > * {
        flex-direction: column;
        gap: var(--aws-spacing-sm);
        padding: var(--aws-spacing-md) var(--aws-spacing-lg);
    }
    
    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--aws-spacing-xs);
    }
    
    .nav-links a {
        flex: 1 1 auto;
        text-align: center;
        min-width: 90px;
        font-size: 12px; /* Smaller on mobile */
        padding: 4px 8px; /* Tighter mobile nav */
    }
    
    .content {
        padding: var(--aws-spacing-md); /* 12px for mobile */
    }
    
    .card {
        padding: var(--aws-spacing-md);
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 16px;
    }
    
    .metrics-grid,
    .defense-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--aws-spacing-md);
    }
    
    .metric-value,
    .stat-value {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .metrics-grid,
    .defense-stats {
        grid-template-columns: 1fr;
        gap: var(--aws-spacing-sm);
    }
    
    h1 {
        font-size: 18px;
    }
    
    .nav-links a {
        font-size: 11px;
        padding: 4px 6px;
    }
    
    .content {
        padding: var(--aws-spacing-sm); /* 8px for very small screens */
    }
}

/* 19. Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.user-item.appear {
    animation: slideIn 0.3s ease forwards;
}

/* 20. AWS Icon System - Using Unicode symbols for AWS-style glyphs */
.icon {
    display: inline-block;
    width: var(--aws-icon-md);
    height: var(--aws-icon-md);
    margin-right: 6px;
    vertical-align: middle;
    font-size: var(--aws-icon-md);
}

.icon-sm {
    width: var(--aws-icon-sm);
    height: var(--aws-icon-sm);
    font-size: var(--aws-icon-sm);
}

.icon-lg {
    width: var(--aws-icon-lg);
    height: var(--aws-icon-lg);
    font-size: var(--aws-icon-lg);
}

/* AWS Service Icon Colors */
.icon-ec2::before { content: "▣"; color: var(--aws-orange); }
.icon-rds::before { content: "◉"; color: #527fff; }
.icon-s3::before { content: "◈"; color: #569a31; }
.icon-iam::before { content: "⬢"; color: #dd344c; }
.icon-vpc::before { content: "⬡"; color: #7b61ff; }
.icon-lambda::before { content: "λ"; color: var(--aws-orange); }
.icon-cloudwatch::before { content: "◷"; color: #ff4f8b; }
.icon-cloudtrail::before { content: "◴"; color: #1e8fff; }
.icon-kms::before { content: "🔑"; color: #dd344c; font-size: 14px; }

/* Generic utility icons */
.icon-check::before { content: "✓"; color: var(--aws-green-light); }
.icon-warning::before { content: "⚠"; color: var(--aws-orange); }
.icon-error::before { content: "✖"; color: var(--aws-red-light); }
.icon-info::before { content: "ℹ"; color: var(--aws-blue-light); }
.icon-arrow::before { content: "→"; color: var(--aws-orange); }
.icon-external::before { content: "↗"; color: var(--aws-blue-light); }

/* 21. AWS-specific utility classes */
.aws-divider {
    height: 1px;
    background: var(--aws-border);
    margin: var(--aws-spacing-xl) 0;
}

.aws-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--aws-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--aws-spacing-sm);
    display: block;
}

.aws-value {
    font-size: 13px;
    color: var(--aws-text-primary);
    font-weight: 400;
}

/* AWS Console spacing utilities */
.mb-xs { margin-bottom: var(--aws-spacing-xs); }
.mb-sm { margin-bottom: var(--aws-spacing-sm); }
.mb-md { margin-bottom: var(--aws-spacing-md); }
.mb-lg { margin-bottom: var(--aws-spacing-lg); }
.mb-xl { margin-bottom: var(--aws-spacing-xl); }

.mt-xs { margin-top: var(--aws-spacing-xs); }
.mt-sm { margin-top: var(--aws-spacing-sm); }
.mt-md { margin-top: var(--aws-spacing-md); }
.mt-lg { margin-top: var(--aws-spacing-lg); }
.mt-xl { margin-top: var(--aws-spacing-xl); }

.p-xs { padding: var(--aws-spacing-xs); }
.p-sm { padding: var(--aws-spacing-sm); }
.p-md { padding: var(--aws-spacing-md); }
.p-lg { padding: var(--aws-spacing-lg); }
.p-xl { padding: var(--aws-spacing-xl); }

/* 22. AWS Console breadcrumb style */
.breadcrumb {
    font-size: 12px;
    color: var(--aws-text-tertiary);
    margin-bottom: var(--aws-spacing-md);
    padding: var(--aws-spacing-sm) 0;
}

.breadcrumb a {
    color: var(--aws-blue-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 var(--aws-spacing-sm);
    color: var(--aws-text-tertiary);
}

.breadcrumb-separator::before {
    content: "›";
}

/* 23. AWS Console info badge */
.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--aws-panel-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius);
    padding: 4px 8px;
    font-size: 12px;
    color: var(--aws-text-secondary);
    margin: 0 4px;
}

.info-badge.success {
    border-color: var(--aws-green);
    background: rgba(29, 129, 2, 0.1);
}

.info-badge.warning {
    border-color: var(--aws-orange);
    background: rgba(255, 153, 0, 0.1);
}

.info-badge.error {
    border-color: var(--aws-red);
    background: rgba(209, 50, 18, 0.1);
}

/* 24. Hero Section - Enhanced Professional Design */
.hero-section {
    background: linear-gradient(135deg, var(--aws-squid-ink) 0%, var(--aws-squid-ink-dark) 100%);
    border-radius: var(--aws-radius-lg);
    padding: 64px 48px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--aws-border);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 153, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-section h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--aws-text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--aws-text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

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

/* 25. Enhanced Button Styles */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--aws-radius);
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--aws-orange);
    color: var(--aws-squid-ink);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.btn-primary:hover {
    background: var(--aws-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 153, 0, 0.4);
}

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

.btn-secondary:hover {
    background: var(--aws-card-bg);
    border-color: var(--aws-orange);
    color: var(--aws-orange);
}

.btn-icon {
    font-size: 12px;
}

/* 26. Stats Section - Professional Metrics Display */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
    padding: 32px;
    background: var(--aws-card-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius-lg);
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--aws-panel-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius);
    transition: all 0.2s ease;
}

.stat-item:hover {
    border-color: var(--aws-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--aws-orange);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--aws-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* 27. Feature Grid - Modern Card Layout */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.feature-card {
    background: var(--aws-panel-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius);
    padding: 24px;
    transition: all 0.2s ease;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--aws-orange);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--aws-text-primary);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 13px;
    color: var(--aws-text-secondary);
    line-height: 1.5;
}

/* 28. Feature List - Enhanced Typography */
.feature-list {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.feature-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--aws-border);
    padding-left: 0;
    margin-bottom: 0;
}

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

.feature-list li strong {
    display: block;
    color: var(--aws-orange);
    margin-bottom: 6px;
    font-size: 14px;
}

/* 29. Technology Stack Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.tech-card {
    background: var(--aws-panel-bg);
    border: 1px solid var(--aws-border);
    border-left: 3px solid var(--aws-orange);
    border-radius: var(--aws-radius);
    padding: 20px;
    transition: all 0.2s ease;
}

.tech-card:hover {
    border-left-color: var(--aws-blue);
    background: var(--aws-card-bg);
}

.tech-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--aws-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tech-value {
    font-size: 14px;
    color: var(--aws-text-secondary);
    line-height: 1.5;
}

/* 30. Interactive Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.tool-card {
    display: block;
    background: var(--aws-panel-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius);
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--aws-orange);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.tool-card:hover {
    border-color: var(--aws-orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.tool-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--aws-text-primary);
    margin-bottom: 12px;
}

.tool-desc {
    font-size: 13px;
    color: var(--aws-text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.tool-cta {
    font-size: 13px;
    color: var(--aws-orange);
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s ease;
}

.tool-card:hover .tool-cta {
    transform: translateX(4px);
}

/* 31. CTA Section */
.cta-section {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--aws-border);
}

/* 32. Author Section */
.author-section {
    margin-top: 48px;
    margin-bottom: 32px;
}

.author-card {
    background: var(--aws-card-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.author-info h3 {
    font-size: 20px;
    color: var(--aws-text-primary);
    margin-bottom: 16px;
    border: none;
    padding: 0;
}

.author-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--aws-text-primary);
    margin-bottom: 8px;
}

.author-title {
    font-size: 15px;
    color: var(--aws-orange);
    margin-bottom: 16px;
    font-weight: 600;
}

.author-bio {
    font-size: 14px;
    color: var(--aws-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-links {
    display: flex;
    gap: 16px;
}

.author-link {
    color: var(--aws-blue-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.author-link:hover {
    color: var(--aws-orange);
    text-decoration: underline;
}

.author-certs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--aws-panel-bg);
    border: 1px solid var(--aws-border);
    border-radius: var(--aws-radius);
}

.cert-icon {
    font-size: 24px;
}

.cert-name {
    font-size: 13px;
    color: var(--aws-text-secondary);
    font-weight: 600;
}

/* 33. Footer Enhancements */
.footer-content {
    text-align: center;
    padding: 32px 24px;
}

.footer-content p {
    margin-bottom: 8px;
    color: var(--aws-text-tertiary);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--aws-blue-light);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--aws-orange);
}

/* 34. Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--aws-text-primary);
    transition: all 0.2s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 35. Responsive Enhancements */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 24px;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px 16px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .feature-grid,
    .tools-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .author-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--aws-squid-ink);
        flex-direction: column;
        padding: 16px;
        border-top: 1px solid var(--aws-border);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px;
        border-bottom: 1px solid var(--aws-border);
    }
}

/* 36. Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.stat-item,
.feature-card,
.tool-card {
    animation: fadeInUp 0.6s ease-out;
}

.stat-item:nth-child(2) { animation-delay: 0.1s; }
.stat-item:nth-child(3) { animation-delay: 0.2s; }
.stat-item:nth-child(4) { animation-delay: 0.3s; }

/* 21. Print styles */
@media print {
    .site-header,
    .site-footer,
    .nav-links,
    button,
    .run-button,
    .attack-button,
    .hero-actions,
    .mobile-menu-toggle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        border: 1px solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .hero-section {
        background: white;
        border: 1px solid #ddd;
    }
}
