@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    --primary: #a855f7;
    --secondary: #06b6d4;
    --accent: #ec4899;
    --bg-dark: #0f0a1e;
    --bg-darker: #0a0614;
    --bg-card: #1a1233;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --border: #2d1b4e;
    --border-hover: #a855f7;
}

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

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Simple Background */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #0a0614 0%, #1a0f2e 100%);
}

.cyber-grid {
    display: none;
}

.scan-line {
    display: none;
}

/* Navigation */
.cyber-nav {
    position: sticky;
    top: 0;
    background: rgba(10, 6, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.version {
    font-size: 0.7rem;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(168, 85, 247, 0.1);
}

.link-icon {
    font-size: 1rem;
}

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

.theme-toggle,
.social-icon {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover,
.social-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(168, 85, 247, 0.1);
}

.theme-toggle svg,
.social-icon svg {
    width: 18px;
    height: 18px;
}

.moon-icon {
    display: none;
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.typing-text {
    border-right: none;
    animation: none;
}

/* Terminal Box */
.terminal-box {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.terminal-box:focus-within {
    border-color: var(--primary);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.6;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.terminal-body {
    padding: 1.5rem;
}

.terminal-prompt {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.prompt-symbol {
    color: var(--primary);
    font-size: 1.2rem;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    padding: 0.5rem;
}

.terminal-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.execute-btn {
    background: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    color: white;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.execute-btn:hover {
    background: #9333ea;
    transform: translateY(-1px);
}

.execute-btn svg {
    width: 16px;
    height: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-card::before {
    display: none;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* Tools Section */
.tools-section {
    margin-top: 4rem;
}

.section-line {
    height: 1px;
    background: var(--border);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

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

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

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.card-glow {
    display: none;
}

.tool-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.15);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tool-name {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tool-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tool-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--primary);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* Footer */
.cyber-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 2rem;
    margin-top: 4rem;
    text-align: center;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .terminal-prompt {
        flex-direction: column;
    }
    
    .execute-btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .main-container {
        padding: 2rem 1rem;
    }
}
