/* tiimapp Premium CSS - Entwickelt mit Leidenschaft */

:root {
    --bg-color: #0b0d19;
    --card-bg: rgba(20, 24, 46, 0.45);
    --card-border: rgba(255, 255, 255, 0.07);
    --card-border-hover: rgba(99, 102, 241, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-cyan: #06b6d4;
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    
    --status-online: #10b981;
    --status-dev: #f59e0b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Background Effects */
.bg-glow-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(80px);
}

.bg-glow-2 {
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(6, 182, 212, 0) 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(80px);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

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

/* Header */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(11, 13, 25, 0.7);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-accent {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-dot {
    color: var(--accent-cyan);
}

.logo-link {
    text-decoration: none;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--status-online);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--status-online);
    display: inline-block;
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 30%, #a8a29e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Projects Section */
.projects-section {
    padding: 2rem 0 6rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-align: left;
    position: relative;
    padding-left: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-indigo));
    border-radius: 2px;
}

/* Projects Grid & Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.25rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.project-card.link-card {
    cursor: pointer;
}

/* Card Glow Effect controlled by JS mouse tracking */
.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.project-card:hover .card-glow {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.15);
}

.project-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.project-card:hover .project-icon {
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
    border-color: transparent;
    transform: scale(1.05);
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--status-online);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge.dev {
    background: rgba(245, 158, 11, 0.1);
    color: var(--status-dev);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.2px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 300;
    flex-grow: 1;
}

.project-meta {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-item svg {
    width: 14px;
    height: 14px;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(7, 9, 18, 0.6);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.25rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-sub {
    font-size: 0.8rem !important;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero {
        padding: 4rem 0 2rem;
    }
    .container {
        padding: 0 1.5rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* XFM project detail */
.project-detail-page {
    --xfm-green: #3eaa70;
    --xfm-green-bright: #59d391;
}

.project-detail-page header {
    position: relative;
}

.xfm-hero {
    padding-top: 2rem;
}

.back-link,
.back-button {
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.back-link {
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.back-link svg,
.back-button svg {
    width: 17px;
    height: 17px;
}

.back-link:hover,
.back-button:hover {
    color: var(--text-primary);
}

.xfm-hero-copy {
    text-align: center;
    margin: 0 auto 3rem;
}

.eyebrow,
.feature-kicker {
    color: var(--xfm-green-bright);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
}

.xfm-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 10rem);
    line-height: 0.82;
    letter-spacing: -0.07em;
    margin: 1.5rem 0;
}

.xfm-hero-copy > p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.35rem);
}

.xfm-hero-visual {
    position: relative;
    border: 1px solid rgba(89, 211, 145, 0.25);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 35px 90px -35px rgba(0, 0, 0, 0.9);
}

.xfm-hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.xfm-hero-visual img,
.xfm-feature img {
    display: block;
    width: 100%;
    height: auto;
}

.xfm-pill-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 2rem 0;
}

.xfm-pill-row span {
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
}

.xfm-intro {
    padding-top: 8rem;
    padding-bottom: 6rem;
    max-width: 900px;
}

.xfm-intro h2,
.xfm-closing h2 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin: 1.4rem 0 2rem;
}

.xfm-intro > p,
.xfm-closing > p {
    color: var(--text-secondary);
    max-width: 650px;
    font-size: 1.1rem;
}

.xfm-showcase {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.xfm-feature {
    display: grid;
    grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.7fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
}

.xfm-feature.reverse {
    grid-template-columns: minmax(0, 1.7fr) minmax(230px, 0.65fr);
}

.xfm-feature.reverse .xfm-feature-copy {
    order: 2;
}

.xfm-feature-copy {
    position: relative;
}

.feature-number {
    display: block;
    color: rgba(255, 255, 255, 0.08);
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.xfm-feature h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.65rem);
    line-height: 1;
    letter-spacing: -0.035em;
    margin: 0.75rem 0 1.25rem;
}

.xfm-feature-copy > p:last-child {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 33rem;
}

