/* Base Styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff0000;
    --accent-color: #ff3333;
    --text-color: #ffffff;
    --light-bg: #0a0a0a;
    --dark-bg: #000000;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --card-bg: rgba(26, 26, 26, 0.8);
    --border-color: rgba(255, 0, 0, 0.3);
    --glow-color: rgba(255, 0, 0, 0.5);
    --highlight-color: #ff0000;
    --hover-color: #ff3333;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(90deg, 
            rgba(255, 0, 0, 0.1) 1px, 
            transparent 1px
        ),
        linear-gradient(0deg, 
            rgba(255, 0, 0, 0.1) 1px, 
            transparent 1px
        );
    background-size: 30px 30px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-30px, -30px); }
}

.hero-content {
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    animation: titlePulse 2s infinite;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 0, 0, 0.3); }
    50% { text-shadow: 0 0 40px rgba(255, 0, 0, 0.6); }
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
    margin-bottom: 0.5rem;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.back-btn {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--secondary-color);
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section.dark {
    background-color: var(--dark-bg);
    color: var(--white);
    position: relative;
}

.section.dark::before,
.section.dark::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(255, 0, 0, 0.3), 
        transparent
    );
}

.section.dark::before { top: 0; }
.section.dark::after { bottom: 0; }

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

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.req-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.req-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.req-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.req-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.req-card ul {
    list-style: none;
}

.req-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.req-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Implementation Steps */
.implementation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-number {
    background: var(--secondary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.step h3 {
    font-size: 1.3rem;
    margin: 0;
}

.step-details {
    list-style: none;
}

.step-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.step-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

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

.security-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.security-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.security-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Documentation Card */
.documentation-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.doc-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.doc-content {
    flex: 1;
}

.doc-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.doc-button {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: var(--white);
}

.view-btn {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.download-btn {
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.doc-button:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -5px 15px rgba(255, 0, 0, 0.1);
}

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

.footer-text a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-text a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .documentation-card {
        flex-direction: column;
        text-align: center;
    }

    .doc-buttons {
        justify-content: center;
    }
}

/* Progress Bar */
.progress-bar {
    background: var(--secondary-color) !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Scroll to Top Button */
.scroll-to-top {
    background: var(--secondary-color) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

/* Cards */
.req-card, .step, .security-card, .documentation-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

.req-card:hover, .step:hover, .security-card:hover, .documentation-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

/* Buttons */
.doc-button {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: var(--white);
    transition: var(--transition);
}

.doc-button:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.view-btn {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.download-btn {
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

/* Section Dividers */
.section.dark::before,
.section.dark::after {
    background: linear-gradient(to right, 
        transparent, 
        rgba(255, 0, 0, 0.3), 
        transparent
    );
}

/* List Items */
.req-card li::before,
.step-details li::before {
    color: var(--secondary-color);
}

/* Animations */
@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Hover Effects */
.req-card:hover .icon,
.security-card:hover .security-icon {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
} 