/* QGen Features Section Styles */
.qgen-features-section {
    width: 100%;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Section */
.qgen-features-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 80px;
    padding-bottom: 0;
}

.qgen-features-logo {
    margin-bottom: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.qgen-features-logo-image {
    width: 64px;
    height: 64px;
    display: block;
    opacity: 0.9;
}

.qgen-features-headline {
    display: block;
    margin-bottom: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.15;
    text-align: left;
    max-width: 800px;
}

.qgen-features-headline-bold {
    font-size: 64px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-family: 'Roboto', sans-serif;
    display: inline;
}

.qgen-features-headline-light {
    font-size: 64px;
    font-weight: 800;
    color: #6b7280;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-family: 'Roboto', sans-serif;
    display: inline;
}

.qgen-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 140px;
}

.qgen-feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.qgen-feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.qgen-feature-item:nth-child(even) {
    direction: rtl;
}

.qgen-feature-item:nth-child(even) > * {
    direction: ltr;
}

.qgen-feature-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
}

.qgen-feature-step {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 4px;
}

.qgen-feature-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.qgen-feature-description {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.7;
}

.qgen-feature-description strong {
    font-weight: 600;
    color: #374151;
}

.qgen-feature-description .level-overview-link {
    color: #6b7280;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: #6b7280;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.qgen-feature-description .level-overview-link:hover {
    color: #374151;
    text-decoration-color: #374151;
}

.qgen-feature-subtext {
    margin-top: 14px;
    margin-bottom: 0;
}

.qgen-feature-tag {
    display: inline;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.6;
    background: #f3f4f6;
    padding: 8px 14px;
    border-radius: 6px;
}