.xfm-feature img {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 28px 80px -35px rgba(0, 0, 0, 0.85);
    transition: transform 0.45s ease, border-color 0.45s ease;
    cursor: zoom-in;
}

.xfm-hero-visual img {
    cursor: zoom-in;
}

.xfm-hero-visual img:focus-visible,
.xfm-feature img:focus-visible {
    outline: 3px solid var(--xfm-green-bright);
    outline-offset: 4px;
}

.xfm-feature:hover img {
    transform: translateY(-4px);
    border-color: rgba(89, 211, 145, 0.35);
}

.xfm-closing {
    padding-top: 12rem;
    padding-bottom: 10rem;
    text-align: center;
}

.xfm-beta {
    padding-top: 12rem;
}

.xfm-beta-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid rgba(89, 211, 145, 0.28);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(89, 211, 145, 0.14), transparent 42%),
        rgba(20, 24, 46, 0.55);
    overflow: hidden;
}

.xfm-beta-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(89, 211, 145, 0.3);
    border-radius: 16px;
    color: var(--xfm-green-bright);
    background: rgba(89, 211, 145, 0.08);
}

.xfm-beta-icon svg {
    width: 30px;
    height: 30px;
}

.xfm-beta h2 {
    max-width: 760px;
    margin: 0.7rem 0 1rem;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.xfm-beta-copy > p {
    max-width: 690px;
    color: var(--text-secondary);
}

.xfm-beta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
}

.xfm-beta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    color: #07110c;
    background: var(--xfm-green-bright);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.xfm-beta-button:hover {
    transform: translateY(-2px);
    background: #7ae7aa;
    box-shadow: 0 12px 35px -12px rgba(89, 211, 145, 0.65);
}

.xfm-beta-button svg,
.xfm-beta-actions > span svg {
    width: 18px;
    height: 18px;
}

.xfm-beta-actions > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.xfm-closing > p {
    margin: 0 auto;
}

.back-button {
    margin-top: 2.5rem;
    border: 1px solid rgba(89, 211, 145, 0.3);
    border-radius: 999px;
    padding: 0.8rem 1.25rem;
    color: var(--text-primary);
    background: rgba(89, 211, 145, 0.08);
}

.back-button:hover {
    background: rgba(89, 211, 145, 0.16);
    border-color: rgba(89, 211, 145, 0.55);
}

.xfm-lightbox {
    width: min(96vw, 1700px);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: #090c14;
    color: var(--text-primary);
    overflow: hidden;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.8);
}

.xfm-lightbox[open] {
    display: grid;
    place-items: center;
}

.xfm-lightbox::backdrop {
    background: rgba(2, 4, 10, 0.9);
    backdrop-filter: blur(8px);
}

.xfm-lightbox img {
    display: block;
    width: 100%;
    max-height: calc(94vh - 48px);
    object-fit: contain;
}

.xfm-lightbox p {
    width: 100%;
    padding: 0.75rem 4rem 0.85rem 1rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.xfm-lightbox-close {
    position: absolute;
    z-index: 2;
    top: 0.8rem;
    right: 0.8rem;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(5, 8, 14, 0.8);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.xfm-lightbox-close:hover {
    background: rgba(89, 211, 145, 0.2);
    border-color: rgba(89, 211, 145, 0.65);
}

.xfm-lightbox-close svg {
    width: 21px;
    height: 21px;
}

@media (max-width: 900px) {
    .xfm-showcase {
        gap: 6rem;
    }

    .xfm-feature,
    .xfm-feature.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .xfm-feature.reverse .xfm-feature-copy {
        order: initial;
    }

    .feature-number {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .xfm-hero {
        padding-top: 1.25rem;
    }

    .back-link {
        margin-bottom: 2.25rem;
    }

    .xfm-hero-visual,
    .xfm-feature img {
        border-radius: 12px;
    }

    .xfm-intro {
        padding-top: 5rem;
        padding-bottom: 4.5rem;
    }

    .xfm-showcase {
        gap: 5rem;
    }

    .xfm-closing {
        padding-top: 8rem;
        padding-bottom: 7rem;
    }

    .xfm-beta {
        padding-top: 8rem;
    }

    .xfm-beta-card {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .xfm-beta-icon {
        width: 52px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .xfm-feature img {
        transition: none;
    }
}

/* tiimAlert project detail */
.tiimalert-detail-page {
    --xfm-green: #ef4444;
    --xfm-green-bright: #f97373;
    --alert-red: #c1121f;
    --alert-amber: #d9a319;
    --alert-ink: #111827;
    --alert-panel: rgba(17, 24, 39, 0.62);
}

.tiimalert-detail-page .bg-glow-1 {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.13) 0%, rgba(239, 68, 68, 0) 70%);
}

.tiimalert-detail-page .bg-glow-2 {
    background: radial-gradient(circle, rgba(217, 163, 25, 0.11) 0%, rgba(217, 163, 25, 0) 70%);
}

.alert-hero {
    padding-top: 2rem;
}

.alert-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.alert-hero-copy {
    min-width: 0;
}

.alert-hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8.5vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: 0;
    margin: 1.4rem 0 1.5rem;
    overflow-wrap: normal;
}

.alert-hero-copy > p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 34rem;
}

.alert-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    margin-top: 2rem;
}

