﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #667eea 100%);
    min-height: 100vh;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff4500, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo::before {
    content: '🔥';
    font-size: 1.5rem;
    background: none;
    -webkit-text-fill-color: initial;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ff4500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #ff4500;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #ff4500;
}

.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.partnership-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px; /* Fixed width */
    height: 250px; /* Fixed height */
    margin: 0 auto; /* Center horizontally */
}

.partnership-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
    margin: 0 1rem 1rem 0;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #ff4500;
    color: #ff4500;
}

.cta-button.secondary:hover {
    background: #ff4500;
    color: white;
}

/* Projects Section */
.projects {
    background: white;
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ff4500;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Existing project card backgrounds */
.project-card.game {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.project-card.library {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.project-card.kanban {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.project-card.reporting {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
}

/* New project card backgrounds */
.project-card.security {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.project-card.ai {
    background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
}

.project-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Existing project icon colors */
.game .project-icon { background: #ff6b6b; }
.library .project-icon { background: #4ecdc4; }
.kanban .project-icon { background: #45b7d1; }
.reporting .project-icon { background: #96ceb4; }

/* New project icon colors */
.security .project-icon { background: #ff4757; }
.ai .project-icon { background: #2ed573; }

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.project-card p {
    color: #666;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.7);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
}

.status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: auto;
    align-self: flex-start;
}

.status.development { background: #fff3cd; color: #856404; }
.status.beta { background: #d1ecf1; color: #0c5460; }
.status.planning { background: #f8d7da; color: #721c24; }

/* About Section */
.about {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Salesforce Partner Styles */
.main-content {
    background: white;
    padding: 5rem 0;
}

.content-section {
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #ff4500;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #ff4500, #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-card p {
    color: #666;
}

.solutions-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.solution-card p {
    margin-bottom: 1rem;
}

.solutions-section .tech-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.cta-section {
    background: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form Styles */
.contact-section {
    margin-top: 100px;
    padding: 4rem 0;
    min-height: calc(100vh - 180px);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    color: white;
    padding: 2rem;
}

.contact-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.contact-details {
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #ff4500;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
}

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

select.form-control {
    cursor: pointer;
}

.submit-btn {
    background: linear-gradient(45deg, #ff4500, #ff6b35);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

.validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: #ff6b35;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-info h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .projects-grid,
    .benefits-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .partnership-badge {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .partnership-badge {
        width: 180px;
        height: 180px;
    }
}

/* Blazor specific styles */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
}

.legal-content h2 {
    color: #ff4500;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff4500;
}

.legal-content h3 {
    color: #555;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.legal-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 2rem;
    padding-left: 0;
}

.legal-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.legal-content a {
    color: #ff4500;
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #ff4500;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.legal-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 3rem 0;
    text-align: center;
}

.legal-notice p {
    margin: 0;
    font-style: italic;
    color: #856404;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-content {
        padding: 0 1rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content h3 {
        font-size: 1.2rem;
    }

    .legal-content ul {
        margin-left: 1rem;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.nav-links a:hover {
    color: #ff4500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #ff4500;
    transition: width 0.3s ease;
}

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

.nav-links a.active {
    color: #ff4500;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
}

.legal-content h2 {
    color: #ff4500;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff4500;
}

.legal-content h3 {
    color: #555;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.legal-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 2rem;
    padding-left: 0;
}

.legal-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.legal-content a {
    color: #ff4500;
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #ff4500;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.legal-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 3rem 0;
    text-align: center;
}

.legal-notice p {
    margin: 0;
    font-style: italic;
    color: #856404;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-content {
        padding: 0 1rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content h3 {
        font-size: 1.2rem;
    }

    .legal-content ul {
        margin-left: 1rem;
    }
}

/* Clean Tutorial CSS - Replace the tutorial CSS with this simpler version */

.tutorial-content {
    background: white;
    padding: 2rem 0;
    min-height: 80vh;
}

.tutorial-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Sidebar Table of Contents */
.tutorial-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.toc-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid #e1e5e9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.toc-container h3 {
    color: #ff4500;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-nav a {
    color: #555;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.toc-nav a:hover {
    background: rgba(255, 69, 0, 0.1);
    color: #ff4500;
    border-left-color: #ff4500;
    transform: translateX(4px);
}

/* Main Content */
.tutorial-main {
    max-width: none;
}

.tutorial-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.tutorial-section h2 {
    color: #ff4500;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid #ff4500;
    padding-bottom: 0.5rem;
}

.tutorial-section h4 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
}

.tutorial-section h5 {
    color: #555;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

.tutorial-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #444;
}

.tutorial-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.tutorial-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Flow Diagram */
.flow-diagram {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.flow-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #e1e5e9;
    position: relative;
}

.flow-step::after {
    content: '↓';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: #ff4500;
    font-weight: bold;
}

.flow-step:last-child::after {
    display: none;
}

.step-number {
    background: linear-gradient(45deg, #ff4500, #ff6b35);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-top: 0;
    color: #ff4500;
}

.step-content p {
    font-weight: 500;
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

/* CLEAN Code Blocks - NO aggressive styling */
.code-block {
    background: #2d3748;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    border: 1px solid #4a5568;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.code-block.small {
    padding: 1rem;
    font-size: 0.85rem;
}

.code-block pre {
    margin: 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* CLEAN code styling - no syntax highlighting */
.code-block code {
    color: #e2e8f0;
    font-family: inherit;
    background: none;
    padding: 0;
    border-radius: 0;
    font-weight: normal;
}

/* Clean inline code */
p code, li code, .requirements-list code {
    background: #f1f3f4;
    color: #e53e3e;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    font-weight: 600;
}

/* Copy button styling */
.copy-code-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-family: system-ui, -apple-system, sans-serif;
}

.copy-code-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Requirement Box */
.requirement-box, .template-box {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #feb2b2;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.template-box {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border-color: #9ae6b4;
}

.requirements-list h5 {
    color: #e53e3e;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.requirements-list ul {
    margin-left: 1rem;
}

.requirements-list li {
    margin-bottom: 0.5rem;
}

/* Visualization Grid */
.viz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.viz-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.viz-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #ff4500;
}

.viz-card h4 {
    color: #ff4500;
    margin-top: 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.viz-card p:first-of-type {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Security Section */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.security-blocked {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #feb2b2;
    border-radius: 15px;
    padding: 1.5rem;
}

.security-allowed {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 2px solid #9ae6b4;
    border-radius: 15px;
    padding: 1.5rem;
}

.security-blocked h4 {
    color: #e53e3e;
    margin-top: 0;
}

.security-allowed h4 {
    color: #38a169;
    margin-top: 0;
}

/* Pattern Section */
.pattern-section {
    margin: 2rem 0;
}

.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pattern-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
}

.pattern-card h5 {
    color: #ff4500;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Example Tabs */
.example-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.example-tab {
    padding: 1rem 1.5rem;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.example-tab.active {
    background: white;
    color: #ff4500;
    border-color: #ff4500;
    border-bottom: 2px solid white;
    margin-bottom: -2px;
}

.example-tab:hover:not(.active) {
    background: #edf2f7;
    color: #333;
}

.example-content {
    display: none;
}

.example-content.active {
    display: block;
}

/* Debug Section */
.debug-section {
    background: linear-gradient(135deg, #fffaf0 0%, #fef5e7 100%);
    border: 2px solid #f6e05e;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.debug-section h4 {
    color: #d69e2e;
    margin-top: 0;
}

.common-issues {
    margin-top: 2rem;
}

.issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.issue-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.issue-card h5 {
    color: #e53e3e;
    margin-top: 0;
    margin-bottom: 1rem;
}

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

.practice-card {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 2px solid #9ae6b4;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.practice-card h4 {
    color: #38a169;
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.practice-card ul {
    margin-left: 1rem;
}

.practice-card li {
    margin-bottom: 0.5rem;
    color: #2d3748;
}

/* Tutorial Footer */
.tutorial-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.tutorial-footer p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        min-height: 280px;
        padding: 1.5rem;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .project-card {
        min-height: 260px;
        padding: 1.25rem;
    }

    .project-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}