.elementor-15070 .elementor-element.elementor-element-39ce336{--display:flex;}/* Start custom CSS for html, class: .elementor-element-cd21b16 *//* ============================================================
   T1593.003 ,  CODE REPOSITORIES | MAGENTA/PINK THEME
   MITRE ATT&amp;CK ,  Reconnaissance (TA0043)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --accent: #ec4899;
    --accent2: #f9a8d4;
    --accent-dim: rgba(236,72,153,0.15);
    --accent-glow: rgba(236,72,153,0.4);
    --bg-dark: #0a0e17;
    --bg-card: rgba(15,23,42,0.65);
    --bg-card-hover: rgba(20,30,55,0.8);
    --border-glass: rgba(236,72,153,0.12);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --danger: #ef4444;
    --danger-glow: rgba(239,68,68,0.5);
    --warning: #f59e0b;
    --success: #22c55e;
    --info: #3b82f6;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow-glow: 0 0 40px rgba(236,72,153,0.08);
}

/* --- Reset &amp; Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.7;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,240,255,.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(0,255,65,.03) 0%, transparent 60%),
        linear-gradient(180deg,#0a0e17 0%,#0d1525 50%,#0a0e17 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.25s, text-shadow 0.25s;
}
a:hover {
    color: var(--accent2);
    text-shadow: 0 0 12px var(--accent-glow);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* --- Header --- */
.header {
    text-align: center;
    padding: 60px 24px 40px;
    position: relative;
}
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: headerLine 3s ease-in-out infinite;
}
@keyframes headerLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.technique-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-dim);
    border: 1px solid var(--accent);
    border-radius: 24px;
    padding: 6px 18px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 20px;
    animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 8px rgba(236,72,153,0.2); }
    50% { box-shadow: 0 0 20px rgba(236,72,153,0.4); }
}

header h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent2), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

header .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 24px;
    font-weight: 300;
}

.tactic-tag {
    display: inline-block;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 6px;
    padding: 4px 14px;
    font-size: 0.8rem;
    color: #60a5fa;
    font-weight: 500;
}

/* --- Navigation Links --- */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}
.nav-links a {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}
.nav-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(236,72,153,0.15);
}
.nav-links a.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

/* --- Sections --- */
.section {
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 20px 40px;
    position: relative;
}
.section-tit {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-glass);
    position: relative;
    letter-spacing: -0.3px;
}
.section-tit::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent);
    animation: titleBar 2s ease-in-out infinite;
}
@keyframes titleBar {
    0%, 100% { width: 60px; opacity: 1; }
    50% { width: 120px; opacity: 0.7; }
}

/* --- Glass Cards --- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
    animation: cardFadeIn 0.8s ease-out both;
}
.glass-card:hover {
    border-color: var(--accent-glow);
    box-shadow: var(--shadow-glow);
}
@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Stat Grid --- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(8px);
    animation: statPop 0.6s ease-out both;
    transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(236,72,153,0.12);
}
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }
@keyframes statPop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.1;
    display: block;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 6px;
}
.stat-source {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================================
   SECTION 1: SIMULATION ,  GitHub-Style Repository Browsing
   ============================================================ */
.sim-container {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    animation: simContainerIn 1s ease-out both;
}
@keyframes simContainerIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Repo Header */
.repo-header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.repo-icon {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: repoIconSpin 8s linear infinite;
}
@keyframes repoIconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.repo-icon-inner {
    width: 14px;
    height: 14px;
    border: 2px solid #0d1117;
    border-radius: 50%;
    position: relative;
}
.repo-icon-inner::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 6px;
    height: 6px;
    background: #0d1117;
    border-radius: 50%;
}

.repo-name {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: #e2e8f0;
    font-weight: 600;
}
.repo-name .owner {
    color: var(--accent);
}