.alert-hero-actions > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.alert-hero-actions svg {
    width: 18px;
    height: 18px;
}

.alert-hero-visual {
    position: relative;
    border: 1px solid rgba(249, 115, 115, 0.22);
    border-radius: 20px;
    overflow: hidden;
    background: var(--alert-panel);
    box-shadow: 0 35px 90px -35px rgba(0, 0, 0, 0.9);
}

.alert-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.alert-request-button {
    background: #f4c542;
    color: #15110a;
}

.alert-request-button:hover {
    background: #ffd766;
    box-shadow: 0 12px 35px -12px rgba(244, 197, 66, 0.68);
}

.alert-intro {
    max-width: 980px;
}

.alert-intro h2,
.alert-closing h2 {
    max-width: 960px;
}

.alert-feature img {
    background: rgba(255, 255, 255, 0.04);
}

.alert-feature:hover img {
    border-color: rgba(249, 115, 115, 0.36);
}

.alert-image-stack {
    display: grid;
    gap: 1rem;
}

.alert-image-stack img {
    width: 100%;
}

.alert-image-stack img:first-child {
    width: min(100%, 680px);
    justify-self: end;
}

.alert-request .xfm-beta-card {
    border-color: rgba(249, 115, 115, 0.24);
    background:
        radial-gradient(circle at 100% 0%, rgba(249, 115, 115, 0.13), transparent 42%),
        rgba(20, 24, 46, 0.55);
}

.alert-request .xfm-beta-icon {
    border-color: rgba(249, 115, 115, 0.3);
    color: #f97373;
    background: rgba(249, 115, 115, 0.08);
}

.alert-closing .back-button {
    border-color: rgba(249, 115, 115, 0.28);
    background: rgba(249, 115, 115, 0.08);
}

.alert-closing .back-button:hover {
    background: rgba(249, 115, 115, 0.15);
    border-color: rgba(249, 115, 115, 0.5);
}

@media (max-width: 1100px) {
    .alert-hero-grid {
        grid-template-columns: 1fr;
    }

    .alert-hero-copy h1 {
        font-size: clamp(4rem, 14vw, 7rem);
    }
}

@media (max-width: 600px) {
    .alert-hero {
        padding-top: 1.25rem;
    }

    .alert-hero-visual {
        border-radius: 12px;
    }

    .alert-hero-copy h1 {
        font-size: clamp(3.6rem, 22vw, 5.5rem);
    }
}

/* kompripdf project detail */
.kompripdf-detail-page {
    --pdf-red: #0284c7;
    --pdf-red-light: #0ea5e9;
    --pdf-cyan: #00a9e8;
    --bg-color: #0b0d19;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --card-bg: rgba(20, 24, 46, 0.45);
    --card-border: rgba(255, 255, 255, 0.07);
    background-color: var(--bg-color);
}

