/* DokuLabel Marketing Design System */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: rgba(0, 102, 255, 0.1);
    --dark: #0F172A;
    --dark-accent: #1E293B;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --success: #10B981;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Utilities */
.d-flex { display: flex !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.gap-3 { gap: 1rem !important; }
.w-100 { width: 100% !important; }
.text-muted { color: var(--text-muted) !important; }
.small { font-size: 0.875rem !important; }

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
nav {
    position: absolute;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    height: 100px; /* Feste Höhe für absolute Konsistenz */
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

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

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

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.3);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
}

/* Features */
.features {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.feature-card {
    background: var(--dark-accent);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
}

.feature-card svg.lucide {
    width: 24px;
    height: 24px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.4));
    flex-shrink: 0;
}

.feature-card .d-flex {
    gap: 0.75rem !important;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Pricing */
.pricing {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.price-card {
    background: var(--dark-accent);
    padding: 4rem 2rem;
    border-radius: 30px;
    text-align: center;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.price-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 10;
}

.badge-popular {
    position: absolute;
    top: 2rem;
    right: -2rem;
    background: var(--primary);
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.price-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-example-card {
    margin-top: 5rem;
    padding: 3rem 2.5rem;
    text-align: left;
    max-width: 100%;
}

.pricing-example-card__header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-example-card__header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.pricing-example-card__subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.pricing-example-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}

.pricing-example-table thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: rgba(0, 102, 255, 0.08);
    border-bottom: 1px solid var(--glass-border);
}

.pricing-example-table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.pricing-example-table thead th:last-child {
    border-radius: 0 12px 0 0;
    text-align: right;
}

.pricing-example-table tbody td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--glass-border);
    vertical-align: middle;
}

.pricing-example-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-example-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.pricing-example-table tbody td:nth-child(2),
.pricing-example-table tbody td:nth-child(3) {
    color: var(--text-muted);
}

.pricing-project-types {
    display: inline-block;
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: left;
}

.pricing-example-table tbody td:nth-child(3) {
    text-align: left;
}

.pricing-example-table tbody td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.pricing-example-table tbody td:first-child {
    font-weight: 600;
    color: var(--text);
}

.pricing-example-card__footnote {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
}

.pricing-example-card__footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pricing-example-card__note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.pricing-example-card__note i {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    color: var(--primary);
}

@media (max-width: 900px) {
    .pricing-example-card {
        margin-top: 3.5rem;
        padding: 2rem 1.25rem;
    }

    .pricing-example-card__footer {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pricing-example-table thead {
        display: none;
    }

    .pricing-example-table tbody tr {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .pricing-example-table tbody tr:last-child {
        border-bottom: none;
    }

    .pricing-example-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 0.35rem 0;
        border-bottom: none;
    }

    .pricing-example-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .pricing-example-table tbody td:last-child {
        text-align: right;
        font-size: 1.1rem;
        padding-top: 0.5rem;
    }
}

.features-list {
    list-style: none;
    margin-bottom: 3rem;
    text-align: left;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.features-list li i {
    color: var(--success);
}

/* Responsive Design Overrides */
@media (max-width: 768px) {
    :root {
        --mobile-padding: 1.5rem;
    }

    .container {
        padding: 0 var(--mobile-padding);
    }

    /* Navbar Mobile */
    nav {
        height: 70px;
        padding: 0;
    }

    .nav-links {
        display: none; /* Hidden by default on mobile */
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-accent);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        color: var(--text);
    }

    /* Hero Section Mobile */
    .hero {
        padding: 6rem 0 4rem;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

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

    .hero-content .btn {
        width: 100%;
        justify-content: center;
    }

    /* Features & Pricing Mobile */
    .section-header h2 {
        font-size: 2rem;
    }

    .feature-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.popular {
        transform: none;
        margin: 1.5rem 0;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}

/* Base Utility Fixes */
.menu-toggle { display: none; }
.hero-content .btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--white);
}
.hero-content .btn-outline:hover {
    background: var(--glass);
    border-color: var(--primary);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-card {
    background: var(--dark-accent);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

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

/* Responsive Fixes */
@media (max-width: 768px) {
    .contact-card {
        padding: 2rem;
    }
}
