/* Base styles and variables */
:root {
    --primary-color: #1a1a1a; /* Dark metallic black for accent */
    --secondary-color: #2a2a2a;
    --accent-color: #444444;
    --dark-color: #000000;
    --light-color: #ffffff;
    --danger-color: #8a0000;
    --warning-color: #8a8a00;
    --terminal-bg: #000000;
    --terminal-text: #d4d4d4;
    
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    
    --font-main: 'Roboto', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Theme variables */
    --bg-color: #ffffff;
    --text-color: #000000;
    --card-bg: #f5f5f5;
    --border-color: #e0e0e0;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #ffffff;
    --card-bg: #1e1e1e;
    --border-color: #333333;
}

/* Reset and base styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

section {
    padding: 100px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style-type: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.primary-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

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

.secondary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

/* Navigation */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-mono);
}

.nav-links {
    display: flex;
    gap: 2rem;
    transition: var(--transition);
}

.nav-links li a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.download-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.download-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 6px 0;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 80px);
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-mono);
}

.hero h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Terminal Window */
.terminal-window {
    flex: 1;
    background-color: var(--terminal-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    min-height: 400px;
    margin: 0 auto;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    font-family: var(--font-mono);
}

.terminal-header {
    background-color: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.red {
    background-color: #ff5f56;
}

.terminal-button.yellow {
    background-color: #ffbd2e;
}

.terminal-button.green {
    background-color: #27c93f;
}

.terminal-title {
    color: #ddd;
    font-size: 0.9rem;
    margin: 0 auto;
}

.terminal-content {
    padding: 20px;
    flex: 1;
    color: var(--terminal-text);
    font-size: 0.9rem;
    line-height: 1.5;
    overflow: auto;
}

.terminal-content .line {
    margin-bottom: 8px;
    white-space: nowrap;
}

.terminal-content .banner {
    color: #ffffff;
    white-space: pre;
    line-height: 1.2;
    margin: 15px 0;
    font-size: 1.3rem;
    text-align: center;
    font-family: monospace;
    padding: 10px;
}

.terminal-content .scanning {
    animation: blink 1s infinite;
}

.terminal-content .cursor {
    animation: blink 1s infinite;
}

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

/* Feature Section */
.features {
    background-color: #ffffff;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

/* Installation Section */
.installation-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.installation-steps {
    flex: 2;
}

.requirements {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 100px;
}

.step {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.code-block {
    background-color: var(--dark-color);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    position: relative;
    font-family: var(--font-mono);
    overflow: auto;
}

.code-block pre {
    color: #f8f8f2;
    font-size: 0.9rem;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    color: #ddd;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
}

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

.copy-btn.copied {
    background-color: #27c93f;
    color: white;
}

.requirements h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.requirements ul {
    margin-bottom: 20px;
}

.requirements ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.requirements ul li i {
    color: #27c93f;
    margin-right: 10px;
}

.dependencies-link {
    margin-top: 20px;
}

.dependencies-link a {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.dependencies-link a i {
    margin-left: 8px;
    transition: var(--transition);
}

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

/* Documentation Section */
.documentation-container {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.documentation-nav {
    flex: 1;
    max-width: 250px;
    background-color: #eeeeee;
    padding: 30px 0;
}

.documentation-nav ul li {
    padding: 12px 30px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.documentation-nav ul li:hover {
    background-color: rgba(74, 140, 255, 0.1);
}

.documentation-nav ul li.active {
    background-color: rgba(74, 140, 255, 0.1);
    color: var(--primary-color);
    font-weight: 500;
    border-left: 3px solid var(--primary-color);
}

.documentation-content {
    flex: 3;
    padding: 40px;
    overflow: auto;
}

.tab-content {
    display: none;
}

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

.tab-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.tab-content h3:first-child {
    margin-top: 0;
}

.tab-content p {
    margin-bottom: 15px;
}

.doc-table {
    margin: 20px 0;
    overflow-x: auto;
}

.doc-table table {
    width: 100%;
    border-collapse: collapse;
}

.doc-table th, .doc-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.doc-table th {
    background-color: #f5f7fa;
    font-weight: 500;
}

.doc-table tr:hover {
    background-color: #f9f9f9;
}

.tool-category {
    margin-bottom: 25px;
}

.tool-category h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.tool-category ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.tool-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.tool-name {
    font-weight: 500;
    color: var(--secondary-color);
}

.file-tree {
    margin: 20px 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.file-tree li {
    margin-bottom: 5px;
}

.file-tree .directory {
    color: var(--primary-color);
    font-weight: 500;
}

.file-tree .directory::before {
    content: '📁 ';
}

.file-tree .file::before {
    content: '📄 ';
}

.file-tree ul {
    margin-left: 20px;
    margin-top: 5px;
}

/* Download Section */
.download-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.download-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    max-width: 400px;
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.download-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.download-card p {
    color: #666;
    margin-bottom: 25px;
}

.version-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    text-align: center;
}

.version-info h4 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 5px;
}

.version-tag {
    display: inline-block;
    background-color: #e0f3ff;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* About Section */
.about {
    background-color: #ffffff;
    padding: 100px 20px;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.profile-header {
    padding: 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.profile-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-family: var(--font-mono);
}

.profile-title {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: white !important;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.social-link i {
    margin-right: 8px;
}

.profile-body {
    padding: 40px;
}

.profile-section {
    margin-bottom: 40px;
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-section h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.profile-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.profile-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.expertise-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.expertise-list li {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    padding: 12px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.expertise-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.expertise-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

.connect-list {
    margin-top: 15px;
}

.connect-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.connect-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Tools Section */
.tools {
    background-color: #f8f8f8;
    padding: 100px 20px;
}

.tools-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.tool-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tool-header {
    background-color: var(--primary-color);
    padding: 25px;
    color: white;
    position: relative;
}

.tool-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.tool-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.tool-description {
    padding: 25px;
}

.tool-description p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.tool-features {
    margin-bottom: 25px;
}

.tool-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.tool-features li i {
    color: #27c93f;
    margin-right: 10px;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.tool-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.tool-link:hover {
    color: #333;
}

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

/* Security Warning */
.security-warning {
    background-color: #1a1a1a;
    color: white;
    padding: 30px 20px;
    max-width: none;
    width: 100%;
}

.warning-content {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
}

.warning-icon {
    font-size: 2.5rem;
    color: #ff4d4d;
    flex-shrink: 0;
}

.warning-text h3 {
    color: #ff4d4d;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #ddd;
    padding: 80px 20px 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo .logo-text {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.link-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.link-column ul li {
    margin-bottom: 10px;
}

.link-column ul li a {
    color: #aaa;
    transition: var(--transition);
}

.link-column ul li a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 10px;
    font-style: italic;
}

/* Responsive */
@media screen and (max-width: 1100px) {
    .hero {
        flex-direction: column;
        padding-top: 50px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

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

    .terminal-window {
        max-width: 100%;
    }

    .installation-container {
        flex-direction: column;
    }

    .requirements {
        position: static;
        width: 100%;
        margin-top: 30px;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 900px) {
    .documentation-container {
        flex-direction: column;
    }

    .documentation-nav {
        max-width: 100%;
        padding: 15px 0;
        overflow-x: auto;
    }

    .documentation-nav ul {
        display: flex;
    }

    .documentation-nav ul li {
        padding: 10px 20px;
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }

    .documentation-nav ul li.active {
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }

    .link-column {
        min-width: 150px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 100;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(-20px);
        transition: var(--transition);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links li:nth-child(6) { transition-delay: 0.6s; }
    .nav-links li:nth-child(7) { transition-delay: 0.7s; }

    .hamburger {
        display: block;
    }

    .download-container {
        flex-direction: column;
        align-items: center;
    }

    .download-card {
        width: 100%;
    }

    .version-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .expertise-list {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .tools-container {
        flex-direction: column;
        align-items: center;
    }
    
    .tool-card {
        width: 100%;
        max-width: none;
        margin-bottom: 20px;
    }
}

/* New floating action button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}