.kompripdf-detail-page .bg-glow-1 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0) 70%);
}

.kompripdf-detail-page .bg-glow-2 {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 70%);
}

.kompripdf-detail-page .bg-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
}

.kompripdf-detail-page header {
    border-bottom-color: rgba(255, 255, 255, 0.05);
    background: rgba(11, 13, 25, 0.7);
}

.kompripdf-detail-page .logo-accent {
    background: linear-gradient(135deg, #00b7ed, #0284c7);
    -webkit-background-clip: text;
}

.kompripdf-detail-page .logo-dot {
    color: var(--pdf-red-light);
}

.kompripdf-detail-page .badge.online {
    border-color: rgba(14, 165, 233, 0.22);
    color: #0277b5;
    background: rgba(14, 165, 233, 0.09);
}

.kompripdf-detail-page footer {
    border-top-color: rgba(255, 255, 255, 0.05);
    background: rgba(7, 9, 18, 0.6);
}

.kompripdf-detail-page .footer-sub {
    background: linear-gradient(135deg, #0284c7, #00a9e8);
    -webkit-background-clip: text;
}

.kompripdf-hero {
    padding-top: 2rem;
    padding-bottom: 7rem;
}

.kompripdf-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}

.kompripdf-eyebrow {
    color: var(--pdf-red-light);
}

.kompripdf-hero-copy h1 {
    max-width: 720px;
    margin: 1.2rem 0 1.5rem;
    font-family: var(--font-heading);
    font-size: clamp(3.4rem, 7vw, 6.4rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.kompripdf-hero-copy h1 span {
    background: linear-gradient(135deg, #ffffff 18%, var(--pdf-red-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kompripdf-hero-copy > p {
    max-width: 610px;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.22rem);
}

.kompripdf-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-top: 2rem;
}

.kompripdf-start-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1.35rem;
    border: 1px solid rgba(2, 132, 199, 0.4);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    box-shadow: 0 16px 38px -18px rgba(2, 132, 199, 0.75);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.kompripdf-start-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    box-shadow: 0 20px 44px -16px rgba(2, 132, 199, 0.82);
}

.kompripdf-start-button svg {
    width: 18px;
    height: 18px;
}

.kompripdf-actions > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.kompripdf-actions > span svg {
    width: 17px;
    height: 17px;
    color: var(--pdf-cyan);
}

.pdf-preview {
    position: relative;
    min-height: 480px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.pdf-preview::before {
    content: '';
    position: absolute;
    width: 82%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.08) 45%, transparent 70%);
    filter: blur(12px);
    z-index: -1;
}

.pdf-file-card {
    position: relative;
    width: min(330px, 72%);
    aspect-ratio: 0.76;
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(35, 39, 70, 0.95), rgba(16, 19, 38, 0.96));
    box-shadow: 0 38px 90px -30px rgba(0, 0, 0, 0.95);
    transform: rotate(-4deg);
    overflow: hidden;
}

.pdf-file-card::after {
    content: '';
    position: absolute;
    top: -55px;
    right: -55px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
}

.pdf-file-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #16b9ed, #0284c7);
    box-shadow: 0 15px 32px -15px rgba(2, 132, 199, 0.7);
}

.pdf-file-icon svg {
    width: 34px;
    height: 34px;
}