.repo-meta {
    display: flex;
    gap: 16px;
    margin-left: auto;
    font-size: 0.78rem;
    color: #8b949e;
}
.repo-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.meta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.meta-dot.public { background: var(--success); animation: dotBlink 2s infinite; }
.meta-dot.fork { background: var(--info); }
@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Search Bar */
.repo-search {
    background: #0d1117;
    border-bottom: 1px solid #21262d;
    padding: 12px 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.search-input-mock {
    flex: 1;
    background: #010409;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #8b949e;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.search-typing {
    display: inline;
    animation: searchType 6s steps(30) infinite;
    color: var(--accent);
}
@keyframes searchType {
    0% { width: 0; }
    5% { width: 0; }
    8% { width: 3ch; }
    12% { width: 6ch; }
    16% { width: 9ch; }
    20% { width: 12ch; }
    25% { width: 15ch; }
    30% { width: 18ch; }
    35% { width: 21ch; }
    40% { width: 24ch; }
    45% { width: 27ch; }
    50% { width: 30ch; }
    80% { width: 30ch; }
    85% { width: 27ch; }
    87% { width: 30ch; }
    95% { width: 30ch; }
    100% { width: 0; }
}
.search-cursor {
    display: inline-block;
    width: 7px;
    height: 14px;
    background: var(--accent);
    animation: cursorBlink 0.8s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.branch-tabs {
    display: flex;
    gap: 4px;
    overflow: hidden;
}
.branch-tab {
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: #8b949e;
    font-family: var(--font-mono);
    animation: branchSwitch 12s ease-in-out infinite;
}
.branch-tab.active {
    border-color: var(--accent);
    color: var(--accent);
    animation: branchActive 12s ease-in-out infinite;
}
@keyframes branchSwitch {
    0%, 20% { opacity: 0.5; transform: translateX(0); }
    25%, 50% { opacity: 0.5; transform: translateX(0); }
    55%, 100% { opacity: 0.5; transform: translateX(0); }
}
@keyframes branchActive {
    0%, 20% { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 8px rgba(236,72,153,0.2); }
    25%, 50% { border-color: #30363d; color: #8b949e; box-shadow: none; }
    55%, 100% { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 8px rgba(236,72,153,0.2); }
}

/* File Tree */
.repo-body {
    display: flex;
    min-height: 420px;
}
.file-tree-panel {
    width: 260px;
    background: #010409;
    border-right: 1px solid #21262d;
    padding: 12px 0;
    overflow: hidden;
}
.tree-section-label {
    font-size: 0.7rem;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    font-weight: 600;
}
.tree-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    font-size: 0.82rem;
    font-family: var(--font-mono);
    color: #8b949e;
    cursor: default;
    transition: background 0.2s;
    position: relative;
}
.tree-item:hover {
    background: #161b22;
}
.tree-item.sensitive {
    color: var(--danger);
    animation: fileGlow 2s ease-in-out infinite;
}
.tree-item.sensitive::before {
    content: '⚠';
    font-size: 0.7rem;
    position: absolute;
    right: 12px;
    animation: warningPulse 1.5s ease-in-out infinite;
}
@keyframes fileGlow {
    0%, 100% { background: transparent; }
    50% { background: rgba(239,68,68,0.08); }
}
@keyframes warningPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}
.tree-icon {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.tree-item.indent { padding-left: 32px; }
.tree-item.indent2 { padding-left: 48px; }

/* Tree expand animation */
.tree-item {
    animation: treeExpand 0.5s ease-out both;
}
.tree-item:nth-child(2) { animation-delay: 0.1s; }
.tree-item:nth-child(3) { animation-delay: 0.15s; }
.tree-item:nth-child(4) { animation-delay: 0.2s; }
.tree-item:nth-child(5) { animation-delay: 0.25s; }
.tree-item:nth-child(6) { animation-delay: 0.3s; }
.tree-item:nth-child(7) { animation-delay: 0.35s; }
.tree-item:nth-child(8) { animation-delay: 0.4s; }
.tree-item:nth-child(9) { animation-delay: 0.45s; }
.tree-item:nth-child(10) { animation-delay: 0.5s; }
.tree-item:nth-child(11) { animation-delay: 0.55s; }
.tree-item:nth-child(12) { animation-delay: 0.6s; }
.tree-item:nth-child(13) { animation-delay: 0.65s; }
@keyframes treeExpand {
    from { opacity: 0; transform: translateX(-12px); max-height: 0; }
    to { opacity: 1; transform: translateX(0); max-height: 30px; }
}

/* Code Viewer */
.code-viewer {
    flex: 1;
    padding: 16px 20px;
    overflow: hidden;
    position: relative;
}
.code-tab-bar {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
    border-bottom: 1px solid #21262d;
    padding-bottom: 8px;
}
.code-tab {
    font-size: 0.78rem;
    font-family: var(--font-mono);
    padding: 4px 12px;
    color: #8b949e;
    border-radius: 4px 4px 0 0;
}
.code-tab.active-tab {
    color: var(--accent);
    background: #161b22;
    border: 1px solid #30363d;
    border-bottom: 1px solid #161b22;
    margin-bottom: -9px;
}

.code-content {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.8;
    overflow: hidden;
    position: relative;
}
.code-line {
    display: flex;
    gap: 16px;
    animation: lineReveal 0.4s ease-out both;
    padding: 1px 0;
}
.code-line:nth-child(1) { animation-delay: 0.05s; }
.code-line:nth-child(2) { animation-delay: 0.1s; }
.code-line:nth-child(3) { animation-delay: 0.15s; }
.code-line:nth-child(4) { animation-delay: 0.2s; }
.code-line:nth-child(5) { animation-delay: 0.25s; }
.code-line:nth-child(6) { animation-delay: 0.3s; }
.code-line:nth-child(7) { animation-delay: 0.35s; }
.code-line:nth-child(8) { animation-delay: 0.4s; }
.code-line:nth-child(9) { animation-delay: 0.45s; }
.code-line:nth-child(10) { animation-delay: 0.5s; }
.code-line:nth-child(11) { animation-delay: 0.55s; }
.code-line:nth-child(12) { animation-delay: 0.6s; }
.code-line:nth-child(13) { animation-delay: 0.65s; }
.code-line:nth-child(14) { animation-delay: 0.7s; }
.code-line:nth-child(15) { animation-delay: 0.75s; }
@keyframes lineReveal {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

.line-num {
    color: #484f58;
    min-width: 24px;
    text-align: right;
    user-select: none;
}
.code-text { color: #c9d1d9; }
.code-text.comment { color: #8b949e; font-style: italic; }
.code-text.key { color: #7ee787; }
.code-text.value { color: #a5d6ff; }
.code-text.danger-line {
    color: #f85149;
    animation: credHighlight 2.5s ease-in-out infinite;
    background: rgba(248,81,73,0.08);
    display: inline;
    padding: 0 4px;
    border-radius: 3px;
}
@keyframes credHighlight {
    0%, 100% { background: rgba(248,81,73,0.08); text-shadow: none; }
    50% { background: rgba(248,81,73,0.2); text-shadow: 0 0 8px rgba(248,81,73,0.5); }
}
.code-text.api-key {
    color: #ffa657;
    animation: apiKeyPulse 2s ease-in-out infinite;
    background: rgba(255,166,87,0.1);
    padding: 0 4px;
    border-radius: 3px;
}
@keyframes apiKeyPulse {
    0%, 100% { box-shadow: 0 0 4px rgba(255,166,87,0.2); }
    50% { box-shadow: 0 0 12px rgba(255,166,87,0.5); }
}
.code-text.string { color: #a5d6ff; }
.code-text.func { color: #d2a8ff; }
.code-text.var { color: #ffa657; }

/* .env file tab content */
.env-file-content {
    position: relative;
}
.env-file-content .code-line.deleting {
    animation: lineDelete 1.5s ease-in-out 3s both;
}
@keyframes lineDelete {
    0% { opacity: 1; transform: translateX(0); }
    20% { opacity: 0.5; transform: translateX(0); background: rgba(248,81,73,0.15); }
    100% { opacity: 0; transform: translateX(60px); max-height: 0; padding: 0; margin: 0; overflow: hidden; }
}

/* Credential Badge */
.cred-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.7rem;
    color: #f85149;
    animation: badgePulseRed 2s ease-in-out infinite;
}
@keyframes badgePulseRed {
    0%, 100% { box-shadow: 0 0 6px rgba(239,68,68,0.2); }
    50% { box-shadow: 0 0 14px rgba(239,68,68,0.4); }
}

/* API Key Badge */
.api-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,166,87,0.12);
    border: 1px solid rgba(255,166,87,0.3);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.7rem;
    color: #ffa657;
    animation: apiKeyBadge 1.8s ease-in-out infinite;
}
@keyframes apiKeyBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Commit History */
.commit-history {
    margin-top: 16px;
    border-top: 1px solid #21262d;
    padding-top: 12px;
}
.commit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: #8b949e;
    animation: commitSlide 0.5s ease-out both;
}
.commit-item:nth-child(1) { animation-delay: 0.3s; }
.commit-item:nth-child(2) { animation-delay: 0.5s; }
.commit-item:nth-child(3) { animation-delay: 0.7s; }
@keyframes commitSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.commit-hash {
    color: var(--accent);
    font-weight: 600;
}
.commit-msg {
    color: #c9d1d9;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}
.commit-msg.danger-commit {
    color: #f85149;
    animation: commitDanger 2s ease-in-out infinite;
}
@keyframes commitDanger {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.commit-time {
    color: #484f58;
    font-size: 0.72rem;
    white-space: nowrap;
}

/* Warning Overlay */
.warning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(239,68,68,0.08);
    border: 2px solid rgba(239,68,68,0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: warningFlash 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}
@keyframes warningFlash {
    0%, 100% { opacity: 0; }
    40% { opacity: 0; }
    50% { opacity: 1; }
    60% { opacity: 1; }
    70% { opacity: 0; }
}
.warning-content {
    background: rgba(13,17,23,0.95);
    border: 2px solid #f85149;
    border-radius: 12px;
    padding: 20px 32px;
    text-align: center;
    box-shadow: 0 0 40px rgba(239,68,68,0.3);
}
.warning-content h3 {
    color: #f85149;
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.warning-content p {
    color: #8b949e;
    font-size: 0.82rem;
    font-family: var(--font-mono);
}

/* Secret Scanner Animation */
.scanner-bar {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--warning);
    font-family: var(--font-mono);
    animation: scannerSlide 10s ease-in-out infinite;
}
@keyframes scannerSlide {
    0%, 100% { background: #161b22; }
    50% { background: rgba(245,158,11,0.08); }
}
.scanner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warning);
    animation: scanDotPulse 1s ease-in-out infinite;
}
@keyframes scanDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

/* Scan line effect */
.sim-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: scanLine 4s linear infinite;
    z-index: 5;
    opacity: 0.4;
}
@keyframes scanLine {
    0% { top: 0; }
    100% { top: 100%; }
}

/* ============================================================
   SECTION STYLES (shared)
   ============================================================ */

/* Two-column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

/* Before/After */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}
.before-card, .after-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(8px);
}
.before-card {
    border-left: 3px solid var(--danger);
}
.after-card {
    border-left: 3px solid var(--success);
}
.before-card h4 { color: var(--danger); }
.after-card h4 { color: var(--success); }
.before-card h4, .after-card h4 {
    font-size: 1rem;
    margin-bottom: 12px;
}

/* Steps */
.step-list {
    list-style: none;
    counter-reset: step-counter;
    position: relative;
}
.step-list li {
    counter-increment: step-counter;
    position: relative;
    padding: 16px 16px 16px 60px;
    margin-bottom: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
    animation: stepSlide 0.5s ease-out both;
}
.step-list li:nth-child(1) { animation-delay: 0.1s; }
.step-list li:nth-child(2) { animation-delay: 0.2s; }
.step-list li:nth-child(3) { animation-delay: 0.3s; }
.step-list li:nth-child(4) { animation-delay: 0.4s; }
.step-list li:nth-child(5) { animation-delay: 0.5s; }
.step-list li:nth-child(6) { animation-delay: 0.6s; }
.step-list li:nth-child(7) { animation-delay: 0.7s; }
@keyframes stepSlide {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: translateX(0); }
}
.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #0a0e17;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}
.step-list li h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.step-list li p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.protection-tag {
    display: inline-block;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 0.72rem;
    color: #4ade80;
    font-weight: 600;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* Mistakes vs Best Practices */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}
.mistakes-col, .practices-col {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(8px);
}
.mistakes-col { border-top: 3px solid var(--danger); }
.practices-col { border-top: 3px solid var(--success); }
.mistakes-col h4 { color: var(--danger); }
.practices-col h4 { color: var(--success); }
.mistakes-col h4, .practices-col h4 {
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.compare-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.compare-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 2px;
}
.mistake-icon { background: rgba(239,68,68,0.15); color: var(--danger); }
.practice-icon { background: rgba(34,197,94,0.15); color: var(--success); }

/* Red vs Blue */
.rb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}
.rb-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(8px);
}
.rb-card.red { border-top: 3px solid var(--danger); }
.rb-card.blue { border-top: 3px solid var(--info); }
.rb-card h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rb-card.red h4 { color: var(--danger); }
.rb-card.blue h4 { color: var(--info); }
.rb-tactic {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    border-left: 2px solid;
}
.rb-tactic.offense { border-color: var(--danger); }
.rb-tactic.defense { border-color: var(--info); }
.rb-tactic-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
    width: 20px;
}
.rb-tactic-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.rb-tactic-text strong { color: var(--text-primary); }

