/* Phisher-Man React Edition - Modern Dark Theme Documentation */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Purple Theme Colors */
    --bg-primary: #1a0d2e;
    --bg-secondary: #2d1b4e;
    --bg-tertiary: #3d2a5e;
    --bg-card: #2a1a4a;
    --bg-hover: #4a3a6a;
    
    /* Text Colors */
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --text-accent: #58a6ff;
    
    /* Accent Colors */
    --accent-primary: #8B5CF6;
    --accent-secondary: #f85149;
    --accent-warning: #d29922;
    --accent-info: #0969da;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    --gradient-secondary: linear-gradient(135deg, #0969da 0%, #1f6feb 100%);
    --gradient-accent: linear-gradient(135deg, #f85149 0%, #ff6b6b 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header and Navigation */
header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--bg-tertiary);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
}

.nav-container h1 {
    font-size: 1.3rem;
    font-weight: 693;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-links a.active {
    color: var(--text-accent);
    background: var(--bg-tertiary);
}

/* Main Content */
main {
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem 0;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
    color: var(--text-primary);
    font-weight: 600;
}

h5 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
    color: var(--text-primary);
    font-weight: 600;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.badge.react {
    background: var(--gradient-secondary);
    border-color: var(--accent-info);
}

.badge.node {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
}

.badge.apache {
    background: var(--gradient-accent);
    border-color: var(--accent-secondary);
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border: none;
    font-weight: 500;
    line-height: 1.4;
}

.hero h2::after {
    display: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    border: 1px solid transparent;
}

.social-link.github {
    background: var(--gradient-secondary);
    border-color: var(--accent-info);
}

.social-link.discord {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    border-color: #5865f2;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Cards and Sections */
.disclaimer,
.quick-start,
.install-step,
.verification-steps,
.issue,
.debug-section,
.diagnostic-section,
.recovery-section,
.help-section,
.config-section,
.endpoint-section,
.prerequisites,
.tech-section,
.philosophy-card,
.template-card,
.doc-card,
.feature-card,
.support-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    transition: all 0.2s ease;
}

.disclaimer {
    background: linear-gradient(135deg, #d29922 0%, #f0b72f 100%);
    border-color: var(--accent-warning);
    color: #000;
}

.disclaimer h3 {
    color: #000;
    margin-bottom: 1rem;
}

.disclaimer p {
    color: #000;
    font-weight: 500;
}

.quick-start {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #2ea043 100%);
    border-color: var(--accent-primary);
    color: white;
}

.quick-start h3 {
    color: white;
    margin-bottom: 1rem;
}

/* Code Blocks - VS Code Style */
.code-block {
    background: #1e1e1e;
    border: 1px solid #3c3c3c;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #2d2d30;
    border-bottom: 1px solid #3c3c3c;
}

.code-block::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
    box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27ca3f;
}

.code-block pre {
    margin: 0;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #d4d4d4;
    background: transparent;
    overflow-x: auto;
    margin-top: 30px;
}

.code-block code {
    font-family: inherit;
    color: inherit;
    background: transparent;
    padding: 0;
}

/* Syntax Highlighting Colors (VS Code Dark Theme) */
.code-block .comment { color: #6a9955; }
.code-block .keyword { color: #569cd6; }
.code-block .string { color: #ce9178; }
.code-block .number { color: #b5cea8; }
.code-block .function { color: #dcdcaa; }
.code-block .variable { color: #9cdcfe; }
.code-block .operator { color: #d4d4d4; }
.code-block .punctuation { color: #d4d4d4; }
.code-block .class { color: #4ec9b0; }
.code-block .method { color: #dcdcaa; }
.code-block .property { color: #9cdcfe; }
.code-block .constant { color: #4fc1ff; }
.code-block .boolean { color: #569cd6; }
.code-block .null { color: #569cd6; }
.code-block .regex { color: #d16969; }
.code-block .tag { color: #569cd6; }
.code-block .attribute { color: #92c5f8; }
.code-block .value { color: #ce9178; }

/* Icon Styling */
.nav-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0.8);
    transition: filter 0.2s ease;
}

.nav-links a:hover .nav-icon {
    filter: brightness(1.2);
}

.badge-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.social-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.template-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.template-img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.template-card:hover .template-img {
    transform: scale(1.1);
}

.doc-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.doc-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.doc-card:hover .doc-img {
    transform: scale(1.1);
}

.support-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.support-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.support-card:hover .support-img {
    transform: scale(1.1);
}

.footer-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    vertical-align: middle;
    filter: brightness(0.8);
    transition: filter 0.2s ease;
}

.footer-link:hover .footer-icon {
    filter: brightness(1.2);
}

/* Tech Icons */
.tech-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    vertical-align: middle;
    filter: brightness(0.9);
    transition: filter 0.2s ease;
}

.tech-section li:hover .tech-icon {
    filter: brightness(1.2);
}

/* Section Icons */
.section-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    vertical-align: middle;
    filter: brightness(0.9);
}

/* Modern Apple-style Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    margin: 0.5rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

/* Alternative button styles */
.cta-button.secondary {
    background: linear-gradient(135deg, #8E8E93 0%, #6D6D70 100%);
    box-shadow: 0 4px 12px rgba(142, 142, 147, 0.3);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #6D6D70 0%, #48484A 100%);
    box-shadow: 0 8px 25px rgba(142, 142, 147, 0.4);
}

.cta-button.success {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.cta-button.success:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.cta-button.warning {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.cta-button.warning:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Inline Code */
code {
    background: var(--bg-tertiary);
    color: #f85149;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
    font-size: 0.9em;
    border: 1px solid var(--bg-hover);
}

/* Grid Layouts */
.templates-grid,
.docs-grid,
.features-grid,
.support-grid,
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.template-card,
.doc-card,
.feature-card,
.support-card,
.philosophy-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.template-card::before,
.doc-card::before,
.feature-card::before,
.support-card::before,
.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.template-card:hover::before,
.doc-card:hover::before,
.feature-card:hover::before,
.support-card:hover::before,
.philosophy-card:hover::before {
    transform: scaleX(1);
}

.template-card:hover,
.doc-card:hover,
.feature-card:hover,
.support-card:hover,
.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--bg-hover);
}

.doc-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.doc-card:hover {
    text-decoration: none;
    color: inherit;
}

.doc-card h4 {
    color: var(--text-accent);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Requirements Table */
.requirements-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--bg-tertiary);
}

.requirements-table th,
.requirements-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-tertiary);
}

.requirements-table th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirements-table td {
    color: var(--text-secondary);
}

.requirements-table tr:hover {
    background: var(--bg-hover);
}

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

/* Security Notice */
.security-notice {
    background: linear-gradient(135deg, #f85149 0%, #ff6b6b 100%);
    border: 1px solid var(--accent-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    color: white;
}

.security-notice h3 {
    color: white;
    margin-bottom: 1rem;
}

.security-notice ul {
    margin-left: 2rem;
}

.security-notice li {
    margin: 0.5rem 0;
    color: white;
}

/* Contributing Section */
.contributing-section {
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
}

.contributing-section ol {
    margin-left: 2rem;
}

.contributing-section li {
    margin: 0.75rem 0;
    color: var(--text-secondary);
}

/* License Section */
.license-section {
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
}

.license-section a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.license-section a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Preview Images */
.preview-image {
    text-align: center;
    margin: 2rem 0;
}

.preview-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.preview-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.preview-image p {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.preview-image ul {
    text-align: left;
    max-width: 600px;
    margin: 1rem auto;
    color: var(--text-secondary);
}

/* Technical Features */
.technical-features {
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
}

.tech-section {
    margin: 1.5rem 0;
}

.tech-section ul {
    margin-left: 2rem;
}

.tech-section li {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.cta-section h2 {
    color: var(--text-primary);
    border: none;
    margin-bottom: 2rem;
}

.cta-section h2::after {
    display: none;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-primary);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: white;
}

/* Installation Steps */
.install-step {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.install-step:hover {
    border-color: var(--bg-hover);
}

.prerequisites {
    background: linear-gradient(135deg, var(--accent-info) 0%, #1f6feb 100%);
    border: 1px solid var(--accent-info);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1rem 0;
    color: white;
}

.prerequisites h3 {
    color: white;
    margin-bottom: 1rem;
}

.prerequisites ul {
    color: white;
}

.verification-steps {
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 1rem 0;
}

/* Troubleshooting */
.issue-section {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.issue {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-warning);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.issue h4 {
    color: var(--accent-warning);
    margin-bottom: 0.75rem;
}

.issue ul {
    margin-left: 2rem;
}

.issue li {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

/* Debug and Diagnostic Sections */
.debug-section,
.diagnostic-section,
.recovery-section,
.help-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-primary);
}

/* API Documentation */
.endpoint-section {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-info);
}

.request,
.response,
.error-response,
.request-body,
.parameters,
.status-codes,
.ip-logic,
.log-format,
.log-locations,
.deployment-process {
    margin: 1.5rem 0;
}

.error-response {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-secondary);
}

/* Configuration Sections */
.config-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border-left: 4px solid #9c27b0;
}

/* Help Section */
.help-section {
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.help-section a {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.help-section a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.final-note {
    background: linear-gradient(135deg, var(--accent-warning) 0%, #f0b72f 100%);
    border: 1px solid var(--accent-warning);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    font-weight: 600;
    color: #000;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-tertiary);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Footer Banner */
.footer-banner {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-banner-gif {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-height: 200px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    font-weight: 500;
}

.footer-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 24px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .badges {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .templates-grid,
    .docs-grid,
    .features-grid,
    .support-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .code-block pre {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-container {
        padding: 1rem 12px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .template-card,
    .doc-card,
    .feature-card,
    .support-card,
    .philosophy-card {
        padding: 1rem;
    }
    
    .code-block pre {
        padding: 0.8rem;
        font-size: 0.75rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Selection Styling */
::selection {
    background: var(--accent-primary);
    color: white;
}

::-moz-selection {
    background: var(--accent-primary);
    color: white;
}