/* --- Quick Start Timeline Section Custom Styles --- */
.quickstart-subtitle {
    color: #a3a3a3;
    font-size: 1.08rem;
    margin-top: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.quickstart-timeline {
    position: relative;
    border-left: 2px solid #23232a;
    margin: 0;
    padding-left: 2.5rem;
    list-style: none;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.quickstart-step {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
    min-height: 60px;
}
.quickstart-step:last-child {
    margin-bottom: 0;
}
.quickstart-step-number {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 2px 8px 0 rgba(20,20,40,0.10);
    border: 3px solid #18181b;
    z-index: 1;
    transition: background .2s;
}
.step-violet { background: #8b5cf6; }
.step-blue { background: #2563eb; }
.step-green { background: #22c55e; }
.step-yellow { background: #fbbf24; color: #23232a; }
.step-purple { background: #a21caf; }
.step-cyan { background: #06b6d4; }

.quickstart-step-content {
    background: #18181b;
    border-radius: 0.9rem;
    box-shadow: 0 2px 12px 0 rgba(20,20,40,0.07);
    border: 1px solid #23232a;
    padding: 1.2rem 1.5rem 1.2rem 1.5rem;
    margin-left: 1.5rem;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: box-shadow .2s, border-color .2s;
}
.quickstart-step-content h3 {
    color: #e5e7eb;
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.quickstart-step-content p {
    color: #a3a3a3;
    font-size: 0.97rem;
    margin-bottom: 0;
}
.quickstart-step-content code {
    background: #23232a;
    color: #8b5cf6;
    padding: 0.1rem 0.4rem;
    border-radius: 0.3rem;
    font-size: 0.95em;
}

.quickstart-info-box {
    background: #23232a;
    border: 1px solid #8b5cf6;
    border-radius: 1rem;
    padding: 1.2rem 2rem;
    margin-top: 2.5rem;
    text-align: center;
    box-shadow: 0 1px 6px 0 rgba(20,20,40,0.04);
    color: #d1d5db;
    font-size: 1.08rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.quickstart-info-label {
    display: inline-block;
    background: #8b5cf6;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.2rem 0.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

@media (max-width: 700px) {
    .quickstart-timeline {
        padding-left: 1.5rem;
    }
    .quickstart-step-content {
        padding: 1rem 1rem 1rem 1rem;
    }
    .quickstart-info-box {
        padding: 1rem 1rem;
    }
}
/* --- Introduction Section Custom Styles --- */
.introduction-subtitle {
    color: #a3a3a3;
    font-size: 1.08rem;
    margin-top: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.introduction-feature-grid {
        margin-bottom: 2.5rem;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem !important;
        width: 100%;
}

@media (max-width: 1200px) {
    .introduction-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .introduction-feature-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 900px) {
    .introduction-feature-grid {
        grid-template-columns: 1fr;
    }
}


.introduction-feature-card {
    background: #18181b;
    border-radius: 1.1rem;
    box-shadow: 0 2px 12px 0 rgba(20,20,40,0.07);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #23232a;
    transition: box-shadow .2s, border-color .2s;
}

.introduction-feature-card:hover {
    box-shadow: 0 6px 24px 0 rgba(20,20,40,0.13);
    border-color: #8b5cf6;
}
.introduction-feature-icon {
    background: #23232a;
    border-radius: 0.7rem;
    padding: 0.7rem 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.introduction-feature-icon-violet i {
    color: #8b5cf6;
    font-size: 2rem;
}
.introduction-feature-icon-green i {
    color: #22c55e;
    font-size: 2rem;
}
.introduction-feature-icon-purple i {
    color: #a21caf;
    font-size: 2rem;
}
.introduction-feature-icon-yellow i {
    color: #fbbf24;
    font-size: 2rem;
}
.introduction-feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #e5e7eb;
}
.introduction-feature-subtitle {
    font-size: 0.98rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}
.introduction-feature-subtitle-violet {
    color: #818cf8;
}
.introduction-feature-subtitle-green {
    color: #34d399;
}
.introduction-feature-subtitle-purple {
    color: #c084fc;
}
.introduction-feature-subtitle-yellow {
    color: #fbbf24;
}
.introduction-feature-text {
    color: #a3a3a3;
    font-size: 0.97rem;
}
.introduction-feature-summary {
    background: #23232a;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    margin-top: 0.5rem;
    text-align: center;
    box-shadow: 0 1px 6px 0 rgba(20,20,40,0.04);
    color: #d1d5db;
    font-size: 1.08rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
/* Documentation Page Styles - Modern & Animated */

/* Variables CSS supplémentaires pour la cohérence */
:root {
    --accent-violet-light: #a78bfa;
    --border-secondary: #404040;
}


.docs-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.docs-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 3rem 2rem 4rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.docs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.docs-hero-content {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.docs-hero-text {
    color: #e2e8f0;
}

.docs-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.docs-title-gradient {
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.docs-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.docs-search-container {
    margin-top: 2rem;
}

.docs-search-wrapper {
    position: relative;
    max-width: 400px;
    display: flex;
    align-items: center;
}

.docs-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8b5cf6;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.docs-search {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: #141414;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.docs-search:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.docs-search::placeholder {
    color: #64748b;
}

/* Hero Illustration */
.docs-hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.central-illustration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.illustration-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.illustration-circle i {
    font-size: 3rem;
    color: white;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.floating-element i {
    font-size: 1.5rem;
    color: #8b5cf6;
}

.floating-element.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    top: 10%;
    right: 20%;
    animation-delay: 1.5s;
}

.floating-element.element-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

.floating-element.element-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Tool Visual Previews */
.tool-visual {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.node-preview {
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    min-width: 140px;
    justify-content: center;
    border: 2px solid;
    transition: all 0.3s ease;
}

.node-preview i {
    font-size: 1.25rem;
}

.start-node {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border-color: #22c55e;
    color: #22c55e;
}

.end-node {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-color: #ef4444;
    color: #ef4444;
}

.condition-node {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.05));
    border-color: #a855f7;
    color: #a855f7;
}

.parallel-node {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-color: #3b82f6;
    color: #3b82f6;
}

.nmap-node {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border-color: #f59e0b;
    color: #f59e0b;
}

.masscan-node {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(236, 72, 153, 0.05));
    border-color: #ec4899;
    color: #ec4899;
}

.subfinder-node {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.amass-node {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.node-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Sections */
.docs-section {
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-title i {
    color: var(--accent-violet);
    width: 2.5rem;
    height: 2.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Quick Start Grid */
.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quick-start-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.quick-start-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-violet), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.quick-start-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-violet);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-violet);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.quick-start-card:hover .card-icon {
    background: rgba(139, 92, 246, 0.2);
    transform: scale(1.1);
}

.quick-start-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.quick-start-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-violet);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.card-link:hover {
    gap: 1rem;
    color: var(--accent-blue);
}

.card-link i {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

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

.category-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover::after {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-violet);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-violet);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: rgba(139, 92, 246, 0.2);
    transform: scale(1.1);
}

.category-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    flex-grow: 1;
    margin-left: 1rem;
}

.category-count {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.category-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.category-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.topic-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-primary);
    transition: all 0.2s ease;
}

.category-card:hover .topic-tag {
    border-color: var(--accent-violet);
    color: var(--accent-violet);
}

/* Featured Articles */
.featured-articles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.featured-article {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-50px);
    position: relative;
    overflow: hidden;
}

.featured-article:nth-child(even) {
    transform: translateX(50px);
}

.featured-article:hover {
    transform: translateY(-4px);
    border-color: var(--accent-violet);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.article-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-badge.popular {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.article-badge.new {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.article-badge.updated {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.article-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.article-time i {
    width: 16px;
    height: 16px;
}

.article-level {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.level-beginner {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.level-intermediate {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.level-advanced {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
}

/* Article Illustrations */
.article-illustration {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workflow-node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: nodeAnimation 2s ease-in-out infinite;
}

.node-start {
    background: var(--accent-green);
    animation-delay: 0s;
}

.node-tool {
    background: var(--accent-violet);
    animation-delay: 0.5s;
}

.node-end {
    background: var(--accent-red);
    animation-delay: 1s;
}

.workflow-connection {
    width: 15px;
    height: 2px;
    background: var(--border-primary);
    animation: connectionFlow 2s ease-in-out infinite;
}

@keyframes nodeAnimation {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes connectionFlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.api-preview {
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
}

.api-endpoint {
    margin-bottom: 0.5rem;
}

.method {
    background: var(--accent-green);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: bold;
}

.path {
    color: var(--text-primary);
    margin-left: 0.5rem;
}

.api-response {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.response-line {
    height: 8px;
    background: var(--border-primary);
    border-radius: 2px;
    animation: responseAnimation 3s ease-in-out infinite;
}

.response-line.short {
    width: 60%;
}

@keyframes responseAnimation {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.performance-chart {
    display: flex;
    align-items: end;
    gap: 0.25rem;
    height: 60px;
}

.chart-bar {
    width: 12px;
    background: linear-gradient(to top, var(--accent-violet), var(--accent-blue));
    border-radius: 2px;
    animation: chartAnimation 2s ease-in-out infinite;
}

.chart-bar:nth-child(1) { animation-delay: 0s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.4s; }
.chart-bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes chartAnimation {
    0%, 100% {
        transform: scaleY(0.7);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Community Section */
.community-section {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-tertiary));
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.community-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.community-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.community-actions {
    display: flex;
    gap: 1rem;
}

.community-illustration {
    display: flex;
    justify-content: center;
}

.community-avatars {
    text-align: center;
}

.avatar-group {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: -0.5rem;
}

.community-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-blue));
    border: 3px solid var(--bg-surface);
    margin-left: -0.5rem;
    animation: avatarFloat 3s ease-in-out infinite;
}

.community-avatar:nth-child(1) { animation-delay: 0s; }
.community-avatar:nth-child(2) { animation-delay: 0.5s; }
.community-avatar:nth-child(3) { animation-delay: 1s; }
.community-avatar:nth-child(4) { animation-delay: 1.5s; }

@keyframes avatarFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-violet);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation Header standardisée */
.docs-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-primary);
    z-index: 1000;
    height: 70px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-brand i {
    color: var(--accent-violet);
    width: 24px;
    height: 24px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-violet);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-violet);
    border-radius: 1px;
}

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

/* Styles des boutons standardisés */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

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

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

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

.btn-primary:hover {
    background: var(--accent-violet-light);
    border-color: var(--accent-violet-light);
}

/* Main content for standalone pages */
.docs-main {
    margin: 70px auto 0;
    padding: 2rem;
}

/* Footer */
.docs-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-primary);
    margin-top: 4rem;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.brand-info i {
    color: var(--accent-violet);
    width: 24px;
    height: 24px;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.link-group a:hover {
    color: var(--accent-violet);
}

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

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    color: var(--accent-violet);
    border-color: var(--accent-violet);
    background: rgba(139, 92, 246, 0.1);
}

.footer-social i {
    width: 20px;
    height: 20px;
}

/* Animation Classes */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="slide-up"].animate-in {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-in"] {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-in"].animate-in {
    opacity: 1;
    transform: scale(1);
}

[data-animate="slide-in-left"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="slide-in-left"].animate-in {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-in-right"] {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="slide-in-right"].animate-in {
    opacity: 1;
    transform: translateX(0);
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Wiki-style documentation layout */
.wiki-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin: 0 auto;
    padding: 2rem;
}

/* Wiki Sidebar */
.wiki-sidebar {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.sidebar-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.sidebar-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.sidebar-header i {
    color: var(--accent-violet);
    width: 20px;
    height: 20px;
}

/* Wiki Navigation */
.wiki-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-section h4 {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.nav-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-left-color: var(--accent-violet);
}

.nav-link.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-violet);
    border-left-color: var(--accent-violet);
    font-weight: 500;
}

/* Wiki Content */
.wiki-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    overflow: hidden;
}

.wiki-section {
    display: none;
    padding: 2rem;
}

.wiki-section.active {
    display: block;
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.section-header h1 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.section-header i {
    color: var(--accent-violet);
    width: 2rem;
    height: 2rem;
}

/* Content Blocks */
.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-violet);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    color: var(--accent-violet);
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Step Guide */
.step-guide {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent-violet);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-content code {
    background: var(--bg-tertiary);
    color: var(--accent-violet);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

/* Concept Grid */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.concept-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-violet);
}

.concept-icon {
    margin-bottom: 1rem;
}

.concept-icon i {
    color: var(--accent-violet);
    width: 2rem;
    height: 2rem;
}

.concept-card h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.concept-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Tool Documentation */
.tool-documentation {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.tool-doc {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.tool-doc:hover {
    border-color: var(--accent-violet);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.tool-header i {
    color: var(--accent-violet);
    width: 1.5rem;
    height: 1.5rem;
}

.tool-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    flex-grow: 1;
}

.tool-type {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-violet);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-doc p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.properties-list h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.properties-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.properties-list li {
    color: var(--text-secondary);
    line-height: 1.5;
}

.properties-list strong {
    color: var(--text-primary);
}

/* Code Examples */
.code-example {
    margin-top: 1rem;
}

.code-example h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.code-example pre {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.code-example code {
    color: var(--text-primary);
}

.config-block {
    margin-bottom: 1rem;
}

.config-block h4 {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Warning Box */
.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.warning-box i {
    color: var(--accent-orange);
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.warning-box p {
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
}

/* Workflow Example */
.workflow-example {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-top: 2rem;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-surface);
    border-radius: 0.5rem;
    flex-wrap: wrap;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-node {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.step-node i {
    width: 1.25rem;
    height: 1.25rem;
}

.step-node.start {
    background: var(--accent-green);
}

.step-node.subdomain,
.step-node.recon {
    background: var(--accent-violet);
}

.step-node.screenshot {
    background: var(--accent-blue);
}

.step-node.end {
    background: var(--accent-red);
}

.workflow-arrow {
    color: var(--text-secondary);
    font-size: 1.5rem;
    font-weight: bold;
}

.workflow-description h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.workflow-description ol {
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 1.5rem;
}

.workflow-description li {
    margin-bottom: 0.5rem;
}

.workflow-description strong {
    color: var(--text-primary);
}

/* Command Reference */
.command-reference {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.command-group h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.command-list {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 0.75rem;
    overflow: hidden;
}

.command-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-primary);
    transition: background 0.2s ease;
}

.command-item:last-child {
    border-bottom: none;
}

.command-item:hover {
    background: var(--bg-surface);
}

.command-item code {
    background: var(--bg-primary);
    color: var(--accent-violet);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
}

.command-item span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-left: 1rem;
}

/* Terminal Tips */
.terminal-tips {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
}

.terminal-tips h3 {
    color: #22c55e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-list {
    display: grid;
    gap: 0.75rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
}

.tip-item i {
    color: #22c55e;
    flex-shrink: 0;
}

/* Best Practices Grid */
.best-practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.practice-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.practice-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.practice-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #8b5cf6;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.practice-card h3 {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.practice-card p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.practice-card ul {
    list-style: none;
    padding: 0;
}

.practice-card li {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.practice-card li::before {
    content: '•';
    color: #8b5cf6;
    position: absolute;
    left: 0;
    font-weight: bold;
}




.feature-card, .concept-card, .practice-card {

    flex: 0 0 48% !important;
}
.feature-card i, .concept-card i, .practice-card i, .concept-icon i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}
.practice-icon, .concept-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.feature-grid, .concept-grid, .best-practices-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    justify-content: flex-start !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .docs-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .docs-title {
        font-size: 2.5rem;
    }
    
    .illustration-container {
        width: 200px;
        height: 200px;
    }
    
    .illustration-circle {
        width: 80px;
        height: 80px;
    }
    
    .illustration-circle i {
        font-size: 2rem;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
    }
    
    .floating-element i {
        font-size: 1rem;
    }
    
    .best-practices-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .docs-hero {
        padding: 2rem 1rem;
    }
    
    .docs-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .community-actions {
        flex-direction: column;
    }
    
    .avatar-group {
        gap: 0.5rem;
    }
    
    .community-avatar {
        width: 40px;
        height: 40px;
        margin-left: 0;
    }
}

@media (max-width: 1024px) {
    .wiki-container {
        grid-template-columns: 250px 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .wiki-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wiki-sidebar {
        position: static;
        order: 2;
    }
    
    .workflow-diagram {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .step-node {
        width: 60px;
        height: 60px;
        font-size: 0.625rem;
    }
    
    .feature-grid,
    .concept-grid,
    .best-practices-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .wiki-section {
        padding: 1rem;
    }
    
    .section-header h1 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .command-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .command-item span {
        margin-left: 0;
    }
}