/* Key Terms Table */
.terms-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}
.terms-table th {
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.85rem;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--border-glass);
}
.terms-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.88rem;
    color: var(--text-secondary);
    vertical-align: top;
}
.terms-table tr:last-child td { border-bottom: none; }
.terms-table .term-name {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Threat Hunter Cards */
.hunter-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}
.hunter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 20px;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s;
}
.hunter-card:hover {
    border-color: var(--accent);
}
.hunter-card h4 {
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hunter-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-box {
    background: linear-gradient(135deg, var(--accent-dim), rgba(15,23,42,0.8));
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: ctaGlow 3s ease-in-out infinite;
}
@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(236,72,153,0.1); }
    50% { box-shadow: 0 0 40px rgba(236,72,153,0.25); }
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(236,72,153,0.05) 0%, transparent 50%);
    animation: ctaOrb 8s ease-in-out infinite;
}
@keyframes ctaOrb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}
.cta-box h3 {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.cta-box p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.cta-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #0a0e17;
    border-radius: var(--radius-sm);
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.cta-link:hover {
    background: var(--accent2);
    color: #0a0e17;
    box-shadow: 0 0 20px rgba(236,72,153,0.3);
    text-shadow: none;
}
.cta-link.outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.cta-link.outline:hover {
    background: var(--accent-dim);
}

/* Cross Links */
.cross-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.cross-link {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.cross-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Analogy Box */
.analogy-box {
    background: linear-gradient(135deg, rgba(236,72,153,0.06), rgba(249,168,212,0.04));
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 20px 24px;
    margin: 20px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.analogy-box strong {
    color: var(--accent);
}

/* Severity Bar */
.severity-bar {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}
.severity-fill {
    height: 100%;
    border-radius: 3px;
    animation: severityGrow 2s ease-out both;
}
@keyframes severityGrow {
    from { width: 0; }
}
.severity-critical { background: linear-gradient(90deg, var(--danger), #ff6b6b); }
.severity-high { background: linear-gradient(90deg, #f97316, #fbbf24); }
.severity-medium { background: linear-gradient(90deg, #eab308, #fde047); }

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.tool-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.tool-item:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.tool-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

/* Scenario Character */
.scenario-char {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
}
.char-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0a0e17;
    flex-shrink: 0;
    animation: avatarFloat 4s ease-in-out infinite;
}
@keyframes avatarFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.char-info h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.char-info .char-role {
    font-size: 0.82rem;
    color: var(--accent);
    margin-bottom: 6px;
}
.char-info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Info callout */
.info-callout {
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.info-callout strong {
    color: #60a5fa;
}

/* ============================================================
   AMBIENT EFFECTS
   ============================================================ */
.ambient-particle {
    position: fixed;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}
.ambient-particle:nth-child(1) { top: 10%; left: 5%; animation: ambientFloat 12s 0s infinite; }
.ambient-particle:nth-child(2) { top: 30%; left: 90%; animation: ambientFloat 15s 2s infinite; }
.ambient-particle:nth-child(3) { top: 60%; left: 15%; animation: ambientFloat 10s 4s infinite; }
.ambient-particle:nth-child(4) { top: 80%; left: 80%; animation: ambientFloat 14s 1s infinite; }
.ambient-particle:nth-child(5) { top: 45%; left: 50%; animation: ambientFloat 11s 3s infinite; }
.ambient-particle:nth-child(6) { top: 20%; left: 70%; animation: ambientFloat 13s 5s infinite; }
@keyframes ambientFloat {
    0% { opacity: 0; transform: translateY(0) scale(1); }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-120px) scale(2); }
}

/* Glow orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}
.glow-orb.orb1 {
    width: 300px;
    height: 300px;
    background: rgba(236,72,153,0.04);
    top: 10%;
    right: -100px;
    animation: orbDrift1 20s ease-in-out infinite;
}
.glow-orb.orb2 {
    width: 250px;
    height: 250px;
    background: rgba(249,168,212,0.03);
    bottom: 20%;
    left: -80px;
    animation: orbDrift2 25s ease-in-out infinite;
}
@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-60px, 40px); }
}
@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, -30px); }
}

/* Pulse ring effect on section titles */
.section-tit::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 4px;
    border: 1px solid transparent;
    animation: pulseRing 3s ease-in-out infinite;
}
@keyframes pulseRing {
    0%, 100% { border-color: transparent; }
    50% { border-color: rgba(236,72,153,0.15); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    header { padding: 40px 16px 30px; }
    .section { padding: 36px 16px 30px; }
    .two-col, .before-after, .compare-grid, .rb-grid, .hunter-cards {
        grid-template-columns: 1fr;
    }
    .repo-body { flex-direction: column; }
    .file-tree-panel { width: 100%; border-right: none; border-bottom: 1px solid #21262d; max-height: 200px; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { gap: 6px; }
    .nav-links a { font-size: 0.75rem; padding: 6px 12px; }
    .repo-meta { display: none; }
    .cta-box { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .stat-grid { grid-template-columns: 1fr; }
    .glass-card { padding: 18px; }
    .terms-table { font-size: 0.8rem; }
    .terms-table th, .terms-table td { padding: 8px 10px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible */
a:focus-visible, .cta-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}/* End custom CSS */