.qgen-feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.qgen-feature-visual img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Responsive: tablet and below */
@media (max-width: 968px) {
    .qgen-features-section {
        padding: 60px 24px;
    }

    .qgen-features-header {
        margin-bottom: 64px;
        gap: 20px;
    }

    .qgen-features-headline-bold,
    .qgen-features-headline-light {
        font-size: 48px;
        letter-spacing: -0.025em;
    }

    .qgen-features-logo-image {
        width: 56px;
        height: 56px;
    }

    .qgen-feature-item {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .qgen-feature-item:nth-child(even) {
        direction: ltr;
    }

    .qgen-feature-content {
        max-width: 520px;
    }

    .qgen-feature-title {
        font-size: 28px;
    }

    .qgen-feature-description {
        font-size: 17px;
    }

    .qgen-feature-visual img {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Responsive: mobile */
@media (max-width: 768px) {
    .qgen-features-section {
        padding: 48px 20px;
    }

    .qgen-features-grid {
        gap: 64px;
    }

    .qgen-features-header {
        margin-bottom: 48px;
        gap: 18px;
    }

    .qgen-features-headline-bold,
    .qgen-features-headline-light {
        font-size: 36px;
        letter-spacing: -0.025em;
        line-height: 1.15;
    }

    .qgen-features-logo-image {
        width: 52px;
        height: 52px;
    }

    .qgen-feature-title {
        font-size: 24px;
    }

    .qgen-feature-description {
        font-size: 16px;
    }

    .qgen-feature-tag {
        font-size: 13px;
    }

    .qgen-feature-content {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .qgen-feature-visual img {
        max-width: 100%;
    }
}

/* Responsive: small phones */
@media (max-width: 480px) {
    .qgen-features-section {
        padding: 40px 16px;
    }

    .qgen-features-grid {
        gap: 48px;
    }

    .qgen-features-header {
        margin-bottom: 40px;
        gap: 16px;
    }

    .qgen-features-headline-bold,
    .qgen-features-headline-light {
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .qgen-features-logo-image {
        width: 48px;
        height: 48px;
    }

    .qgen-feature-title {
        font-size: 22px;
    }

    .qgen-feature-description {
        font-size: 15px;
    }

    .qgen-feature-step {
        font-size: 11px;
    }
}

/* Responsive: very small phones (e.g. 320px) */
@media (max-width: 360px) {
    .qgen-features-section {
        padding: 24px 12px;
    }

    .qgen-features-headline-bold,
    .qgen-features-headline-light {
        font-size: 22px;
    }

    .qgen-feature-title {
        font-size: 20px;
    }
}

/* Showcase Section Styles */
.showcase-section {
    margin-top: 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.showcase-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.showcase-preview-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
}

.showcase-preview-item {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.showcase-preview-item:nth-child(1) { width: 200px; }
.showcase-preview-item:nth-child(2) { width: 235px; }
.showcase-preview-item:nth-child(3) { width: 380px; }
.showcase-preview-item:nth-child(4) { width: 310px; }
.showcase-preview-item:nth-child(5) { width: 210px; }

.showcase-preview-item:hover {
    transform: scale(1.05);
}

.showcase-preview-item:not(:first-child) {
    margin-left: -48px;
}

.showcase-preview-item:nth-child(4) {
    margin-left: -95px;
}

.showcase-preview-item:nth-child(5) {
    margin-left: -85px;
}

.showcase-preview-item:nth-child(1) { transform: rotate(-6deg); z-index: 3; }
.showcase-preview-item:nth-child(2) { transform: rotate(-3deg); z-index: 4; }
.showcase-preview-item:nth-child(3) { transform: rotate(0deg) translateY(-20px); z-index: 5; }
.showcase-preview-item:nth-child(4) { transform: rotate(3deg); z-index: 2; }
.showcase-preview-item:nth-child(5) { transform: rotate(6deg); z-index: 1; }

.showcase-preview-item:nth-child(1):hover { transform: rotate(-6deg) scale(1.05); }
.showcase-preview-item:nth-child(2):hover { transform: rotate(-3deg) scale(1.05); }
.showcase-preview-item:nth-child(3):hover { transform: rotate(0deg) translateY(-20px) scale(1.05); }
.showcase-preview-item:nth-child(4):hover { transform: rotate(3deg) scale(1.05); }
.showcase-preview-item:nth-child(5):hover { transform: rotate(6deg) scale(1.05); }

.showcase-preview-item img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.showcase-subtext {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.showcase-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.showcase-cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    background: #facc15;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: none;
}

.showcase-cta-primary:hover {
    background: #eab308;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
}

.showcase-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    font-size: 17px;
    font-weight: 600;
    color: #4b5563;
    background: #f9fafb;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.showcase-cta-secondary:hover {
    background: #f3f4f6;
    color: #1f2937;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

/* Responsive: 3 images layout */
@media (max-width: 1126px) {
    .showcase-preview-item:nth-child(1),
    .showcase-preview-item:nth-child(5) {
        display: none;
    }

    .showcase-preview-item:nth-child(2) {
        width: 180px;
        margin-left: 0;
        transform: rotate(-4deg);
        z-index: 2;
    }
    .showcase-preview-item:nth-child(2):hover {
        transform: rotate(-4deg) scale(1.05);
    }

    .showcase-preview-item:nth-child(3) {
        width: 280px;
        margin-left: -40px;
        transform: rotate(0deg) translateY(-15px);
        z-index: 3;
    }
    .showcase-preview-item:nth-child(3):hover {
        transform: rotate(0deg) translateY(-15px) scale(1.05);
    }

    .showcase-preview-item:nth-child(4) {
        width: 200px;
        margin-left: -50px;
        transform: rotate(4deg);
        z-index: 2;
    }
    .showcase-preview-item:nth-child(4):hover {
        transform: rotate(4deg) scale(1.05);
    }
}

/* Responsive: mobile - showcase */
@media (max-width: 768px) {
    .showcase-section {
        margin-top: 80px;
    }

    .showcase-container {
        padding: 24px 20px;
    }

    .showcase-preview-row {
        margin-bottom: 28px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 12px;
        overflow: visible;
        padding: 0;
    }

    .showcase-preview-item:nth-child(1),
    .showcase-preview-item:nth-child(2),
    .showcase-preview-item:nth-child(4),
    .showcase-preview-item:nth-child(5) {
        display: none;
    }

    .showcase-preview-item:nth-child(3) {
        width: 80%;
        max-width: 320px;
        margin-left: 0;
        transform: translateY(0);
        z-index: 3;
    }
    .showcase-preview-item:nth-child(3):hover {
        transform: translateY(0) scale(1.05);
    }

    .showcase-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .showcase-subtext {
        font-size: 16px;
        margin-bottom: 24px;
        max-width: 520px;
    }

    .showcase-ctas {
        flex-direction: column;
        gap: 12px;
    }

    .showcase-cta-primary,
    .showcase-cta-secondary {
        font-size: 16px;
        padding: 0.75rem 1.5rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Responsive: small phones - showcase */
@media (max-width: 480px) {
    .showcase-section {
        margin-top: 56px;
    }

    .showcase-container {
        padding: 20px 16px;
    }

    .showcase-preview-row {
        margin-bottom: 24px;
        gap: 10px;
    }

    .showcase-preview-item:nth-child(1),
    .showcase-preview-item:nth-child(2),
    .showcase-preview-item:nth-child(4),
    .showcase-preview-item:nth-child(5) {
        display: none;
    }

    .showcase-preview-item:nth-child(3) {
        width: 85%;
        max-width: 280px;
        margin-left: 0;
        transform: translateY(0);
    }
    .showcase-preview-item:nth-child(3):hover {
        transform: translateY(0) scale(1.05);
    }

    .showcase-title {
        font-size: 22px;
    }

    .showcase-subtext {
        font-size: 15px;
        margin-bottom: 20px;
        max-width: 400px;
    }

    .showcase-cta-primary,
    .showcase-cta-secondary {
        font-size: 15px;
        padding: 0.7rem 1.25rem;
        max-width: 100%;
    }
}

