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

:root {
    --eigengrau: #16161d;
    --bg-dark: #16161d;
    --bg-darker: #0d0d11;
    --warm-white: #f5ebe0;
    --primary: #f5ebe0;
    --primary-light: #faf6f1;
    --primary-dark: #e8ddd0;
    --secondary: #d4a574;
    --accent: #b8926a;
    --text-primary: #f5ebe0;
    --text-secondary: #d4c5b8;
    --text-muted: #a89a8c;
    --glass-bg: rgba(245, 235, 224, 0.03);
    --glass-border: rgba(245, 235, 224, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background Gradient */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, 
        var(--bg-darker) 0%, 
        #1a1a22 25%,
        #1d1d26 50%,
        #1a1a22 75%,
        var(--bg-darker) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism Effect */
.glass {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--warm-white), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-github {
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-github:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-light);
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--warm-white), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--eigengrau);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 165, 116, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--warm-white), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

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

.feature-card {
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 235, 224, 0.3);
    box-shadow: 0 12px 40px rgba(245, 235, 224, 0.15);
}

.feature-icon {
    margin-bottom: 1rem;
    color: var(--warm-white);
    opacity: 0.9;
}

.feature-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tools Section */
.tools {
    background: rgba(0, 0, 0, 0.2);
}

.tools-showcase {
    padding: 3rem;
}

.tools-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tool-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-left: 3px solid var(--secondary);
    background: rgba(245, 235, 224, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: rgba(245, 235, 224, 0.1);
    transform: translateX(5px);
}

.tool-name {
    font-family: 'Courier New', monospace;
    color: var(--warm-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.tool-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Installation Section */
.install-steps {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.install-step {
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.install-step:hover {
    transform: translateX(10px);
    border-color: rgba(245, 235, 224, 0.3);
}

.step-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--eigengrau);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.code-block {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.code-block code {
    font-family: 'Courier New', monospace;
    color: var(--warm-white);
    font-size: 0.9rem;
    line-height: 1.8;
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: rgba(245, 235, 224, 0.2);
    color: var(--warm-white);
}

.copy-btn.copied {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

/* Requirements Section */
.requirements {
    background: rgba(0, 0, 0, 0.2);
}

.requirements-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.requirements-box h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.requirements-list svg {
    flex-shrink: 0;
    color: var(--secondary);
}

/* Usage Section */
.usage-example {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.usage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.usage-header h3 {
    font-size: 1.25rem;
}

.usage-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.usage-example pre {
    position: relative;
    margin: 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    overflow-x: auto;
}

.usage-example code {
    font-family: 'Courier New', monospace;
    color: var(--warm-white);
    font-size: 0.9rem;
    line-height: 1.8;
}

.usage-example .copy-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--warm-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 2rem);
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tools-columns {
        grid-template-columns: 1fr;
    }

    .install-step {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

/* Smooth Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}