.pdf-file-card strong {
    display: block;
    margin-top: 2.3rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.pdf-file-card > span {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.pdf-lines {
    display: grid;
    gap: 0.8rem;
    margin-top: 2rem;
}

.pdf-lines i {
    display: block;
    height: 7px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.09);
}

.pdf-lines i:nth-child(2) {
    width: 78%;
}

.pdf-lines i:nth-child(3) {
    width: 55%;
}

.pdf-result-card {
    position: absolute;
    right: 0;
    bottom: 1.5rem;
    width: min(290px, 60%);
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 17px;
    background: rgba(10, 14, 28, 0.88);
    box-shadow: 0 24px 55px -25px rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
}

.pdf-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.pdf-result-header span {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.pdf-result-header strong {
    color: var(--pdf-cyan);
    font-size: 0.8rem;
}

.pdf-size-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.pdf-size-row span {
    color: var(--text-muted);
    font-size: 0.86rem;
    text-decoration: line-through;
}

.pdf-size-row svg {
    width: 19px;
    height: 19px;
    color: var(--pdf-red-light);
}

.pdf-size-row strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.kompripdf-intro {
    max-width: 900px;
    padding-top: 4rem;
    padding-bottom: 5rem;
    text-align: center;
}

.kompripdf-intro h2,
.kompripdf-cta h2 {
    margin: 1.2rem 0 1.5rem;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.kompripdf-intro p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.kompripdf-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-bottom: 8rem;
}

.kompripdf-step {
    position: relative;
    min-height: 275px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(20, 24, 46, 0.48);
    box-shadow: none;
    overflow: hidden;
}

.kompripdf-step::after {
    content: attr(data-step);
    position: absolute;
    right: 1rem;
    bottom: -1.35rem;
    color: rgba(255, 255, 255, 0.035);
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
}

.kompripdf-step-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 15px;
    color: var(--pdf-red-light);
    background: rgba(14, 165, 233, 0.08);
}

.kompripdf-step-icon svg {
    width: 24px;
    height: 24px;
}

.kompripdf-step h3 {
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.kompripdf-step p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.kompripdf-benefits {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
    padding-bottom: 10rem;
}

.kompripdf-benefits h2 {
    margin: 1.1rem 0 1.3rem;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.kompripdf-benefits-copy > p {
    color: var(--text-secondary);
}

.kompripdf-benefit-list {
    display: grid;
    gap: 1rem;
    list-style: none;
}

.kompripdf-benefit-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.kompripdf-benefit-list svg {
    width: 22px;
    height: 22px;
    color: var(--pdf-cyan);
}

.kompripdf-benefit-list strong {
    display: block;
    margin-bottom: 0.25rem;
}

.kompripdf-benefit-list span {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.kompripdf-cta {
    padding-bottom: 9rem;
}

.kompripdf-cta-card {
    position: relative;
    padding: clamp(2.5rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem);
    border: 1px solid rgba(14, 165, 233, 0.24);
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 120%, rgba(14, 165, 233, 0.18), transparent 48%),
        rgba(20, 24, 46, 0.55);
    text-align: center;
    overflow: hidden;
}

.kompripdf-cta-card > p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.kompripdf-cta .kompripdf-start-button {
    margin-top: 2rem;
}

@media (max-width: 950px) {
    .kompripdf-hero-grid,
    .kompripdf-benefits {
        grid-template-columns: 1fr;
    }

    .pdf-preview {
        width: min(100%, 650px);
        margin: 0 auto;
    }

    .kompripdf-steps {
        grid-template-columns: 1fr;
    }

    .kompripdf-step {
        min-height: 220px;
    }
}

@media (max-width: 600px) {
    .kompripdf-hero {
        padding-top: 1.25rem;
        padding-bottom: 4rem;
    }

    .kompripdf-hero-grid {
        gap: 2.5rem;
    }

    .kompripdf-hero-copy h1 {
        font-size: clamp(2.75rem, 13.5vw, 4.3rem);
    }

    .kompripdf-start-button {
        width: 100%;
    }

    .pdf-preview {
        min-height: 390px;
    }

    .pdf-file-card {
        width: 74%;
        padding: 1.5rem;
        border-radius: 18px;
    }

    .pdf-file-icon {
        width: 58px;
        height: 58px;
    }

    .pdf-file-card strong {
        margin-top: 1.5rem;
    }

    .pdf-result-card {
        right: 0;
        bottom: 0.5rem;
        width: 68%;
    }

    .kompripdf-intro {
        padding-top: 2rem;
    }

    .kompripdf-steps,
    .kompripdf-benefits {
        padding-bottom: 6rem;
    }

    .kompripdf-cta {
        padding-bottom: 6rem;
    }

    .kompripdf-cta-card {
        border-radius: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kompripdf-start-button {
        transition: none;
    }
}
